
/**
 * Client
**/

import * as runtime from './runtime/library.js';
import $Types = runtime.Types // general types
import $Public = runtime.Types.Public
import $Utils = runtime.Types.Utils
import $Extensions = runtime.Types.Extensions
import $Result = runtime.Types.Result

export type PrismaPromise<T> = $Public.PrismaPromise<T>


/**
 * Model User
 * 
 */
export type User = $Result.DefaultSelection<Prisma.$UserPayload>
/**
 * Model UserDetail
 * 
 */
export type UserDetail = $Result.DefaultSelection<Prisma.$UserDetailPayload>
/**
 * Model Designation
 * 
 */
export type Designation = $Result.DefaultSelection<Prisma.$DesignationPayload>
/**
 * Model Department
 * 
 */
export type Department = $Result.DefaultSelection<Prisma.$DepartmentPayload>
/**
 * Model RequestLog
 * 
 */
export type RequestLog = $Result.DefaultSelection<Prisma.$RequestLogPayload>
/**
 * Model FinancialYear
 * 
 */
export type FinancialYear = $Result.DefaultSelection<Prisma.$FinancialYearPayload>
/**
 * Model DocumentSequence
 * 
 */
export type DocumentSequence = $Result.DefaultSelection<Prisma.$DocumentSequencePayload>
/**
 * Model AuditLog
 * 
 */
export type AuditLog = $Result.DefaultSelection<Prisma.$AuditLogPayload>
/**
 * Model Permissions
 * 
 */
export type Permissions = $Result.DefaultSelection<Prisma.$PermissionsPayload>
/**
 * Model Role
 * 
 */
export type Role = $Result.DefaultSelection<Prisma.$RolePayload>
/**
 * Model RolePermissions
 * 
 */
export type RolePermissions = $Result.DefaultSelection<Prisma.$RolePermissionsPayload>
/**
 * Model UserRoles
 * 
 */
export type UserRoles = $Result.DefaultSelection<Prisma.$UserRolesPayload>
/**
 * Model UserPermissions
 * 
 */
export type UserPermissions = $Result.DefaultSelection<Prisma.$UserPermissionsPayload>
/**
 * Model Otp
 * 
 */
export type Otp = $Result.DefaultSelection<Prisma.$OtpPayload>
/**
 * Model Language
 * 
 */
export type Language = $Result.DefaultSelection<Prisma.$LanguagePayload>
/**
 * Model LanguageContent
 * 
 */
export type LanguageContent = $Result.DefaultSelection<Prisma.$LanguageContentPayload>
/**
 * Model Menus
 * 
 */
export type Menus = $Result.DefaultSelection<Prisma.$MenusPayload>
/**
 * Model MenuItems
 * 
 */
export type MenuItems = $Result.DefaultSelection<Prisma.$MenuItemsPayload>
/**
 * Model ActionType
 * 
 */
export type ActionType = $Result.DefaultSelection<Prisma.$ActionTypePayload>
/**
 * Model EntityType
 * 
 */
export type EntityType = $Result.DefaultSelection<Prisma.$EntityTypePayload>
/**
 * Model WizardGroup
 * 
 */
export type WizardGroup = $Result.DefaultSelection<Prisma.$WizardGroupPayload>
/**
 * Model WizardType
 * 
 */
export type WizardType = $Result.DefaultSelection<Prisma.$WizardTypePayload>
/**
 * Model AboutLCP
 * 
 */
export type AboutLCP = $Result.DefaultSelection<Prisma.$AboutLCPPayload>
/**
 * Model userSearchConfiguration
 * 
 */
export type userSearchConfiguration = $Result.DefaultSelection<Prisma.$userSearchConfigurationPayload>
/**
 * Model MasterEntity
 * 
 */
export type MasterEntity = $Result.DefaultSelection<Prisma.$MasterEntityPayload>
/**
 * Model MasterEntityLineItem
 * 
 */
export type MasterEntityLineItem = $Result.DefaultSelection<Prisma.$MasterEntityLineItemPayload>
/**
 * Model FieldType
 * 
 */
export type FieldType = $Result.DefaultSelection<Prisma.$FieldTypePayload>
/**
 * Model menuType
 * 
 */
export type menuType = $Result.DefaultSelection<Prisma.$menuTypePayload>
/**
 * Model NotificationTemplateProcess
 * 
 */
export type NotificationTemplateProcess = $Result.DefaultSelection<Prisma.$NotificationTemplateProcessPayload>
/**
 * Model NotificationTemplateTag
 * 
 */
export type NotificationTemplateTag = $Result.DefaultSelection<Prisma.$NotificationTemplateTagPayload>
/**
 * Model NotificationTemplateRecipientTag
 * 
 */
export type NotificationTemplateRecipientTag = $Result.DefaultSelection<Prisma.$NotificationTemplateRecipientTagPayload>
/**
 * Model NotificationTemplateProcessTagsMapping
 * 
 */
export type NotificationTemplateProcessTagsMapping = $Result.DefaultSelection<Prisma.$NotificationTemplateProcessTagsMappingPayload>
/**
 * Model NotificationTemplate
 * 
 */
export type NotificationTemplate = $Result.DefaultSelection<Prisma.$NotificationTemplatePayload>
/**
 * Model NotificationTemplateAssignment
 * 
 */
export type NotificationTemplateAssignment = $Result.DefaultSelection<Prisma.$NotificationTemplateAssignmentPayload>
/**
 * Model EmailTemplateCcBcc
 * 
 */
export type EmailTemplateCcBcc = $Result.DefaultSelection<Prisma.$EmailTemplateCcBccPayload>
/**
 * Model NotificationProcessJob
 * 
 */
export type NotificationProcessJob = $Result.DefaultSelection<Prisma.$NotificationProcessJobPayload>
/**
 * Model NotificationJob
 * 
 */
export type NotificationJob = $Result.DefaultSelection<Prisma.$NotificationJobPayload>
/**
 * Model CarouselTemplate
 * 
 */
export type CarouselTemplate = $Result.DefaultSelection<Prisma.$CarouselTemplatePayload>
/**
 * Model CarouselTemplateLineItem
 * 
 */
export type CarouselTemplateLineItem = $Result.DefaultSelection<Prisma.$CarouselTemplateLineItemPayload>
/**
 * Model ImportTemplate
 * 
 */
export type ImportTemplate = $Result.DefaultSelection<Prisma.$ImportTemplatePayload>
/**
 * Model ImportTemplateLineItem
 * 
 */
export type ImportTemplateLineItem = $Result.DefaultSelection<Prisma.$ImportTemplateLineItemPayload>
/**
 * Model ImportTemplateQueries
 * 
 */
export type ImportTemplateQueries = $Result.DefaultSelection<Prisma.$ImportTemplateQueriesPayload>
/**
 * Model DirectImportDetails
 * 
 */
export type DirectImportDetails = $Result.DefaultSelection<Prisma.$DirectImportDetailsPayload>
/**
 * Model ImportJob
 * 
 */
export type ImportJob = $Result.DefaultSelection<Prisma.$ImportJobPayload>
/**
 * Model ImportJobLineItem
 * 
 */
export type ImportJobLineItem = $Result.DefaultSelection<Prisma.$ImportJobLineItemPayload>
/**
 * Model ExportTemplate
 * 
 */
export type ExportTemplate = $Result.DefaultSelection<Prisma.$ExportTemplatePayload>
/**
 * Model ExportTemplateLineItem
 * 
 */
export type ExportTemplateLineItem = $Result.DefaultSelection<Prisma.$ExportTemplateLineItemPayload>
/**
 * Model ExportTemplateQueries
 * 
 */
export type ExportTemplateQueries = $Result.DefaultSelection<Prisma.$ExportTemplateQueriesPayload>
/**
 * Model Status
 * 
 */
export type Status = $Result.DefaultSelection<Prisma.$StatusPayload>
/**
 * Model CategoryTypes
 * 
 */
export type CategoryTypes = $Result.DefaultSelection<Prisma.$CategoryTypesPayload>
/**
 * Model Categories
 * 
 */
export type Categories = $Result.DefaultSelection<Prisma.$CategoriesPayload>
/**
 * Model Configurations
 * 
 */
export type Configurations = $Result.DefaultSelection<Prisma.$ConfigurationsPayload>
/**
 * Model UserConfigurations
 * 
 */
export type UserConfigurations = $Result.DefaultSelection<Prisma.$UserConfigurationsPayload>
/**
 * Model FileUploadLog
 * 
 */
export type FileUploadLog = $Result.DefaultSelection<Prisma.$FileUploadLogPayload>
/**
 * Model DataTransferQueries
 * 
 */
export type DataTransferQueries = $Result.DefaultSelection<Prisma.$DataTransferQueriesPayload>
/**
 * Model DeviceRegistration
 * 
 */
export type DeviceRegistration = $Result.DefaultSelection<Prisma.$DeviceRegistrationPayload>
/**
 * Model Policies
 * 
 */
export type Policies = $Result.DefaultSelection<Prisma.$PoliciesPayload>
/**
 * Model UserPolicies
 * 
 */
export type UserPolicies = $Result.DefaultSelection<Prisma.$UserPoliciesPayload>
/**
 * Model RolePolicies
 * 
 */
export type RolePolicies = $Result.DefaultSelection<Prisma.$RolePoliciesPayload>
/**
 * Model Appversions
 * 
 */
export type Appversions = $Result.DefaultSelection<Prisma.$AppversionsPayload>
/**
 * Model ScheduledJob
 * 
 */
export type ScheduledJob = $Result.DefaultSelection<Prisma.$ScheduledJobPayload>
/**
 * Model ScheduledJobLogs
 * 
 */
export type ScheduledJobLogs = $Result.DefaultSelection<Prisma.$ScheduledJobLogsPayload>
/**
 * Model ApprovalWorkflow
 * 
 */
export type ApprovalWorkflow = $Result.DefaultSelection<Prisma.$ApprovalWorkflowPayload>
/**
 * Model ApprovalWorkflowApproverTag
 * 
 */
export type ApprovalWorkflowApproverTag = $Result.DefaultSelection<Prisma.$ApprovalWorkflowApproverTagPayload>
/**
 * Model ApprovalWorkflowAssignment
 * 
 */
export type ApprovalWorkflowAssignment = $Result.DefaultSelection<Prisma.$ApprovalWorkflowAssignmentPayload>
/**
 * Model ApprovalProcessJob
 * 
 */
export type ApprovalProcessJob = $Result.DefaultSelection<Prisma.$ApprovalProcessJobPayload>
/**
 * Model ApprovalProcessJobWorkflow
 * 
 */
export type ApprovalProcessJobWorkflow = $Result.DefaultSelection<Prisma.$ApprovalProcessJobWorkflowPayload>
/**
 * Model ApprovalProcessJobWorkflowUser
 * 
 */
export type ApprovalProcessJobWorkflowUser = $Result.DefaultSelection<Prisma.$ApprovalProcessJobWorkflowUserPayload>
/**
 * Model Delegation
 * 
 */
export type Delegation = $Result.DefaultSelection<Prisma.$DelegationPayload>
/**
 * Model SchemaChunk
 * 
 */
export type SchemaChunk = $Result.DefaultSelection<Prisma.$SchemaChunkPayload>
/**
 * Model EmbeddingVectorLogs
 * 
 */
export type EmbeddingVectorLogs = $Result.DefaultSelection<Prisma.$EmbeddingVectorLogsPayload>
/**
 * Model OpenaiUsageLog
 * 
 */
export type OpenaiUsageLog = $Result.DefaultSelection<Prisma.$OpenaiUsageLogPayload>
/**
 * Model QueryExecutionLog
 * 
 */
export type QueryExecutionLog = $Result.DefaultSelection<Prisma.$QueryExecutionLogPayload>
/**
 * Model ChildProcess
 * 
 */
export type ChildProcess = $Result.DefaultSelection<Prisma.$ChildProcessPayload>
/**
 * Model ChildProcessLog
 * 
 */
export type ChildProcessLog = $Result.DefaultSelection<Prisma.$ChildProcessLogPayload>
/**
 * Model Themes
 * 
 */
export type Themes = $Result.DefaultSelection<Prisma.$ThemesPayload>
/**
 * Model ThemeLineItems
 * 
 */
export type ThemeLineItems = $Result.DefaultSelection<Prisma.$ThemeLineItemsPayload>
/**
 * Model ThemeAttributes
 * 
 */
export type ThemeAttributes = $Result.DefaultSelection<Prisma.$ThemeAttributesPayload>
/**
 * Model BarcodeTemplates
 * 
 */
export type BarcodeTemplates = $Result.DefaultSelection<Prisma.$BarcodeTemplatesPayload>
/**
 * Model UserLoginHistory
 * 
 */
export type UserLoginHistory = $Result.DefaultSelection<Prisma.$UserLoginHistoryPayload>
/**
 * Model PhoneCountryCodes
 * 
 */
export type PhoneCountryCodes = $Result.DefaultSelection<Prisma.$PhoneCountryCodesPayload>
/**
 * Model TreeBuilderExample
 * 
 */
export type TreeBuilderExample = $Result.DefaultSelection<Prisma.$TreeBuilderExamplePayload>
/**
 * Model DeliveryNotes
 * 
 */
export type DeliveryNotes = $Result.DefaultSelection<Prisma.$DeliveryNotesPayload>
/**
 * Model DeliveryNoteStatus
 * 
 */
export type DeliveryNoteStatus = $Result.DefaultSelection<Prisma.$DeliveryNoteStatusPayload>
/**
 * Model DeliveryNoteLineItems
 * 
 */
export type DeliveryNoteLineItems = $Result.DefaultSelection<Prisma.$DeliveryNoteLineItemsPayload>
/**
 * Model CustomerDeliveryAddresses
 * 
 */
export type CustomerDeliveryAddresses = $Result.DefaultSelection<Prisma.$CustomerDeliveryAddressesPayload>
/**
 * Model Shipments
 * 
 */
export type Shipments = $Result.DefaultSelection<Prisma.$ShipmentsPayload>
/**
 * Model ShipmentCustomers
 * 
 */
export type ShipmentCustomers = $Result.DefaultSelection<Prisma.$ShipmentCustomersPayload>
/**
 * Model ShipmentsLocation
 * 
 */
export type ShipmentsLocation = $Result.DefaultSelection<Prisma.$ShipmentsLocationPayload>
/**
 * Model ShipmentDeliveryNotes
 * 
 */
export type ShipmentDeliveryNotes = $Result.DefaultSelection<Prisma.$ShipmentDeliveryNotesPayload>
/**
 * Model Vehicles
 * 
 */
export type Vehicles = $Result.DefaultSelection<Prisma.$VehiclesPayload>
/**
 * Model VehicleUserMapping
 * 
 */
export type VehicleUserMapping = $Result.DefaultSelection<Prisma.$VehicleUserMappingPayload>
/**
 * Model VehiclesGpsData
 * 
 */
export type VehiclesGpsData = $Result.DefaultSelection<Prisma.$VehiclesGpsDataPayload>
/**
 * Model VehiclesGpsDataLog
 * 
 */
export type VehiclesGpsDataLog = $Result.DefaultSelection<Prisma.$VehiclesGpsDataLogPayload>
/**
 * Model VehicleTripHistories
 * 
 */
export type VehicleTripHistories = $Result.DefaultSelection<Prisma.$VehicleTripHistoriesPayload>
/**
 * Model GeoFences
 * 
 */
export type GeoFences = $Result.DefaultSelection<Prisma.$GeoFencesPayload>
/**
 * Model GeoFenceTracking
 * 
 */
export type GeoFenceTracking = $Result.DefaultSelection<Prisma.$GeoFenceTrackingPayload>
/**
 * Model VehicleGeofenceHistory
 * 
 */
export type VehicleGeofenceHistory = $Result.DefaultSelection<Prisma.$VehicleGeofenceHistoryPayload>
/**
 * Model CustomerGeoFenceMapping
 * 
 */
export type CustomerGeoFenceMapping = $Result.DefaultSelection<Prisma.$CustomerGeoFenceMappingPayload>
/**
 * Model ErpLogs
 * 
 */
export type ErpLogs = $Result.DefaultSelection<Prisma.$ErpLogsPayload>
/**
 * Model ErpLogsLineItems
 * 
 */
export type ErpLogsLineItems = $Result.DefaultSelection<Prisma.$ErpLogsLineItemsPayload>
/**
 * Model TempSessionData
 * 
 */
export type TempSessionData = $Result.DefaultSelection<Prisma.$TempSessionDataPayload>
/**
 * Model ShipmentStatus
 * 
 */
export type ShipmentStatus = $Result.DefaultSelection<Prisma.$ShipmentStatusPayload>
/**
 * Model ShipmentStatusHistory
 * 
 */
export type ShipmentStatusHistory = $Result.DefaultSelection<Prisma.$ShipmentStatusHistoryPayload>
/**
 * Model PodStatus
 * 
 */
export type PodStatus = $Result.DefaultSelection<Prisma.$PodStatusPayload>
/**
 * Model ShipmentLocationContactInfoHistory
 * 
 */
export type ShipmentLocationContactInfoHistory = $Result.DefaultSelection<Prisma.$ShipmentLocationContactInfoHistoryPayload>
/**
 * Model ShipmentImages
 * 
 */
export type ShipmentImages = $Result.DefaultSelection<Prisma.$ShipmentImagesPayload>
/**
 * Model sms_test_requests
 * 
 */
export type sms_test_requests = $Result.DefaultSelection<Prisma.$sms_test_requestsPayload>

/**
 * Enums
 */
export namespace $Enums {
  export const UserRole: {
  super_admin: 'super_admin',
  company_admin: 'company_admin',
  admin: 'admin',
  user: 'user'
};

export type UserRole = (typeof UserRole)[keyof typeof UserRole]


export const ProcessStatus: {
  under_approval: 'under_approval',
  approved: 'approved',
  rejected: 'rejected',
  submitted: 'submitted',
  created: 'created',
  not_appear: 'not_appear'
};

export type ProcessStatus = (typeof ProcessStatus)[keyof typeof ProcessStatus]


export const Gender: {
  male: 'male',
  female: 'female',
  others: 'others'
};

export type Gender = (typeof Gender)[keyof typeof Gender]


export const OtpType: {
  email: 'email',
  sms: 'sms',
  whatsapp: 'whatsapp'
};

export type OtpType = (typeof OtpType)[keyof typeof OtpType]


export const aboutType: {
  lcp: 'lcp',
  project: 'project'
};

export type aboutType = (typeof aboutType)[keyof typeof aboutType]


export const ReportType: {
  lcp: 'lcp',
  powerbi: 'powerbi'
};

export type ReportType = (typeof ReportType)[keyof typeof ReportType]


export const ClauseType: {
  where: 'where',
  having: 'having'
};

export type ClauseType = (typeof ClauseType)[keyof typeof ClauseType]


export const NotificationType: {
  email: 'email',
  sms: 'sms',
  whatsapp: 'whatsapp'
};

export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]


export const RecipientType: {
  tag: 'tag',
  user_id: 'user_id',
  custom: 'custom'
};

export type RecipientType = (typeof RecipientType)[keyof typeof RecipientType]


export const sendMailType: {
  cc: 'cc',
  bcc: 'bcc'
};

export type sendMailType = (typeof sendMailType)[keyof typeof sendMailType]


export const TemplateType: {
  xlsx: 'xlsx',
  pdf: 'pdf'
};

export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType]


export const ApproverType: {
  tag: 'tag',
  user_id: 'user_id',
  role_id: 'role_id'
};

export type ApproverType = (typeof ApproverType)[keyof typeof ApproverType]


export const ApprovalStatus: {
  pending: 'pending',
  approval_needed: 'approval_needed',
  approval_completed: 'approval_completed',
  approval_rejected: 'approval_rejected',
  void: 'void'
};

export type ApprovalStatus = (typeof ApprovalStatus)[keyof typeof ApprovalStatus]


export const LoginStatus: {
  SUCCESS: 'SUCCESS',
  FAILED: 'FAILED',
  LOCKED: 'LOCKED'
};

export type LoginStatus = (typeof LoginStatus)[keyof typeof LoginStatus]


export const OtpStatus: {
  generated: 'generated',
  verified: 'verified'
};

export type OtpStatus = (typeof OtpStatus)[keyof typeof OtpStatus]


export const ZoneType: {
  circular: 'circular',
  polygonal: 'polygonal'
};

export type ZoneType = (typeof ZoneType)[keyof typeof ZoneType]


export const GeoCategory: {
  customer_location: 'customer_location',
  restricted_area: 'restricted_area',
  checkpoint: 'checkpoint'
};

export type GeoCategory = (typeof GeoCategory)[keyof typeof GeoCategory]


export const GeoTracActivity: {
  in: 'in',
  out: 'out'
};

export type GeoTracActivity = (typeof GeoTracActivity)[keyof typeof GeoTracActivity]


export const GeoFenceEventType: {
  entry: 'entry',
  exit: 'exit'
};

export type GeoFenceEventType = (typeof GeoFenceEventType)[keyof typeof GeoFenceEventType]


export const SyncData: {
  success: 'success',
  failed: 'failed'
};

export type SyncData = (typeof SyncData)[keyof typeof SyncData]


export const LineItemSyncStatus: {
  inserted: 'inserted',
  already_present: 'already_present',
  no_action: 'no_action',
  failed: 'failed'
};

export type LineItemSyncStatus = (typeof LineItemSyncStatus)[keyof typeof LineItemSyncStatus]


export const ETables: {
  shipments: 'shipments',
  shipment_customers: 'shipment_customers',
  shipment_location: 'shipment_location',
  shipment_delivery_notes: 'shipment_delivery_notes'
};

export type ETables = (typeof ETables)[keyof typeof ETables]

}

export type UserRole = $Enums.UserRole

export const UserRole: typeof $Enums.UserRole

export type ProcessStatus = $Enums.ProcessStatus

export const ProcessStatus: typeof $Enums.ProcessStatus

export type Gender = $Enums.Gender

export const Gender: typeof $Enums.Gender

export type OtpType = $Enums.OtpType

export const OtpType: typeof $Enums.OtpType

export type aboutType = $Enums.aboutType

export const aboutType: typeof $Enums.aboutType

export type ReportType = $Enums.ReportType

export const ReportType: typeof $Enums.ReportType

export type ClauseType = $Enums.ClauseType

export const ClauseType: typeof $Enums.ClauseType

export type NotificationType = $Enums.NotificationType

export const NotificationType: typeof $Enums.NotificationType

export type RecipientType = $Enums.RecipientType

export const RecipientType: typeof $Enums.RecipientType

export type sendMailType = $Enums.sendMailType

export const sendMailType: typeof $Enums.sendMailType

export type TemplateType = $Enums.TemplateType

export const TemplateType: typeof $Enums.TemplateType

export type ApproverType = $Enums.ApproverType

export const ApproverType: typeof $Enums.ApproverType

export type ApprovalStatus = $Enums.ApprovalStatus

export const ApprovalStatus: typeof $Enums.ApprovalStatus

export type LoginStatus = $Enums.LoginStatus

export const LoginStatus: typeof $Enums.LoginStatus

export type OtpStatus = $Enums.OtpStatus

export const OtpStatus: typeof $Enums.OtpStatus

export type ZoneType = $Enums.ZoneType

export const ZoneType: typeof $Enums.ZoneType

export type GeoCategory = $Enums.GeoCategory

export const GeoCategory: typeof $Enums.GeoCategory

export type GeoTracActivity = $Enums.GeoTracActivity

export const GeoTracActivity: typeof $Enums.GeoTracActivity

export type GeoFenceEventType = $Enums.GeoFenceEventType

export const GeoFenceEventType: typeof $Enums.GeoFenceEventType

export type SyncData = $Enums.SyncData

export const SyncData: typeof $Enums.SyncData

export type LineItemSyncStatus = $Enums.LineItemSyncStatus

export const LineItemSyncStatus: typeof $Enums.LineItemSyncStatus

export type ETables = $Enums.ETables

export const ETables: typeof $Enums.ETables

/**
 * ##  Prisma Client ʲˢ
 * 
 * Type-safe database client for TypeScript & Node.js
 * @example
 * ```
 * const prisma = new PrismaClient()
 * // Fetch zero or more Users
 * const users = await prisma.user.findMany()
 * ```
 *
 * 
 * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
 */
export class PrismaClient<
  ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
  U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
  ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }

    /**
   * ##  Prisma Client ʲˢ
   * 
   * Type-safe database client for TypeScript & Node.js
   * @example
   * ```
   * const prisma = new PrismaClient()
   * // Fetch zero or more Users
   * const users = await prisma.user.findMany()
   * ```
   *
   * 
   * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
   */

  constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
  $on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void;

  /**
   * Connect with the database
   */
  $connect(): $Utils.JsPromise<void>;

  /**
   * Disconnect from the database
   */
  $disconnect(): $Utils.JsPromise<void>;

  /**
   * Add a middleware
   * @deprecated since 4.16.0. For new code, prefer client extensions instead.
   * @see https://pris.ly/d/extensions
   */
  $use(cb: Prisma.Middleware): void

/**
   * Executes a prepared raw query and returns the number of affected rows.
   * @example
   * ```
   * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
   * ```
   * 
   * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
   */
  $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;

  /**
   * Executes a raw query and returns the number of affected rows.
   * Susceptible to SQL injections, see documentation.
   * @example
   * ```
   * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
   * ```
   * 
   * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
   */
  $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;

  /**
   * Performs a prepared raw query and returns the `SELECT` data.
   * @example
   * ```
   * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
   * ```
   * 
   * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
   */
  $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;

  /**
   * Performs a raw query and returns the `SELECT` data.
   * Susceptible to SQL injections, see documentation.
   * @example
   * ```
   * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
   * ```
   * 
   * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
   */
  $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;


  /**
   * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
   * @example
   * ```
   * const [george, bob, alice] = await prisma.$transaction([
   *   prisma.user.create({ data: { name: 'George' } }),
   *   prisma.user.create({ data: { name: 'Bob' } }),
   *   prisma.user.create({ data: { name: 'Alice' } }),
   * ])
   * ```
   * 
   * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
   */
  $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>

  $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>


  $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs>

      /**
   * `prisma.user`: Exposes CRUD operations for the **User** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Users
    * const users = await prisma.user.findMany()
    * ```
    */
  get user(): Prisma.UserDelegate<ExtArgs>;

  /**
   * `prisma.userDetail`: Exposes CRUD operations for the **UserDetail** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserDetails
    * const userDetails = await prisma.userDetail.findMany()
    * ```
    */
  get userDetail(): Prisma.UserDetailDelegate<ExtArgs>;

  /**
   * `prisma.designation`: Exposes CRUD operations for the **Designation** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Designations
    * const designations = await prisma.designation.findMany()
    * ```
    */
  get designation(): Prisma.DesignationDelegate<ExtArgs>;

  /**
   * `prisma.department`: Exposes CRUD operations for the **Department** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Departments
    * const departments = await prisma.department.findMany()
    * ```
    */
  get department(): Prisma.DepartmentDelegate<ExtArgs>;

  /**
   * `prisma.requestLog`: Exposes CRUD operations for the **RequestLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more RequestLogs
    * const requestLogs = await prisma.requestLog.findMany()
    * ```
    */
  get requestLog(): Prisma.RequestLogDelegate<ExtArgs>;

  /**
   * `prisma.financialYear`: Exposes CRUD operations for the **FinancialYear** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more FinancialYears
    * const financialYears = await prisma.financialYear.findMany()
    * ```
    */
  get financialYear(): Prisma.FinancialYearDelegate<ExtArgs>;

  /**
   * `prisma.documentSequence`: Exposes CRUD operations for the **DocumentSequence** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DocumentSequences
    * const documentSequences = await prisma.documentSequence.findMany()
    * ```
    */
  get documentSequence(): Prisma.DocumentSequenceDelegate<ExtArgs>;

  /**
   * `prisma.auditLog`: Exposes CRUD operations for the **AuditLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more AuditLogs
    * const auditLogs = await prisma.auditLog.findMany()
    * ```
    */
  get auditLog(): Prisma.AuditLogDelegate<ExtArgs>;

  /**
   * `prisma.permissions`: Exposes CRUD operations for the **Permissions** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Permissions
    * const permissions = await prisma.permissions.findMany()
    * ```
    */
  get permissions(): Prisma.PermissionsDelegate<ExtArgs>;

  /**
   * `prisma.role`: Exposes CRUD operations for the **Role** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Roles
    * const roles = await prisma.role.findMany()
    * ```
    */
  get role(): Prisma.RoleDelegate<ExtArgs>;

  /**
   * `prisma.rolePermissions`: Exposes CRUD operations for the **RolePermissions** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more RolePermissions
    * const rolePermissions = await prisma.rolePermissions.findMany()
    * ```
    */
  get rolePermissions(): Prisma.RolePermissionsDelegate<ExtArgs>;

  /**
   * `prisma.userRoles`: Exposes CRUD operations for the **UserRoles** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserRoles
    * const userRoles = await prisma.userRoles.findMany()
    * ```
    */
  get userRoles(): Prisma.UserRolesDelegate<ExtArgs>;

  /**
   * `prisma.userPermissions`: Exposes CRUD operations for the **UserPermissions** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserPermissions
    * const userPermissions = await prisma.userPermissions.findMany()
    * ```
    */
  get userPermissions(): Prisma.UserPermissionsDelegate<ExtArgs>;

  /**
   * `prisma.otp`: Exposes CRUD operations for the **Otp** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Otps
    * const otps = await prisma.otp.findMany()
    * ```
    */
  get otp(): Prisma.OtpDelegate<ExtArgs>;

  /**
   * `prisma.language`: Exposes CRUD operations for the **Language** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Languages
    * const languages = await prisma.language.findMany()
    * ```
    */
  get language(): Prisma.LanguageDelegate<ExtArgs>;

  /**
   * `prisma.languageContent`: Exposes CRUD operations for the **LanguageContent** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more LanguageContents
    * const languageContents = await prisma.languageContent.findMany()
    * ```
    */
  get languageContent(): Prisma.LanguageContentDelegate<ExtArgs>;

  /**
   * `prisma.menus`: Exposes CRUD operations for the **Menus** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Menus
    * const menus = await prisma.menus.findMany()
    * ```
    */
  get menus(): Prisma.MenusDelegate<ExtArgs>;

  /**
   * `prisma.menuItems`: Exposes CRUD operations for the **MenuItems** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more MenuItems
    * const menuItems = await prisma.menuItems.findMany()
    * ```
    */
  get menuItems(): Prisma.MenuItemsDelegate<ExtArgs>;

  /**
   * `prisma.actionType`: Exposes CRUD operations for the **ActionType** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ActionTypes
    * const actionTypes = await prisma.actionType.findMany()
    * ```
    */
  get actionType(): Prisma.ActionTypeDelegate<ExtArgs>;

  /**
   * `prisma.entityType`: Exposes CRUD operations for the **EntityType** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more EntityTypes
    * const entityTypes = await prisma.entityType.findMany()
    * ```
    */
  get entityType(): Prisma.EntityTypeDelegate<ExtArgs>;

  /**
   * `prisma.wizardGroup`: Exposes CRUD operations for the **WizardGroup** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more WizardGroups
    * const wizardGroups = await prisma.wizardGroup.findMany()
    * ```
    */
  get wizardGroup(): Prisma.WizardGroupDelegate<ExtArgs>;

  /**
   * `prisma.wizardType`: Exposes CRUD operations for the **WizardType** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more WizardTypes
    * const wizardTypes = await prisma.wizardType.findMany()
    * ```
    */
  get wizardType(): Prisma.WizardTypeDelegate<ExtArgs>;

  /**
   * `prisma.aboutLCP`: Exposes CRUD operations for the **AboutLCP** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more AboutLCPS
    * const aboutLCPS = await prisma.aboutLCP.findMany()
    * ```
    */
  get aboutLCP(): Prisma.AboutLCPDelegate<ExtArgs>;

  /**
   * `prisma.userSearchConfiguration`: Exposes CRUD operations for the **userSearchConfiguration** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserSearchConfigurations
    * const userSearchConfigurations = await prisma.userSearchConfiguration.findMany()
    * ```
    */
  get userSearchConfiguration(): Prisma.userSearchConfigurationDelegate<ExtArgs>;

  /**
   * `prisma.masterEntity`: Exposes CRUD operations for the **MasterEntity** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more MasterEntities
    * const masterEntities = await prisma.masterEntity.findMany()
    * ```
    */
  get masterEntity(): Prisma.MasterEntityDelegate<ExtArgs>;

  /**
   * `prisma.masterEntityLineItem`: Exposes CRUD operations for the **MasterEntityLineItem** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more MasterEntityLineItems
    * const masterEntityLineItems = await prisma.masterEntityLineItem.findMany()
    * ```
    */
  get masterEntityLineItem(): Prisma.MasterEntityLineItemDelegate<ExtArgs>;

  /**
   * `prisma.fieldType`: Exposes CRUD operations for the **FieldType** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more FieldTypes
    * const fieldTypes = await prisma.fieldType.findMany()
    * ```
    */
  get fieldType(): Prisma.FieldTypeDelegate<ExtArgs>;

  /**
   * `prisma.menuType`: Exposes CRUD operations for the **menuType** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more MenuTypes
    * const menuTypes = await prisma.menuType.findMany()
    * ```
    */
  get menuType(): Prisma.menuTypeDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplateProcess`: Exposes CRUD operations for the **NotificationTemplateProcess** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplateProcesses
    * const notificationTemplateProcesses = await prisma.notificationTemplateProcess.findMany()
    * ```
    */
  get notificationTemplateProcess(): Prisma.NotificationTemplateProcessDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplateTag`: Exposes CRUD operations for the **NotificationTemplateTag** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplateTags
    * const notificationTemplateTags = await prisma.notificationTemplateTag.findMany()
    * ```
    */
  get notificationTemplateTag(): Prisma.NotificationTemplateTagDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplateRecipientTag`: Exposes CRUD operations for the **NotificationTemplateRecipientTag** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplateRecipientTags
    * const notificationTemplateRecipientTags = await prisma.notificationTemplateRecipientTag.findMany()
    * ```
    */
  get notificationTemplateRecipientTag(): Prisma.NotificationTemplateRecipientTagDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplateProcessTagsMapping`: Exposes CRUD operations for the **NotificationTemplateProcessTagsMapping** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplateProcessTagsMappings
    * const notificationTemplateProcessTagsMappings = await prisma.notificationTemplateProcessTagsMapping.findMany()
    * ```
    */
  get notificationTemplateProcessTagsMapping(): Prisma.NotificationTemplateProcessTagsMappingDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplate`: Exposes CRUD operations for the **NotificationTemplate** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplates
    * const notificationTemplates = await prisma.notificationTemplate.findMany()
    * ```
    */
  get notificationTemplate(): Prisma.NotificationTemplateDelegate<ExtArgs>;

  /**
   * `prisma.notificationTemplateAssignment`: Exposes CRUD operations for the **NotificationTemplateAssignment** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationTemplateAssignments
    * const notificationTemplateAssignments = await prisma.notificationTemplateAssignment.findMany()
    * ```
    */
  get notificationTemplateAssignment(): Prisma.NotificationTemplateAssignmentDelegate<ExtArgs>;

  /**
   * `prisma.emailTemplateCcBcc`: Exposes CRUD operations for the **EmailTemplateCcBcc** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more EmailTemplateCcBccs
    * const emailTemplateCcBccs = await prisma.emailTemplateCcBcc.findMany()
    * ```
    */
  get emailTemplateCcBcc(): Prisma.EmailTemplateCcBccDelegate<ExtArgs>;

  /**
   * `prisma.notificationProcessJob`: Exposes CRUD operations for the **NotificationProcessJob** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationProcessJobs
    * const notificationProcessJobs = await prisma.notificationProcessJob.findMany()
    * ```
    */
  get notificationProcessJob(): Prisma.NotificationProcessJobDelegate<ExtArgs>;

  /**
   * `prisma.notificationJob`: Exposes CRUD operations for the **NotificationJob** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more NotificationJobs
    * const notificationJobs = await prisma.notificationJob.findMany()
    * ```
    */
  get notificationJob(): Prisma.NotificationJobDelegate<ExtArgs>;

  /**
   * `prisma.carouselTemplate`: Exposes CRUD operations for the **CarouselTemplate** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more CarouselTemplates
    * const carouselTemplates = await prisma.carouselTemplate.findMany()
    * ```
    */
  get carouselTemplate(): Prisma.CarouselTemplateDelegate<ExtArgs>;

  /**
   * `prisma.carouselTemplateLineItem`: Exposes CRUD operations for the **CarouselTemplateLineItem** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more CarouselTemplateLineItems
    * const carouselTemplateLineItems = await prisma.carouselTemplateLineItem.findMany()
    * ```
    */
  get carouselTemplateLineItem(): Prisma.CarouselTemplateLineItemDelegate<ExtArgs>;

  /**
   * `prisma.importTemplate`: Exposes CRUD operations for the **ImportTemplate** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ImportTemplates
    * const importTemplates = await prisma.importTemplate.findMany()
    * ```
    */
  get importTemplate(): Prisma.ImportTemplateDelegate<ExtArgs>;

  /**
   * `prisma.importTemplateLineItem`: Exposes CRUD operations for the **ImportTemplateLineItem** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ImportTemplateLineItems
    * const importTemplateLineItems = await prisma.importTemplateLineItem.findMany()
    * ```
    */
  get importTemplateLineItem(): Prisma.ImportTemplateLineItemDelegate<ExtArgs>;

  /**
   * `prisma.importTemplateQueries`: Exposes CRUD operations for the **ImportTemplateQueries** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ImportTemplateQueries
    * const importTemplateQueries = await prisma.importTemplateQueries.findMany()
    * ```
    */
  get importTemplateQueries(): Prisma.ImportTemplateQueriesDelegate<ExtArgs>;

  /**
   * `prisma.directImportDetails`: Exposes CRUD operations for the **DirectImportDetails** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DirectImportDetails
    * const directImportDetails = await prisma.directImportDetails.findMany()
    * ```
    */
  get directImportDetails(): Prisma.DirectImportDetailsDelegate<ExtArgs>;

  /**
   * `prisma.importJob`: Exposes CRUD operations for the **ImportJob** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ImportJobs
    * const importJobs = await prisma.importJob.findMany()
    * ```
    */
  get importJob(): Prisma.ImportJobDelegate<ExtArgs>;

  /**
   * `prisma.importJobLineItem`: Exposes CRUD operations for the **ImportJobLineItem** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ImportJobLineItems
    * const importJobLineItems = await prisma.importJobLineItem.findMany()
    * ```
    */
  get importJobLineItem(): Prisma.ImportJobLineItemDelegate<ExtArgs>;

  /**
   * `prisma.exportTemplate`: Exposes CRUD operations for the **ExportTemplate** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ExportTemplates
    * const exportTemplates = await prisma.exportTemplate.findMany()
    * ```
    */
  get exportTemplate(): Prisma.ExportTemplateDelegate<ExtArgs>;

  /**
   * `prisma.exportTemplateLineItem`: Exposes CRUD operations for the **ExportTemplateLineItem** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ExportTemplateLineItems
    * const exportTemplateLineItems = await prisma.exportTemplateLineItem.findMany()
    * ```
    */
  get exportTemplateLineItem(): Prisma.ExportTemplateLineItemDelegate<ExtArgs>;

  /**
   * `prisma.exportTemplateQueries`: Exposes CRUD operations for the **ExportTemplateQueries** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ExportTemplateQueries
    * const exportTemplateQueries = await prisma.exportTemplateQueries.findMany()
    * ```
    */
  get exportTemplateQueries(): Prisma.ExportTemplateQueriesDelegate<ExtArgs>;

  /**
   * `prisma.status`: Exposes CRUD operations for the **Status** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Statuses
    * const statuses = await prisma.status.findMany()
    * ```
    */
  get status(): Prisma.StatusDelegate<ExtArgs>;

  /**
   * `prisma.categoryTypes`: Exposes CRUD operations for the **CategoryTypes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more CategoryTypes
    * const categoryTypes = await prisma.categoryTypes.findMany()
    * ```
    */
  get categoryTypes(): Prisma.CategoryTypesDelegate<ExtArgs>;

  /**
   * `prisma.categories`: Exposes CRUD operations for the **Categories** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Categories
    * const categories = await prisma.categories.findMany()
    * ```
    */
  get categories(): Prisma.CategoriesDelegate<ExtArgs>;

  /**
   * `prisma.configurations`: Exposes CRUD operations for the **Configurations** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Configurations
    * const configurations = await prisma.configurations.findMany()
    * ```
    */
  get configurations(): Prisma.ConfigurationsDelegate<ExtArgs>;

  /**
   * `prisma.userConfigurations`: Exposes CRUD operations for the **UserConfigurations** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserConfigurations
    * const userConfigurations = await prisma.userConfigurations.findMany()
    * ```
    */
  get userConfigurations(): Prisma.UserConfigurationsDelegate<ExtArgs>;

  /**
   * `prisma.fileUploadLog`: Exposes CRUD operations for the **FileUploadLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more FileUploadLogs
    * const fileUploadLogs = await prisma.fileUploadLog.findMany()
    * ```
    */
  get fileUploadLog(): Prisma.FileUploadLogDelegate<ExtArgs>;

  /**
   * `prisma.dataTransferQueries`: Exposes CRUD operations for the **DataTransferQueries** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DataTransferQueries
    * const dataTransferQueries = await prisma.dataTransferQueries.findMany()
    * ```
    */
  get dataTransferQueries(): Prisma.DataTransferQueriesDelegate<ExtArgs>;

  /**
   * `prisma.deviceRegistration`: Exposes CRUD operations for the **DeviceRegistration** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DeviceRegistrations
    * const deviceRegistrations = await prisma.deviceRegistration.findMany()
    * ```
    */
  get deviceRegistration(): Prisma.DeviceRegistrationDelegate<ExtArgs>;

  /**
   * `prisma.policies`: Exposes CRUD operations for the **Policies** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Policies
    * const policies = await prisma.policies.findMany()
    * ```
    */
  get policies(): Prisma.PoliciesDelegate<ExtArgs>;

  /**
   * `prisma.userPolicies`: Exposes CRUD operations for the **UserPolicies** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserPolicies
    * const userPolicies = await prisma.userPolicies.findMany()
    * ```
    */
  get userPolicies(): Prisma.UserPoliciesDelegate<ExtArgs>;

  /**
   * `prisma.rolePolicies`: Exposes CRUD operations for the **RolePolicies** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more RolePolicies
    * const rolePolicies = await prisma.rolePolicies.findMany()
    * ```
    */
  get rolePolicies(): Prisma.RolePoliciesDelegate<ExtArgs>;

  /**
   * `prisma.appversions`: Exposes CRUD operations for the **Appversions** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Appversions
    * const appversions = await prisma.appversions.findMany()
    * ```
    */
  get appversions(): Prisma.AppversionsDelegate<ExtArgs>;

  /**
   * `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ScheduledJobs
    * const scheduledJobs = await prisma.scheduledJob.findMany()
    * ```
    */
  get scheduledJob(): Prisma.ScheduledJobDelegate<ExtArgs>;

  /**
   * `prisma.scheduledJobLogs`: Exposes CRUD operations for the **ScheduledJobLogs** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ScheduledJobLogs
    * const scheduledJobLogs = await prisma.scheduledJobLogs.findMany()
    * ```
    */
  get scheduledJobLogs(): Prisma.ScheduledJobLogsDelegate<ExtArgs>;

  /**
   * `prisma.approvalWorkflow`: Exposes CRUD operations for the **ApprovalWorkflow** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalWorkflows
    * const approvalWorkflows = await prisma.approvalWorkflow.findMany()
    * ```
    */
  get approvalWorkflow(): Prisma.ApprovalWorkflowDelegate<ExtArgs>;

  /**
   * `prisma.approvalWorkflowApproverTag`: Exposes CRUD operations for the **ApprovalWorkflowApproverTag** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalWorkflowApproverTags
    * const approvalWorkflowApproverTags = await prisma.approvalWorkflowApproverTag.findMany()
    * ```
    */
  get approvalWorkflowApproverTag(): Prisma.ApprovalWorkflowApproverTagDelegate<ExtArgs>;

  /**
   * `prisma.approvalWorkflowAssignment`: Exposes CRUD operations for the **ApprovalWorkflowAssignment** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalWorkflowAssignments
    * const approvalWorkflowAssignments = await prisma.approvalWorkflowAssignment.findMany()
    * ```
    */
  get approvalWorkflowAssignment(): Prisma.ApprovalWorkflowAssignmentDelegate<ExtArgs>;

  /**
   * `prisma.approvalProcessJob`: Exposes CRUD operations for the **ApprovalProcessJob** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalProcessJobs
    * const approvalProcessJobs = await prisma.approvalProcessJob.findMany()
    * ```
    */
  get approvalProcessJob(): Prisma.ApprovalProcessJobDelegate<ExtArgs>;

  /**
   * `prisma.approvalProcessJobWorkflow`: Exposes CRUD operations for the **ApprovalProcessJobWorkflow** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalProcessJobWorkflows
    * const approvalProcessJobWorkflows = await prisma.approvalProcessJobWorkflow.findMany()
    * ```
    */
  get approvalProcessJobWorkflow(): Prisma.ApprovalProcessJobWorkflowDelegate<ExtArgs>;

  /**
   * `prisma.approvalProcessJobWorkflowUser`: Exposes CRUD operations for the **ApprovalProcessJobWorkflowUser** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ApprovalProcessJobWorkflowUsers
    * const approvalProcessJobWorkflowUsers = await prisma.approvalProcessJobWorkflowUser.findMany()
    * ```
    */
  get approvalProcessJobWorkflowUser(): Prisma.ApprovalProcessJobWorkflowUserDelegate<ExtArgs>;

  /**
   * `prisma.delegation`: Exposes CRUD operations for the **Delegation** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Delegations
    * const delegations = await prisma.delegation.findMany()
    * ```
    */
  get delegation(): Prisma.DelegationDelegate<ExtArgs>;

  /**
   * `prisma.schemaChunk`: Exposes CRUD operations for the **SchemaChunk** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more SchemaChunks
    * const schemaChunks = await prisma.schemaChunk.findMany()
    * ```
    */
  get schemaChunk(): Prisma.SchemaChunkDelegate<ExtArgs>;

  /**
   * `prisma.embeddingVectorLogs`: Exposes CRUD operations for the **EmbeddingVectorLogs** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more EmbeddingVectorLogs
    * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findMany()
    * ```
    */
  get embeddingVectorLogs(): Prisma.EmbeddingVectorLogsDelegate<ExtArgs>;

  /**
   * `prisma.openaiUsageLog`: Exposes CRUD operations for the **OpenaiUsageLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more OpenaiUsageLogs
    * const openaiUsageLogs = await prisma.openaiUsageLog.findMany()
    * ```
    */
  get openaiUsageLog(): Prisma.OpenaiUsageLogDelegate<ExtArgs>;

  /**
   * `prisma.queryExecutionLog`: Exposes CRUD operations for the **QueryExecutionLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more QueryExecutionLogs
    * const queryExecutionLogs = await prisma.queryExecutionLog.findMany()
    * ```
    */
  get queryExecutionLog(): Prisma.QueryExecutionLogDelegate<ExtArgs>;

  /**
   * `prisma.childProcess`: Exposes CRUD operations for the **ChildProcess** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ChildProcesses
    * const childProcesses = await prisma.childProcess.findMany()
    * ```
    */
  get childProcess(): Prisma.ChildProcessDelegate<ExtArgs>;

  /**
   * `prisma.childProcessLog`: Exposes CRUD operations for the **ChildProcessLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ChildProcessLogs
    * const childProcessLogs = await prisma.childProcessLog.findMany()
    * ```
    */
  get childProcessLog(): Prisma.ChildProcessLogDelegate<ExtArgs>;

  /**
   * `prisma.themes`: Exposes CRUD operations for the **Themes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Themes
    * const themes = await prisma.themes.findMany()
    * ```
    */
  get themes(): Prisma.ThemesDelegate<ExtArgs>;

  /**
   * `prisma.themeLineItems`: Exposes CRUD operations for the **ThemeLineItems** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ThemeLineItems
    * const themeLineItems = await prisma.themeLineItems.findMany()
    * ```
    */
  get themeLineItems(): Prisma.ThemeLineItemsDelegate<ExtArgs>;

  /**
   * `prisma.themeAttributes`: Exposes CRUD operations for the **ThemeAttributes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ThemeAttributes
    * const themeAttributes = await prisma.themeAttributes.findMany()
    * ```
    */
  get themeAttributes(): Prisma.ThemeAttributesDelegate<ExtArgs>;

  /**
   * `prisma.barcodeTemplates`: Exposes CRUD operations for the **BarcodeTemplates** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more BarcodeTemplates
    * const barcodeTemplates = await prisma.barcodeTemplates.findMany()
    * ```
    */
  get barcodeTemplates(): Prisma.BarcodeTemplatesDelegate<ExtArgs>;

  /**
   * `prisma.userLoginHistory`: Exposes CRUD operations for the **UserLoginHistory** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more UserLoginHistories
    * const userLoginHistories = await prisma.userLoginHistory.findMany()
    * ```
    */
  get userLoginHistory(): Prisma.UserLoginHistoryDelegate<ExtArgs>;

  /**
   * `prisma.phoneCountryCodes`: Exposes CRUD operations for the **PhoneCountryCodes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more PhoneCountryCodes
    * const phoneCountryCodes = await prisma.phoneCountryCodes.findMany()
    * ```
    */
  get phoneCountryCodes(): Prisma.PhoneCountryCodesDelegate<ExtArgs>;

  /**
   * `prisma.treeBuilderExample`: Exposes CRUD operations for the **TreeBuilderExample** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more TreeBuilderExamples
    * const treeBuilderExamples = await prisma.treeBuilderExample.findMany()
    * ```
    */
  get treeBuilderExample(): Prisma.TreeBuilderExampleDelegate<ExtArgs>;

  /**
   * `prisma.deliveryNotes`: Exposes CRUD operations for the **DeliveryNotes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DeliveryNotes
    * const deliveryNotes = await prisma.deliveryNotes.findMany()
    * ```
    */
  get deliveryNotes(): Prisma.DeliveryNotesDelegate<ExtArgs>;

  /**
   * `prisma.deliveryNoteStatus`: Exposes CRUD operations for the **DeliveryNoteStatus** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DeliveryNoteStatuses
    * const deliveryNoteStatuses = await prisma.deliveryNoteStatus.findMany()
    * ```
    */
  get deliveryNoteStatus(): Prisma.DeliveryNoteStatusDelegate<ExtArgs>;

  /**
   * `prisma.deliveryNoteLineItems`: Exposes CRUD operations for the **DeliveryNoteLineItems** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more DeliveryNoteLineItems
    * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findMany()
    * ```
    */
  get deliveryNoteLineItems(): Prisma.DeliveryNoteLineItemsDelegate<ExtArgs>;

  /**
   * `prisma.customerDeliveryAddresses`: Exposes CRUD operations for the **CustomerDeliveryAddresses** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more CustomerDeliveryAddresses
    * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findMany()
    * ```
    */
  get customerDeliveryAddresses(): Prisma.CustomerDeliveryAddressesDelegate<ExtArgs>;

  /**
   * `prisma.shipments`: Exposes CRUD operations for the **Shipments** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Shipments
    * const shipments = await prisma.shipments.findMany()
    * ```
    */
  get shipments(): Prisma.ShipmentsDelegate<ExtArgs>;

  /**
   * `prisma.shipmentCustomers`: Exposes CRUD operations for the **ShipmentCustomers** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentCustomers
    * const shipmentCustomers = await prisma.shipmentCustomers.findMany()
    * ```
    */
  get shipmentCustomers(): Prisma.ShipmentCustomersDelegate<ExtArgs>;

  /**
   * `prisma.shipmentsLocation`: Exposes CRUD operations for the **ShipmentsLocation** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentsLocations
    * const shipmentsLocations = await prisma.shipmentsLocation.findMany()
    * ```
    */
  get shipmentsLocation(): Prisma.ShipmentsLocationDelegate<ExtArgs>;

  /**
   * `prisma.shipmentDeliveryNotes`: Exposes CRUD operations for the **ShipmentDeliveryNotes** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentDeliveryNotes
    * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findMany()
    * ```
    */
  get shipmentDeliveryNotes(): Prisma.ShipmentDeliveryNotesDelegate<ExtArgs>;

  /**
   * `prisma.vehicles`: Exposes CRUD operations for the **Vehicles** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Vehicles
    * const vehicles = await prisma.vehicles.findMany()
    * ```
    */
  get vehicles(): Prisma.VehiclesDelegate<ExtArgs>;

  /**
   * `prisma.vehicleUserMapping`: Exposes CRUD operations for the **VehicleUserMapping** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more VehicleUserMappings
    * const vehicleUserMappings = await prisma.vehicleUserMapping.findMany()
    * ```
    */
  get vehicleUserMapping(): Prisma.VehicleUserMappingDelegate<ExtArgs>;

  /**
   * `prisma.vehiclesGpsData`: Exposes CRUD operations for the **VehiclesGpsData** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more VehiclesGpsData
    * const vehiclesGpsData = await prisma.vehiclesGpsData.findMany()
    * ```
    */
  get vehiclesGpsData(): Prisma.VehiclesGpsDataDelegate<ExtArgs>;

  /**
   * `prisma.vehiclesGpsDataLog`: Exposes CRUD operations for the **VehiclesGpsDataLog** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more VehiclesGpsDataLogs
    * const vehiclesGpsDataLogs = await prisma.vehiclesGpsDataLog.findMany()
    * ```
    */
  get vehiclesGpsDataLog(): Prisma.VehiclesGpsDataLogDelegate<ExtArgs>;

  /**
   * `prisma.vehicleTripHistories`: Exposes CRUD operations for the **VehicleTripHistories** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more VehicleTripHistories
    * const vehicleTripHistories = await prisma.vehicleTripHistories.findMany()
    * ```
    */
  get vehicleTripHistories(): Prisma.VehicleTripHistoriesDelegate<ExtArgs>;

  /**
   * `prisma.geoFences`: Exposes CRUD operations for the **GeoFences** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more GeoFences
    * const geoFences = await prisma.geoFences.findMany()
    * ```
    */
  get geoFences(): Prisma.GeoFencesDelegate<ExtArgs>;

  /**
   * `prisma.geoFenceTracking`: Exposes CRUD operations for the **GeoFenceTracking** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more GeoFenceTrackings
    * const geoFenceTrackings = await prisma.geoFenceTracking.findMany()
    * ```
    */
  get geoFenceTracking(): Prisma.GeoFenceTrackingDelegate<ExtArgs>;

  /**
   * `prisma.vehicleGeofenceHistory`: Exposes CRUD operations for the **VehicleGeofenceHistory** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more VehicleGeofenceHistories
    * const vehicleGeofenceHistories = await prisma.vehicleGeofenceHistory.findMany()
    * ```
    */
  get vehicleGeofenceHistory(): Prisma.VehicleGeofenceHistoryDelegate<ExtArgs>;

  /**
   * `prisma.customerGeoFenceMapping`: Exposes CRUD operations for the **CustomerGeoFenceMapping** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more CustomerGeoFenceMappings
    * const customerGeoFenceMappings = await prisma.customerGeoFenceMapping.findMany()
    * ```
    */
  get customerGeoFenceMapping(): Prisma.CustomerGeoFenceMappingDelegate<ExtArgs>;

  /**
   * `prisma.erpLogs`: Exposes CRUD operations for the **ErpLogs** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ErpLogs
    * const erpLogs = await prisma.erpLogs.findMany()
    * ```
    */
  get erpLogs(): Prisma.ErpLogsDelegate<ExtArgs>;

  /**
   * `prisma.erpLogsLineItems`: Exposes CRUD operations for the **ErpLogsLineItems** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ErpLogsLineItems
    * const erpLogsLineItems = await prisma.erpLogsLineItems.findMany()
    * ```
    */
  get erpLogsLineItems(): Prisma.ErpLogsLineItemsDelegate<ExtArgs>;

  /**
   * `prisma.tempSessionData`: Exposes CRUD operations for the **TempSessionData** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more TempSessionData
    * const tempSessionData = await prisma.tempSessionData.findMany()
    * ```
    */
  get tempSessionData(): Prisma.TempSessionDataDelegate<ExtArgs>;

  /**
   * `prisma.shipmentStatus`: Exposes CRUD operations for the **ShipmentStatus** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentStatuses
    * const shipmentStatuses = await prisma.shipmentStatus.findMany()
    * ```
    */
  get shipmentStatus(): Prisma.ShipmentStatusDelegate<ExtArgs>;

  /**
   * `prisma.shipmentStatusHistory`: Exposes CRUD operations for the **ShipmentStatusHistory** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentStatusHistories
    * const shipmentStatusHistories = await prisma.shipmentStatusHistory.findMany()
    * ```
    */
  get shipmentStatusHistory(): Prisma.ShipmentStatusHistoryDelegate<ExtArgs>;

  /**
   * `prisma.podStatus`: Exposes CRUD operations for the **PodStatus** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more PodStatuses
    * const podStatuses = await prisma.podStatus.findMany()
    * ```
    */
  get podStatus(): Prisma.PodStatusDelegate<ExtArgs>;

  /**
   * `prisma.shipmentLocationContactInfoHistory`: Exposes CRUD operations for the **ShipmentLocationContactInfoHistory** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentLocationContactInfoHistories
    * const shipmentLocationContactInfoHistories = await prisma.shipmentLocationContactInfoHistory.findMany()
    * ```
    */
  get shipmentLocationContactInfoHistory(): Prisma.ShipmentLocationContactInfoHistoryDelegate<ExtArgs>;

  /**
   * `prisma.shipmentImages`: Exposes CRUD operations for the **ShipmentImages** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more ShipmentImages
    * const shipmentImages = await prisma.shipmentImages.findMany()
    * ```
    */
  get shipmentImages(): Prisma.ShipmentImagesDelegate<ExtArgs>;

  /**
   * `prisma.sms_test_requests`: Exposes CRUD operations for the **sms_test_requests** model.
    * Example usage:
    * ```ts
    * // Fetch zero or more Sms_test_requests
    * const sms_test_requests = await prisma.sms_test_requests.findMany()
    * ```
    */
  get sms_test_requests(): Prisma.sms_test_requestsDelegate<ExtArgs>;
}

export namespace Prisma {
  export import DMMF = runtime.DMMF

  export type PrismaPromise<T> = $Public.PrismaPromise<T>

  /**
   * Validator
   */
  export import validator = runtime.Public.validator

  /**
   * Prisma Errors
   */
  export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
  export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
  export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
  export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
  export import PrismaClientValidationError = runtime.PrismaClientValidationError
  export import NotFoundError = runtime.NotFoundError

  /**
   * Re-export of sql-template-tag
   */
  export import sql = runtime.sqltag
  export import empty = runtime.empty
  export import join = runtime.join
  export import raw = runtime.raw
  export import Sql = runtime.Sql



  /**
   * Decimal.js
   */
  export import Decimal = runtime.Decimal

  export type DecimalJsLike = runtime.DecimalJsLike

  /**
   * Metrics 
   */
  export type Metrics = runtime.Metrics
  export type Metric<T> = runtime.Metric<T>
  export type MetricHistogram = runtime.MetricHistogram
  export type MetricHistogramBucket = runtime.MetricHistogramBucket

  /**
  * Extensions
  */
  export import Extension = $Extensions.UserArgs
  export import getExtensionContext = runtime.Extensions.getExtensionContext
  export import Args = $Public.Args
  export import Payload = $Public.Payload
  export import Result = $Public.Result
  export import Exact = $Public.Exact

  /**
   * Prisma Client JS version: 5.22.0
   * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
   */
  export type PrismaVersion = {
    client: string
  }

  export const prismaVersion: PrismaVersion 

  /**
   * Utility Types
   */


  export import JsonObject = runtime.JsonObject
  export import JsonArray = runtime.JsonArray
  export import JsonValue = runtime.JsonValue
  export import InputJsonObject = runtime.InputJsonObject
  export import InputJsonArray = runtime.InputJsonArray
  export import InputJsonValue = runtime.InputJsonValue

  /**
   * Types of the values used to represent different kinds of `null` values when working with JSON fields.
   * 
   * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
   */
  namespace NullTypes {
    /**
    * Type of `Prisma.DbNull`.
    * 
    * You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
    * 
    * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
    */
    class DbNull {
      private DbNull: never
      private constructor()
    }

    /**
    * Type of `Prisma.JsonNull`.
    * 
    * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
    * 
    * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
    */
    class JsonNull {
      private JsonNull: never
      private constructor()
    }

    /**
    * Type of `Prisma.AnyNull`.
    * 
    * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
    * 
    * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
    */
    class AnyNull {
      private AnyNull: never
      private constructor()
    }
  }

  /**
   * Helper for filtering JSON entries that have `null` on the database (empty on the db)
   * 
   * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
   */
  export const DbNull: NullTypes.DbNull

  /**
   * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
   * 
   * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
   */
  export const JsonNull: NullTypes.JsonNull

  /**
   * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
   * 
   * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
   */
  export const AnyNull: NullTypes.AnyNull

  type SelectAndInclude = {
    select: any
    include: any
  }

  type SelectAndOmit = {
    select: any
    omit: any
  }

  /**
   * Get the type of the value, that the Promise holds.
   */
  export type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T;

  /**
   * Get the return type of a function which returns a Promise.
   */
  export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>

  /**
   * From T, pick a set of properties whose keys are in the union K
   */
  type Prisma__Pick<T, K extends keyof T> = {
      [P in K]: T[P];
  };


  export type Enumerable<T> = T | Array<T>;

  export type RequiredKeys<T> = {
    [K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
  }[keyof T]

  export type TruthyKeys<T> = keyof {
    [K in keyof T as T[K] extends false | undefined | null ? never : K]: K
  }

  export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>

  /**
   * Subset
   * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
   */
  export type Subset<T, U> = {
    [key in keyof T]: key extends keyof U ? T[key] : never;
  };

  /**
   * SelectSubset
   * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
   * Additionally, it validates, if both select and include are present. If the case, it errors.
   */
  export type SelectSubset<T, U> = {
    [key in keyof T]: key extends keyof U ? T[key] : never
  } &
    (T extends SelectAndInclude
      ? 'Please either choose `select` or `include`.'
      : T extends SelectAndOmit
        ? 'Please either choose `select` or `omit`.'
        : {})

  /**
   * Subset + Intersection
   * @desc From `T` pick properties that exist in `U` and intersect `K`
   */
  export type SubsetIntersection<T, U, K> = {
    [key in keyof T]: key extends keyof U ? T[key] : never
  } &
    K

  type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };

  /**
   * XOR is needed to have a real mutually exclusive union type
   * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
   */
  type XOR<T, U> =
    T extends object ?
    U extends object ?
      (Without<T, U> & U) | (Without<U, T> & T)
    : U : T


  /**
   * Is T a Record?
   */
  type IsObject<T extends any> = T extends Array<any>
  ? False
  : T extends Date
  ? False
  : T extends Uint8Array
  ? False
  : T extends BigInt
  ? False
  : T extends object
  ? True
  : False


  /**
   * If it's T[], return T
   */
  export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T

  /**
   * From ts-toolbelt
   */

  type __Either<O extends object, K extends Key> = Omit<O, K> &
    {
      // Merge all but K
      [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
    }[K]

  type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>

  type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>

  type _Either<
    O extends object,
    K extends Key,
    strict extends Boolean
  > = {
    1: EitherStrict<O, K>
    0: EitherLoose<O, K>
  }[strict]

  type Either<
    O extends object,
    K extends Key,
    strict extends Boolean = 1
  > = O extends unknown ? _Either<O, K, strict> : never

  export type Union = any

  type PatchUndefined<O extends object, O1 extends object> = {
    [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
  } & {}

  /** Helper Types for "Merge" **/
  export type IntersectOf<U extends Union> = (
    U extends unknown ? (k: U) => void : never
  ) extends (k: infer I) => void
    ? I
    : never

  export type Overwrite<O extends object, O1 extends object> = {
      [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
  } & {};

  type _Merge<U extends object> = IntersectOf<Overwrite<U, {
      [K in keyof U]-?: At<U, K>;
  }>>;

  type Key = string | number | symbol;
  type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
  type AtStrict<O extends object, K extends Key> = O[K & keyof O];
  type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
  export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
      1: AtStrict<O, K>;
      0: AtLoose<O, K>;
  }[strict];

  export type ComputeRaw<A extends any> = A extends Function ? A : {
    [K in keyof A]: A[K];
  } & {};

  export type OptionalFlat<O> = {
    [K in keyof O]?: O[K];
  } & {};

  type _Record<K extends keyof any, T> = {
    [P in K]: T;
  };

  // cause typescript not to expand types and preserve names
  type NoExpand<T> = T extends unknown ? T : never;

  // this type assumes the passed object is entirely optional
  type AtLeast<O extends object, K extends string> = NoExpand<
    O extends unknown
    ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
      | {[P in keyof O as P extends K ? K : never]-?: O[P]} & O
    : never>;

  type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;

  export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
  /** End Helper Types for "Merge" **/

  export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;

  /**
  A [[Boolean]]
  */
  export type Boolean = True | False

  // /**
  // 1
  // */
  export type True = 1

  /**
  0
  */
  export type False = 0

  export type Not<B extends Boolean> = {
    0: 1
    1: 0
  }[B]

  export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
    ? 0 // anything `never` is false
    : A1 extends A2
    ? 1
    : 0

  export type Has<U extends Union, U1 extends Union> = Not<
    Extends<Exclude<U1, U>, U1>
  >

  export type Or<B1 extends Boolean, B2 extends Boolean> = {
    0: {
      0: 0
      1: 1
    }
    1: {
      0: 1
      1: 1
    }
  }[B1][B2]

  export type Keys<U extends Union> = U extends unknown ? keyof U : never

  type Cast<A, B> = A extends B ? A : B;

  export const type: unique symbol;



  /**
   * Used by group by
   */

  export type GetScalarType<T, O> = O extends object ? {
    [P in keyof T]: P extends keyof O
      ? O[P]
      : never
  } : never

  type FieldPaths<
    T,
    U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
  > = IsObject<T> extends True ? U : T

  type GetHavingFields<T> = {
    [K in keyof T]: Or<
      Or<Extends<'OR', K>, Extends<'AND', K>>,
      Extends<'NOT', K>
    > extends True
      ? // infer is only needed to not hit TS limit
        // based on the brilliant idea of Pierre-Antoine Mills
        // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
        T[K] extends infer TK
        ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
        : never
      : {} extends FieldPaths<T[K]>
      ? never
      : K
  }[keyof T]

  /**
   * Convert tuple to union
   */
  type _TupleToUnion<T> = T extends (infer E)[] ? E : never
  type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
  type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T

  /**
   * Like `Pick`, but additionally can also accept an array of keys
   */
  type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>

  /**
   * Exclude all keys with underscores
   */
  type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T


  export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>

  type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>


  export const ModelName: {
    User: 'User',
    UserDetail: 'UserDetail',
    Designation: 'Designation',
    Department: 'Department',
    RequestLog: 'RequestLog',
    FinancialYear: 'FinancialYear',
    DocumentSequence: 'DocumentSequence',
    AuditLog: 'AuditLog',
    Permissions: 'Permissions',
    Role: 'Role',
    RolePermissions: 'RolePermissions',
    UserRoles: 'UserRoles',
    UserPermissions: 'UserPermissions',
    Otp: 'Otp',
    Language: 'Language',
    LanguageContent: 'LanguageContent',
    Menus: 'Menus',
    MenuItems: 'MenuItems',
    ActionType: 'ActionType',
    EntityType: 'EntityType',
    WizardGroup: 'WizardGroup',
    WizardType: 'WizardType',
    AboutLCP: 'AboutLCP',
    userSearchConfiguration: 'userSearchConfiguration',
    MasterEntity: 'MasterEntity',
    MasterEntityLineItem: 'MasterEntityLineItem',
    FieldType: 'FieldType',
    menuType: 'menuType',
    NotificationTemplateProcess: 'NotificationTemplateProcess',
    NotificationTemplateTag: 'NotificationTemplateTag',
    NotificationTemplateRecipientTag: 'NotificationTemplateRecipientTag',
    NotificationTemplateProcessTagsMapping: 'NotificationTemplateProcessTagsMapping',
    NotificationTemplate: 'NotificationTemplate',
    NotificationTemplateAssignment: 'NotificationTemplateAssignment',
    EmailTemplateCcBcc: 'EmailTemplateCcBcc',
    NotificationProcessJob: 'NotificationProcessJob',
    NotificationJob: 'NotificationJob',
    CarouselTemplate: 'CarouselTemplate',
    CarouselTemplateLineItem: 'CarouselTemplateLineItem',
    ImportTemplate: 'ImportTemplate',
    ImportTemplateLineItem: 'ImportTemplateLineItem',
    ImportTemplateQueries: 'ImportTemplateQueries',
    DirectImportDetails: 'DirectImportDetails',
    ImportJob: 'ImportJob',
    ImportJobLineItem: 'ImportJobLineItem',
    ExportTemplate: 'ExportTemplate',
    ExportTemplateLineItem: 'ExportTemplateLineItem',
    ExportTemplateQueries: 'ExportTemplateQueries',
    Status: 'Status',
    CategoryTypes: 'CategoryTypes',
    Categories: 'Categories',
    Configurations: 'Configurations',
    UserConfigurations: 'UserConfigurations',
    FileUploadLog: 'FileUploadLog',
    DataTransferQueries: 'DataTransferQueries',
    DeviceRegistration: 'DeviceRegistration',
    Policies: 'Policies',
    UserPolicies: 'UserPolicies',
    RolePolicies: 'RolePolicies',
    Appversions: 'Appversions',
    ScheduledJob: 'ScheduledJob',
    ScheduledJobLogs: 'ScheduledJobLogs',
    ApprovalWorkflow: 'ApprovalWorkflow',
    ApprovalWorkflowApproverTag: 'ApprovalWorkflowApproverTag',
    ApprovalWorkflowAssignment: 'ApprovalWorkflowAssignment',
    ApprovalProcessJob: 'ApprovalProcessJob',
    ApprovalProcessJobWorkflow: 'ApprovalProcessJobWorkflow',
    ApprovalProcessJobWorkflowUser: 'ApprovalProcessJobWorkflowUser',
    Delegation: 'Delegation',
    SchemaChunk: 'SchemaChunk',
    EmbeddingVectorLogs: 'EmbeddingVectorLogs',
    OpenaiUsageLog: 'OpenaiUsageLog',
    QueryExecutionLog: 'QueryExecutionLog',
    ChildProcess: 'ChildProcess',
    ChildProcessLog: 'ChildProcessLog',
    Themes: 'Themes',
    ThemeLineItems: 'ThemeLineItems',
    ThemeAttributes: 'ThemeAttributes',
    BarcodeTemplates: 'BarcodeTemplates',
    UserLoginHistory: 'UserLoginHistory',
    PhoneCountryCodes: 'PhoneCountryCodes',
    TreeBuilderExample: 'TreeBuilderExample',
    DeliveryNotes: 'DeliveryNotes',
    DeliveryNoteStatus: 'DeliveryNoteStatus',
    DeliveryNoteLineItems: 'DeliveryNoteLineItems',
    CustomerDeliveryAddresses: 'CustomerDeliveryAddresses',
    Shipments: 'Shipments',
    ShipmentCustomers: 'ShipmentCustomers',
    ShipmentsLocation: 'ShipmentsLocation',
    ShipmentDeliveryNotes: 'ShipmentDeliveryNotes',
    Vehicles: 'Vehicles',
    VehicleUserMapping: 'VehicleUserMapping',
    VehiclesGpsData: 'VehiclesGpsData',
    VehiclesGpsDataLog: 'VehiclesGpsDataLog',
    VehicleTripHistories: 'VehicleTripHistories',
    GeoFences: 'GeoFences',
    GeoFenceTracking: 'GeoFenceTracking',
    VehicleGeofenceHistory: 'VehicleGeofenceHistory',
    CustomerGeoFenceMapping: 'CustomerGeoFenceMapping',
    ErpLogs: 'ErpLogs',
    ErpLogsLineItems: 'ErpLogsLineItems',
    TempSessionData: 'TempSessionData',
    ShipmentStatus: 'ShipmentStatus',
    ShipmentStatusHistory: 'ShipmentStatusHistory',
    PodStatus: 'PodStatus',
    ShipmentLocationContactInfoHistory: 'ShipmentLocationContactInfoHistory',
    ShipmentImages: 'ShipmentImages',
    sms_test_requests: 'sms_test_requests'
  };

  export type ModelName = (typeof ModelName)[keyof typeof ModelName]


  export type Datasources = {
    db?: Datasource
  }

  interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs, clientOptions: PrismaClientOptions }, $Utils.Record<string, any>> {
    returns: Prisma.TypeMap<this['params']['extArgs'], this['params']['clientOptions']>
  }

  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
    meta: {
      modelProps: "user" | "userDetail" | "designation" | "department" | "requestLog" | "financialYear" | "documentSequence" | "auditLog" | "permissions" | "role" | "rolePermissions" | "userRoles" | "userPermissions" | "otp" | "language" | "languageContent" | "menus" | "menuItems" | "actionType" | "entityType" | "wizardGroup" | "wizardType" | "aboutLCP" | "userSearchConfiguration" | "masterEntity" | "masterEntityLineItem" | "fieldType" | "menuType" | "notificationTemplateProcess" | "notificationTemplateTag" | "notificationTemplateRecipientTag" | "notificationTemplateProcessTagsMapping" | "notificationTemplate" | "notificationTemplateAssignment" | "emailTemplateCcBcc" | "notificationProcessJob" | "notificationJob" | "carouselTemplate" | "carouselTemplateLineItem" | "importTemplate" | "importTemplateLineItem" | "importTemplateQueries" | "directImportDetails" | "importJob" | "importJobLineItem" | "exportTemplate" | "exportTemplateLineItem" | "exportTemplateQueries" | "status" | "categoryTypes" | "categories" | "configurations" | "userConfigurations" | "fileUploadLog" | "dataTransferQueries" | "deviceRegistration" | "policies" | "userPolicies" | "rolePolicies" | "appversions" | "scheduledJob" | "scheduledJobLogs" | "approvalWorkflow" | "approvalWorkflowApproverTag" | "approvalWorkflowAssignment" | "approvalProcessJob" | "approvalProcessJobWorkflow" | "approvalProcessJobWorkflowUser" | "delegation" | "schemaChunk" | "embeddingVectorLogs" | "openaiUsageLog" | "queryExecutionLog" | "childProcess" | "childProcessLog" | "themes" | "themeLineItems" | "themeAttributes" | "barcodeTemplates" | "userLoginHistory" | "phoneCountryCodes" | "treeBuilderExample" | "deliveryNotes" | "deliveryNoteStatus" | "deliveryNoteLineItems" | "customerDeliveryAddresses" | "shipments" | "shipmentCustomers" | "shipmentsLocation" | "shipmentDeliveryNotes" | "vehicles" | "vehicleUserMapping" | "vehiclesGpsData" | "vehiclesGpsDataLog" | "vehicleTripHistories" | "geoFences" | "geoFenceTracking" | "vehicleGeofenceHistory" | "customerGeoFenceMapping" | "erpLogs" | "erpLogsLineItems" | "tempSessionData" | "shipmentStatus" | "shipmentStatusHistory" | "podStatus" | "shipmentLocationContactInfoHistory" | "shipmentImages" | "sms_test_requests"
      txIsolationLevel: Prisma.TransactionIsolationLevel
    }
    model: {
      User: {
        payload: Prisma.$UserPayload<ExtArgs>
        fields: Prisma.UserFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          findFirst: {
            args: Prisma.UserFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          findMany: {
            args: Prisma.UserFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
          }
          create: {
            args: Prisma.UserCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          createMany: {
            args: Prisma.UserCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
          }
          delete: {
            args: Prisma.UserDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          update: {
            args: Prisma.UserUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          deleteMany: {
            args: Prisma.UserDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPayload>
          }
          aggregate: {
            args: Prisma.UserAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUser>
          }
          groupBy: {
            args: Prisma.UserGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserCountArgs<ExtArgs>
            result: $Utils.Optional<UserCountAggregateOutputType> | number
          }
        }
      }
      UserDetail: {
        payload: Prisma.$UserDetailPayload<ExtArgs>
        fields: Prisma.UserDetailFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserDetailFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserDetailFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          findFirst: {
            args: Prisma.UserDetailFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserDetailFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          findMany: {
            args: Prisma.UserDetailFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>[]
          }
          create: {
            args: Prisma.UserDetailCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          createMany: {
            args: Prisma.UserDetailCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserDetailCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>[]
          }
          delete: {
            args: Prisma.UserDetailDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          update: {
            args: Prisma.UserDetailUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          deleteMany: {
            args: Prisma.UserDetailDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserDetailUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserDetailUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserDetailPayload>
          }
          aggregate: {
            args: Prisma.UserDetailAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserDetail>
          }
          groupBy: {
            args: Prisma.UserDetailGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserDetailGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserDetailCountArgs<ExtArgs>
            result: $Utils.Optional<UserDetailCountAggregateOutputType> | number
          }
        }
      }
      Designation: {
        payload: Prisma.$DesignationPayload<ExtArgs>
        fields: Prisma.DesignationFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DesignationFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DesignationFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          findFirst: {
            args: Prisma.DesignationFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DesignationFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          findMany: {
            args: Prisma.DesignationFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>[]
          }
          create: {
            args: Prisma.DesignationCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          createMany: {
            args: Prisma.DesignationCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DesignationCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>[]
          }
          delete: {
            args: Prisma.DesignationDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          update: {
            args: Prisma.DesignationUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          deleteMany: {
            args: Prisma.DesignationDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DesignationUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DesignationUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DesignationPayload>
          }
          aggregate: {
            args: Prisma.DesignationAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDesignation>
          }
          groupBy: {
            args: Prisma.DesignationGroupByArgs<ExtArgs>
            result: $Utils.Optional<DesignationGroupByOutputType>[]
          }
          count: {
            args: Prisma.DesignationCountArgs<ExtArgs>
            result: $Utils.Optional<DesignationCountAggregateOutputType> | number
          }
        }
      }
      Department: {
        payload: Prisma.$DepartmentPayload<ExtArgs>
        fields: Prisma.DepartmentFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DepartmentFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DepartmentFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          findFirst: {
            args: Prisma.DepartmentFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DepartmentFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          findMany: {
            args: Prisma.DepartmentFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>[]
          }
          create: {
            args: Prisma.DepartmentCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          createMany: {
            args: Prisma.DepartmentCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DepartmentCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>[]
          }
          delete: {
            args: Prisma.DepartmentDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          update: {
            args: Prisma.DepartmentUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          deleteMany: {
            args: Prisma.DepartmentDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DepartmentUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DepartmentUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DepartmentPayload>
          }
          aggregate: {
            args: Prisma.DepartmentAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDepartment>
          }
          groupBy: {
            args: Prisma.DepartmentGroupByArgs<ExtArgs>
            result: $Utils.Optional<DepartmentGroupByOutputType>[]
          }
          count: {
            args: Prisma.DepartmentCountArgs<ExtArgs>
            result: $Utils.Optional<DepartmentCountAggregateOutputType> | number
          }
        }
      }
      RequestLog: {
        payload: Prisma.$RequestLogPayload<ExtArgs>
        fields: Prisma.RequestLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.RequestLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.RequestLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          findFirst: {
            args: Prisma.RequestLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.RequestLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          findMany: {
            args: Prisma.RequestLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>[]
          }
          create: {
            args: Prisma.RequestLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          createMany: {
            args: Prisma.RequestLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.RequestLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>[]
          }
          delete: {
            args: Prisma.RequestLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          update: {
            args: Prisma.RequestLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          deleteMany: {
            args: Prisma.RequestLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.RequestLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.RequestLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RequestLogPayload>
          }
          aggregate: {
            args: Prisma.RequestLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateRequestLog>
          }
          groupBy: {
            args: Prisma.RequestLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<RequestLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.RequestLogCountArgs<ExtArgs>
            result: $Utils.Optional<RequestLogCountAggregateOutputType> | number
          }
        }
      }
      FinancialYear: {
        payload: Prisma.$FinancialYearPayload<ExtArgs>
        fields: Prisma.FinancialYearFieldRefs
        operations: {
          findUnique: {
            args: Prisma.FinancialYearFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.FinancialYearFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          findFirst: {
            args: Prisma.FinancialYearFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.FinancialYearFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          findMany: {
            args: Prisma.FinancialYearFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>[]
          }
          create: {
            args: Prisma.FinancialYearCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          createMany: {
            args: Prisma.FinancialYearCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.FinancialYearCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>[]
          }
          delete: {
            args: Prisma.FinancialYearDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          update: {
            args: Prisma.FinancialYearUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          deleteMany: {
            args: Prisma.FinancialYearDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.FinancialYearUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.FinancialYearUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FinancialYearPayload>
          }
          aggregate: {
            args: Prisma.FinancialYearAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateFinancialYear>
          }
          groupBy: {
            args: Prisma.FinancialYearGroupByArgs<ExtArgs>
            result: $Utils.Optional<FinancialYearGroupByOutputType>[]
          }
          count: {
            args: Prisma.FinancialYearCountArgs<ExtArgs>
            result: $Utils.Optional<FinancialYearCountAggregateOutputType> | number
          }
        }
      }
      DocumentSequence: {
        payload: Prisma.$DocumentSequencePayload<ExtArgs>
        fields: Prisma.DocumentSequenceFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DocumentSequenceFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DocumentSequenceFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          findFirst: {
            args: Prisma.DocumentSequenceFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DocumentSequenceFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          findMany: {
            args: Prisma.DocumentSequenceFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>[]
          }
          create: {
            args: Prisma.DocumentSequenceCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          createMany: {
            args: Prisma.DocumentSequenceCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DocumentSequenceCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>[]
          }
          delete: {
            args: Prisma.DocumentSequenceDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          update: {
            args: Prisma.DocumentSequenceUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          deleteMany: {
            args: Prisma.DocumentSequenceDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DocumentSequenceUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DocumentSequenceUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DocumentSequencePayload>
          }
          aggregate: {
            args: Prisma.DocumentSequenceAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDocumentSequence>
          }
          groupBy: {
            args: Prisma.DocumentSequenceGroupByArgs<ExtArgs>
            result: $Utils.Optional<DocumentSequenceGroupByOutputType>[]
          }
          count: {
            args: Prisma.DocumentSequenceCountArgs<ExtArgs>
            result: $Utils.Optional<DocumentSequenceCountAggregateOutputType> | number
          }
        }
      }
      AuditLog: {
        payload: Prisma.$AuditLogPayload<ExtArgs>
        fields: Prisma.AuditLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.AuditLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.AuditLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          findFirst: {
            args: Prisma.AuditLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.AuditLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          findMany: {
            args: Prisma.AuditLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
          }
          create: {
            args: Prisma.AuditLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          createMany: {
            args: Prisma.AuditLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.AuditLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
          }
          delete: {
            args: Prisma.AuditLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          update: {
            args: Prisma.AuditLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          deleteMany: {
            args: Prisma.AuditLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.AuditLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.AuditLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
          }
          aggregate: {
            args: Prisma.AuditLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateAuditLog>
          }
          groupBy: {
            args: Prisma.AuditLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<AuditLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.AuditLogCountArgs<ExtArgs>
            result: $Utils.Optional<AuditLogCountAggregateOutputType> | number
          }
        }
      }
      Permissions: {
        payload: Prisma.$PermissionsPayload<ExtArgs>
        fields: Prisma.PermissionsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.PermissionsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.PermissionsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          findFirst: {
            args: Prisma.PermissionsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.PermissionsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          findMany: {
            args: Prisma.PermissionsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>[]
          }
          create: {
            args: Prisma.PermissionsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          createMany: {
            args: Prisma.PermissionsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.PermissionsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>[]
          }
          delete: {
            args: Prisma.PermissionsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          update: {
            args: Prisma.PermissionsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          deleteMany: {
            args: Prisma.PermissionsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.PermissionsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.PermissionsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PermissionsPayload>
          }
          aggregate: {
            args: Prisma.PermissionsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregatePermissions>
          }
          groupBy: {
            args: Prisma.PermissionsGroupByArgs<ExtArgs>
            result: $Utils.Optional<PermissionsGroupByOutputType>[]
          }
          count: {
            args: Prisma.PermissionsCountArgs<ExtArgs>
            result: $Utils.Optional<PermissionsCountAggregateOutputType> | number
          }
        }
      }
      Role: {
        payload: Prisma.$RolePayload<ExtArgs>
        fields: Prisma.RoleFieldRefs
        operations: {
          findUnique: {
            args: Prisma.RoleFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.RoleFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          findFirst: {
            args: Prisma.RoleFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.RoleFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          findMany: {
            args: Prisma.RoleFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>[]
          }
          create: {
            args: Prisma.RoleCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          createMany: {
            args: Prisma.RoleCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.RoleCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>[]
          }
          delete: {
            args: Prisma.RoleDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          update: {
            args: Prisma.RoleUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          deleteMany: {
            args: Prisma.RoleDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.RoleUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.RoleUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePayload>
          }
          aggregate: {
            args: Prisma.RoleAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateRole>
          }
          groupBy: {
            args: Prisma.RoleGroupByArgs<ExtArgs>
            result: $Utils.Optional<RoleGroupByOutputType>[]
          }
          count: {
            args: Prisma.RoleCountArgs<ExtArgs>
            result: $Utils.Optional<RoleCountAggregateOutputType> | number
          }
        }
      }
      RolePermissions: {
        payload: Prisma.$RolePermissionsPayload<ExtArgs>
        fields: Prisma.RolePermissionsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.RolePermissionsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.RolePermissionsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          findFirst: {
            args: Prisma.RolePermissionsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.RolePermissionsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          findMany: {
            args: Prisma.RolePermissionsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>[]
          }
          create: {
            args: Prisma.RolePermissionsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          createMany: {
            args: Prisma.RolePermissionsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.RolePermissionsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>[]
          }
          delete: {
            args: Prisma.RolePermissionsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          update: {
            args: Prisma.RolePermissionsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          deleteMany: {
            args: Prisma.RolePermissionsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.RolePermissionsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.RolePermissionsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePermissionsPayload>
          }
          aggregate: {
            args: Prisma.RolePermissionsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateRolePermissions>
          }
          groupBy: {
            args: Prisma.RolePermissionsGroupByArgs<ExtArgs>
            result: $Utils.Optional<RolePermissionsGroupByOutputType>[]
          }
          count: {
            args: Prisma.RolePermissionsCountArgs<ExtArgs>
            result: $Utils.Optional<RolePermissionsCountAggregateOutputType> | number
          }
        }
      }
      UserRoles: {
        payload: Prisma.$UserRolesPayload<ExtArgs>
        fields: Prisma.UserRolesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserRolesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserRolesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          findFirst: {
            args: Prisma.UserRolesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserRolesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          findMany: {
            args: Prisma.UserRolesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>[]
          }
          create: {
            args: Prisma.UserRolesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          createMany: {
            args: Prisma.UserRolesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserRolesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>[]
          }
          delete: {
            args: Prisma.UserRolesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          update: {
            args: Prisma.UserRolesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          deleteMany: {
            args: Prisma.UserRolesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserRolesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserRolesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserRolesPayload>
          }
          aggregate: {
            args: Prisma.UserRolesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserRoles>
          }
          groupBy: {
            args: Prisma.UserRolesGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserRolesGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserRolesCountArgs<ExtArgs>
            result: $Utils.Optional<UserRolesCountAggregateOutputType> | number
          }
        }
      }
      UserPermissions: {
        payload: Prisma.$UserPermissionsPayload<ExtArgs>
        fields: Prisma.UserPermissionsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserPermissionsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserPermissionsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          findFirst: {
            args: Prisma.UserPermissionsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserPermissionsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          findMany: {
            args: Prisma.UserPermissionsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>[]
          }
          create: {
            args: Prisma.UserPermissionsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          createMany: {
            args: Prisma.UserPermissionsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserPermissionsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>[]
          }
          delete: {
            args: Prisma.UserPermissionsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          update: {
            args: Prisma.UserPermissionsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          deleteMany: {
            args: Prisma.UserPermissionsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserPermissionsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserPermissionsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPermissionsPayload>
          }
          aggregate: {
            args: Prisma.UserPermissionsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserPermissions>
          }
          groupBy: {
            args: Prisma.UserPermissionsGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserPermissionsGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserPermissionsCountArgs<ExtArgs>
            result: $Utils.Optional<UserPermissionsCountAggregateOutputType> | number
          }
        }
      }
      Otp: {
        payload: Prisma.$OtpPayload<ExtArgs>
        fields: Prisma.OtpFieldRefs
        operations: {
          findUnique: {
            args: Prisma.OtpFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.OtpFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          findFirst: {
            args: Prisma.OtpFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.OtpFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          findMany: {
            args: Prisma.OtpFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>[]
          }
          create: {
            args: Prisma.OtpCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          createMany: {
            args: Prisma.OtpCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.OtpCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>[]
          }
          delete: {
            args: Prisma.OtpDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          update: {
            args: Prisma.OtpUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          deleteMany: {
            args: Prisma.OtpDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.OtpUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.OtpUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OtpPayload>
          }
          aggregate: {
            args: Prisma.OtpAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateOtp>
          }
          groupBy: {
            args: Prisma.OtpGroupByArgs<ExtArgs>
            result: $Utils.Optional<OtpGroupByOutputType>[]
          }
          count: {
            args: Prisma.OtpCountArgs<ExtArgs>
            result: $Utils.Optional<OtpCountAggregateOutputType> | number
          }
        }
      }
      Language: {
        payload: Prisma.$LanguagePayload<ExtArgs>
        fields: Prisma.LanguageFieldRefs
        operations: {
          findUnique: {
            args: Prisma.LanguageFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.LanguageFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          findFirst: {
            args: Prisma.LanguageFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.LanguageFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          findMany: {
            args: Prisma.LanguageFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>[]
          }
          create: {
            args: Prisma.LanguageCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          createMany: {
            args: Prisma.LanguageCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.LanguageCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>[]
          }
          delete: {
            args: Prisma.LanguageDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          update: {
            args: Prisma.LanguageUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          deleteMany: {
            args: Prisma.LanguageDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.LanguageUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.LanguageUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguagePayload>
          }
          aggregate: {
            args: Prisma.LanguageAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateLanguage>
          }
          groupBy: {
            args: Prisma.LanguageGroupByArgs<ExtArgs>
            result: $Utils.Optional<LanguageGroupByOutputType>[]
          }
          count: {
            args: Prisma.LanguageCountArgs<ExtArgs>
            result: $Utils.Optional<LanguageCountAggregateOutputType> | number
          }
        }
      }
      LanguageContent: {
        payload: Prisma.$LanguageContentPayload<ExtArgs>
        fields: Prisma.LanguageContentFieldRefs
        operations: {
          findUnique: {
            args: Prisma.LanguageContentFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.LanguageContentFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          findFirst: {
            args: Prisma.LanguageContentFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.LanguageContentFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          findMany: {
            args: Prisma.LanguageContentFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>[]
          }
          create: {
            args: Prisma.LanguageContentCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          createMany: {
            args: Prisma.LanguageContentCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.LanguageContentCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>[]
          }
          delete: {
            args: Prisma.LanguageContentDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          update: {
            args: Prisma.LanguageContentUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          deleteMany: {
            args: Prisma.LanguageContentDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.LanguageContentUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.LanguageContentUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$LanguageContentPayload>
          }
          aggregate: {
            args: Prisma.LanguageContentAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateLanguageContent>
          }
          groupBy: {
            args: Prisma.LanguageContentGroupByArgs<ExtArgs>
            result: $Utils.Optional<LanguageContentGroupByOutputType>[]
          }
          count: {
            args: Prisma.LanguageContentCountArgs<ExtArgs>
            result: $Utils.Optional<LanguageContentCountAggregateOutputType> | number
          }
        }
      }
      Menus: {
        payload: Prisma.$MenusPayload<ExtArgs>
        fields: Prisma.MenusFieldRefs
        operations: {
          findUnique: {
            args: Prisma.MenusFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.MenusFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          findFirst: {
            args: Prisma.MenusFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.MenusFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          findMany: {
            args: Prisma.MenusFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>[]
          }
          create: {
            args: Prisma.MenusCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          createMany: {
            args: Prisma.MenusCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.MenusCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>[]
          }
          delete: {
            args: Prisma.MenusDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          update: {
            args: Prisma.MenusUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          deleteMany: {
            args: Prisma.MenusDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.MenusUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.MenusUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenusPayload>
          }
          aggregate: {
            args: Prisma.MenusAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateMenus>
          }
          groupBy: {
            args: Prisma.MenusGroupByArgs<ExtArgs>
            result: $Utils.Optional<MenusGroupByOutputType>[]
          }
          count: {
            args: Prisma.MenusCountArgs<ExtArgs>
            result: $Utils.Optional<MenusCountAggregateOutputType> | number
          }
        }
      }
      MenuItems: {
        payload: Prisma.$MenuItemsPayload<ExtArgs>
        fields: Prisma.MenuItemsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.MenuItemsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.MenuItemsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          findFirst: {
            args: Prisma.MenuItemsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.MenuItemsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          findMany: {
            args: Prisma.MenuItemsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>[]
          }
          create: {
            args: Prisma.MenuItemsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          createMany: {
            args: Prisma.MenuItemsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.MenuItemsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>[]
          }
          delete: {
            args: Prisma.MenuItemsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          update: {
            args: Prisma.MenuItemsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          deleteMany: {
            args: Prisma.MenuItemsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.MenuItemsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.MenuItemsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MenuItemsPayload>
          }
          aggregate: {
            args: Prisma.MenuItemsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateMenuItems>
          }
          groupBy: {
            args: Prisma.MenuItemsGroupByArgs<ExtArgs>
            result: $Utils.Optional<MenuItemsGroupByOutputType>[]
          }
          count: {
            args: Prisma.MenuItemsCountArgs<ExtArgs>
            result: $Utils.Optional<MenuItemsCountAggregateOutputType> | number
          }
        }
      }
      ActionType: {
        payload: Prisma.$ActionTypePayload<ExtArgs>
        fields: Prisma.ActionTypeFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ActionTypeFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ActionTypeFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          findFirst: {
            args: Prisma.ActionTypeFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ActionTypeFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          findMany: {
            args: Prisma.ActionTypeFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>[]
          }
          create: {
            args: Prisma.ActionTypeCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          createMany: {
            args: Prisma.ActionTypeCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ActionTypeCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>[]
          }
          delete: {
            args: Prisma.ActionTypeDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          update: {
            args: Prisma.ActionTypeUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          deleteMany: {
            args: Prisma.ActionTypeDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ActionTypeUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ActionTypeUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ActionTypePayload>
          }
          aggregate: {
            args: Prisma.ActionTypeAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateActionType>
          }
          groupBy: {
            args: Prisma.ActionTypeGroupByArgs<ExtArgs>
            result: $Utils.Optional<ActionTypeGroupByOutputType>[]
          }
          count: {
            args: Prisma.ActionTypeCountArgs<ExtArgs>
            result: $Utils.Optional<ActionTypeCountAggregateOutputType> | number
          }
        }
      }
      EntityType: {
        payload: Prisma.$EntityTypePayload<ExtArgs>
        fields: Prisma.EntityTypeFieldRefs
        operations: {
          findUnique: {
            args: Prisma.EntityTypeFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.EntityTypeFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          findFirst: {
            args: Prisma.EntityTypeFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.EntityTypeFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          findMany: {
            args: Prisma.EntityTypeFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>[]
          }
          create: {
            args: Prisma.EntityTypeCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          createMany: {
            args: Prisma.EntityTypeCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.EntityTypeCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>[]
          }
          delete: {
            args: Prisma.EntityTypeDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          update: {
            args: Prisma.EntityTypeUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          deleteMany: {
            args: Prisma.EntityTypeDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.EntityTypeUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.EntityTypeUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EntityTypePayload>
          }
          aggregate: {
            args: Prisma.EntityTypeAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateEntityType>
          }
          groupBy: {
            args: Prisma.EntityTypeGroupByArgs<ExtArgs>
            result: $Utils.Optional<EntityTypeGroupByOutputType>[]
          }
          count: {
            args: Prisma.EntityTypeCountArgs<ExtArgs>
            result: $Utils.Optional<EntityTypeCountAggregateOutputType> | number
          }
        }
      }
      WizardGroup: {
        payload: Prisma.$WizardGroupPayload<ExtArgs>
        fields: Prisma.WizardGroupFieldRefs
        operations: {
          findUnique: {
            args: Prisma.WizardGroupFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.WizardGroupFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          findFirst: {
            args: Prisma.WizardGroupFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.WizardGroupFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          findMany: {
            args: Prisma.WizardGroupFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>[]
          }
          create: {
            args: Prisma.WizardGroupCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          createMany: {
            args: Prisma.WizardGroupCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.WizardGroupCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>[]
          }
          delete: {
            args: Prisma.WizardGroupDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          update: {
            args: Prisma.WizardGroupUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          deleteMany: {
            args: Prisma.WizardGroupDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.WizardGroupUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.WizardGroupUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardGroupPayload>
          }
          aggregate: {
            args: Prisma.WizardGroupAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateWizardGroup>
          }
          groupBy: {
            args: Prisma.WizardGroupGroupByArgs<ExtArgs>
            result: $Utils.Optional<WizardGroupGroupByOutputType>[]
          }
          count: {
            args: Prisma.WizardGroupCountArgs<ExtArgs>
            result: $Utils.Optional<WizardGroupCountAggregateOutputType> | number
          }
        }
      }
      WizardType: {
        payload: Prisma.$WizardTypePayload<ExtArgs>
        fields: Prisma.WizardTypeFieldRefs
        operations: {
          findUnique: {
            args: Prisma.WizardTypeFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.WizardTypeFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          findFirst: {
            args: Prisma.WizardTypeFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.WizardTypeFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          findMany: {
            args: Prisma.WizardTypeFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>[]
          }
          create: {
            args: Prisma.WizardTypeCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          createMany: {
            args: Prisma.WizardTypeCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.WizardTypeCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>[]
          }
          delete: {
            args: Prisma.WizardTypeDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          update: {
            args: Prisma.WizardTypeUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          deleteMany: {
            args: Prisma.WizardTypeDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.WizardTypeUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.WizardTypeUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$WizardTypePayload>
          }
          aggregate: {
            args: Prisma.WizardTypeAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateWizardType>
          }
          groupBy: {
            args: Prisma.WizardTypeGroupByArgs<ExtArgs>
            result: $Utils.Optional<WizardTypeGroupByOutputType>[]
          }
          count: {
            args: Prisma.WizardTypeCountArgs<ExtArgs>
            result: $Utils.Optional<WizardTypeCountAggregateOutputType> | number
          }
        }
      }
      AboutLCP: {
        payload: Prisma.$AboutLCPPayload<ExtArgs>
        fields: Prisma.AboutLCPFieldRefs
        operations: {
          findUnique: {
            args: Prisma.AboutLCPFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.AboutLCPFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          findFirst: {
            args: Prisma.AboutLCPFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.AboutLCPFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          findMany: {
            args: Prisma.AboutLCPFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>[]
          }
          create: {
            args: Prisma.AboutLCPCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          createMany: {
            args: Prisma.AboutLCPCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.AboutLCPCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>[]
          }
          delete: {
            args: Prisma.AboutLCPDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          update: {
            args: Prisma.AboutLCPUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          deleteMany: {
            args: Prisma.AboutLCPDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.AboutLCPUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.AboutLCPUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AboutLCPPayload>
          }
          aggregate: {
            args: Prisma.AboutLCPAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateAboutLCP>
          }
          groupBy: {
            args: Prisma.AboutLCPGroupByArgs<ExtArgs>
            result: $Utils.Optional<AboutLCPGroupByOutputType>[]
          }
          count: {
            args: Prisma.AboutLCPCountArgs<ExtArgs>
            result: $Utils.Optional<AboutLCPCountAggregateOutputType> | number
          }
        }
      }
      userSearchConfiguration: {
        payload: Prisma.$userSearchConfigurationPayload<ExtArgs>
        fields: Prisma.userSearchConfigurationFieldRefs
        operations: {
          findUnique: {
            args: Prisma.userSearchConfigurationFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.userSearchConfigurationFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          findFirst: {
            args: Prisma.userSearchConfigurationFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.userSearchConfigurationFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          findMany: {
            args: Prisma.userSearchConfigurationFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>[]
          }
          create: {
            args: Prisma.userSearchConfigurationCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          createMany: {
            args: Prisma.userSearchConfigurationCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.userSearchConfigurationCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>[]
          }
          delete: {
            args: Prisma.userSearchConfigurationDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          update: {
            args: Prisma.userSearchConfigurationUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          deleteMany: {
            args: Prisma.userSearchConfigurationDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.userSearchConfigurationUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.userSearchConfigurationUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$userSearchConfigurationPayload>
          }
          aggregate: {
            args: Prisma.UserSearchConfigurationAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserSearchConfiguration>
          }
          groupBy: {
            args: Prisma.userSearchConfigurationGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserSearchConfigurationGroupByOutputType>[]
          }
          count: {
            args: Prisma.userSearchConfigurationCountArgs<ExtArgs>
            result: $Utils.Optional<UserSearchConfigurationCountAggregateOutputType> | number
          }
        }
      }
      MasterEntity: {
        payload: Prisma.$MasterEntityPayload<ExtArgs>
        fields: Prisma.MasterEntityFieldRefs
        operations: {
          findUnique: {
            args: Prisma.MasterEntityFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.MasterEntityFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          findFirst: {
            args: Prisma.MasterEntityFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.MasterEntityFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          findMany: {
            args: Prisma.MasterEntityFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>[]
          }
          create: {
            args: Prisma.MasterEntityCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          createMany: {
            args: Prisma.MasterEntityCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.MasterEntityCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>[]
          }
          delete: {
            args: Prisma.MasterEntityDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          update: {
            args: Prisma.MasterEntityUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          deleteMany: {
            args: Prisma.MasterEntityDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.MasterEntityUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.MasterEntityUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityPayload>
          }
          aggregate: {
            args: Prisma.MasterEntityAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateMasterEntity>
          }
          groupBy: {
            args: Prisma.MasterEntityGroupByArgs<ExtArgs>
            result: $Utils.Optional<MasterEntityGroupByOutputType>[]
          }
          count: {
            args: Prisma.MasterEntityCountArgs<ExtArgs>
            result: $Utils.Optional<MasterEntityCountAggregateOutputType> | number
          }
        }
      }
      MasterEntityLineItem: {
        payload: Prisma.$MasterEntityLineItemPayload<ExtArgs>
        fields: Prisma.MasterEntityLineItemFieldRefs
        operations: {
          findUnique: {
            args: Prisma.MasterEntityLineItemFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.MasterEntityLineItemFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          findFirst: {
            args: Prisma.MasterEntityLineItemFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.MasterEntityLineItemFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          findMany: {
            args: Prisma.MasterEntityLineItemFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>[]
          }
          create: {
            args: Prisma.MasterEntityLineItemCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          createMany: {
            args: Prisma.MasterEntityLineItemCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.MasterEntityLineItemCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>[]
          }
          delete: {
            args: Prisma.MasterEntityLineItemDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          update: {
            args: Prisma.MasterEntityLineItemUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          deleteMany: {
            args: Prisma.MasterEntityLineItemDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.MasterEntityLineItemUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.MasterEntityLineItemUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$MasterEntityLineItemPayload>
          }
          aggregate: {
            args: Prisma.MasterEntityLineItemAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateMasterEntityLineItem>
          }
          groupBy: {
            args: Prisma.MasterEntityLineItemGroupByArgs<ExtArgs>
            result: $Utils.Optional<MasterEntityLineItemGroupByOutputType>[]
          }
          count: {
            args: Prisma.MasterEntityLineItemCountArgs<ExtArgs>
            result: $Utils.Optional<MasterEntityLineItemCountAggregateOutputType> | number
          }
        }
      }
      FieldType: {
        payload: Prisma.$FieldTypePayload<ExtArgs>
        fields: Prisma.FieldTypeFieldRefs
        operations: {
          findUnique: {
            args: Prisma.FieldTypeFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.FieldTypeFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          findFirst: {
            args: Prisma.FieldTypeFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.FieldTypeFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          findMany: {
            args: Prisma.FieldTypeFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>[]
          }
          create: {
            args: Prisma.FieldTypeCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          createMany: {
            args: Prisma.FieldTypeCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.FieldTypeCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>[]
          }
          delete: {
            args: Prisma.FieldTypeDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          update: {
            args: Prisma.FieldTypeUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          deleteMany: {
            args: Prisma.FieldTypeDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.FieldTypeUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.FieldTypeUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FieldTypePayload>
          }
          aggregate: {
            args: Prisma.FieldTypeAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateFieldType>
          }
          groupBy: {
            args: Prisma.FieldTypeGroupByArgs<ExtArgs>
            result: $Utils.Optional<FieldTypeGroupByOutputType>[]
          }
          count: {
            args: Prisma.FieldTypeCountArgs<ExtArgs>
            result: $Utils.Optional<FieldTypeCountAggregateOutputType> | number
          }
        }
      }
      menuType: {
        payload: Prisma.$menuTypePayload<ExtArgs>
        fields: Prisma.menuTypeFieldRefs
        operations: {
          findUnique: {
            args: Prisma.menuTypeFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.menuTypeFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          findFirst: {
            args: Prisma.menuTypeFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.menuTypeFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          findMany: {
            args: Prisma.menuTypeFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>[]
          }
          create: {
            args: Prisma.menuTypeCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          createMany: {
            args: Prisma.menuTypeCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.menuTypeCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>[]
          }
          delete: {
            args: Prisma.menuTypeDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          update: {
            args: Prisma.menuTypeUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          deleteMany: {
            args: Prisma.menuTypeDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.menuTypeUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.menuTypeUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$menuTypePayload>
          }
          aggregate: {
            args: Prisma.MenuTypeAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateMenuType>
          }
          groupBy: {
            args: Prisma.menuTypeGroupByArgs<ExtArgs>
            result: $Utils.Optional<MenuTypeGroupByOutputType>[]
          }
          count: {
            args: Prisma.menuTypeCountArgs<ExtArgs>
            result: $Utils.Optional<MenuTypeCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplateProcess: {
        payload: Prisma.$NotificationTemplateProcessPayload<ExtArgs>
        fields: Prisma.NotificationTemplateProcessFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateProcessFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateProcessFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateProcessFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateProcessFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateProcessFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateProcessCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateProcessCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateProcessCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateProcessDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          update: {
            args: Prisma.NotificationTemplateProcessUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateProcessDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateProcessUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateProcessUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessPayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateProcessAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplateProcess>
          }
          groupBy: {
            args: Prisma.NotificationTemplateProcessGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateProcessGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateProcessCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateProcessCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplateTag: {
        payload: Prisma.$NotificationTemplateTagPayload<ExtArgs>
        fields: Prisma.NotificationTemplateTagFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateTagFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateTagFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateTagFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateTagFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateTagFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateTagCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateTagCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateTagCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateTagDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          update: {
            args: Prisma.NotificationTemplateTagUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateTagDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateTagUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateTagUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateTagPayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateTagAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplateTag>
          }
          groupBy: {
            args: Prisma.NotificationTemplateTagGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateTagGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateTagCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateTagCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplateRecipientTag: {
        payload: Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>
        fields: Prisma.NotificationTemplateRecipientTagFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateRecipientTagFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateRecipientTagFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateRecipientTagFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateRecipientTagFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateRecipientTagFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateRecipientTagCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateRecipientTagCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateRecipientTagCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateRecipientTagDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          update: {
            args: Prisma.NotificationTemplateRecipientTagUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateRecipientTagDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateRecipientTagUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateRecipientTagUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateRecipientTagPayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateRecipientTagAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplateRecipientTag>
          }
          groupBy: {
            args: Prisma.NotificationTemplateRecipientTagGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateRecipientTagGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateRecipientTagCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateRecipientTagCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplateProcessTagsMapping: {
        payload: Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>
        fields: Prisma.NotificationTemplateProcessTagsMappingFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateProcessTagsMappingFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateProcessTagsMappingFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateProcessTagsMappingFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateProcessTagsMappingFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateProcessTagsMappingFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateProcessTagsMappingCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateProcessTagsMappingCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateProcessTagsMappingCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateProcessTagsMappingDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          update: {
            args: Prisma.NotificationTemplateProcessTagsMappingUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateProcessTagsMappingDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateProcessTagsMappingUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateProcessTagsMappingUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateProcessTagsMappingPayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateProcessTagsMappingAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplateProcessTagsMapping>
          }
          groupBy: {
            args: Prisma.NotificationTemplateProcessTagsMappingGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateProcessTagsMappingGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateProcessTagsMappingCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateProcessTagsMappingCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplate: {
        payload: Prisma.$NotificationTemplatePayload<ExtArgs>
        fields: Prisma.NotificationTemplateFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          update: {
            args: Prisma.NotificationTemplateUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplatePayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplate>
          }
          groupBy: {
            args: Prisma.NotificationTemplateGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateCountAggregateOutputType> | number
          }
        }
      }
      NotificationTemplateAssignment: {
        payload: Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>
        fields: Prisma.NotificationTemplateAssignmentFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationTemplateAssignmentFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationTemplateAssignmentFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          findFirst: {
            args: Prisma.NotificationTemplateAssignmentFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationTemplateAssignmentFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          findMany: {
            args: Prisma.NotificationTemplateAssignmentFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>[]
          }
          create: {
            args: Prisma.NotificationTemplateAssignmentCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          createMany: {
            args: Prisma.NotificationTemplateAssignmentCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationTemplateAssignmentCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>[]
          }
          delete: {
            args: Prisma.NotificationTemplateAssignmentDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          update: {
            args: Prisma.NotificationTemplateAssignmentUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          deleteMany: {
            args: Prisma.NotificationTemplateAssignmentDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationTemplateAssignmentUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationTemplateAssignmentUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationTemplateAssignmentPayload>
          }
          aggregate: {
            args: Prisma.NotificationTemplateAssignmentAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationTemplateAssignment>
          }
          groupBy: {
            args: Prisma.NotificationTemplateAssignmentGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateAssignmentGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationTemplateAssignmentCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationTemplateAssignmentCountAggregateOutputType> | number
          }
        }
      }
      EmailTemplateCcBcc: {
        payload: Prisma.$EmailTemplateCcBccPayload<ExtArgs>
        fields: Prisma.EmailTemplateCcBccFieldRefs
        operations: {
          findUnique: {
            args: Prisma.EmailTemplateCcBccFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.EmailTemplateCcBccFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          findFirst: {
            args: Prisma.EmailTemplateCcBccFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.EmailTemplateCcBccFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          findMany: {
            args: Prisma.EmailTemplateCcBccFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>[]
          }
          create: {
            args: Prisma.EmailTemplateCcBccCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          createMany: {
            args: Prisma.EmailTemplateCcBccCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.EmailTemplateCcBccCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>[]
          }
          delete: {
            args: Prisma.EmailTemplateCcBccDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          update: {
            args: Prisma.EmailTemplateCcBccUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          deleteMany: {
            args: Prisma.EmailTemplateCcBccDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.EmailTemplateCcBccUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.EmailTemplateCcBccUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmailTemplateCcBccPayload>
          }
          aggregate: {
            args: Prisma.EmailTemplateCcBccAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateEmailTemplateCcBcc>
          }
          groupBy: {
            args: Prisma.EmailTemplateCcBccGroupByArgs<ExtArgs>
            result: $Utils.Optional<EmailTemplateCcBccGroupByOutputType>[]
          }
          count: {
            args: Prisma.EmailTemplateCcBccCountArgs<ExtArgs>
            result: $Utils.Optional<EmailTemplateCcBccCountAggregateOutputType> | number
          }
        }
      }
      NotificationProcessJob: {
        payload: Prisma.$NotificationProcessJobPayload<ExtArgs>
        fields: Prisma.NotificationProcessJobFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationProcessJobFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationProcessJobFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          findFirst: {
            args: Prisma.NotificationProcessJobFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationProcessJobFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          findMany: {
            args: Prisma.NotificationProcessJobFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>[]
          }
          create: {
            args: Prisma.NotificationProcessJobCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          createMany: {
            args: Prisma.NotificationProcessJobCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationProcessJobCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>[]
          }
          delete: {
            args: Prisma.NotificationProcessJobDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          update: {
            args: Prisma.NotificationProcessJobUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          deleteMany: {
            args: Prisma.NotificationProcessJobDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationProcessJobUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationProcessJobUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationProcessJobPayload>
          }
          aggregate: {
            args: Prisma.NotificationProcessJobAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationProcessJob>
          }
          groupBy: {
            args: Prisma.NotificationProcessJobGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationProcessJobGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationProcessJobCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationProcessJobCountAggregateOutputType> | number
          }
        }
      }
      NotificationJob: {
        payload: Prisma.$NotificationJobPayload<ExtArgs>
        fields: Prisma.NotificationJobFieldRefs
        operations: {
          findUnique: {
            args: Prisma.NotificationJobFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.NotificationJobFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          findFirst: {
            args: Prisma.NotificationJobFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.NotificationJobFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          findMany: {
            args: Prisma.NotificationJobFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>[]
          }
          create: {
            args: Prisma.NotificationJobCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          createMany: {
            args: Prisma.NotificationJobCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.NotificationJobCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>[]
          }
          delete: {
            args: Prisma.NotificationJobDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          update: {
            args: Prisma.NotificationJobUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          deleteMany: {
            args: Prisma.NotificationJobDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.NotificationJobUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.NotificationJobUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$NotificationJobPayload>
          }
          aggregate: {
            args: Prisma.NotificationJobAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateNotificationJob>
          }
          groupBy: {
            args: Prisma.NotificationJobGroupByArgs<ExtArgs>
            result: $Utils.Optional<NotificationJobGroupByOutputType>[]
          }
          count: {
            args: Prisma.NotificationJobCountArgs<ExtArgs>
            result: $Utils.Optional<NotificationJobCountAggregateOutputType> | number
          }
        }
      }
      CarouselTemplate: {
        payload: Prisma.$CarouselTemplatePayload<ExtArgs>
        fields: Prisma.CarouselTemplateFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CarouselTemplateFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CarouselTemplateFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          findFirst: {
            args: Prisma.CarouselTemplateFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CarouselTemplateFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          findMany: {
            args: Prisma.CarouselTemplateFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>[]
          }
          create: {
            args: Prisma.CarouselTemplateCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          createMany: {
            args: Prisma.CarouselTemplateCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CarouselTemplateCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>[]
          }
          delete: {
            args: Prisma.CarouselTemplateDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          update: {
            args: Prisma.CarouselTemplateUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          deleteMany: {
            args: Prisma.CarouselTemplateDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CarouselTemplateUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CarouselTemplateUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplatePayload>
          }
          aggregate: {
            args: Prisma.CarouselTemplateAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCarouselTemplate>
          }
          groupBy: {
            args: Prisma.CarouselTemplateGroupByArgs<ExtArgs>
            result: $Utils.Optional<CarouselTemplateGroupByOutputType>[]
          }
          count: {
            args: Prisma.CarouselTemplateCountArgs<ExtArgs>
            result: $Utils.Optional<CarouselTemplateCountAggregateOutputType> | number
          }
        }
      }
      CarouselTemplateLineItem: {
        payload: Prisma.$CarouselTemplateLineItemPayload<ExtArgs>
        fields: Prisma.CarouselTemplateLineItemFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CarouselTemplateLineItemFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CarouselTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          findFirst: {
            args: Prisma.CarouselTemplateLineItemFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CarouselTemplateLineItemFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          findMany: {
            args: Prisma.CarouselTemplateLineItemFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>[]
          }
          create: {
            args: Prisma.CarouselTemplateLineItemCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          createMany: {
            args: Prisma.CarouselTemplateLineItemCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CarouselTemplateLineItemCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>[]
          }
          delete: {
            args: Prisma.CarouselTemplateLineItemDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          update: {
            args: Prisma.CarouselTemplateLineItemUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          deleteMany: {
            args: Prisma.CarouselTemplateLineItemDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CarouselTemplateLineItemUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CarouselTemplateLineItemUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CarouselTemplateLineItemPayload>
          }
          aggregate: {
            args: Prisma.CarouselTemplateLineItemAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCarouselTemplateLineItem>
          }
          groupBy: {
            args: Prisma.CarouselTemplateLineItemGroupByArgs<ExtArgs>
            result: $Utils.Optional<CarouselTemplateLineItemGroupByOutputType>[]
          }
          count: {
            args: Prisma.CarouselTemplateLineItemCountArgs<ExtArgs>
            result: $Utils.Optional<CarouselTemplateLineItemCountAggregateOutputType> | number
          }
        }
      }
      ImportTemplate: {
        payload: Prisma.$ImportTemplatePayload<ExtArgs>
        fields: Prisma.ImportTemplateFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ImportTemplateFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ImportTemplateFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          findFirst: {
            args: Prisma.ImportTemplateFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ImportTemplateFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          findMany: {
            args: Prisma.ImportTemplateFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>[]
          }
          create: {
            args: Prisma.ImportTemplateCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          createMany: {
            args: Prisma.ImportTemplateCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ImportTemplateCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>[]
          }
          delete: {
            args: Prisma.ImportTemplateDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          update: {
            args: Prisma.ImportTemplateUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          deleteMany: {
            args: Prisma.ImportTemplateDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ImportTemplateUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ImportTemplateUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplatePayload>
          }
          aggregate: {
            args: Prisma.ImportTemplateAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateImportTemplate>
          }
          groupBy: {
            args: Prisma.ImportTemplateGroupByArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateGroupByOutputType>[]
          }
          count: {
            args: Prisma.ImportTemplateCountArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateCountAggregateOutputType> | number
          }
        }
      }
      ImportTemplateLineItem: {
        payload: Prisma.$ImportTemplateLineItemPayload<ExtArgs>
        fields: Prisma.ImportTemplateLineItemFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ImportTemplateLineItemFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ImportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          findFirst: {
            args: Prisma.ImportTemplateLineItemFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ImportTemplateLineItemFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          findMany: {
            args: Prisma.ImportTemplateLineItemFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>[]
          }
          create: {
            args: Prisma.ImportTemplateLineItemCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          createMany: {
            args: Prisma.ImportTemplateLineItemCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ImportTemplateLineItemCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>[]
          }
          delete: {
            args: Prisma.ImportTemplateLineItemDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          update: {
            args: Prisma.ImportTemplateLineItemUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          deleteMany: {
            args: Prisma.ImportTemplateLineItemDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ImportTemplateLineItemUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ImportTemplateLineItemUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateLineItemPayload>
          }
          aggregate: {
            args: Prisma.ImportTemplateLineItemAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateImportTemplateLineItem>
          }
          groupBy: {
            args: Prisma.ImportTemplateLineItemGroupByArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateLineItemGroupByOutputType>[]
          }
          count: {
            args: Prisma.ImportTemplateLineItemCountArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateLineItemCountAggregateOutputType> | number
          }
        }
      }
      ImportTemplateQueries: {
        payload: Prisma.$ImportTemplateQueriesPayload<ExtArgs>
        fields: Prisma.ImportTemplateQueriesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ImportTemplateQueriesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ImportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          findFirst: {
            args: Prisma.ImportTemplateQueriesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ImportTemplateQueriesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          findMany: {
            args: Prisma.ImportTemplateQueriesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>[]
          }
          create: {
            args: Prisma.ImportTemplateQueriesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          createMany: {
            args: Prisma.ImportTemplateQueriesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ImportTemplateQueriesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>[]
          }
          delete: {
            args: Prisma.ImportTemplateQueriesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          update: {
            args: Prisma.ImportTemplateQueriesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          deleteMany: {
            args: Prisma.ImportTemplateQueriesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ImportTemplateQueriesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ImportTemplateQueriesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportTemplateQueriesPayload>
          }
          aggregate: {
            args: Prisma.ImportTemplateQueriesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateImportTemplateQueries>
          }
          groupBy: {
            args: Prisma.ImportTemplateQueriesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateQueriesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ImportTemplateQueriesCountArgs<ExtArgs>
            result: $Utils.Optional<ImportTemplateQueriesCountAggregateOutputType> | number
          }
        }
      }
      DirectImportDetails: {
        payload: Prisma.$DirectImportDetailsPayload<ExtArgs>
        fields: Prisma.DirectImportDetailsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DirectImportDetailsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DirectImportDetailsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          findFirst: {
            args: Prisma.DirectImportDetailsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DirectImportDetailsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          findMany: {
            args: Prisma.DirectImportDetailsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>[]
          }
          create: {
            args: Prisma.DirectImportDetailsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          createMany: {
            args: Prisma.DirectImportDetailsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DirectImportDetailsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>[]
          }
          delete: {
            args: Prisma.DirectImportDetailsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          update: {
            args: Prisma.DirectImportDetailsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          deleteMany: {
            args: Prisma.DirectImportDetailsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DirectImportDetailsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DirectImportDetailsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DirectImportDetailsPayload>
          }
          aggregate: {
            args: Prisma.DirectImportDetailsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDirectImportDetails>
          }
          groupBy: {
            args: Prisma.DirectImportDetailsGroupByArgs<ExtArgs>
            result: $Utils.Optional<DirectImportDetailsGroupByOutputType>[]
          }
          count: {
            args: Prisma.DirectImportDetailsCountArgs<ExtArgs>
            result: $Utils.Optional<DirectImportDetailsCountAggregateOutputType> | number
          }
        }
      }
      ImportJob: {
        payload: Prisma.$ImportJobPayload<ExtArgs>
        fields: Prisma.ImportJobFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ImportJobFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ImportJobFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          findFirst: {
            args: Prisma.ImportJobFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ImportJobFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          findMany: {
            args: Prisma.ImportJobFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>[]
          }
          create: {
            args: Prisma.ImportJobCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          createMany: {
            args: Prisma.ImportJobCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ImportJobCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>[]
          }
          delete: {
            args: Prisma.ImportJobDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          update: {
            args: Prisma.ImportJobUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          deleteMany: {
            args: Prisma.ImportJobDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ImportJobUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ImportJobUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobPayload>
          }
          aggregate: {
            args: Prisma.ImportJobAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateImportJob>
          }
          groupBy: {
            args: Prisma.ImportJobGroupByArgs<ExtArgs>
            result: $Utils.Optional<ImportJobGroupByOutputType>[]
          }
          count: {
            args: Prisma.ImportJobCountArgs<ExtArgs>
            result: $Utils.Optional<ImportJobCountAggregateOutputType> | number
          }
        }
      }
      ImportJobLineItem: {
        payload: Prisma.$ImportJobLineItemPayload<ExtArgs>
        fields: Prisma.ImportJobLineItemFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ImportJobLineItemFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ImportJobLineItemFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          findFirst: {
            args: Prisma.ImportJobLineItemFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ImportJobLineItemFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          findMany: {
            args: Prisma.ImportJobLineItemFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>[]
          }
          create: {
            args: Prisma.ImportJobLineItemCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          createMany: {
            args: Prisma.ImportJobLineItemCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ImportJobLineItemCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>[]
          }
          delete: {
            args: Prisma.ImportJobLineItemDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          update: {
            args: Prisma.ImportJobLineItemUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          deleteMany: {
            args: Prisma.ImportJobLineItemDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ImportJobLineItemUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ImportJobLineItemUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ImportJobLineItemPayload>
          }
          aggregate: {
            args: Prisma.ImportJobLineItemAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateImportJobLineItem>
          }
          groupBy: {
            args: Prisma.ImportJobLineItemGroupByArgs<ExtArgs>
            result: $Utils.Optional<ImportJobLineItemGroupByOutputType>[]
          }
          count: {
            args: Prisma.ImportJobLineItemCountArgs<ExtArgs>
            result: $Utils.Optional<ImportJobLineItemCountAggregateOutputType> | number
          }
        }
      }
      ExportTemplate: {
        payload: Prisma.$ExportTemplatePayload<ExtArgs>
        fields: Prisma.ExportTemplateFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ExportTemplateFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ExportTemplateFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          findFirst: {
            args: Prisma.ExportTemplateFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ExportTemplateFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          findMany: {
            args: Prisma.ExportTemplateFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>[]
          }
          create: {
            args: Prisma.ExportTemplateCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          createMany: {
            args: Prisma.ExportTemplateCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ExportTemplateCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>[]
          }
          delete: {
            args: Prisma.ExportTemplateDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          update: {
            args: Prisma.ExportTemplateUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          deleteMany: {
            args: Prisma.ExportTemplateDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ExportTemplateUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ExportTemplateUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplatePayload>
          }
          aggregate: {
            args: Prisma.ExportTemplateAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateExportTemplate>
          }
          groupBy: {
            args: Prisma.ExportTemplateGroupByArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateGroupByOutputType>[]
          }
          count: {
            args: Prisma.ExportTemplateCountArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateCountAggregateOutputType> | number
          }
        }
      }
      ExportTemplateLineItem: {
        payload: Prisma.$ExportTemplateLineItemPayload<ExtArgs>
        fields: Prisma.ExportTemplateLineItemFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ExportTemplateLineItemFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ExportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          findFirst: {
            args: Prisma.ExportTemplateLineItemFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ExportTemplateLineItemFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          findMany: {
            args: Prisma.ExportTemplateLineItemFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>[]
          }
          create: {
            args: Prisma.ExportTemplateLineItemCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          createMany: {
            args: Prisma.ExportTemplateLineItemCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ExportTemplateLineItemCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>[]
          }
          delete: {
            args: Prisma.ExportTemplateLineItemDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          update: {
            args: Prisma.ExportTemplateLineItemUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          deleteMany: {
            args: Prisma.ExportTemplateLineItemDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ExportTemplateLineItemUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ExportTemplateLineItemUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateLineItemPayload>
          }
          aggregate: {
            args: Prisma.ExportTemplateLineItemAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateExportTemplateLineItem>
          }
          groupBy: {
            args: Prisma.ExportTemplateLineItemGroupByArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateLineItemGroupByOutputType>[]
          }
          count: {
            args: Prisma.ExportTemplateLineItemCountArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateLineItemCountAggregateOutputType> | number
          }
        }
      }
      ExportTemplateQueries: {
        payload: Prisma.$ExportTemplateQueriesPayload<ExtArgs>
        fields: Prisma.ExportTemplateQueriesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ExportTemplateQueriesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ExportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          findFirst: {
            args: Prisma.ExportTemplateQueriesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ExportTemplateQueriesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          findMany: {
            args: Prisma.ExportTemplateQueriesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>[]
          }
          create: {
            args: Prisma.ExportTemplateQueriesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          createMany: {
            args: Prisma.ExportTemplateQueriesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ExportTemplateQueriesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>[]
          }
          delete: {
            args: Prisma.ExportTemplateQueriesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          update: {
            args: Prisma.ExportTemplateQueriesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          deleteMany: {
            args: Prisma.ExportTemplateQueriesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ExportTemplateQueriesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ExportTemplateQueriesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ExportTemplateQueriesPayload>
          }
          aggregate: {
            args: Prisma.ExportTemplateQueriesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateExportTemplateQueries>
          }
          groupBy: {
            args: Prisma.ExportTemplateQueriesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateQueriesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ExportTemplateQueriesCountArgs<ExtArgs>
            result: $Utils.Optional<ExportTemplateQueriesCountAggregateOutputType> | number
          }
        }
      }
      Status: {
        payload: Prisma.$StatusPayload<ExtArgs>
        fields: Prisma.StatusFieldRefs
        operations: {
          findUnique: {
            args: Prisma.StatusFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.StatusFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          findFirst: {
            args: Prisma.StatusFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.StatusFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          findMany: {
            args: Prisma.StatusFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>[]
          }
          create: {
            args: Prisma.StatusCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          createMany: {
            args: Prisma.StatusCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.StatusCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>[]
          }
          delete: {
            args: Prisma.StatusDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          update: {
            args: Prisma.StatusUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          deleteMany: {
            args: Prisma.StatusDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.StatusUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.StatusUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$StatusPayload>
          }
          aggregate: {
            args: Prisma.StatusAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateStatus>
          }
          groupBy: {
            args: Prisma.StatusGroupByArgs<ExtArgs>
            result: $Utils.Optional<StatusGroupByOutputType>[]
          }
          count: {
            args: Prisma.StatusCountArgs<ExtArgs>
            result: $Utils.Optional<StatusCountAggregateOutputType> | number
          }
        }
      }
      CategoryTypes: {
        payload: Prisma.$CategoryTypesPayload<ExtArgs>
        fields: Prisma.CategoryTypesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CategoryTypesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CategoryTypesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          findFirst: {
            args: Prisma.CategoryTypesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CategoryTypesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          findMany: {
            args: Prisma.CategoryTypesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>[]
          }
          create: {
            args: Prisma.CategoryTypesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          createMany: {
            args: Prisma.CategoryTypesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CategoryTypesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>[]
          }
          delete: {
            args: Prisma.CategoryTypesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          update: {
            args: Prisma.CategoryTypesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          deleteMany: {
            args: Prisma.CategoryTypesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CategoryTypesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CategoryTypesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoryTypesPayload>
          }
          aggregate: {
            args: Prisma.CategoryTypesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCategoryTypes>
          }
          groupBy: {
            args: Prisma.CategoryTypesGroupByArgs<ExtArgs>
            result: $Utils.Optional<CategoryTypesGroupByOutputType>[]
          }
          count: {
            args: Prisma.CategoryTypesCountArgs<ExtArgs>
            result: $Utils.Optional<CategoryTypesCountAggregateOutputType> | number
          }
        }
      }
      Categories: {
        payload: Prisma.$CategoriesPayload<ExtArgs>
        fields: Prisma.CategoriesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CategoriesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CategoriesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          findFirst: {
            args: Prisma.CategoriesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CategoriesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          findMany: {
            args: Prisma.CategoriesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>[]
          }
          create: {
            args: Prisma.CategoriesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          createMany: {
            args: Prisma.CategoriesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CategoriesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>[]
          }
          delete: {
            args: Prisma.CategoriesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          update: {
            args: Prisma.CategoriesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          deleteMany: {
            args: Prisma.CategoriesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CategoriesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CategoriesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CategoriesPayload>
          }
          aggregate: {
            args: Prisma.CategoriesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCategories>
          }
          groupBy: {
            args: Prisma.CategoriesGroupByArgs<ExtArgs>
            result: $Utils.Optional<CategoriesGroupByOutputType>[]
          }
          count: {
            args: Prisma.CategoriesCountArgs<ExtArgs>
            result: $Utils.Optional<CategoriesCountAggregateOutputType> | number
          }
        }
      }
      Configurations: {
        payload: Prisma.$ConfigurationsPayload<ExtArgs>
        fields: Prisma.ConfigurationsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ConfigurationsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ConfigurationsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          findFirst: {
            args: Prisma.ConfigurationsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ConfigurationsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          findMany: {
            args: Prisma.ConfigurationsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>[]
          }
          create: {
            args: Prisma.ConfigurationsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          createMany: {
            args: Prisma.ConfigurationsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ConfigurationsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>[]
          }
          delete: {
            args: Prisma.ConfigurationsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          update: {
            args: Prisma.ConfigurationsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          deleteMany: {
            args: Prisma.ConfigurationsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ConfigurationsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ConfigurationsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ConfigurationsPayload>
          }
          aggregate: {
            args: Prisma.ConfigurationsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateConfigurations>
          }
          groupBy: {
            args: Prisma.ConfigurationsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ConfigurationsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ConfigurationsCountArgs<ExtArgs>
            result: $Utils.Optional<ConfigurationsCountAggregateOutputType> | number
          }
        }
      }
      UserConfigurations: {
        payload: Prisma.$UserConfigurationsPayload<ExtArgs>
        fields: Prisma.UserConfigurationsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserConfigurationsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserConfigurationsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          findFirst: {
            args: Prisma.UserConfigurationsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserConfigurationsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          findMany: {
            args: Prisma.UserConfigurationsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>[]
          }
          create: {
            args: Prisma.UserConfigurationsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          createMany: {
            args: Prisma.UserConfigurationsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserConfigurationsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>[]
          }
          delete: {
            args: Prisma.UserConfigurationsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          update: {
            args: Prisma.UserConfigurationsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          deleteMany: {
            args: Prisma.UserConfigurationsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserConfigurationsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserConfigurationsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserConfigurationsPayload>
          }
          aggregate: {
            args: Prisma.UserConfigurationsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserConfigurations>
          }
          groupBy: {
            args: Prisma.UserConfigurationsGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserConfigurationsGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserConfigurationsCountArgs<ExtArgs>
            result: $Utils.Optional<UserConfigurationsCountAggregateOutputType> | number
          }
        }
      }
      FileUploadLog: {
        payload: Prisma.$FileUploadLogPayload<ExtArgs>
        fields: Prisma.FileUploadLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.FileUploadLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.FileUploadLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          findFirst: {
            args: Prisma.FileUploadLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.FileUploadLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          findMany: {
            args: Prisma.FileUploadLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>[]
          }
          create: {
            args: Prisma.FileUploadLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          createMany: {
            args: Prisma.FileUploadLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.FileUploadLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>[]
          }
          delete: {
            args: Prisma.FileUploadLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          update: {
            args: Prisma.FileUploadLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          deleteMany: {
            args: Prisma.FileUploadLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.FileUploadLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.FileUploadLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$FileUploadLogPayload>
          }
          aggregate: {
            args: Prisma.FileUploadLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateFileUploadLog>
          }
          groupBy: {
            args: Prisma.FileUploadLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<FileUploadLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.FileUploadLogCountArgs<ExtArgs>
            result: $Utils.Optional<FileUploadLogCountAggregateOutputType> | number
          }
        }
      }
      DataTransferQueries: {
        payload: Prisma.$DataTransferQueriesPayload<ExtArgs>
        fields: Prisma.DataTransferQueriesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DataTransferQueriesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DataTransferQueriesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          findFirst: {
            args: Prisma.DataTransferQueriesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DataTransferQueriesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          findMany: {
            args: Prisma.DataTransferQueriesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>[]
          }
          create: {
            args: Prisma.DataTransferQueriesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          createMany: {
            args: Prisma.DataTransferQueriesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DataTransferQueriesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>[]
          }
          delete: {
            args: Prisma.DataTransferQueriesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          update: {
            args: Prisma.DataTransferQueriesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          deleteMany: {
            args: Prisma.DataTransferQueriesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DataTransferQueriesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DataTransferQueriesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DataTransferQueriesPayload>
          }
          aggregate: {
            args: Prisma.DataTransferQueriesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDataTransferQueries>
          }
          groupBy: {
            args: Prisma.DataTransferQueriesGroupByArgs<ExtArgs>
            result: $Utils.Optional<DataTransferQueriesGroupByOutputType>[]
          }
          count: {
            args: Prisma.DataTransferQueriesCountArgs<ExtArgs>
            result: $Utils.Optional<DataTransferQueriesCountAggregateOutputType> | number
          }
        }
      }
      DeviceRegistration: {
        payload: Prisma.$DeviceRegistrationPayload<ExtArgs>
        fields: Prisma.DeviceRegistrationFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DeviceRegistrationFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DeviceRegistrationFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          findFirst: {
            args: Prisma.DeviceRegistrationFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DeviceRegistrationFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          findMany: {
            args: Prisma.DeviceRegistrationFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>[]
          }
          create: {
            args: Prisma.DeviceRegistrationCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          createMany: {
            args: Prisma.DeviceRegistrationCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DeviceRegistrationCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>[]
          }
          delete: {
            args: Prisma.DeviceRegistrationDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          update: {
            args: Prisma.DeviceRegistrationUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          deleteMany: {
            args: Prisma.DeviceRegistrationDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DeviceRegistrationUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DeviceRegistrationUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeviceRegistrationPayload>
          }
          aggregate: {
            args: Prisma.DeviceRegistrationAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDeviceRegistration>
          }
          groupBy: {
            args: Prisma.DeviceRegistrationGroupByArgs<ExtArgs>
            result: $Utils.Optional<DeviceRegistrationGroupByOutputType>[]
          }
          count: {
            args: Prisma.DeviceRegistrationCountArgs<ExtArgs>
            result: $Utils.Optional<DeviceRegistrationCountAggregateOutputType> | number
          }
        }
      }
      Policies: {
        payload: Prisma.$PoliciesPayload<ExtArgs>
        fields: Prisma.PoliciesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.PoliciesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.PoliciesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          findFirst: {
            args: Prisma.PoliciesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.PoliciesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          findMany: {
            args: Prisma.PoliciesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>[]
          }
          create: {
            args: Prisma.PoliciesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          createMany: {
            args: Prisma.PoliciesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.PoliciesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>[]
          }
          delete: {
            args: Prisma.PoliciesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          update: {
            args: Prisma.PoliciesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          deleteMany: {
            args: Prisma.PoliciesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.PoliciesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.PoliciesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PoliciesPayload>
          }
          aggregate: {
            args: Prisma.PoliciesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregatePolicies>
          }
          groupBy: {
            args: Prisma.PoliciesGroupByArgs<ExtArgs>
            result: $Utils.Optional<PoliciesGroupByOutputType>[]
          }
          count: {
            args: Prisma.PoliciesCountArgs<ExtArgs>
            result: $Utils.Optional<PoliciesCountAggregateOutputType> | number
          }
        }
      }
      UserPolicies: {
        payload: Prisma.$UserPoliciesPayload<ExtArgs>
        fields: Prisma.UserPoliciesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserPoliciesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserPoliciesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          findFirst: {
            args: Prisma.UserPoliciesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserPoliciesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          findMany: {
            args: Prisma.UserPoliciesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>[]
          }
          create: {
            args: Prisma.UserPoliciesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          createMany: {
            args: Prisma.UserPoliciesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserPoliciesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>[]
          }
          delete: {
            args: Prisma.UserPoliciesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          update: {
            args: Prisma.UserPoliciesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          deleteMany: {
            args: Prisma.UserPoliciesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserPoliciesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserPoliciesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserPoliciesPayload>
          }
          aggregate: {
            args: Prisma.UserPoliciesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserPolicies>
          }
          groupBy: {
            args: Prisma.UserPoliciesGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserPoliciesGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserPoliciesCountArgs<ExtArgs>
            result: $Utils.Optional<UserPoliciesCountAggregateOutputType> | number
          }
        }
      }
      RolePolicies: {
        payload: Prisma.$RolePoliciesPayload<ExtArgs>
        fields: Prisma.RolePoliciesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.RolePoliciesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.RolePoliciesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          findFirst: {
            args: Prisma.RolePoliciesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.RolePoliciesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          findMany: {
            args: Prisma.RolePoliciesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>[]
          }
          create: {
            args: Prisma.RolePoliciesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          createMany: {
            args: Prisma.RolePoliciesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.RolePoliciesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>[]
          }
          delete: {
            args: Prisma.RolePoliciesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          update: {
            args: Prisma.RolePoliciesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          deleteMany: {
            args: Prisma.RolePoliciesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.RolePoliciesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.RolePoliciesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$RolePoliciesPayload>
          }
          aggregate: {
            args: Prisma.RolePoliciesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateRolePolicies>
          }
          groupBy: {
            args: Prisma.RolePoliciesGroupByArgs<ExtArgs>
            result: $Utils.Optional<RolePoliciesGroupByOutputType>[]
          }
          count: {
            args: Prisma.RolePoliciesCountArgs<ExtArgs>
            result: $Utils.Optional<RolePoliciesCountAggregateOutputType> | number
          }
        }
      }
      Appversions: {
        payload: Prisma.$AppversionsPayload<ExtArgs>
        fields: Prisma.AppversionsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.AppversionsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.AppversionsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          findFirst: {
            args: Prisma.AppversionsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.AppversionsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          findMany: {
            args: Prisma.AppversionsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>[]
          }
          create: {
            args: Prisma.AppversionsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          createMany: {
            args: Prisma.AppversionsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.AppversionsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>[]
          }
          delete: {
            args: Prisma.AppversionsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          update: {
            args: Prisma.AppversionsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          deleteMany: {
            args: Prisma.AppversionsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.AppversionsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.AppversionsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$AppversionsPayload>
          }
          aggregate: {
            args: Prisma.AppversionsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateAppversions>
          }
          groupBy: {
            args: Prisma.AppversionsGroupByArgs<ExtArgs>
            result: $Utils.Optional<AppversionsGroupByOutputType>[]
          }
          count: {
            args: Prisma.AppversionsCountArgs<ExtArgs>
            result: $Utils.Optional<AppversionsCountAggregateOutputType> | number
          }
        }
      }
      ScheduledJob: {
        payload: Prisma.$ScheduledJobPayload<ExtArgs>
        fields: Prisma.ScheduledJobFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ScheduledJobFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ScheduledJobFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          findFirst: {
            args: Prisma.ScheduledJobFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ScheduledJobFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          findMany: {
            args: Prisma.ScheduledJobFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
          }
          create: {
            args: Prisma.ScheduledJobCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          createMany: {
            args: Prisma.ScheduledJobCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ScheduledJobCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>[]
          }
          delete: {
            args: Prisma.ScheduledJobDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          update: {
            args: Prisma.ScheduledJobUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          deleteMany: {
            args: Prisma.ScheduledJobDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ScheduledJobUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ScheduledJobUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobPayload>
          }
          aggregate: {
            args: Prisma.ScheduledJobAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateScheduledJob>
          }
          groupBy: {
            args: Prisma.ScheduledJobGroupByArgs<ExtArgs>
            result: $Utils.Optional<ScheduledJobGroupByOutputType>[]
          }
          count: {
            args: Prisma.ScheduledJobCountArgs<ExtArgs>
            result: $Utils.Optional<ScheduledJobCountAggregateOutputType> | number
          }
        }
      }
      ScheduledJobLogs: {
        payload: Prisma.$ScheduledJobLogsPayload<ExtArgs>
        fields: Prisma.ScheduledJobLogsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ScheduledJobLogsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ScheduledJobLogsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          findFirst: {
            args: Prisma.ScheduledJobLogsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ScheduledJobLogsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          findMany: {
            args: Prisma.ScheduledJobLogsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>[]
          }
          create: {
            args: Prisma.ScheduledJobLogsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          createMany: {
            args: Prisma.ScheduledJobLogsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ScheduledJobLogsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>[]
          }
          delete: {
            args: Prisma.ScheduledJobLogsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          update: {
            args: Prisma.ScheduledJobLogsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          deleteMany: {
            args: Prisma.ScheduledJobLogsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ScheduledJobLogsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ScheduledJobLogsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ScheduledJobLogsPayload>
          }
          aggregate: {
            args: Prisma.ScheduledJobLogsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateScheduledJobLogs>
          }
          groupBy: {
            args: Prisma.ScheduledJobLogsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ScheduledJobLogsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ScheduledJobLogsCountArgs<ExtArgs>
            result: $Utils.Optional<ScheduledJobLogsCountAggregateOutputType> | number
          }
        }
      }
      ApprovalWorkflow: {
        payload: Prisma.$ApprovalWorkflowPayload<ExtArgs>
        fields: Prisma.ApprovalWorkflowFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalWorkflowFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalWorkflowFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          findFirst: {
            args: Prisma.ApprovalWorkflowFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalWorkflowFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          findMany: {
            args: Prisma.ApprovalWorkflowFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>[]
          }
          create: {
            args: Prisma.ApprovalWorkflowCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          createMany: {
            args: Prisma.ApprovalWorkflowCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalWorkflowCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>[]
          }
          delete: {
            args: Prisma.ApprovalWorkflowDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          update: {
            args: Prisma.ApprovalWorkflowUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalWorkflowDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalWorkflowUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalWorkflowUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowPayload>
          }
          aggregate: {
            args: Prisma.ApprovalWorkflowAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalWorkflow>
          }
          groupBy: {
            args: Prisma.ApprovalWorkflowGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalWorkflowCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowCountAggregateOutputType> | number
          }
        }
      }
      ApprovalWorkflowApproverTag: {
        payload: Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>
        fields: Prisma.ApprovalWorkflowApproverTagFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalWorkflowApproverTagFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalWorkflowApproverTagFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          findFirst: {
            args: Prisma.ApprovalWorkflowApproverTagFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalWorkflowApproverTagFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          findMany: {
            args: Prisma.ApprovalWorkflowApproverTagFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>[]
          }
          create: {
            args: Prisma.ApprovalWorkflowApproverTagCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          createMany: {
            args: Prisma.ApprovalWorkflowApproverTagCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalWorkflowApproverTagCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>[]
          }
          delete: {
            args: Prisma.ApprovalWorkflowApproverTagDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          update: {
            args: Prisma.ApprovalWorkflowApproverTagUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalWorkflowApproverTagDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalWorkflowApproverTagUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalWorkflowApproverTagUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowApproverTagPayload>
          }
          aggregate: {
            args: Prisma.ApprovalWorkflowApproverTagAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalWorkflowApproverTag>
          }
          groupBy: {
            args: Prisma.ApprovalWorkflowApproverTagGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowApproverTagGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalWorkflowApproverTagCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowApproverTagCountAggregateOutputType> | number
          }
        }
      }
      ApprovalWorkflowAssignment: {
        payload: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>
        fields: Prisma.ApprovalWorkflowAssignmentFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalWorkflowAssignmentFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalWorkflowAssignmentFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          findFirst: {
            args: Prisma.ApprovalWorkflowAssignmentFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalWorkflowAssignmentFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          findMany: {
            args: Prisma.ApprovalWorkflowAssignmentFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>[]
          }
          create: {
            args: Prisma.ApprovalWorkflowAssignmentCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          createMany: {
            args: Prisma.ApprovalWorkflowAssignmentCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalWorkflowAssignmentCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>[]
          }
          delete: {
            args: Prisma.ApprovalWorkflowAssignmentDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          update: {
            args: Prisma.ApprovalWorkflowAssignmentUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalWorkflowAssignmentDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalWorkflowAssignmentUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalWorkflowAssignmentUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalWorkflowAssignmentPayload>
          }
          aggregate: {
            args: Prisma.ApprovalWorkflowAssignmentAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalWorkflowAssignment>
          }
          groupBy: {
            args: Prisma.ApprovalWorkflowAssignmentGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowAssignmentGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalWorkflowAssignmentCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalWorkflowAssignmentCountAggregateOutputType> | number
          }
        }
      }
      ApprovalProcessJob: {
        payload: Prisma.$ApprovalProcessJobPayload<ExtArgs>
        fields: Prisma.ApprovalProcessJobFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalProcessJobFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalProcessJobFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          findFirst: {
            args: Prisma.ApprovalProcessJobFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalProcessJobFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          findMany: {
            args: Prisma.ApprovalProcessJobFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>[]
          }
          create: {
            args: Prisma.ApprovalProcessJobCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          createMany: {
            args: Prisma.ApprovalProcessJobCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalProcessJobCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>[]
          }
          delete: {
            args: Prisma.ApprovalProcessJobDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          update: {
            args: Prisma.ApprovalProcessJobUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalProcessJobDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalProcessJobUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalProcessJobUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobPayload>
          }
          aggregate: {
            args: Prisma.ApprovalProcessJobAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalProcessJob>
          }
          groupBy: {
            args: Prisma.ApprovalProcessJobGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalProcessJobCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobCountAggregateOutputType> | number
          }
        }
      }
      ApprovalProcessJobWorkflow: {
        payload: Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>
        fields: Prisma.ApprovalProcessJobWorkflowFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalProcessJobWorkflowFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalProcessJobWorkflowFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          findFirst: {
            args: Prisma.ApprovalProcessJobWorkflowFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalProcessJobWorkflowFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          findMany: {
            args: Prisma.ApprovalProcessJobWorkflowFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>[]
          }
          create: {
            args: Prisma.ApprovalProcessJobWorkflowCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          createMany: {
            args: Prisma.ApprovalProcessJobWorkflowCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalProcessJobWorkflowCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>[]
          }
          delete: {
            args: Prisma.ApprovalProcessJobWorkflowDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          update: {
            args: Prisma.ApprovalProcessJobWorkflowUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalProcessJobWorkflowDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalProcessJobWorkflowUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalProcessJobWorkflowUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowPayload>
          }
          aggregate: {
            args: Prisma.ApprovalProcessJobWorkflowAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalProcessJobWorkflow>
          }
          groupBy: {
            args: Prisma.ApprovalProcessJobWorkflowGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobWorkflowGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalProcessJobWorkflowCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobWorkflowCountAggregateOutputType> | number
          }
        }
      }
      ApprovalProcessJobWorkflowUser: {
        payload: Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>
        fields: Prisma.ApprovalProcessJobWorkflowUserFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ApprovalProcessJobWorkflowUserFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ApprovalProcessJobWorkflowUserFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          findFirst: {
            args: Prisma.ApprovalProcessJobWorkflowUserFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ApprovalProcessJobWorkflowUserFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          findMany: {
            args: Prisma.ApprovalProcessJobWorkflowUserFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>[]
          }
          create: {
            args: Prisma.ApprovalProcessJobWorkflowUserCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          createMany: {
            args: Prisma.ApprovalProcessJobWorkflowUserCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ApprovalProcessJobWorkflowUserCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>[]
          }
          delete: {
            args: Prisma.ApprovalProcessJobWorkflowUserDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          update: {
            args: Prisma.ApprovalProcessJobWorkflowUserUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          deleteMany: {
            args: Prisma.ApprovalProcessJobWorkflowUserDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ApprovalProcessJobWorkflowUserUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ApprovalProcessJobWorkflowUserUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ApprovalProcessJobWorkflowUserPayload>
          }
          aggregate: {
            args: Prisma.ApprovalProcessJobWorkflowUserAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateApprovalProcessJobWorkflowUser>
          }
          groupBy: {
            args: Prisma.ApprovalProcessJobWorkflowUserGroupByArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobWorkflowUserGroupByOutputType>[]
          }
          count: {
            args: Prisma.ApprovalProcessJobWorkflowUserCountArgs<ExtArgs>
            result: $Utils.Optional<ApprovalProcessJobWorkflowUserCountAggregateOutputType> | number
          }
        }
      }
      Delegation: {
        payload: Prisma.$DelegationPayload<ExtArgs>
        fields: Prisma.DelegationFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DelegationFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DelegationFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          findFirst: {
            args: Prisma.DelegationFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DelegationFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          findMany: {
            args: Prisma.DelegationFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>[]
          }
          create: {
            args: Prisma.DelegationCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          createMany: {
            args: Prisma.DelegationCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DelegationCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>[]
          }
          delete: {
            args: Prisma.DelegationDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          update: {
            args: Prisma.DelegationUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          deleteMany: {
            args: Prisma.DelegationDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DelegationUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DelegationUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DelegationPayload>
          }
          aggregate: {
            args: Prisma.DelegationAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDelegation>
          }
          groupBy: {
            args: Prisma.DelegationGroupByArgs<ExtArgs>
            result: $Utils.Optional<DelegationGroupByOutputType>[]
          }
          count: {
            args: Prisma.DelegationCountArgs<ExtArgs>
            result: $Utils.Optional<DelegationCountAggregateOutputType> | number
          }
        }
      }
      SchemaChunk: {
        payload: Prisma.$SchemaChunkPayload<ExtArgs>
        fields: Prisma.SchemaChunkFieldRefs
        operations: {
          findUnique: {
            args: Prisma.SchemaChunkFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.SchemaChunkFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          findFirst: {
            args: Prisma.SchemaChunkFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.SchemaChunkFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          findMany: {
            args: Prisma.SchemaChunkFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>[]
          }
          create: {
            args: Prisma.SchemaChunkCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          createMany: {
            args: Prisma.SchemaChunkCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.SchemaChunkCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>[]
          }
          delete: {
            args: Prisma.SchemaChunkDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          update: {
            args: Prisma.SchemaChunkUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          deleteMany: {
            args: Prisma.SchemaChunkDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.SchemaChunkUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.SchemaChunkUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$SchemaChunkPayload>
          }
          aggregate: {
            args: Prisma.SchemaChunkAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateSchemaChunk>
          }
          groupBy: {
            args: Prisma.SchemaChunkGroupByArgs<ExtArgs>
            result: $Utils.Optional<SchemaChunkGroupByOutputType>[]
          }
          count: {
            args: Prisma.SchemaChunkCountArgs<ExtArgs>
            result: $Utils.Optional<SchemaChunkCountAggregateOutputType> | number
          }
        }
      }
      EmbeddingVectorLogs: {
        payload: Prisma.$EmbeddingVectorLogsPayload<ExtArgs>
        fields: Prisma.EmbeddingVectorLogsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.EmbeddingVectorLogsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.EmbeddingVectorLogsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          findFirst: {
            args: Prisma.EmbeddingVectorLogsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.EmbeddingVectorLogsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          findMany: {
            args: Prisma.EmbeddingVectorLogsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>[]
          }
          create: {
            args: Prisma.EmbeddingVectorLogsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          createMany: {
            args: Prisma.EmbeddingVectorLogsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.EmbeddingVectorLogsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>[]
          }
          delete: {
            args: Prisma.EmbeddingVectorLogsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          update: {
            args: Prisma.EmbeddingVectorLogsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          deleteMany: {
            args: Prisma.EmbeddingVectorLogsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.EmbeddingVectorLogsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.EmbeddingVectorLogsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$EmbeddingVectorLogsPayload>
          }
          aggregate: {
            args: Prisma.EmbeddingVectorLogsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateEmbeddingVectorLogs>
          }
          groupBy: {
            args: Prisma.EmbeddingVectorLogsGroupByArgs<ExtArgs>
            result: $Utils.Optional<EmbeddingVectorLogsGroupByOutputType>[]
          }
          count: {
            args: Prisma.EmbeddingVectorLogsCountArgs<ExtArgs>
            result: $Utils.Optional<EmbeddingVectorLogsCountAggregateOutputType> | number
          }
        }
      }
      OpenaiUsageLog: {
        payload: Prisma.$OpenaiUsageLogPayload<ExtArgs>
        fields: Prisma.OpenaiUsageLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.OpenaiUsageLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.OpenaiUsageLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          findFirst: {
            args: Prisma.OpenaiUsageLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.OpenaiUsageLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          findMany: {
            args: Prisma.OpenaiUsageLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>[]
          }
          create: {
            args: Prisma.OpenaiUsageLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          createMany: {
            args: Prisma.OpenaiUsageLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.OpenaiUsageLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>[]
          }
          delete: {
            args: Prisma.OpenaiUsageLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          update: {
            args: Prisma.OpenaiUsageLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          deleteMany: {
            args: Prisma.OpenaiUsageLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.OpenaiUsageLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.OpenaiUsageLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$OpenaiUsageLogPayload>
          }
          aggregate: {
            args: Prisma.OpenaiUsageLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateOpenaiUsageLog>
          }
          groupBy: {
            args: Prisma.OpenaiUsageLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<OpenaiUsageLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.OpenaiUsageLogCountArgs<ExtArgs>
            result: $Utils.Optional<OpenaiUsageLogCountAggregateOutputType> | number
          }
        }
      }
      QueryExecutionLog: {
        payload: Prisma.$QueryExecutionLogPayload<ExtArgs>
        fields: Prisma.QueryExecutionLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.QueryExecutionLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.QueryExecutionLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          findFirst: {
            args: Prisma.QueryExecutionLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.QueryExecutionLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          findMany: {
            args: Prisma.QueryExecutionLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>[]
          }
          create: {
            args: Prisma.QueryExecutionLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          createMany: {
            args: Prisma.QueryExecutionLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.QueryExecutionLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>[]
          }
          delete: {
            args: Prisma.QueryExecutionLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          update: {
            args: Prisma.QueryExecutionLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          deleteMany: {
            args: Prisma.QueryExecutionLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.QueryExecutionLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.QueryExecutionLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$QueryExecutionLogPayload>
          }
          aggregate: {
            args: Prisma.QueryExecutionLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateQueryExecutionLog>
          }
          groupBy: {
            args: Prisma.QueryExecutionLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<QueryExecutionLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.QueryExecutionLogCountArgs<ExtArgs>
            result: $Utils.Optional<QueryExecutionLogCountAggregateOutputType> | number
          }
        }
      }
      ChildProcess: {
        payload: Prisma.$ChildProcessPayload<ExtArgs>
        fields: Prisma.ChildProcessFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ChildProcessFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ChildProcessFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          findFirst: {
            args: Prisma.ChildProcessFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ChildProcessFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          findMany: {
            args: Prisma.ChildProcessFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>[]
          }
          create: {
            args: Prisma.ChildProcessCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          createMany: {
            args: Prisma.ChildProcessCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ChildProcessCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>[]
          }
          delete: {
            args: Prisma.ChildProcessDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          update: {
            args: Prisma.ChildProcessUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          deleteMany: {
            args: Prisma.ChildProcessDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ChildProcessUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ChildProcessUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessPayload>
          }
          aggregate: {
            args: Prisma.ChildProcessAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateChildProcess>
          }
          groupBy: {
            args: Prisma.ChildProcessGroupByArgs<ExtArgs>
            result: $Utils.Optional<ChildProcessGroupByOutputType>[]
          }
          count: {
            args: Prisma.ChildProcessCountArgs<ExtArgs>
            result: $Utils.Optional<ChildProcessCountAggregateOutputType> | number
          }
        }
      }
      ChildProcessLog: {
        payload: Prisma.$ChildProcessLogPayload<ExtArgs>
        fields: Prisma.ChildProcessLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ChildProcessLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ChildProcessLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          findFirst: {
            args: Prisma.ChildProcessLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ChildProcessLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          findMany: {
            args: Prisma.ChildProcessLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>[]
          }
          create: {
            args: Prisma.ChildProcessLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          createMany: {
            args: Prisma.ChildProcessLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ChildProcessLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>[]
          }
          delete: {
            args: Prisma.ChildProcessLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          update: {
            args: Prisma.ChildProcessLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          deleteMany: {
            args: Prisma.ChildProcessLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ChildProcessLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ChildProcessLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ChildProcessLogPayload>
          }
          aggregate: {
            args: Prisma.ChildProcessLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateChildProcessLog>
          }
          groupBy: {
            args: Prisma.ChildProcessLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<ChildProcessLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.ChildProcessLogCountArgs<ExtArgs>
            result: $Utils.Optional<ChildProcessLogCountAggregateOutputType> | number
          }
        }
      }
      Themes: {
        payload: Prisma.$ThemesPayload<ExtArgs>
        fields: Prisma.ThemesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ThemesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ThemesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          findFirst: {
            args: Prisma.ThemesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ThemesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          findMany: {
            args: Prisma.ThemesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>[]
          }
          create: {
            args: Prisma.ThemesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          createMany: {
            args: Prisma.ThemesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ThemesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>[]
          }
          delete: {
            args: Prisma.ThemesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          update: {
            args: Prisma.ThemesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          deleteMany: {
            args: Prisma.ThemesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ThemesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ThemesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemesPayload>
          }
          aggregate: {
            args: Prisma.ThemesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateThemes>
          }
          groupBy: {
            args: Prisma.ThemesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ThemesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ThemesCountArgs<ExtArgs>
            result: $Utils.Optional<ThemesCountAggregateOutputType> | number
          }
        }
      }
      ThemeLineItems: {
        payload: Prisma.$ThemeLineItemsPayload<ExtArgs>
        fields: Prisma.ThemeLineItemsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ThemeLineItemsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ThemeLineItemsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          findFirst: {
            args: Prisma.ThemeLineItemsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ThemeLineItemsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          findMany: {
            args: Prisma.ThemeLineItemsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>[]
          }
          create: {
            args: Prisma.ThemeLineItemsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          createMany: {
            args: Prisma.ThemeLineItemsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ThemeLineItemsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>[]
          }
          delete: {
            args: Prisma.ThemeLineItemsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          update: {
            args: Prisma.ThemeLineItemsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          deleteMany: {
            args: Prisma.ThemeLineItemsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ThemeLineItemsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ThemeLineItemsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeLineItemsPayload>
          }
          aggregate: {
            args: Prisma.ThemeLineItemsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateThemeLineItems>
          }
          groupBy: {
            args: Prisma.ThemeLineItemsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ThemeLineItemsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ThemeLineItemsCountArgs<ExtArgs>
            result: $Utils.Optional<ThemeLineItemsCountAggregateOutputType> | number
          }
        }
      }
      ThemeAttributes: {
        payload: Prisma.$ThemeAttributesPayload<ExtArgs>
        fields: Prisma.ThemeAttributesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ThemeAttributesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ThemeAttributesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          findFirst: {
            args: Prisma.ThemeAttributesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ThemeAttributesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          findMany: {
            args: Prisma.ThemeAttributesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>[]
          }
          create: {
            args: Prisma.ThemeAttributesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          createMany: {
            args: Prisma.ThemeAttributesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ThemeAttributesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>[]
          }
          delete: {
            args: Prisma.ThemeAttributesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          update: {
            args: Prisma.ThemeAttributesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          deleteMany: {
            args: Prisma.ThemeAttributesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ThemeAttributesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ThemeAttributesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ThemeAttributesPayload>
          }
          aggregate: {
            args: Prisma.ThemeAttributesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateThemeAttributes>
          }
          groupBy: {
            args: Prisma.ThemeAttributesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ThemeAttributesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ThemeAttributesCountArgs<ExtArgs>
            result: $Utils.Optional<ThemeAttributesCountAggregateOutputType> | number
          }
        }
      }
      BarcodeTemplates: {
        payload: Prisma.$BarcodeTemplatesPayload<ExtArgs>
        fields: Prisma.BarcodeTemplatesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.BarcodeTemplatesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.BarcodeTemplatesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          findFirst: {
            args: Prisma.BarcodeTemplatesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.BarcodeTemplatesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          findMany: {
            args: Prisma.BarcodeTemplatesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>[]
          }
          create: {
            args: Prisma.BarcodeTemplatesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          createMany: {
            args: Prisma.BarcodeTemplatesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.BarcodeTemplatesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>[]
          }
          delete: {
            args: Prisma.BarcodeTemplatesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          update: {
            args: Prisma.BarcodeTemplatesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          deleteMany: {
            args: Prisma.BarcodeTemplatesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.BarcodeTemplatesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.BarcodeTemplatesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$BarcodeTemplatesPayload>
          }
          aggregate: {
            args: Prisma.BarcodeTemplatesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateBarcodeTemplates>
          }
          groupBy: {
            args: Prisma.BarcodeTemplatesGroupByArgs<ExtArgs>
            result: $Utils.Optional<BarcodeTemplatesGroupByOutputType>[]
          }
          count: {
            args: Prisma.BarcodeTemplatesCountArgs<ExtArgs>
            result: $Utils.Optional<BarcodeTemplatesCountAggregateOutputType> | number
          }
        }
      }
      UserLoginHistory: {
        payload: Prisma.$UserLoginHistoryPayload<ExtArgs>
        fields: Prisma.UserLoginHistoryFieldRefs
        operations: {
          findUnique: {
            args: Prisma.UserLoginHistoryFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.UserLoginHistoryFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          findFirst: {
            args: Prisma.UserLoginHistoryFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.UserLoginHistoryFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          findMany: {
            args: Prisma.UserLoginHistoryFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>[]
          }
          create: {
            args: Prisma.UserLoginHistoryCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          createMany: {
            args: Prisma.UserLoginHistoryCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.UserLoginHistoryCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>[]
          }
          delete: {
            args: Prisma.UserLoginHistoryDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          update: {
            args: Prisma.UserLoginHistoryUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          deleteMany: {
            args: Prisma.UserLoginHistoryDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.UserLoginHistoryUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.UserLoginHistoryUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$UserLoginHistoryPayload>
          }
          aggregate: {
            args: Prisma.UserLoginHistoryAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateUserLoginHistory>
          }
          groupBy: {
            args: Prisma.UserLoginHistoryGroupByArgs<ExtArgs>
            result: $Utils.Optional<UserLoginHistoryGroupByOutputType>[]
          }
          count: {
            args: Prisma.UserLoginHistoryCountArgs<ExtArgs>
            result: $Utils.Optional<UserLoginHistoryCountAggregateOutputType> | number
          }
        }
      }
      PhoneCountryCodes: {
        payload: Prisma.$PhoneCountryCodesPayload<ExtArgs>
        fields: Prisma.PhoneCountryCodesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.PhoneCountryCodesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.PhoneCountryCodesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          findFirst: {
            args: Prisma.PhoneCountryCodesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.PhoneCountryCodesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          findMany: {
            args: Prisma.PhoneCountryCodesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>[]
          }
          create: {
            args: Prisma.PhoneCountryCodesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          createMany: {
            args: Prisma.PhoneCountryCodesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.PhoneCountryCodesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>[]
          }
          delete: {
            args: Prisma.PhoneCountryCodesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          update: {
            args: Prisma.PhoneCountryCodesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          deleteMany: {
            args: Prisma.PhoneCountryCodesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.PhoneCountryCodesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.PhoneCountryCodesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PhoneCountryCodesPayload>
          }
          aggregate: {
            args: Prisma.PhoneCountryCodesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregatePhoneCountryCodes>
          }
          groupBy: {
            args: Prisma.PhoneCountryCodesGroupByArgs<ExtArgs>
            result: $Utils.Optional<PhoneCountryCodesGroupByOutputType>[]
          }
          count: {
            args: Prisma.PhoneCountryCodesCountArgs<ExtArgs>
            result: $Utils.Optional<PhoneCountryCodesCountAggregateOutputType> | number
          }
        }
      }
      TreeBuilderExample: {
        payload: Prisma.$TreeBuilderExamplePayload<ExtArgs>
        fields: Prisma.TreeBuilderExampleFieldRefs
        operations: {
          findUnique: {
            args: Prisma.TreeBuilderExampleFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.TreeBuilderExampleFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          findFirst: {
            args: Prisma.TreeBuilderExampleFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.TreeBuilderExampleFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          findMany: {
            args: Prisma.TreeBuilderExampleFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>[]
          }
          create: {
            args: Prisma.TreeBuilderExampleCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          createMany: {
            args: Prisma.TreeBuilderExampleCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.TreeBuilderExampleCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>[]
          }
          delete: {
            args: Prisma.TreeBuilderExampleDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          update: {
            args: Prisma.TreeBuilderExampleUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          deleteMany: {
            args: Prisma.TreeBuilderExampleDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.TreeBuilderExampleUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.TreeBuilderExampleUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TreeBuilderExamplePayload>
          }
          aggregate: {
            args: Prisma.TreeBuilderExampleAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateTreeBuilderExample>
          }
          groupBy: {
            args: Prisma.TreeBuilderExampleGroupByArgs<ExtArgs>
            result: $Utils.Optional<TreeBuilderExampleGroupByOutputType>[]
          }
          count: {
            args: Prisma.TreeBuilderExampleCountArgs<ExtArgs>
            result: $Utils.Optional<TreeBuilderExampleCountAggregateOutputType> | number
          }
        }
      }
      DeliveryNotes: {
        payload: Prisma.$DeliveryNotesPayload<ExtArgs>
        fields: Prisma.DeliveryNotesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DeliveryNotesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DeliveryNotesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          findFirst: {
            args: Prisma.DeliveryNotesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DeliveryNotesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          findMany: {
            args: Prisma.DeliveryNotesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>[]
          }
          create: {
            args: Prisma.DeliveryNotesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          createMany: {
            args: Prisma.DeliveryNotesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DeliveryNotesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>[]
          }
          delete: {
            args: Prisma.DeliveryNotesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          update: {
            args: Prisma.DeliveryNotesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          deleteMany: {
            args: Prisma.DeliveryNotesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DeliveryNotesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DeliveryNotesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNotesPayload>
          }
          aggregate: {
            args: Prisma.DeliveryNotesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDeliveryNotes>
          }
          groupBy: {
            args: Prisma.DeliveryNotesGroupByArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNotesGroupByOutputType>[]
          }
          count: {
            args: Prisma.DeliveryNotesCountArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNotesCountAggregateOutputType> | number
          }
        }
      }
      DeliveryNoteStatus: {
        payload: Prisma.$DeliveryNoteStatusPayload<ExtArgs>
        fields: Prisma.DeliveryNoteStatusFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DeliveryNoteStatusFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DeliveryNoteStatusFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          findFirst: {
            args: Prisma.DeliveryNoteStatusFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DeliveryNoteStatusFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          findMany: {
            args: Prisma.DeliveryNoteStatusFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>[]
          }
          create: {
            args: Prisma.DeliveryNoteStatusCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          createMany: {
            args: Prisma.DeliveryNoteStatusCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DeliveryNoteStatusCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>[]
          }
          delete: {
            args: Prisma.DeliveryNoteStatusDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          update: {
            args: Prisma.DeliveryNoteStatusUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          deleteMany: {
            args: Prisma.DeliveryNoteStatusDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DeliveryNoteStatusUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DeliveryNoteStatusUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteStatusPayload>
          }
          aggregate: {
            args: Prisma.DeliveryNoteStatusAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDeliveryNoteStatus>
          }
          groupBy: {
            args: Prisma.DeliveryNoteStatusGroupByArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNoteStatusGroupByOutputType>[]
          }
          count: {
            args: Prisma.DeliveryNoteStatusCountArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNoteStatusCountAggregateOutputType> | number
          }
        }
      }
      DeliveryNoteLineItems: {
        payload: Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>
        fields: Prisma.DeliveryNoteLineItemsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.DeliveryNoteLineItemsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.DeliveryNoteLineItemsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          findFirst: {
            args: Prisma.DeliveryNoteLineItemsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.DeliveryNoteLineItemsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          findMany: {
            args: Prisma.DeliveryNoteLineItemsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>[]
          }
          create: {
            args: Prisma.DeliveryNoteLineItemsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          createMany: {
            args: Prisma.DeliveryNoteLineItemsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.DeliveryNoteLineItemsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>[]
          }
          delete: {
            args: Prisma.DeliveryNoteLineItemsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          update: {
            args: Prisma.DeliveryNoteLineItemsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          deleteMany: {
            args: Prisma.DeliveryNoteLineItemsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.DeliveryNoteLineItemsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.DeliveryNoteLineItemsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$DeliveryNoteLineItemsPayload>
          }
          aggregate: {
            args: Prisma.DeliveryNoteLineItemsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateDeliveryNoteLineItems>
          }
          groupBy: {
            args: Prisma.DeliveryNoteLineItemsGroupByArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNoteLineItemsGroupByOutputType>[]
          }
          count: {
            args: Prisma.DeliveryNoteLineItemsCountArgs<ExtArgs>
            result: $Utils.Optional<DeliveryNoteLineItemsCountAggregateOutputType> | number
          }
        }
      }
      CustomerDeliveryAddresses: {
        payload: Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>
        fields: Prisma.CustomerDeliveryAddressesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CustomerDeliveryAddressesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CustomerDeliveryAddressesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          findFirst: {
            args: Prisma.CustomerDeliveryAddressesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CustomerDeliveryAddressesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          findMany: {
            args: Prisma.CustomerDeliveryAddressesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>[]
          }
          create: {
            args: Prisma.CustomerDeliveryAddressesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          createMany: {
            args: Prisma.CustomerDeliveryAddressesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CustomerDeliveryAddressesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>[]
          }
          delete: {
            args: Prisma.CustomerDeliveryAddressesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          update: {
            args: Prisma.CustomerDeliveryAddressesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          deleteMany: {
            args: Prisma.CustomerDeliveryAddressesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CustomerDeliveryAddressesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CustomerDeliveryAddressesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerDeliveryAddressesPayload>
          }
          aggregate: {
            args: Prisma.CustomerDeliveryAddressesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCustomerDeliveryAddresses>
          }
          groupBy: {
            args: Prisma.CustomerDeliveryAddressesGroupByArgs<ExtArgs>
            result: $Utils.Optional<CustomerDeliveryAddressesGroupByOutputType>[]
          }
          count: {
            args: Prisma.CustomerDeliveryAddressesCountArgs<ExtArgs>
            result: $Utils.Optional<CustomerDeliveryAddressesCountAggregateOutputType> | number
          }
        }
      }
      Shipments: {
        payload: Prisma.$ShipmentsPayload<ExtArgs>
        fields: Prisma.ShipmentsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          findFirst: {
            args: Prisma.ShipmentsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          findMany: {
            args: Prisma.ShipmentsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>[]
          }
          create: {
            args: Prisma.ShipmentsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          createMany: {
            args: Prisma.ShipmentsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>[]
          }
          delete: {
            args: Prisma.ShipmentsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          update: {
            args: Prisma.ShipmentsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsPayload>
          }
          aggregate: {
            args: Prisma.ShipmentsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipments>
          }
          groupBy: {
            args: Prisma.ShipmentsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentsCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentsCountAggregateOutputType> | number
          }
        }
      }
      ShipmentCustomers: {
        payload: Prisma.$ShipmentCustomersPayload<ExtArgs>
        fields: Prisma.ShipmentCustomersFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentCustomersFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentCustomersFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          findFirst: {
            args: Prisma.ShipmentCustomersFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentCustomersFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          findMany: {
            args: Prisma.ShipmentCustomersFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>[]
          }
          create: {
            args: Prisma.ShipmentCustomersCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          createMany: {
            args: Prisma.ShipmentCustomersCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentCustomersCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>[]
          }
          delete: {
            args: Prisma.ShipmentCustomersDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          update: {
            args: Prisma.ShipmentCustomersUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentCustomersDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentCustomersUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentCustomersUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentCustomersPayload>
          }
          aggregate: {
            args: Prisma.ShipmentCustomersAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentCustomers>
          }
          groupBy: {
            args: Prisma.ShipmentCustomersGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentCustomersGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentCustomersCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentCustomersCountAggregateOutputType> | number
          }
        }
      }
      ShipmentsLocation: {
        payload: Prisma.$ShipmentsLocationPayload<ExtArgs>
        fields: Prisma.ShipmentsLocationFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentsLocationFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentsLocationFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          findFirst: {
            args: Prisma.ShipmentsLocationFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentsLocationFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          findMany: {
            args: Prisma.ShipmentsLocationFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>[]
          }
          create: {
            args: Prisma.ShipmentsLocationCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          createMany: {
            args: Prisma.ShipmentsLocationCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentsLocationCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>[]
          }
          delete: {
            args: Prisma.ShipmentsLocationDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          update: {
            args: Prisma.ShipmentsLocationUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentsLocationDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentsLocationUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentsLocationUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentsLocationPayload>
          }
          aggregate: {
            args: Prisma.ShipmentsLocationAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentsLocation>
          }
          groupBy: {
            args: Prisma.ShipmentsLocationGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentsLocationGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentsLocationCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentsLocationCountAggregateOutputType> | number
          }
        }
      }
      ShipmentDeliveryNotes: {
        payload: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>
        fields: Prisma.ShipmentDeliveryNotesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentDeliveryNotesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentDeliveryNotesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          findFirst: {
            args: Prisma.ShipmentDeliveryNotesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentDeliveryNotesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          findMany: {
            args: Prisma.ShipmentDeliveryNotesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>[]
          }
          create: {
            args: Prisma.ShipmentDeliveryNotesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          createMany: {
            args: Prisma.ShipmentDeliveryNotesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentDeliveryNotesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>[]
          }
          delete: {
            args: Prisma.ShipmentDeliveryNotesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          update: {
            args: Prisma.ShipmentDeliveryNotesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentDeliveryNotesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentDeliveryNotesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentDeliveryNotesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentDeliveryNotesPayload>
          }
          aggregate: {
            args: Prisma.ShipmentDeliveryNotesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentDeliveryNotes>
          }
          groupBy: {
            args: Prisma.ShipmentDeliveryNotesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentDeliveryNotesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentDeliveryNotesCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentDeliveryNotesCountAggregateOutputType> | number
          }
        }
      }
      Vehicles: {
        payload: Prisma.$VehiclesPayload<ExtArgs>
        fields: Prisma.VehiclesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehiclesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehiclesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          findFirst: {
            args: Prisma.VehiclesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehiclesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          findMany: {
            args: Prisma.VehiclesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>[]
          }
          create: {
            args: Prisma.VehiclesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          createMany: {
            args: Prisma.VehiclesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehiclesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>[]
          }
          delete: {
            args: Prisma.VehiclesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          update: {
            args: Prisma.VehiclesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          deleteMany: {
            args: Prisma.VehiclesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehiclesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehiclesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesPayload>
          }
          aggregate: {
            args: Prisma.VehiclesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehicles>
          }
          groupBy: {
            args: Prisma.VehiclesGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehiclesGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehiclesCountArgs<ExtArgs>
            result: $Utils.Optional<VehiclesCountAggregateOutputType> | number
          }
        }
      }
      VehicleUserMapping: {
        payload: Prisma.$VehicleUserMappingPayload<ExtArgs>
        fields: Prisma.VehicleUserMappingFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehicleUserMappingFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehicleUserMappingFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          findFirst: {
            args: Prisma.VehicleUserMappingFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehicleUserMappingFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          findMany: {
            args: Prisma.VehicleUserMappingFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>[]
          }
          create: {
            args: Prisma.VehicleUserMappingCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          createMany: {
            args: Prisma.VehicleUserMappingCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehicleUserMappingCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>[]
          }
          delete: {
            args: Prisma.VehicleUserMappingDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          update: {
            args: Prisma.VehicleUserMappingUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          deleteMany: {
            args: Prisma.VehicleUserMappingDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehicleUserMappingUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehicleUserMappingUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleUserMappingPayload>
          }
          aggregate: {
            args: Prisma.VehicleUserMappingAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehicleUserMapping>
          }
          groupBy: {
            args: Prisma.VehicleUserMappingGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehicleUserMappingGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehicleUserMappingCountArgs<ExtArgs>
            result: $Utils.Optional<VehicleUserMappingCountAggregateOutputType> | number
          }
        }
      }
      VehiclesGpsData: {
        payload: Prisma.$VehiclesGpsDataPayload<ExtArgs>
        fields: Prisma.VehiclesGpsDataFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehiclesGpsDataFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehiclesGpsDataFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          findFirst: {
            args: Prisma.VehiclesGpsDataFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehiclesGpsDataFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          findMany: {
            args: Prisma.VehiclesGpsDataFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>[]
          }
          create: {
            args: Prisma.VehiclesGpsDataCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          createMany: {
            args: Prisma.VehiclesGpsDataCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehiclesGpsDataCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>[]
          }
          delete: {
            args: Prisma.VehiclesGpsDataDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          update: {
            args: Prisma.VehiclesGpsDataUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          deleteMany: {
            args: Prisma.VehiclesGpsDataDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehiclesGpsDataUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehiclesGpsDataUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataPayload>
          }
          aggregate: {
            args: Prisma.VehiclesGpsDataAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehiclesGpsData>
          }
          groupBy: {
            args: Prisma.VehiclesGpsDataGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehiclesGpsDataGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehiclesGpsDataCountArgs<ExtArgs>
            result: $Utils.Optional<VehiclesGpsDataCountAggregateOutputType> | number
          }
        }
      }
      VehiclesGpsDataLog: {
        payload: Prisma.$VehiclesGpsDataLogPayload<ExtArgs>
        fields: Prisma.VehiclesGpsDataLogFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehiclesGpsDataLogFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehiclesGpsDataLogFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          findFirst: {
            args: Prisma.VehiclesGpsDataLogFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehiclesGpsDataLogFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          findMany: {
            args: Prisma.VehiclesGpsDataLogFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>[]
          }
          create: {
            args: Prisma.VehiclesGpsDataLogCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          createMany: {
            args: Prisma.VehiclesGpsDataLogCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehiclesGpsDataLogCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>[]
          }
          delete: {
            args: Prisma.VehiclesGpsDataLogDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          update: {
            args: Prisma.VehiclesGpsDataLogUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          deleteMany: {
            args: Prisma.VehiclesGpsDataLogDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehiclesGpsDataLogUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehiclesGpsDataLogUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehiclesGpsDataLogPayload>
          }
          aggregate: {
            args: Prisma.VehiclesGpsDataLogAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehiclesGpsDataLog>
          }
          groupBy: {
            args: Prisma.VehiclesGpsDataLogGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehiclesGpsDataLogGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehiclesGpsDataLogCountArgs<ExtArgs>
            result: $Utils.Optional<VehiclesGpsDataLogCountAggregateOutputType> | number
          }
        }
      }
      VehicleTripHistories: {
        payload: Prisma.$VehicleTripHistoriesPayload<ExtArgs>
        fields: Prisma.VehicleTripHistoriesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehicleTripHistoriesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehicleTripHistoriesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          findFirst: {
            args: Prisma.VehicleTripHistoriesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehicleTripHistoriesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          findMany: {
            args: Prisma.VehicleTripHistoriesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>[]
          }
          create: {
            args: Prisma.VehicleTripHistoriesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          createMany: {
            args: Prisma.VehicleTripHistoriesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehicleTripHistoriesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>[]
          }
          delete: {
            args: Prisma.VehicleTripHistoriesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          update: {
            args: Prisma.VehicleTripHistoriesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          deleteMany: {
            args: Prisma.VehicleTripHistoriesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehicleTripHistoriesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehicleTripHistoriesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleTripHistoriesPayload>
          }
          aggregate: {
            args: Prisma.VehicleTripHistoriesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehicleTripHistories>
          }
          groupBy: {
            args: Prisma.VehicleTripHistoriesGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehicleTripHistoriesGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehicleTripHistoriesCountArgs<ExtArgs>
            result: $Utils.Optional<VehicleTripHistoriesCountAggregateOutputType> | number
          }
        }
      }
      GeoFences: {
        payload: Prisma.$GeoFencesPayload<ExtArgs>
        fields: Prisma.GeoFencesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.GeoFencesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.GeoFencesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          findFirst: {
            args: Prisma.GeoFencesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.GeoFencesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          findMany: {
            args: Prisma.GeoFencesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>[]
          }
          create: {
            args: Prisma.GeoFencesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          createMany: {
            args: Prisma.GeoFencesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.GeoFencesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>[]
          }
          delete: {
            args: Prisma.GeoFencesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          update: {
            args: Prisma.GeoFencesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          deleteMany: {
            args: Prisma.GeoFencesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.GeoFencesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.GeoFencesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFencesPayload>
          }
          aggregate: {
            args: Prisma.GeoFencesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateGeoFences>
          }
          groupBy: {
            args: Prisma.GeoFencesGroupByArgs<ExtArgs>
            result: $Utils.Optional<GeoFencesGroupByOutputType>[]
          }
          count: {
            args: Prisma.GeoFencesCountArgs<ExtArgs>
            result: $Utils.Optional<GeoFencesCountAggregateOutputType> | number
          }
        }
      }
      GeoFenceTracking: {
        payload: Prisma.$GeoFenceTrackingPayload<ExtArgs>
        fields: Prisma.GeoFenceTrackingFieldRefs
        operations: {
          findUnique: {
            args: Prisma.GeoFenceTrackingFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.GeoFenceTrackingFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          findFirst: {
            args: Prisma.GeoFenceTrackingFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.GeoFenceTrackingFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          findMany: {
            args: Prisma.GeoFenceTrackingFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>[]
          }
          create: {
            args: Prisma.GeoFenceTrackingCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          createMany: {
            args: Prisma.GeoFenceTrackingCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.GeoFenceTrackingCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>[]
          }
          delete: {
            args: Prisma.GeoFenceTrackingDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          update: {
            args: Prisma.GeoFenceTrackingUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          deleteMany: {
            args: Prisma.GeoFenceTrackingDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.GeoFenceTrackingUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.GeoFenceTrackingUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$GeoFenceTrackingPayload>
          }
          aggregate: {
            args: Prisma.GeoFenceTrackingAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateGeoFenceTracking>
          }
          groupBy: {
            args: Prisma.GeoFenceTrackingGroupByArgs<ExtArgs>
            result: $Utils.Optional<GeoFenceTrackingGroupByOutputType>[]
          }
          count: {
            args: Prisma.GeoFenceTrackingCountArgs<ExtArgs>
            result: $Utils.Optional<GeoFenceTrackingCountAggregateOutputType> | number
          }
        }
      }
      VehicleGeofenceHistory: {
        payload: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>
        fields: Prisma.VehicleGeofenceHistoryFieldRefs
        operations: {
          findUnique: {
            args: Prisma.VehicleGeofenceHistoryFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.VehicleGeofenceHistoryFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          findFirst: {
            args: Prisma.VehicleGeofenceHistoryFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.VehicleGeofenceHistoryFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          findMany: {
            args: Prisma.VehicleGeofenceHistoryFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>[]
          }
          create: {
            args: Prisma.VehicleGeofenceHistoryCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          createMany: {
            args: Prisma.VehicleGeofenceHistoryCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.VehicleGeofenceHistoryCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>[]
          }
          delete: {
            args: Prisma.VehicleGeofenceHistoryDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          update: {
            args: Prisma.VehicleGeofenceHistoryUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          deleteMany: {
            args: Prisma.VehicleGeofenceHistoryDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.VehicleGeofenceHistoryUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.VehicleGeofenceHistoryUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$VehicleGeofenceHistoryPayload>
          }
          aggregate: {
            args: Prisma.VehicleGeofenceHistoryAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateVehicleGeofenceHistory>
          }
          groupBy: {
            args: Prisma.VehicleGeofenceHistoryGroupByArgs<ExtArgs>
            result: $Utils.Optional<VehicleGeofenceHistoryGroupByOutputType>[]
          }
          count: {
            args: Prisma.VehicleGeofenceHistoryCountArgs<ExtArgs>
            result: $Utils.Optional<VehicleGeofenceHistoryCountAggregateOutputType> | number
          }
        }
      }
      CustomerGeoFenceMapping: {
        payload: Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>
        fields: Prisma.CustomerGeoFenceMappingFieldRefs
        operations: {
          findUnique: {
            args: Prisma.CustomerGeoFenceMappingFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.CustomerGeoFenceMappingFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          findFirst: {
            args: Prisma.CustomerGeoFenceMappingFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.CustomerGeoFenceMappingFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          findMany: {
            args: Prisma.CustomerGeoFenceMappingFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>[]
          }
          create: {
            args: Prisma.CustomerGeoFenceMappingCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          createMany: {
            args: Prisma.CustomerGeoFenceMappingCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.CustomerGeoFenceMappingCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>[]
          }
          delete: {
            args: Prisma.CustomerGeoFenceMappingDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          update: {
            args: Prisma.CustomerGeoFenceMappingUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          deleteMany: {
            args: Prisma.CustomerGeoFenceMappingDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.CustomerGeoFenceMappingUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.CustomerGeoFenceMappingUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$CustomerGeoFenceMappingPayload>
          }
          aggregate: {
            args: Prisma.CustomerGeoFenceMappingAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateCustomerGeoFenceMapping>
          }
          groupBy: {
            args: Prisma.CustomerGeoFenceMappingGroupByArgs<ExtArgs>
            result: $Utils.Optional<CustomerGeoFenceMappingGroupByOutputType>[]
          }
          count: {
            args: Prisma.CustomerGeoFenceMappingCountArgs<ExtArgs>
            result: $Utils.Optional<CustomerGeoFenceMappingCountAggregateOutputType> | number
          }
        }
      }
      ErpLogs: {
        payload: Prisma.$ErpLogsPayload<ExtArgs>
        fields: Prisma.ErpLogsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ErpLogsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ErpLogsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          findFirst: {
            args: Prisma.ErpLogsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ErpLogsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          findMany: {
            args: Prisma.ErpLogsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>[]
          }
          create: {
            args: Prisma.ErpLogsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          createMany: {
            args: Prisma.ErpLogsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ErpLogsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>[]
          }
          delete: {
            args: Prisma.ErpLogsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          update: {
            args: Prisma.ErpLogsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          deleteMany: {
            args: Prisma.ErpLogsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ErpLogsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ErpLogsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsPayload>
          }
          aggregate: {
            args: Prisma.ErpLogsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateErpLogs>
          }
          groupBy: {
            args: Prisma.ErpLogsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ErpLogsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ErpLogsCountArgs<ExtArgs>
            result: $Utils.Optional<ErpLogsCountAggregateOutputType> | number
          }
        }
      }
      ErpLogsLineItems: {
        payload: Prisma.$ErpLogsLineItemsPayload<ExtArgs>
        fields: Prisma.ErpLogsLineItemsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ErpLogsLineItemsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ErpLogsLineItemsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          findFirst: {
            args: Prisma.ErpLogsLineItemsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ErpLogsLineItemsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          findMany: {
            args: Prisma.ErpLogsLineItemsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>[]
          }
          create: {
            args: Prisma.ErpLogsLineItemsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          createMany: {
            args: Prisma.ErpLogsLineItemsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ErpLogsLineItemsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>[]
          }
          delete: {
            args: Prisma.ErpLogsLineItemsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          update: {
            args: Prisma.ErpLogsLineItemsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          deleteMany: {
            args: Prisma.ErpLogsLineItemsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ErpLogsLineItemsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ErpLogsLineItemsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ErpLogsLineItemsPayload>
          }
          aggregate: {
            args: Prisma.ErpLogsLineItemsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateErpLogsLineItems>
          }
          groupBy: {
            args: Prisma.ErpLogsLineItemsGroupByArgs<ExtArgs>
            result: $Utils.Optional<ErpLogsLineItemsGroupByOutputType>[]
          }
          count: {
            args: Prisma.ErpLogsLineItemsCountArgs<ExtArgs>
            result: $Utils.Optional<ErpLogsLineItemsCountAggregateOutputType> | number
          }
        }
      }
      TempSessionData: {
        payload: Prisma.$TempSessionDataPayload<ExtArgs>
        fields: Prisma.TempSessionDataFieldRefs
        operations: {
          findUnique: {
            args: Prisma.TempSessionDataFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.TempSessionDataFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          findFirst: {
            args: Prisma.TempSessionDataFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.TempSessionDataFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          findMany: {
            args: Prisma.TempSessionDataFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>[]
          }
          create: {
            args: Prisma.TempSessionDataCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          createMany: {
            args: Prisma.TempSessionDataCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.TempSessionDataCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>[]
          }
          delete: {
            args: Prisma.TempSessionDataDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          update: {
            args: Prisma.TempSessionDataUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          deleteMany: {
            args: Prisma.TempSessionDataDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.TempSessionDataUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.TempSessionDataUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$TempSessionDataPayload>
          }
          aggregate: {
            args: Prisma.TempSessionDataAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateTempSessionData>
          }
          groupBy: {
            args: Prisma.TempSessionDataGroupByArgs<ExtArgs>
            result: $Utils.Optional<TempSessionDataGroupByOutputType>[]
          }
          count: {
            args: Prisma.TempSessionDataCountArgs<ExtArgs>
            result: $Utils.Optional<TempSessionDataCountAggregateOutputType> | number
          }
        }
      }
      ShipmentStatus: {
        payload: Prisma.$ShipmentStatusPayload<ExtArgs>
        fields: Prisma.ShipmentStatusFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentStatusFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentStatusFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          findFirst: {
            args: Prisma.ShipmentStatusFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentStatusFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          findMany: {
            args: Prisma.ShipmentStatusFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>[]
          }
          create: {
            args: Prisma.ShipmentStatusCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          createMany: {
            args: Prisma.ShipmentStatusCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentStatusCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>[]
          }
          delete: {
            args: Prisma.ShipmentStatusDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          update: {
            args: Prisma.ShipmentStatusUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentStatusDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentStatusUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentStatusUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusPayload>
          }
          aggregate: {
            args: Prisma.ShipmentStatusAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentStatus>
          }
          groupBy: {
            args: Prisma.ShipmentStatusGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentStatusGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentStatusCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentStatusCountAggregateOutputType> | number
          }
        }
      }
      ShipmentStatusHistory: {
        payload: Prisma.$ShipmentStatusHistoryPayload<ExtArgs>
        fields: Prisma.ShipmentStatusHistoryFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentStatusHistoryFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentStatusHistoryFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          findFirst: {
            args: Prisma.ShipmentStatusHistoryFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentStatusHistoryFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          findMany: {
            args: Prisma.ShipmentStatusHistoryFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>[]
          }
          create: {
            args: Prisma.ShipmentStatusHistoryCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          createMany: {
            args: Prisma.ShipmentStatusHistoryCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentStatusHistoryCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>[]
          }
          delete: {
            args: Prisma.ShipmentStatusHistoryDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          update: {
            args: Prisma.ShipmentStatusHistoryUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentStatusHistoryDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentStatusHistoryUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentStatusHistoryUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentStatusHistoryPayload>
          }
          aggregate: {
            args: Prisma.ShipmentStatusHistoryAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentStatusHistory>
          }
          groupBy: {
            args: Prisma.ShipmentStatusHistoryGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentStatusHistoryGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentStatusHistoryCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentStatusHistoryCountAggregateOutputType> | number
          }
        }
      }
      PodStatus: {
        payload: Prisma.$PodStatusPayload<ExtArgs>
        fields: Prisma.PodStatusFieldRefs
        operations: {
          findUnique: {
            args: Prisma.PodStatusFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.PodStatusFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          findFirst: {
            args: Prisma.PodStatusFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.PodStatusFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          findMany: {
            args: Prisma.PodStatusFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>[]
          }
          create: {
            args: Prisma.PodStatusCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          createMany: {
            args: Prisma.PodStatusCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.PodStatusCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>[]
          }
          delete: {
            args: Prisma.PodStatusDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          update: {
            args: Prisma.PodStatusUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          deleteMany: {
            args: Prisma.PodStatusDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.PodStatusUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.PodStatusUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$PodStatusPayload>
          }
          aggregate: {
            args: Prisma.PodStatusAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregatePodStatus>
          }
          groupBy: {
            args: Prisma.PodStatusGroupByArgs<ExtArgs>
            result: $Utils.Optional<PodStatusGroupByOutputType>[]
          }
          count: {
            args: Prisma.PodStatusCountArgs<ExtArgs>
            result: $Utils.Optional<PodStatusCountAggregateOutputType> | number
          }
        }
      }
      ShipmentLocationContactInfoHistory: {
        payload: Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>
        fields: Prisma.ShipmentLocationContactInfoHistoryFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentLocationContactInfoHistoryFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentLocationContactInfoHistoryFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          findFirst: {
            args: Prisma.ShipmentLocationContactInfoHistoryFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentLocationContactInfoHistoryFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          findMany: {
            args: Prisma.ShipmentLocationContactInfoHistoryFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>[]
          }
          create: {
            args: Prisma.ShipmentLocationContactInfoHistoryCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          createMany: {
            args: Prisma.ShipmentLocationContactInfoHistoryCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentLocationContactInfoHistoryCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>[]
          }
          delete: {
            args: Prisma.ShipmentLocationContactInfoHistoryDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          update: {
            args: Prisma.ShipmentLocationContactInfoHistoryUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentLocationContactInfoHistoryDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentLocationContactInfoHistoryUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentLocationContactInfoHistoryUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentLocationContactInfoHistoryPayload>
          }
          aggregate: {
            args: Prisma.ShipmentLocationContactInfoHistoryAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentLocationContactInfoHistory>
          }
          groupBy: {
            args: Prisma.ShipmentLocationContactInfoHistoryGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentLocationContactInfoHistoryGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentLocationContactInfoHistoryCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentLocationContactInfoHistoryCountAggregateOutputType> | number
          }
        }
      }
      ShipmentImages: {
        payload: Prisma.$ShipmentImagesPayload<ExtArgs>
        fields: Prisma.ShipmentImagesFieldRefs
        operations: {
          findUnique: {
            args: Prisma.ShipmentImagesFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.ShipmentImagesFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          findFirst: {
            args: Prisma.ShipmentImagesFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.ShipmentImagesFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          findMany: {
            args: Prisma.ShipmentImagesFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>[]
          }
          create: {
            args: Prisma.ShipmentImagesCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          createMany: {
            args: Prisma.ShipmentImagesCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.ShipmentImagesCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>[]
          }
          delete: {
            args: Prisma.ShipmentImagesDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          update: {
            args: Prisma.ShipmentImagesUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          deleteMany: {
            args: Prisma.ShipmentImagesDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.ShipmentImagesUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.ShipmentImagesUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$ShipmentImagesPayload>
          }
          aggregate: {
            args: Prisma.ShipmentImagesAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateShipmentImages>
          }
          groupBy: {
            args: Prisma.ShipmentImagesGroupByArgs<ExtArgs>
            result: $Utils.Optional<ShipmentImagesGroupByOutputType>[]
          }
          count: {
            args: Prisma.ShipmentImagesCountArgs<ExtArgs>
            result: $Utils.Optional<ShipmentImagesCountAggregateOutputType> | number
          }
        }
      }
      sms_test_requests: {
        payload: Prisma.$sms_test_requestsPayload<ExtArgs>
        fields: Prisma.sms_test_requestsFieldRefs
        operations: {
          findUnique: {
            args: Prisma.sms_test_requestsFindUniqueArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload> | null
          }
          findUniqueOrThrow: {
            args: Prisma.sms_test_requestsFindUniqueOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          findFirst: {
            args: Prisma.sms_test_requestsFindFirstArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload> | null
          }
          findFirstOrThrow: {
            args: Prisma.sms_test_requestsFindFirstOrThrowArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          findMany: {
            args: Prisma.sms_test_requestsFindManyArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>[]
          }
          create: {
            args: Prisma.sms_test_requestsCreateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          createMany: {
            args: Prisma.sms_test_requestsCreateManyArgs<ExtArgs>
            result: BatchPayload
          }
          createManyAndReturn: {
            args: Prisma.sms_test_requestsCreateManyAndReturnArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>[]
          }
          delete: {
            args: Prisma.sms_test_requestsDeleteArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          update: {
            args: Prisma.sms_test_requestsUpdateArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          deleteMany: {
            args: Prisma.sms_test_requestsDeleteManyArgs<ExtArgs>
            result: BatchPayload
          }
          updateMany: {
            args: Prisma.sms_test_requestsUpdateManyArgs<ExtArgs>
            result: BatchPayload
          }
          upsert: {
            args: Prisma.sms_test_requestsUpsertArgs<ExtArgs>
            result: $Utils.PayloadToResult<Prisma.$sms_test_requestsPayload>
          }
          aggregate: {
            args: Prisma.Sms_test_requestsAggregateArgs<ExtArgs>
            result: $Utils.Optional<AggregateSms_test_requests>
          }
          groupBy: {
            args: Prisma.sms_test_requestsGroupByArgs<ExtArgs>
            result: $Utils.Optional<Sms_test_requestsGroupByOutputType>[]
          }
          count: {
            args: Prisma.sms_test_requestsCountArgs<ExtArgs>
            result: $Utils.Optional<Sms_test_requestsCountAggregateOutputType> | number
          }
        }
      }
    }
  } & {
    other: {
      payload: any
      operations: {
        $executeRaw: {
          args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
          result: any
        }
        $executeRawUnsafe: {
          args: [query: string, ...values: any[]],
          result: any
        }
        $queryRaw: {
          args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
          result: any
        }
        $queryRawUnsafe: {
          args: [query: string, ...values: any[]],
          result: any
        }
      }
    }
  }
  export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs>
  export type DefaultPrismaClient = PrismaClient
  export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
  export interface PrismaClientOptions {
    /**
     * Overwrites the datasource url from your schema.prisma file
     */
    datasources?: Datasources
    /**
     * Overwrites the datasource url from your schema.prisma file
     */
    datasourceUrl?: string
    /**
     * @default "colorless"
     */
    errorFormat?: ErrorFormat
    /**
     * @example
     * ```
     * // Defaults to stdout
     * log: ['query', 'info', 'warn', 'error']
     * 
     * // Emit as events
     * log: [
     *   { emit: 'stdout', level: 'query' },
     *   { emit: 'stdout', level: 'info' },
     *   { emit: 'stdout', level: 'warn' }
     *   { emit: 'stdout', level: 'error' }
     * ]
     * ```
     * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).
     */
    log?: (LogLevel | LogDefinition)[]
    /**
     * The default values for transactionOptions
     * maxWait ?= 2000
     * timeout ?= 5000
     */
    transactionOptions?: {
      maxWait?: number
      timeout?: number
      isolationLevel?: Prisma.TransactionIsolationLevel
    }
  }


  /* Types for Logging */
  export type LogLevel = 'info' | 'query' | 'warn' | 'error'
  export type LogDefinition = {
    level: LogLevel
    emit: 'stdout' | 'event'
  }

  export type GetLogType<T extends LogLevel | LogDefinition> = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never
  export type GetEvents<T extends any> = T extends Array<LogLevel | LogDefinition> ?
    GetLogType<T[0]> | GetLogType<T[1]> | GetLogType<T[2]> | GetLogType<T[3]>
    : never

  export type QueryEvent = {
    timestamp: Date
    query: string
    params: string
    duration: number
    target: string
  }

  export type LogEvent = {
    timestamp: Date
    message: string
    target: string
  }
  /* End Types for Logging */


  export type PrismaAction =
    | 'findUnique'
    | 'findUniqueOrThrow'
    | 'findMany'
    | 'findFirst'
    | 'findFirstOrThrow'
    | 'create'
    | 'createMany'
    | 'createManyAndReturn'
    | 'update'
    | 'updateMany'
    | 'upsert'
    | 'delete'
    | 'deleteMany'
    | 'executeRaw'
    | 'queryRaw'
    | 'aggregate'
    | 'count'
    | 'runCommandRaw'
    | 'findRaw'
    | 'groupBy'

  /**
   * These options are being passed into the middleware as "params"
   */
  export type MiddlewareParams = {
    model?: ModelName
    action: PrismaAction
    args: any
    dataPath: string[]
    runInTransaction: boolean
  }

  /**
   * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation
   */
  export type Middleware<T = any> = (
    params: MiddlewareParams,
    next: (params: MiddlewareParams) => $Utils.JsPromise<T>,
  ) => $Utils.JsPromise<T>

  // tested in getLogLevel.test.ts
  export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;

  /**
   * `PrismaClient` proxy available in interactive transactions.
   */
  export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>

  export type Datasource = {
    url?: string
  }

  /**
   * Count Types
   */


  /**
   * Count Type UserCountOutputType
   */

  export type UserCountOutputType = {
    request_logs: number
    roles: number
    permissions: number
    otps: number
    created_users: number
    updated_users: number
    deleted_users: number
    created_user_details: number
    updated_user_details: number
    deleted_user_details: number
    created_roles: number
    updated_roles: number
    deleted_roles: number
    created_languages: number
    updated_languages: number
    deleted_languages: number
    created_menus: number
    updated_menus: number
    deleted_menus: number
    created_menu_items: number
    updated_menu_items: number
    deleted_menu_items: number
    created_notification_templates: number
    updated_notification_templates: number
    deleted_notification_templates: number
    created_notification_template_assignments: number
    created_notification_process_jobs: number
    created_notification_job: number
    created_import_templates: number
    updated_import_templates: number
    deleted_import_templates: number
    created_carousel_templates: number
    updated_carousel_templates: number
    deleted_carousel_templates: number
    created_export_templates: number
    updated_export_templates: number
    deleted_export_templates: number
    created_departments: number
    head_departments: number
    updated_departments: number
    deleted_departments: number
    created_designations: number
    updated_designations: number
    deleted_designations: number
    audit_logs: number
    created_category_types: number
    updated_category_types: number
    deleted_category_types: number
    created_categories: number
    updated_categories: number
    deleted_categories: number
    created_configurations: number
    updated_configurations: number
    deleted_configurations: number
    created_user_configurations: number
    updated_user_configurations: number
    deleted_user_configurations: number
    created_fin_years: number
    updated_fin_years: number
    deleted_fin_years: number
    created_doc_sequences: number
    updated_doc_sequences: number
    deleted_doc_sequences: number
    created_device_registration: number
    updated_device_registration: number
    deleted_device_registration: number
    DeviceRegistration: number
    created_import_job: number
    updated_import_job: number
    deleted_import_job: number
    created_direct_import_details: number
    updated_direct_import_details: number
    deleted_direct_import_details: number
    user_policy: number
    created_policy: number
    updated_policy: number
    deleted_policy: number
    created_app_versions: number
    updated_app_versions: number
    deleted_app_versions: number
    CreatedTheme: number
    UpdatedTheme: number
    DeletedTheme: number
    CreatedThemeLineItems: number
    UpdatedThemeLineItems: number
    DeletedThemeLineItems: number
    CreatedThemeAttributes: number
    UpdatedThemeAttributes: number
    DeletedThemeAttributes: number
    ChildProcessLog: number
    customer_geofence_mapping: number
    vehicle_user_mapping: number
    delivery_notes: number
    vehicle_gps_data: number
    vehicle_gps_data_log: number
    vehicle_geofence_history_driver: number
    vehicle_geofence_history_customer: number
    shipment_customers: number
    vehicle_trip_histories: number
    created_barcode_templates: number
    updated_barcode_templates: number
    deleted_barcode_templates: number
    user_login_histories: number
  }

  export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    request_logs?: boolean | UserCountOutputTypeCountRequest_logsArgs
    roles?: boolean | UserCountOutputTypeCountRolesArgs
    permissions?: boolean | UserCountOutputTypeCountPermissionsArgs
    otps?: boolean | UserCountOutputTypeCountOtpsArgs
    created_users?: boolean | UserCountOutputTypeCountCreated_usersArgs
    updated_users?: boolean | UserCountOutputTypeCountUpdated_usersArgs
    deleted_users?: boolean | UserCountOutputTypeCountDeleted_usersArgs
    created_user_details?: boolean | UserCountOutputTypeCountCreated_user_detailsArgs
    updated_user_details?: boolean | UserCountOutputTypeCountUpdated_user_detailsArgs
    deleted_user_details?: boolean | UserCountOutputTypeCountDeleted_user_detailsArgs
    created_roles?: boolean | UserCountOutputTypeCountCreated_rolesArgs
    updated_roles?: boolean | UserCountOutputTypeCountUpdated_rolesArgs
    deleted_roles?: boolean | UserCountOutputTypeCountDeleted_rolesArgs
    created_languages?: boolean | UserCountOutputTypeCountCreated_languagesArgs
    updated_languages?: boolean | UserCountOutputTypeCountUpdated_languagesArgs
    deleted_languages?: boolean | UserCountOutputTypeCountDeleted_languagesArgs
    created_menus?: boolean | UserCountOutputTypeCountCreated_menusArgs
    updated_menus?: boolean | UserCountOutputTypeCountUpdated_menusArgs
    deleted_menus?: boolean | UserCountOutputTypeCountDeleted_menusArgs
    created_menu_items?: boolean | UserCountOutputTypeCountCreated_menu_itemsArgs
    updated_menu_items?: boolean | UserCountOutputTypeCountUpdated_menu_itemsArgs
    deleted_menu_items?: boolean | UserCountOutputTypeCountDeleted_menu_itemsArgs
    created_notification_templates?: boolean | UserCountOutputTypeCountCreated_notification_templatesArgs
    updated_notification_templates?: boolean | UserCountOutputTypeCountUpdated_notification_templatesArgs
    deleted_notification_templates?: boolean | UserCountOutputTypeCountDeleted_notification_templatesArgs
    created_notification_template_assignments?: boolean | UserCountOutputTypeCountCreated_notification_template_assignmentsArgs
    created_notification_process_jobs?: boolean | UserCountOutputTypeCountCreated_notification_process_jobsArgs
    created_notification_job?: boolean | UserCountOutputTypeCountCreated_notification_jobArgs
    created_import_templates?: boolean | UserCountOutputTypeCountCreated_import_templatesArgs
    updated_import_templates?: boolean | UserCountOutputTypeCountUpdated_import_templatesArgs
    deleted_import_templates?: boolean | UserCountOutputTypeCountDeleted_import_templatesArgs
    created_carousel_templates?: boolean | UserCountOutputTypeCountCreated_carousel_templatesArgs
    updated_carousel_templates?: boolean | UserCountOutputTypeCountUpdated_carousel_templatesArgs
    deleted_carousel_templates?: boolean | UserCountOutputTypeCountDeleted_carousel_templatesArgs
    created_export_templates?: boolean | UserCountOutputTypeCountCreated_export_templatesArgs
    updated_export_templates?: boolean | UserCountOutputTypeCountUpdated_export_templatesArgs
    deleted_export_templates?: boolean | UserCountOutputTypeCountDeleted_export_templatesArgs
    created_departments?: boolean | UserCountOutputTypeCountCreated_departmentsArgs
    head_departments?: boolean | UserCountOutputTypeCountHead_departmentsArgs
    updated_departments?: boolean | UserCountOutputTypeCountUpdated_departmentsArgs
    deleted_departments?: boolean | UserCountOutputTypeCountDeleted_departmentsArgs
    created_designations?: boolean | UserCountOutputTypeCountCreated_designationsArgs
    updated_designations?: boolean | UserCountOutputTypeCountUpdated_designationsArgs
    deleted_designations?: boolean | UserCountOutputTypeCountDeleted_designationsArgs
    audit_logs?: boolean | UserCountOutputTypeCountAudit_logsArgs
    created_category_types?: boolean | UserCountOutputTypeCountCreated_category_typesArgs
    updated_category_types?: boolean | UserCountOutputTypeCountUpdated_category_typesArgs
    deleted_category_types?: boolean | UserCountOutputTypeCountDeleted_category_typesArgs
    created_categories?: boolean | UserCountOutputTypeCountCreated_categoriesArgs
    updated_categories?: boolean | UserCountOutputTypeCountUpdated_categoriesArgs
    deleted_categories?: boolean | UserCountOutputTypeCountDeleted_categoriesArgs
    created_configurations?: boolean | UserCountOutputTypeCountCreated_configurationsArgs
    updated_configurations?: boolean | UserCountOutputTypeCountUpdated_configurationsArgs
    deleted_configurations?: boolean | UserCountOutputTypeCountDeleted_configurationsArgs
    created_user_configurations?: boolean | UserCountOutputTypeCountCreated_user_configurationsArgs
    updated_user_configurations?: boolean | UserCountOutputTypeCountUpdated_user_configurationsArgs
    deleted_user_configurations?: boolean | UserCountOutputTypeCountDeleted_user_configurationsArgs
    created_fin_years?: boolean | UserCountOutputTypeCountCreated_fin_yearsArgs
    updated_fin_years?: boolean | UserCountOutputTypeCountUpdated_fin_yearsArgs
    deleted_fin_years?: boolean | UserCountOutputTypeCountDeleted_fin_yearsArgs
    created_doc_sequences?: boolean | UserCountOutputTypeCountCreated_doc_sequencesArgs
    updated_doc_sequences?: boolean | UserCountOutputTypeCountUpdated_doc_sequencesArgs
    deleted_doc_sequences?: boolean | UserCountOutputTypeCountDeleted_doc_sequencesArgs
    created_device_registration?: boolean | UserCountOutputTypeCountCreated_device_registrationArgs
    updated_device_registration?: boolean | UserCountOutputTypeCountUpdated_device_registrationArgs
    deleted_device_registration?: boolean | UserCountOutputTypeCountDeleted_device_registrationArgs
    DeviceRegistration?: boolean | UserCountOutputTypeCountDeviceRegistrationArgs
    created_import_job?: boolean | UserCountOutputTypeCountCreated_import_jobArgs
    updated_import_job?: boolean | UserCountOutputTypeCountUpdated_import_jobArgs
    deleted_import_job?: boolean | UserCountOutputTypeCountDeleted_import_jobArgs
    created_direct_import_details?: boolean | UserCountOutputTypeCountCreated_direct_import_detailsArgs
    updated_direct_import_details?: boolean | UserCountOutputTypeCountUpdated_direct_import_detailsArgs
    deleted_direct_import_details?: boolean | UserCountOutputTypeCountDeleted_direct_import_detailsArgs
    user_policy?: boolean | UserCountOutputTypeCountUser_policyArgs
    created_policy?: boolean | UserCountOutputTypeCountCreated_policyArgs
    updated_policy?: boolean | UserCountOutputTypeCountUpdated_policyArgs
    deleted_policy?: boolean | UserCountOutputTypeCountDeleted_policyArgs
    created_app_versions?: boolean | UserCountOutputTypeCountCreated_app_versionsArgs
    updated_app_versions?: boolean | UserCountOutputTypeCountUpdated_app_versionsArgs
    deleted_app_versions?: boolean | UserCountOutputTypeCountDeleted_app_versionsArgs
    CreatedTheme?: boolean | UserCountOutputTypeCountCreatedThemeArgs
    UpdatedTheme?: boolean | UserCountOutputTypeCountUpdatedThemeArgs
    DeletedTheme?: boolean | UserCountOutputTypeCountDeletedThemeArgs
    CreatedThemeLineItems?: boolean | UserCountOutputTypeCountCreatedThemeLineItemsArgs
    UpdatedThemeLineItems?: boolean | UserCountOutputTypeCountUpdatedThemeLineItemsArgs
    DeletedThemeLineItems?: boolean | UserCountOutputTypeCountDeletedThemeLineItemsArgs
    CreatedThemeAttributes?: boolean | UserCountOutputTypeCountCreatedThemeAttributesArgs
    UpdatedThemeAttributes?: boolean | UserCountOutputTypeCountUpdatedThemeAttributesArgs
    DeletedThemeAttributes?: boolean | UserCountOutputTypeCountDeletedThemeAttributesArgs
    ChildProcessLog?: boolean | UserCountOutputTypeCountChildProcessLogArgs
    customer_geofence_mapping?: boolean | UserCountOutputTypeCountCustomer_geofence_mappingArgs
    vehicle_user_mapping?: boolean | UserCountOutputTypeCountVehicle_user_mappingArgs
    delivery_notes?: boolean | UserCountOutputTypeCountDelivery_notesArgs
    vehicle_gps_data?: boolean | UserCountOutputTypeCountVehicle_gps_dataArgs
    vehicle_gps_data_log?: boolean | UserCountOutputTypeCountVehicle_gps_data_logArgs
    vehicle_geofence_history_driver?: boolean | UserCountOutputTypeCountVehicle_geofence_history_driverArgs
    vehicle_geofence_history_customer?: boolean | UserCountOutputTypeCountVehicle_geofence_history_customerArgs
    shipment_customers?: boolean | UserCountOutputTypeCountShipment_customersArgs
    vehicle_trip_histories?: boolean | UserCountOutputTypeCountVehicle_trip_historiesArgs
    created_barcode_templates?: boolean | UserCountOutputTypeCountCreated_barcode_templatesArgs
    updated_barcode_templates?: boolean | UserCountOutputTypeCountUpdated_barcode_templatesArgs
    deleted_barcode_templates?: boolean | UserCountOutputTypeCountDeleted_barcode_templatesArgs
    user_login_histories?: boolean | UserCountOutputTypeCountUser_login_historiesArgs
  }

  // Custom InputTypes
  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserCountOutputType
     */
    select?: UserCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountRequest_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RequestLogWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountRolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserRolesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountPermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPermissionsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountOtpsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: OtpWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RoleWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RoleWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RoleWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenusWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenusWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenusWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_notification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateAssignmentWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_notification_process_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationProcessJobWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_notification_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationJobWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountHead_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DesignationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DesignationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DesignationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountAudit_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AuditLogWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoryTypesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoryTypesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoryTypesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserConfigurationsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FinancialYearWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FinancialYearWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FinancialYearWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeviceRegistrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUser_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPoliciesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PoliciesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PoliciesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PoliciesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AppversionsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AppversionsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AppversionsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeletedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeletedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeAttributesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeAttributesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeletedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeAttributesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountChildProcessLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessLogWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCustomer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerGeoFenceMappingWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleUserMappingWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDelivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNotesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_gps_data_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataLogWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_geofence_history_driverArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_geofence_history_customerArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountShipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentCustomersWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountVehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleTripHistoriesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountCreated_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUpdated_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountDeleted_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * UserCountOutputType without action
   */
  export type UserCountOutputTypeCountUser_login_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserLoginHistoryWhereInput
  }


  /**
   * Count Type DesignationCountOutputType
   */

  export type DesignationCountOutputType = {
    users: number
  }

  export type DesignationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    users?: boolean | DesignationCountOutputTypeCountUsersArgs
  }

  // Custom InputTypes
  /**
   * DesignationCountOutputType without action
   */
  export type DesignationCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DesignationCountOutputType
     */
    select?: DesignationCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * DesignationCountOutputType without action
   */
  export type DesignationCountOutputTypeCountUsersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
  }


  /**
   * Count Type DepartmentCountOutputType
   */

  export type DepartmentCountOutputType = {
    users: number
  }

  export type DepartmentCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    users?: boolean | DepartmentCountOutputTypeCountUsersArgs
  }

  // Custom InputTypes
  /**
   * DepartmentCountOutputType without action
   */
  export type DepartmentCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DepartmentCountOutputType
     */
    select?: DepartmentCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * DepartmentCountOutputType without action
   */
  export type DepartmentCountOutputTypeCountUsersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
  }


  /**
   * Count Type FinancialYearCountOutputType
   */

  export type FinancialYearCountOutputType = {
    document_sequence: number
  }

  export type FinancialYearCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    document_sequence?: boolean | FinancialYearCountOutputTypeCountDocument_sequenceArgs
  }

  // Custom InputTypes
  /**
   * FinancialYearCountOutputType without action
   */
  export type FinancialYearCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYearCountOutputType
     */
    select?: FinancialYearCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * FinancialYearCountOutputType without action
   */
  export type FinancialYearCountOutputTypeCountDocument_sequenceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
  }


  /**
   * Count Type PermissionsCountOutputType
   */

  export type PermissionsCountOutputType = {
    roles: number
    users: number
    menus: number
  }

  export type PermissionsCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    roles?: boolean | PermissionsCountOutputTypeCountRolesArgs
    users?: boolean | PermissionsCountOutputTypeCountUsersArgs
    menus?: boolean | PermissionsCountOutputTypeCountMenusArgs
  }

  // Custom InputTypes
  /**
   * PermissionsCountOutputType without action
   */
  export type PermissionsCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PermissionsCountOutputType
     */
    select?: PermissionsCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * PermissionsCountOutputType without action
   */
  export type PermissionsCountOutputTypeCountRolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePermissionsWhereInput
  }

  /**
   * PermissionsCountOutputType without action
   */
  export type PermissionsCountOutputTypeCountUsersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPermissionsWhereInput
  }

  /**
   * PermissionsCountOutputType without action
   */
  export type PermissionsCountOutputTypeCountMenusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }


  /**
   * Count Type RoleCountOutputType
   */

  export type RoleCountOutputType = {
    permissions: number
    users: number
    role_policy: number
  }

  export type RoleCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    permissions?: boolean | RoleCountOutputTypeCountPermissionsArgs
    users?: boolean | RoleCountOutputTypeCountUsersArgs
    role_policy?: boolean | RoleCountOutputTypeCountRole_policyArgs
  }

  // Custom InputTypes
  /**
   * RoleCountOutputType without action
   */
  export type RoleCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RoleCountOutputType
     */
    select?: RoleCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * RoleCountOutputType without action
   */
  export type RoleCountOutputTypeCountPermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePermissionsWhereInput
  }

  /**
   * RoleCountOutputType without action
   */
  export type RoleCountOutputTypeCountUsersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserRolesWhereInput
  }

  /**
   * RoleCountOutputType without action
   */
  export type RoleCountOutputTypeCountRole_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePoliciesWhereInput
  }


  /**
   * Count Type LanguageCountOutputType
   */

  export type LanguageCountOutputType = {
    translations: number
  }

  export type LanguageCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    translations?: boolean | LanguageCountOutputTypeCountTranslationsArgs
  }

  // Custom InputTypes
  /**
   * LanguageCountOutputType without action
   */
  export type LanguageCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageCountOutputType
     */
    select?: LanguageCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * LanguageCountOutputType without action
   */
  export type LanguageCountOutputTypeCountTranslationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageContentWhereInput
  }


  /**
   * Count Type MenusCountOutputType
   */

  export type MenusCountOutputType = {
    menuitems: number
  }

  export type MenusCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    menuitems?: boolean | MenusCountOutputTypeCountMenuitemsArgs
  }

  // Custom InputTypes
  /**
   * MenusCountOutputType without action
   */
  export type MenusCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenusCountOutputType
     */
    select?: MenusCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * MenusCountOutputType without action
   */
  export type MenusCountOutputTypeCountMenuitemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }


  /**
   * Count Type MenuItemsCountOutputType
   */

  export type MenuItemsCountOutputType = {
    children: number
  }

  export type MenuItemsCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    children?: boolean | MenuItemsCountOutputTypeCountChildrenArgs
  }

  // Custom InputTypes
  /**
   * MenuItemsCountOutputType without action
   */
  export type MenuItemsCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItemsCountOutputType
     */
    select?: MenuItemsCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * MenuItemsCountOutputType without action
   */
  export type MenuItemsCountOutputTypeCountChildrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }


  /**
   * Count Type MasterEntityCountOutputType
   */

  export type MasterEntityCountOutputType = {
    children: number
    permissions: number
    line_items: number
    menus: number
  }

  export type MasterEntityCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    children?: boolean | MasterEntityCountOutputTypeCountChildrenArgs
    permissions?: boolean | MasterEntityCountOutputTypeCountPermissionsArgs
    line_items?: boolean | MasterEntityCountOutputTypeCountLine_itemsArgs
    menus?: boolean | MasterEntityCountOutputTypeCountMenusArgs
  }

  // Custom InputTypes
  /**
   * MasterEntityCountOutputType without action
   */
  export type MasterEntityCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityCountOutputType
     */
    select?: MasterEntityCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * MasterEntityCountOutputType without action
   */
  export type MasterEntityCountOutputTypeCountChildrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityWhereInput
  }

  /**
   * MasterEntityCountOutputType without action
   */
  export type MasterEntityCountOutputTypeCountPermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PermissionsWhereInput
  }

  /**
   * MasterEntityCountOutputType without action
   */
  export type MasterEntityCountOutputTypeCountLine_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityLineItemWhereInput
  }

  /**
   * MasterEntityCountOutputType without action
   */
  export type MasterEntityCountOutputTypeCountMenusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }


  /**
   * Count Type FieldTypeCountOutputType
   */

  export type FieldTypeCountOutputType = {
    master_grid_lineitem: number
    importTemplateLineItem: number
    exportTemplateLineItem: number
  }

  export type FieldTypeCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    master_grid_lineitem?: boolean | FieldTypeCountOutputTypeCountMaster_grid_lineitemArgs
    importTemplateLineItem?: boolean | FieldTypeCountOutputTypeCountImportTemplateLineItemArgs
    exportTemplateLineItem?: boolean | FieldTypeCountOutputTypeCountExportTemplateLineItemArgs
  }

  // Custom InputTypes
  /**
   * FieldTypeCountOutputType without action
   */
  export type FieldTypeCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldTypeCountOutputType
     */
    select?: FieldTypeCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * FieldTypeCountOutputType without action
   */
  export type FieldTypeCountOutputTypeCountMaster_grid_lineitemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityLineItemWhereInput
  }

  /**
   * FieldTypeCountOutputType without action
   */
  export type FieldTypeCountOutputTypeCountImportTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateLineItemWhereInput
  }

  /**
   * FieldTypeCountOutputType without action
   */
  export type FieldTypeCountOutputTypeCountExportTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateLineItemWhereInput
  }


  /**
   * Count Type NotificationTemplateProcessCountOutputType
   */

  export type NotificationTemplateProcessCountOutputType = {
    notification_template_groups: number
    notification_templates: number
    notification_template_assignments: number
  }

  export type NotificationTemplateProcessCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_groups?: boolean | NotificationTemplateProcessCountOutputTypeCountNotification_template_groupsArgs
    notification_templates?: boolean | NotificationTemplateProcessCountOutputTypeCountNotification_templatesArgs
    notification_template_assignments?: boolean | NotificationTemplateProcessCountOutputTypeCountNotification_template_assignmentsArgs
  }

  // Custom InputTypes
  /**
   * NotificationTemplateProcessCountOutputType without action
   */
  export type NotificationTemplateProcessCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessCountOutputType
     */
    select?: NotificationTemplateProcessCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * NotificationTemplateProcessCountOutputType without action
   */
  export type NotificationTemplateProcessCountOutputTypeCountNotification_template_groupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateProcessTagsMappingWhereInput
  }

  /**
   * NotificationTemplateProcessCountOutputType without action
   */
  export type NotificationTemplateProcessCountOutputTypeCountNotification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
  }

  /**
   * NotificationTemplateProcessCountOutputType without action
   */
  export type NotificationTemplateProcessCountOutputTypeCountNotification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateAssignmentWhereInput
  }


  /**
   * Count Type NotificationTemplateTagCountOutputType
   */

  export type NotificationTemplateTagCountOutputType = {
    notification_template_groups: number
  }

  export type NotificationTemplateTagCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_groups?: boolean | NotificationTemplateTagCountOutputTypeCountNotification_template_groupsArgs
  }

  // Custom InputTypes
  /**
   * NotificationTemplateTagCountOutputType without action
   */
  export type NotificationTemplateTagCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTagCountOutputType
     */
    select?: NotificationTemplateTagCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * NotificationTemplateTagCountOutputType without action
   */
  export type NotificationTemplateTagCountOutputTypeCountNotification_template_groupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateProcessTagsMappingWhereInput
  }


  /**
   * Count Type NotificationTemplateCountOutputType
   */

  export type NotificationTemplateCountOutputType = {
    notification_template_assignments: number
    approval_workflow_assignments_approve: number
    approval_workflow_assignments_approve_wa: number
    approval_workflow_assignments_reject: number
    approval_workflow_assignments_reject_wa: number
  }

  export type NotificationTemplateCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_assignments?: boolean | NotificationTemplateCountOutputTypeCountNotification_template_assignmentsArgs
    approval_workflow_assignments_approve?: boolean | NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_approveArgs
    approval_workflow_assignments_approve_wa?: boolean | NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_approve_waArgs
    approval_workflow_assignments_reject?: boolean | NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_rejectArgs
    approval_workflow_assignments_reject_wa?: boolean | NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_reject_waArgs
  }

  // Custom InputTypes
  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateCountOutputType
     */
    select?: NotificationTemplateCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeCountNotification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateAssignmentWhereInput
  }

  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_approveArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_approve_waArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_rejectArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * NotificationTemplateCountOutputType without action
   */
  export type NotificationTemplateCountOutputTypeCountApproval_workflow_assignments_reject_waArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }


  /**
   * Count Type NotificationTemplateAssignmentCountOutputType
   */

  export type NotificationTemplateAssignmentCountOutputType = {
    email_template_cc_bcc: number
  }

  export type NotificationTemplateAssignmentCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    email_template_cc_bcc?: boolean | NotificationTemplateAssignmentCountOutputTypeCountEmail_template_cc_bccArgs
  }

  // Custom InputTypes
  /**
   * NotificationTemplateAssignmentCountOutputType without action
   */
  export type NotificationTemplateAssignmentCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignmentCountOutputType
     */
    select?: NotificationTemplateAssignmentCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * NotificationTemplateAssignmentCountOutputType without action
   */
  export type NotificationTemplateAssignmentCountOutputTypeCountEmail_template_cc_bccArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: EmailTemplateCcBccWhereInput
  }


  /**
   * Count Type CarouselTemplateCountOutputType
   */

  export type CarouselTemplateCountOutputType = {
    line_items: number
  }

  export type CarouselTemplateCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    line_items?: boolean | CarouselTemplateCountOutputTypeCountLine_itemsArgs
  }

  // Custom InputTypes
  /**
   * CarouselTemplateCountOutputType without action
   */
  export type CarouselTemplateCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateCountOutputType
     */
    select?: CarouselTemplateCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * CarouselTemplateCountOutputType without action
   */
  export type CarouselTemplateCountOutputTypeCountLine_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateLineItemWhereInput
  }


  /**
   * Count Type ImportTemplateCountOutputType
   */

  export type ImportTemplateCountOutputType = {
    line_items: number
    queries: number
    import_jobs: number
    direct_import_details: number
  }

  export type ImportTemplateCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    line_items?: boolean | ImportTemplateCountOutputTypeCountLine_itemsArgs
    queries?: boolean | ImportTemplateCountOutputTypeCountQueriesArgs
    import_jobs?: boolean | ImportTemplateCountOutputTypeCountImport_jobsArgs
    direct_import_details?: boolean | ImportTemplateCountOutputTypeCountDirect_import_detailsArgs
  }

  // Custom InputTypes
  /**
   * ImportTemplateCountOutputType without action
   */
  export type ImportTemplateCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateCountOutputType
     */
    select?: ImportTemplateCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ImportTemplateCountOutputType without action
   */
  export type ImportTemplateCountOutputTypeCountLine_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateLineItemWhereInput
  }

  /**
   * ImportTemplateCountOutputType without action
   */
  export type ImportTemplateCountOutputTypeCountQueriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateQueriesWhereInput
  }

  /**
   * ImportTemplateCountOutputType without action
   */
  export type ImportTemplateCountOutputTypeCountImport_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
  }

  /**
   * ImportTemplateCountOutputType without action
   */
  export type ImportTemplateCountOutputTypeCountDirect_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
  }


  /**
   * Count Type ImportJobCountOutputType
   */

  export type ImportJobCountOutputType = {
    line_items: number
  }

  export type ImportJobCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    line_items?: boolean | ImportJobCountOutputTypeCountLine_itemsArgs
  }

  // Custom InputTypes
  /**
   * ImportJobCountOutputType without action
   */
  export type ImportJobCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobCountOutputType
     */
    select?: ImportJobCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ImportJobCountOutputType without action
   */
  export type ImportJobCountOutputTypeCountLine_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobLineItemWhereInput
  }


  /**
   * Count Type ExportTemplateCountOutputType
   */

  export type ExportTemplateCountOutputType = {
    line_items: number
    queries: number
  }

  export type ExportTemplateCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    line_items?: boolean | ExportTemplateCountOutputTypeCountLine_itemsArgs
    queries?: boolean | ExportTemplateCountOutputTypeCountQueriesArgs
  }

  // Custom InputTypes
  /**
   * ExportTemplateCountOutputType without action
   */
  export type ExportTemplateCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateCountOutputType
     */
    select?: ExportTemplateCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ExportTemplateCountOutputType without action
   */
  export type ExportTemplateCountOutputTypeCountLine_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateLineItemWhereInput
  }

  /**
   * ExportTemplateCountOutputType without action
   */
  export type ExportTemplateCountOutputTypeCountQueriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateQueriesWhereInput
  }


  /**
   * Count Type StatusCountOutputType
   */

  export type StatusCountOutputType = {
    status_list: number
    shipment_images: number
    users: number
    request_logs: number
    permissions: number
    roles: number
    languages: number
    language_contents: number
    menuitems: number
    menus: number
    master_grids: number
    master_grid_line_items: number
    field_types: number
    menu_types: number
    notification_template_processes: number
    notification_template_tags: number
    notification_template_receiver_tags: number
    notification_templates: number
    notification_process_jobs: number
    notification_job: number
    import_templates: number
    import_template_line_items: number
    import_template_queries: number
    export_templates: number
    export_template_line_items: number
    export_template_queries: number
    designations: number
    departments: number
    audit_logs: number
    financial_years: number
    document_sequences: number
    file_upload_logs: number
    device_registration: number
    import_job: number
    import_job_line_items: number
    policies: number
    app_versions: number
    approval_workflows: number
    approval_process_job_workflows: number
    approval_workflow_approver_tags: number
    approval_workflow_assignments: number
    approval_process_job: number
    approval_process_job_workflow_users: number
    delegations: number
    about_lcp: number
    schema_chunks: number
    openai_usage_logs: number
    embedding_vector_logs: number
    query_execution_log: number
    child_processes: number
    child_process_logs: number
    carousel_templates: number
    carousel_template_line_items: number
    scheduled_job_logs: number
    scheduled_jobs: number
    app_categories: number
    theme_attributes: number
    themes: number
    theme_line_items: number
    barcodeTemplates: number
    user_login_histories: number
    direct_import_details: number
    delivery_notes: number
    delivery_note_line_items: number
    customers_delivery_addresses: number
    shipments: number
    shipment_customers: number
    shipment_location: number
    shipment_delivery_notes: number
    vehicles: number
    vehicle_gps_data: number
    geofences: number
    geofence_tracking: number
    customer_geofence_mapping: number
    delivery_note_status: number
    erp_logs: number
    erp_logs_line_items: number
    vehicle_user_mapping: number
    vehicle_geofence_history: number
    temp_session_data: number
    shipment_status: number
    shipment_status_history: number
    pod_status: number
    vehicle_trip_histories: number
    shipment_location_contact_info_histories: number
    tree_builder_examples: number
    user_search_configurations: number
  }

  export type StatusCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status_list?: boolean | StatusCountOutputTypeCountStatus_listArgs
    shipment_images?: boolean | StatusCountOutputTypeCountShipment_imagesArgs
    users?: boolean | StatusCountOutputTypeCountUsersArgs
    request_logs?: boolean | StatusCountOutputTypeCountRequest_logsArgs
    permissions?: boolean | StatusCountOutputTypeCountPermissionsArgs
    roles?: boolean | StatusCountOutputTypeCountRolesArgs
    languages?: boolean | StatusCountOutputTypeCountLanguagesArgs
    language_contents?: boolean | StatusCountOutputTypeCountLanguage_contentsArgs
    menuitems?: boolean | StatusCountOutputTypeCountMenuitemsArgs
    menus?: boolean | StatusCountOutputTypeCountMenusArgs
    master_grids?: boolean | StatusCountOutputTypeCountMaster_gridsArgs
    master_grid_line_items?: boolean | StatusCountOutputTypeCountMaster_grid_line_itemsArgs
    field_types?: boolean | StatusCountOutputTypeCountField_typesArgs
    menu_types?: boolean | StatusCountOutputTypeCountMenu_typesArgs
    notification_template_processes?: boolean | StatusCountOutputTypeCountNotification_template_processesArgs
    notification_template_tags?: boolean | StatusCountOutputTypeCountNotification_template_tagsArgs
    notification_template_receiver_tags?: boolean | StatusCountOutputTypeCountNotification_template_receiver_tagsArgs
    notification_templates?: boolean | StatusCountOutputTypeCountNotification_templatesArgs
    notification_process_jobs?: boolean | StatusCountOutputTypeCountNotification_process_jobsArgs
    notification_job?: boolean | StatusCountOutputTypeCountNotification_jobArgs
    import_templates?: boolean | StatusCountOutputTypeCountImport_templatesArgs
    import_template_line_items?: boolean | StatusCountOutputTypeCountImport_template_line_itemsArgs
    import_template_queries?: boolean | StatusCountOutputTypeCountImport_template_queriesArgs
    export_templates?: boolean | StatusCountOutputTypeCountExport_templatesArgs
    export_template_line_items?: boolean | StatusCountOutputTypeCountExport_template_line_itemsArgs
    export_template_queries?: boolean | StatusCountOutputTypeCountExport_template_queriesArgs
    designations?: boolean | StatusCountOutputTypeCountDesignationsArgs
    departments?: boolean | StatusCountOutputTypeCountDepartmentsArgs
    audit_logs?: boolean | StatusCountOutputTypeCountAudit_logsArgs
    financial_years?: boolean | StatusCountOutputTypeCountFinancial_yearsArgs
    document_sequences?: boolean | StatusCountOutputTypeCountDocument_sequencesArgs
    file_upload_logs?: boolean | StatusCountOutputTypeCountFile_upload_logsArgs
    device_registration?: boolean | StatusCountOutputTypeCountDevice_registrationArgs
    import_job?: boolean | StatusCountOutputTypeCountImport_jobArgs
    import_job_line_items?: boolean | StatusCountOutputTypeCountImport_job_line_itemsArgs
    policies?: boolean | StatusCountOutputTypeCountPoliciesArgs
    app_versions?: boolean | StatusCountOutputTypeCountApp_versionsArgs
    approval_workflows?: boolean | StatusCountOutputTypeCountApproval_workflowsArgs
    approval_process_job_workflows?: boolean | StatusCountOutputTypeCountApproval_process_job_workflowsArgs
    approval_workflow_approver_tags?: boolean | StatusCountOutputTypeCountApproval_workflow_approver_tagsArgs
    approval_workflow_assignments?: boolean | StatusCountOutputTypeCountApproval_workflow_assignmentsArgs
    approval_process_job?: boolean | StatusCountOutputTypeCountApproval_process_jobArgs
    approval_process_job_workflow_users?: boolean | StatusCountOutputTypeCountApproval_process_job_workflow_usersArgs
    delegations?: boolean | StatusCountOutputTypeCountDelegationsArgs
    about_lcp?: boolean | StatusCountOutputTypeCountAbout_lcpArgs
    schema_chunks?: boolean | StatusCountOutputTypeCountSchema_chunksArgs
    openai_usage_logs?: boolean | StatusCountOutputTypeCountOpenai_usage_logsArgs
    embedding_vector_logs?: boolean | StatusCountOutputTypeCountEmbedding_vector_logsArgs
    query_execution_log?: boolean | StatusCountOutputTypeCountQuery_execution_logArgs
    child_processes?: boolean | StatusCountOutputTypeCountChild_processesArgs
    child_process_logs?: boolean | StatusCountOutputTypeCountChild_process_logsArgs
    carousel_templates?: boolean | StatusCountOutputTypeCountCarousel_templatesArgs
    carousel_template_line_items?: boolean | StatusCountOutputTypeCountCarousel_template_line_itemsArgs
    scheduled_job_logs?: boolean | StatusCountOutputTypeCountScheduled_job_logsArgs
    scheduled_jobs?: boolean | StatusCountOutputTypeCountScheduled_jobsArgs
    app_categories?: boolean | StatusCountOutputTypeCountApp_categoriesArgs
    theme_attributes?: boolean | StatusCountOutputTypeCountTheme_attributesArgs
    themes?: boolean | StatusCountOutputTypeCountThemesArgs
    theme_line_items?: boolean | StatusCountOutputTypeCountTheme_line_itemsArgs
    barcodeTemplates?: boolean | StatusCountOutputTypeCountBarcodeTemplatesArgs
    user_login_histories?: boolean | StatusCountOutputTypeCountUser_login_historiesArgs
    direct_import_details?: boolean | StatusCountOutputTypeCountDirect_import_detailsArgs
    delivery_notes?: boolean | StatusCountOutputTypeCountDelivery_notesArgs
    delivery_note_line_items?: boolean | StatusCountOutputTypeCountDelivery_note_line_itemsArgs
    customers_delivery_addresses?: boolean | StatusCountOutputTypeCountCustomers_delivery_addressesArgs
    shipments?: boolean | StatusCountOutputTypeCountShipmentsArgs
    shipment_customers?: boolean | StatusCountOutputTypeCountShipment_customersArgs
    shipment_location?: boolean | StatusCountOutputTypeCountShipment_locationArgs
    shipment_delivery_notes?: boolean | StatusCountOutputTypeCountShipment_delivery_notesArgs
    vehicles?: boolean | StatusCountOutputTypeCountVehiclesArgs
    vehicle_gps_data?: boolean | StatusCountOutputTypeCountVehicle_gps_dataArgs
    geofences?: boolean | StatusCountOutputTypeCountGeofencesArgs
    geofence_tracking?: boolean | StatusCountOutputTypeCountGeofence_trackingArgs
    customer_geofence_mapping?: boolean | StatusCountOutputTypeCountCustomer_geofence_mappingArgs
    delivery_note_status?: boolean | StatusCountOutputTypeCountDelivery_note_statusArgs
    erp_logs?: boolean | StatusCountOutputTypeCountErp_logsArgs
    erp_logs_line_items?: boolean | StatusCountOutputTypeCountErp_logs_line_itemsArgs
    vehicle_user_mapping?: boolean | StatusCountOutputTypeCountVehicle_user_mappingArgs
    vehicle_geofence_history?: boolean | StatusCountOutputTypeCountVehicle_geofence_historyArgs
    temp_session_data?: boolean | StatusCountOutputTypeCountTemp_session_dataArgs
    shipment_status?: boolean | StatusCountOutputTypeCountShipment_statusArgs
    shipment_status_history?: boolean | StatusCountOutputTypeCountShipment_status_historyArgs
    pod_status?: boolean | StatusCountOutputTypeCountPod_statusArgs
    vehicle_trip_histories?: boolean | StatusCountOutputTypeCountVehicle_trip_historiesArgs
    shipment_location_contact_info_histories?: boolean | StatusCountOutputTypeCountShipment_location_contact_info_historiesArgs
    tree_builder_examples?: boolean | StatusCountOutputTypeCountTree_builder_examplesArgs
    user_search_configurations?: boolean | StatusCountOutputTypeCountUser_search_configurationsArgs
  }

  // Custom InputTypes
  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the StatusCountOutputType
     */
    select?: StatusCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountStatus_listArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: StatusWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_imagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentImagesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountUsersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountRequest_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RequestLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountPermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PermissionsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountRolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RoleWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountLanguagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountLanguage_contentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageContentWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountMenuitemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountMenusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenusWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountMaster_gridsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountMaster_grid_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityLineItemWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountField_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FieldTypeWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountMenu_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: menuTypeWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_template_processesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateProcessWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_template_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateTagWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_template_receiver_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateRecipientTagWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_process_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationProcessJobWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountNotification_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationJobWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountImport_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountImport_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateLineItemWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountImport_template_queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateQueriesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountExport_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountExport_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateLineItemWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountExport_template_queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateQueriesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDesignationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DesignationWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDepartmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountAudit_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AuditLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountFinancial_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FinancialYearWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDocument_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountFile_upload_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FileUploadLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDevice_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountImport_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountImport_job_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobLineItemWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountPoliciesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PoliciesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApp_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AppversionsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_workflowsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_process_job_workflowsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWorkflowWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_workflow_approver_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowApproverTagWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_workflow_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_process_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApproval_process_job_workflow_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWorkflowUserWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDelegationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DelegationWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountAbout_lcpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AboutLCPWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountSchema_chunksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: SchemaChunkWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountOpenai_usage_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: OpenaiUsageLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountEmbedding_vector_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: EmbeddingVectorLogsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountQuery_execution_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: QueryExecutionLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountChild_processesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountChild_process_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessLogWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountCarousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountCarousel_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateLineItemWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountScheduled_job_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ScheduledJobLogsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountScheduled_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ScheduledJobWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountApp_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountTheme_attributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeAttributesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountThemesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountTheme_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountBarcodeTemplatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountUser_login_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserLoginHistoryWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDirect_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDelivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNotesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDelivery_note_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNoteLineItemsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountCustomers_delivery_addressesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerDeliveryAddressesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentCustomersWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountVehiclesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountVehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountGeofencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFencesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountGeofence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFenceTrackingWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountCustomer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerGeoFenceMappingWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountDelivery_note_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNoteStatusWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountErp_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ErpLogsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountErp_logs_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ErpLogsLineItemsWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountVehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleUserMappingWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountVehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountTemp_session_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: TempSessionDataWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentStatusWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_status_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentStatusHistoryWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountPod_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PodStatusWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountVehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleTripHistoriesWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountShipment_location_contact_info_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentLocationContactInfoHistoryWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountTree_builder_examplesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: TreeBuilderExampleWhereInput
  }

  /**
   * StatusCountOutputType without action
   */
  export type StatusCountOutputTypeCountUser_search_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: userSearchConfigurationWhereInput
  }


  /**
   * Count Type CategoryTypesCountOutputType
   */

  export type CategoryTypesCountOutputType = {
    categories: number
  }

  export type CategoryTypesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    categories?: boolean | CategoryTypesCountOutputTypeCountCategoriesArgs
  }

  // Custom InputTypes
  /**
   * CategoryTypesCountOutputType without action
   */
  export type CategoryTypesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypesCountOutputType
     */
    select?: CategoryTypesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * CategoryTypesCountOutputType without action
   */
  export type CategoryTypesCountOutputTypeCountCategoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
  }


  /**
   * Count Type CategoriesCountOutputType
   */

  export type CategoriesCountOutputType = {
    configurations: number
    user_configurations: number
  }

  export type CategoriesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    configurations?: boolean | CategoriesCountOutputTypeCountConfigurationsArgs
    user_configurations?: boolean | CategoriesCountOutputTypeCountUser_configurationsArgs
  }

  // Custom InputTypes
  /**
   * CategoriesCountOutputType without action
   */
  export type CategoriesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoriesCountOutputType
     */
    select?: CategoriesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * CategoriesCountOutputType without action
   */
  export type CategoriesCountOutputTypeCountConfigurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ConfigurationsWhereInput
  }

  /**
   * CategoriesCountOutputType without action
   */
  export type CategoriesCountOutputTypeCountUser_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserConfigurationsWhereInput
  }


  /**
   * Count Type PoliciesCountOutputType
   */

  export type PoliciesCountOutputType = {
    user_policy: number
    role_policy: number
  }

  export type PoliciesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user_policy?: boolean | PoliciesCountOutputTypeCountUser_policyArgs
    role_policy?: boolean | PoliciesCountOutputTypeCountRole_policyArgs
  }

  // Custom InputTypes
  /**
   * PoliciesCountOutputType without action
   */
  export type PoliciesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PoliciesCountOutputType
     */
    select?: PoliciesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * PoliciesCountOutputType without action
   */
  export type PoliciesCountOutputTypeCountUser_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPoliciesWhereInput
  }

  /**
   * PoliciesCountOutputType without action
   */
  export type PoliciesCountOutputTypeCountRole_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePoliciesWhereInput
  }


  /**
   * Count Type ScheduledJobCountOutputType
   */

  export type ScheduledJobCountOutputType = {
    scheduled_job_logs: number
  }

  export type ScheduledJobCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    scheduled_job_logs?: boolean | ScheduledJobCountOutputTypeCountScheduled_job_logsArgs
  }

  // Custom InputTypes
  /**
   * ScheduledJobCountOutputType without action
   */
  export type ScheduledJobCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobCountOutputType
     */
    select?: ScheduledJobCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ScheduledJobCountOutputType without action
   */
  export type ScheduledJobCountOutputTypeCountScheduled_job_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ScheduledJobLogsWhereInput
  }


  /**
   * Count Type ApprovalWorkflowCountOutputType
   */

  export type ApprovalWorkflowCountOutputType = {
    approval_workflow_assignments: number
  }

  export type ApprovalWorkflowCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_workflow_assignments?: boolean | ApprovalWorkflowCountOutputTypeCountApproval_workflow_assignmentsArgs
  }

  // Custom InputTypes
  /**
   * ApprovalWorkflowCountOutputType without action
   */
  export type ApprovalWorkflowCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowCountOutputType
     */
    select?: ApprovalWorkflowCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ApprovalWorkflowCountOutputType without action
   */
  export type ApprovalWorkflowCountOutputTypeCountApproval_workflow_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
  }


  /**
   * Count Type ApprovalProcessJobWorkflowCountOutputType
   */

  export type ApprovalProcessJobWorkflowCountOutputType = {
    approval_process_job_workflow_users: number
  }

  export type ApprovalProcessJobWorkflowCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_process_job_workflow_users?: boolean | ApprovalProcessJobWorkflowCountOutputTypeCountApproval_process_job_workflow_usersArgs
  }

  // Custom InputTypes
  /**
   * ApprovalProcessJobWorkflowCountOutputType without action
   */
  export type ApprovalProcessJobWorkflowCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowCountOutputType
     */
    select?: ApprovalProcessJobWorkflowCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ApprovalProcessJobWorkflowCountOutputType without action
   */
  export type ApprovalProcessJobWorkflowCountOutputTypeCountApproval_process_job_workflow_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWorkflowUserWhereInput
  }


  /**
   * Count Type ChildProcessCountOutputType
   */

  export type ChildProcessCountOutputType = {
    child_process_logs: number
  }

  export type ChildProcessCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    child_process_logs?: boolean | ChildProcessCountOutputTypeCountChild_process_logsArgs
  }

  // Custom InputTypes
  /**
   * ChildProcessCountOutputType without action
   */
  export type ChildProcessCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessCountOutputType
     */
    select?: ChildProcessCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ChildProcessCountOutputType without action
   */
  export type ChildProcessCountOutputTypeCountChild_process_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessLogWhereInput
  }


  /**
   * Count Type ThemesCountOutputType
   */

  export type ThemesCountOutputType = {
    theme_attributes: number
  }

  export type ThemesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    theme_attributes?: boolean | ThemesCountOutputTypeCountTheme_attributesArgs
  }

  // Custom InputTypes
  /**
   * ThemesCountOutputType without action
   */
  export type ThemesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemesCountOutputType
     */
    select?: ThemesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ThemesCountOutputType without action
   */
  export type ThemesCountOutputTypeCountTheme_attributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
  }


  /**
   * Count Type TreeBuilderExampleCountOutputType
   */

  export type TreeBuilderExampleCountOutputType = {
    children: number
  }

  export type TreeBuilderExampleCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    children?: boolean | TreeBuilderExampleCountOutputTypeCountChildrenArgs
  }

  // Custom InputTypes
  /**
   * TreeBuilderExampleCountOutputType without action
   */
  export type TreeBuilderExampleCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExampleCountOutputType
     */
    select?: TreeBuilderExampleCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * TreeBuilderExampleCountOutputType without action
   */
  export type TreeBuilderExampleCountOutputTypeCountChildrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: TreeBuilderExampleWhereInput
  }


  /**
   * Count Type DeliveryNotesCountOutputType
   */

  export type DeliveryNotesCountOutputType = {
    delivery_note_line_items: number
    shipment_delivery_notes: number
  }

  export type DeliveryNotesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_note_line_items?: boolean | DeliveryNotesCountOutputTypeCountDelivery_note_line_itemsArgs
    shipment_delivery_notes?: boolean | DeliveryNotesCountOutputTypeCountShipment_delivery_notesArgs
  }

  // Custom InputTypes
  /**
   * DeliveryNotesCountOutputType without action
   */
  export type DeliveryNotesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotesCountOutputType
     */
    select?: DeliveryNotesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * DeliveryNotesCountOutputType without action
   */
  export type DeliveryNotesCountOutputTypeCountDelivery_note_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNoteLineItemsWhereInput
  }

  /**
   * DeliveryNotesCountOutputType without action
   */
  export type DeliveryNotesCountOutputTypeCountShipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
  }


  /**
   * Count Type DeliveryNoteStatusCountOutputType
   */

  export type DeliveryNoteStatusCountOutputType = {
    delivery_notes: number
  }

  export type DeliveryNoteStatusCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_notes?: boolean | DeliveryNoteStatusCountOutputTypeCountDelivery_notesArgs
  }

  // Custom InputTypes
  /**
   * DeliveryNoteStatusCountOutputType without action
   */
  export type DeliveryNoteStatusCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatusCountOutputType
     */
    select?: DeliveryNoteStatusCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * DeliveryNoteStatusCountOutputType without action
   */
  export type DeliveryNoteStatusCountOutputTypeCountDelivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNotesWhereInput
  }


  /**
   * Count Type CustomerDeliveryAddressesCountOutputType
   */

  export type CustomerDeliveryAddressesCountOutputType = {
    delivery_notes: number
    shipment_location: number
  }

  export type CustomerDeliveryAddressesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_notes?: boolean | CustomerDeliveryAddressesCountOutputTypeCountDelivery_notesArgs
    shipment_location?: boolean | CustomerDeliveryAddressesCountOutputTypeCountShipment_locationArgs
  }

  // Custom InputTypes
  /**
   * CustomerDeliveryAddressesCountOutputType without action
   */
  export type CustomerDeliveryAddressesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddressesCountOutputType
     */
    select?: CustomerDeliveryAddressesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * CustomerDeliveryAddressesCountOutputType without action
   */
  export type CustomerDeliveryAddressesCountOutputTypeCountDelivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNotesWhereInput
  }

  /**
   * CustomerDeliveryAddressesCountOutputType without action
   */
  export type CustomerDeliveryAddressesCountOutputTypeCountShipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }


  /**
   * Count Type ShipmentsCountOutputType
   */

  export type ShipmentsCountOutputType = {
    shipment_customers: number
    shipment_location: number
    shipment_delivery_notes: number
    vehicle_geofence_history: number
  }

  export type ShipmentsCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipment_customers?: boolean | ShipmentsCountOutputTypeCountShipment_customersArgs
    shipment_location?: boolean | ShipmentsCountOutputTypeCountShipment_locationArgs
    shipment_delivery_notes?: boolean | ShipmentsCountOutputTypeCountShipment_delivery_notesArgs
    vehicle_geofence_history?: boolean | ShipmentsCountOutputTypeCountVehicle_geofence_historyArgs
  }

  // Custom InputTypes
  /**
   * ShipmentsCountOutputType without action
   */
  export type ShipmentsCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsCountOutputType
     */
    select?: ShipmentsCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ShipmentsCountOutputType without action
   */
  export type ShipmentsCountOutputTypeCountShipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentCustomersWhereInput
  }

  /**
   * ShipmentsCountOutputType without action
   */
  export type ShipmentsCountOutputTypeCountShipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }

  /**
   * ShipmentsCountOutputType without action
   */
  export type ShipmentsCountOutputTypeCountShipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
  }

  /**
   * ShipmentsCountOutputType without action
   */
  export type ShipmentsCountOutputTypeCountVehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }


  /**
   * Count Type ShipmentCustomersCountOutputType
   */

  export type ShipmentCustomersCountOutputType = {
    shipment_location: number
  }

  export type ShipmentCustomersCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipment_location?: boolean | ShipmentCustomersCountOutputTypeCountShipment_locationArgs
  }

  // Custom InputTypes
  /**
   * ShipmentCustomersCountOutputType without action
   */
  export type ShipmentCustomersCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomersCountOutputType
     */
    select?: ShipmentCustomersCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ShipmentCustomersCountOutputType without action
   */
  export type ShipmentCustomersCountOutputTypeCountShipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }


  /**
   * Count Type ShipmentsLocationCountOutputType
   */

  export type ShipmentsLocationCountOutputType = {
    shipment_delivery_notes: number
  }

  export type ShipmentsLocationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipment_delivery_notes?: boolean | ShipmentsLocationCountOutputTypeCountShipment_delivery_notesArgs
  }

  // Custom InputTypes
  /**
   * ShipmentsLocationCountOutputType without action
   */
  export type ShipmentsLocationCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocationCountOutputType
     */
    select?: ShipmentsLocationCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ShipmentsLocationCountOutputType without action
   */
  export type ShipmentsLocationCountOutputTypeCountShipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
  }


  /**
   * Count Type VehiclesCountOutputType
   */

  export type VehiclesCountOutputType = {
    vehicle_gps_data: number
    vehicle_gps_data_log: number
    geo_fence_tracking: number
    vehicle_user_mapping: number
    vehicle_geofence_history: number
    shipments: number
    vehicle_trip_histories: number
  }

  export type VehiclesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle_gps_data?: boolean | VehiclesCountOutputTypeCountVehicle_gps_dataArgs
    vehicle_gps_data_log?: boolean | VehiclesCountOutputTypeCountVehicle_gps_data_logArgs
    geo_fence_tracking?: boolean | VehiclesCountOutputTypeCountGeo_fence_trackingArgs
    vehicle_user_mapping?: boolean | VehiclesCountOutputTypeCountVehicle_user_mappingArgs
    vehicle_geofence_history?: boolean | VehiclesCountOutputTypeCountVehicle_geofence_historyArgs
    shipments?: boolean | VehiclesCountOutputTypeCountShipmentsArgs
    vehicle_trip_histories?: boolean | VehiclesCountOutputTypeCountVehicle_trip_historiesArgs
  }

  // Custom InputTypes
  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesCountOutputType
     */
    select?: VehiclesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountVehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountVehicle_gps_data_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataLogWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountGeo_fence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFenceTrackingWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountVehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleUserMappingWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountVehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountShipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsWhereInput
  }

  /**
   * VehiclesCountOutputType without action
   */
  export type VehiclesCountOutputTypeCountVehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleTripHistoriesWhereInput
  }


  /**
   * Count Type GeoFencesCountOutputType
   */

  export type GeoFencesCountOutputType = {
    geofence_tracking: number
    customer_geofence_mapping: number
    vehicle_geofence_history: number
  }

  export type GeoFencesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    geofence_tracking?: boolean | GeoFencesCountOutputTypeCountGeofence_trackingArgs
    customer_geofence_mapping?: boolean | GeoFencesCountOutputTypeCountCustomer_geofence_mappingArgs
    vehicle_geofence_history?: boolean | GeoFencesCountOutputTypeCountVehicle_geofence_historyArgs
  }

  // Custom InputTypes
  /**
   * GeoFencesCountOutputType without action
   */
  export type GeoFencesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFencesCountOutputType
     */
    select?: GeoFencesCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * GeoFencesCountOutputType without action
   */
  export type GeoFencesCountOutputTypeCountGeofence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFenceTrackingWhereInput
  }

  /**
   * GeoFencesCountOutputType without action
   */
  export type GeoFencesCountOutputTypeCountCustomer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerGeoFenceMappingWhereInput
  }

  /**
   * GeoFencesCountOutputType without action
   */
  export type GeoFencesCountOutputTypeCountVehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
  }


  /**
   * Count Type ErpLogsCountOutputType
   */

  export type ErpLogsCountOutputType = {
    erp_logs_line_items: number
  }

  export type ErpLogsCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    erp_logs_line_items?: boolean | ErpLogsCountOutputTypeCountErp_logs_line_itemsArgs
  }

  // Custom InputTypes
  /**
   * ErpLogsCountOutputType without action
   */
  export type ErpLogsCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsCountOutputType
     */
    select?: ErpLogsCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ErpLogsCountOutputType without action
   */
  export type ErpLogsCountOutputTypeCountErp_logs_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ErpLogsLineItemsWhereInput
  }


  /**
   * Count Type ShipmentStatusCountOutputType
   */

  export type ShipmentStatusCountOutputType = {
    shipments: number
    shipment_customers: number
    shipment_location: number
    shipment_delivery_notes: number
  }

  export type ShipmentStatusCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipments?: boolean | ShipmentStatusCountOutputTypeCountShipmentsArgs
    shipment_customers?: boolean | ShipmentStatusCountOutputTypeCountShipment_customersArgs
    shipment_location?: boolean | ShipmentStatusCountOutputTypeCountShipment_locationArgs
    shipment_delivery_notes?: boolean | ShipmentStatusCountOutputTypeCountShipment_delivery_notesArgs
  }

  // Custom InputTypes
  /**
   * ShipmentStatusCountOutputType without action
   */
  export type ShipmentStatusCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusCountOutputType
     */
    select?: ShipmentStatusCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * ShipmentStatusCountOutputType without action
   */
  export type ShipmentStatusCountOutputTypeCountShipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsWhereInput
  }

  /**
   * ShipmentStatusCountOutputType without action
   */
  export type ShipmentStatusCountOutputTypeCountShipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentCustomersWhereInput
  }

  /**
   * ShipmentStatusCountOutputType without action
   */
  export type ShipmentStatusCountOutputTypeCountShipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }

  /**
   * ShipmentStatusCountOutputType without action
   */
  export type ShipmentStatusCountOutputTypeCountShipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
  }


  /**
   * Count Type PodStatusCountOutputType
   */

  export type PodStatusCountOutputType = {
    shipments_location: number
  }

  export type PodStatusCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipments_location?: boolean | PodStatusCountOutputTypeCountShipments_locationArgs
  }

  // Custom InputTypes
  /**
   * PodStatusCountOutputType without action
   */
  export type PodStatusCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatusCountOutputType
     */
    select?: PodStatusCountOutputTypeSelect<ExtArgs> | null
  }

  /**
   * PodStatusCountOutputType without action
   */
  export type PodStatusCountOutputTypeCountShipments_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
  }


  /**
   * Models
   */

  /**
   * Model User
   */

  export type AggregateUser = {
    _count: UserCountAggregateOutputType | null
    _avg: UserAvgAggregateOutputType | null
    _sum: UserSumAggregateOutputType | null
    _min: UserMinAggregateOutputType | null
    _max: UserMaxAggregateOutputType | null
  }

  export type UserAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    allow_login_web: number | null
    allow_login_mobile: number | null
  }

  export type UserSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    allow_login_web: number | null
    allow_login_mobile: number | null
  }

  export type UserMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    username: string | null
    email: string | null
    email_verified: boolean | null
    password: string | null
    status_id: number | null
    role: $Enums.UserRole | null
    process_status: $Enums.ProcessStatus | null
    is_drafted: boolean | null
    reason: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    last_login: Date | null
    last_login_device: string | null
    allow_login_web: number | null
    allow_login_mobile: number | null
  }

  export type UserMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    username: string | null
    email: string | null
    email_verified: boolean | null
    password: string | null
    status_id: number | null
    role: $Enums.UserRole | null
    process_status: $Enums.ProcessStatus | null
    is_drafted: boolean | null
    reason: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    last_login: Date | null
    last_login_device: string | null
    allow_login_web: number | null
    allow_login_mobile: number | null
  }

  export type UserCountAggregateOutputType = {
    id: number
    uuid: number
    username: number
    email: number
    email_verified: number
    password: number
    status_id: number
    role: number
    process_status: number
    is_drafted: number
    reason: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    last_login: number
    last_login_device: number
    allow_login_web: number
    allow_login_mobile: number
    _all: number
  }


  export type UserAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    allow_login_web?: true
    allow_login_mobile?: true
  }

  export type UserSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    allow_login_web?: true
    allow_login_mobile?: true
  }

  export type UserMinAggregateInputType = {
    id?: true
    uuid?: true
    username?: true
    email?: true
    email_verified?: true
    password?: true
    status_id?: true
    role?: true
    process_status?: true
    is_drafted?: true
    reason?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    last_login?: true
    last_login_device?: true
    allow_login_web?: true
    allow_login_mobile?: true
  }

  export type UserMaxAggregateInputType = {
    id?: true
    uuid?: true
    username?: true
    email?: true
    email_verified?: true
    password?: true
    status_id?: true
    role?: true
    process_status?: true
    is_drafted?: true
    reason?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    last_login?: true
    last_login_device?: true
    allow_login_web?: true
    allow_login_mobile?: true
  }

  export type UserCountAggregateInputType = {
    id?: true
    uuid?: true
    username?: true
    email?: true
    email_verified?: true
    password?: true
    status_id?: true
    role?: true
    process_status?: true
    is_drafted?: true
    reason?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    last_login?: true
    last_login_device?: true
    allow_login_web?: true
    allow_login_mobile?: true
    _all?: true
  }

  export type UserAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which User to aggregate.
     */
    where?: UserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Users to fetch.
     */
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Users from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Users.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Users
    **/
    _count?: true | UserCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserMaxAggregateInputType
  }

  export type GetUserAggregateType<T extends UserAggregateArgs> = {
        [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUser[P]>
      : GetScalarType<T[P], AggregateUser[P]>
  }




  export type UserGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserWhereInput
    orderBy?: UserOrderByWithAggregationInput | UserOrderByWithAggregationInput[]
    by: UserScalarFieldEnum[] | UserScalarFieldEnum
    having?: UserScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserCountAggregateInputType | true
    _avg?: UserAvgAggregateInputType
    _sum?: UserSumAggregateInputType
    _min?: UserMinAggregateInputType
    _max?: UserMaxAggregateInputType
  }

  export type UserGroupByOutputType = {
    id: number
    uuid: string
    username: string
    email: string
    email_verified: boolean
    password: string | null
    status_id: number
    role: $Enums.UserRole
    process_status: $Enums.ProcessStatus
    is_drafted: boolean
    reason: string | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    last_login: Date | null
    last_login_device: string | null
    allow_login_web: number
    allow_login_mobile: number
    _count: UserCountAggregateOutputType | null
    _avg: UserAvgAggregateOutputType | null
    _sum: UserSumAggregateOutputType | null
    _min: UserMinAggregateOutputType | null
    _max: UserMaxAggregateOutputType | null
  }

  type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserGroupByOutputType[P]>
            : GetScalarType<T[P], UserGroupByOutputType[P]>
        }
      >
    >


  export type UserSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    username?: boolean
    email?: boolean
    email_verified?: boolean
    password?: boolean
    status_id?: boolean
    role?: boolean
    process_status?: boolean
    is_drafted?: boolean
    reason?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    last_login?: boolean
    last_login_device?: boolean
    allow_login_web?: boolean
    allow_login_mobile?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user_detail?: boolean | User$user_detailArgs<ExtArgs>
    request_logs?: boolean | User$request_logsArgs<ExtArgs>
    roles?: boolean | User$rolesArgs<ExtArgs>
    permissions?: boolean | User$permissionsArgs<ExtArgs>
    otps?: boolean | User$otpsArgs<ExtArgs>
    created?: boolean | User$createdArgs<ExtArgs>
    updated?: boolean | User$updatedArgs<ExtArgs>
    deleted?: boolean | User$deletedArgs<ExtArgs>
    created_users?: boolean | User$created_usersArgs<ExtArgs>
    updated_users?: boolean | User$updated_usersArgs<ExtArgs>
    deleted_users?: boolean | User$deleted_usersArgs<ExtArgs>
    created_user_details?: boolean | User$created_user_detailsArgs<ExtArgs>
    updated_user_details?: boolean | User$updated_user_detailsArgs<ExtArgs>
    deleted_user_details?: boolean | User$deleted_user_detailsArgs<ExtArgs>
    created_roles?: boolean | User$created_rolesArgs<ExtArgs>
    updated_roles?: boolean | User$updated_rolesArgs<ExtArgs>
    deleted_roles?: boolean | User$deleted_rolesArgs<ExtArgs>
    created_languages?: boolean | User$created_languagesArgs<ExtArgs>
    updated_languages?: boolean | User$updated_languagesArgs<ExtArgs>
    deleted_languages?: boolean | User$deleted_languagesArgs<ExtArgs>
    created_menus?: boolean | User$created_menusArgs<ExtArgs>
    updated_menus?: boolean | User$updated_menusArgs<ExtArgs>
    deleted_menus?: boolean | User$deleted_menusArgs<ExtArgs>
    created_menu_items?: boolean | User$created_menu_itemsArgs<ExtArgs>
    updated_menu_items?: boolean | User$updated_menu_itemsArgs<ExtArgs>
    deleted_menu_items?: boolean | User$deleted_menu_itemsArgs<ExtArgs>
    created_notification_templates?: boolean | User$created_notification_templatesArgs<ExtArgs>
    updated_notification_templates?: boolean | User$updated_notification_templatesArgs<ExtArgs>
    deleted_notification_templates?: boolean | User$deleted_notification_templatesArgs<ExtArgs>
    created_notification_template_assignments?: boolean | User$created_notification_template_assignmentsArgs<ExtArgs>
    created_notification_process_jobs?: boolean | User$created_notification_process_jobsArgs<ExtArgs>
    created_notification_job?: boolean | User$created_notification_jobArgs<ExtArgs>
    created_import_templates?: boolean | User$created_import_templatesArgs<ExtArgs>
    updated_import_templates?: boolean | User$updated_import_templatesArgs<ExtArgs>
    deleted_import_templates?: boolean | User$deleted_import_templatesArgs<ExtArgs>
    created_carousel_templates?: boolean | User$created_carousel_templatesArgs<ExtArgs>
    updated_carousel_templates?: boolean | User$updated_carousel_templatesArgs<ExtArgs>
    deleted_carousel_templates?: boolean | User$deleted_carousel_templatesArgs<ExtArgs>
    created_export_templates?: boolean | User$created_export_templatesArgs<ExtArgs>
    updated_export_templates?: boolean | User$updated_export_templatesArgs<ExtArgs>
    deleted_export_templates?: boolean | User$deleted_export_templatesArgs<ExtArgs>
    created_departments?: boolean | User$created_departmentsArgs<ExtArgs>
    head_departments?: boolean | User$head_departmentsArgs<ExtArgs>
    updated_departments?: boolean | User$updated_departmentsArgs<ExtArgs>
    deleted_departments?: boolean | User$deleted_departmentsArgs<ExtArgs>
    created_designations?: boolean | User$created_designationsArgs<ExtArgs>
    updated_designations?: boolean | User$updated_designationsArgs<ExtArgs>
    deleted_designations?: boolean | User$deleted_designationsArgs<ExtArgs>
    audit_logs?: boolean | User$audit_logsArgs<ExtArgs>
    created_category_types?: boolean | User$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | User$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | User$deleted_category_typesArgs<ExtArgs>
    created_categories?: boolean | User$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | User$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | User$deleted_categoriesArgs<ExtArgs>
    created_configurations?: boolean | User$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | User$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | User$deleted_configurationsArgs<ExtArgs>
    created_user_configurations?: boolean | User$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | User$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | User$deleted_user_configurationsArgs<ExtArgs>
    created_fin_years?: boolean | User$created_fin_yearsArgs<ExtArgs>
    updated_fin_years?: boolean | User$updated_fin_yearsArgs<ExtArgs>
    deleted_fin_years?: boolean | User$deleted_fin_yearsArgs<ExtArgs>
    created_doc_sequences?: boolean | User$created_doc_sequencesArgs<ExtArgs>
    updated_doc_sequences?: boolean | User$updated_doc_sequencesArgs<ExtArgs>
    deleted_doc_sequences?: boolean | User$deleted_doc_sequencesArgs<ExtArgs>
    created_device_registration?: boolean | User$created_device_registrationArgs<ExtArgs>
    updated_device_registration?: boolean | User$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | User$deleted_device_registrationArgs<ExtArgs>
    DeviceRegistration?: boolean | User$DeviceRegistrationArgs<ExtArgs>
    created_import_job?: boolean | User$created_import_jobArgs<ExtArgs>
    updated_import_job?: boolean | User$updated_import_jobArgs<ExtArgs>
    deleted_import_job?: boolean | User$deleted_import_jobArgs<ExtArgs>
    created_direct_import_details?: boolean | User$created_direct_import_detailsArgs<ExtArgs>
    updated_direct_import_details?: boolean | User$updated_direct_import_detailsArgs<ExtArgs>
    deleted_direct_import_details?: boolean | User$deleted_direct_import_detailsArgs<ExtArgs>
    user_policy?: boolean | User$user_policyArgs<ExtArgs>
    created_policy?: boolean | User$created_policyArgs<ExtArgs>
    updated_policy?: boolean | User$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | User$deleted_policyArgs<ExtArgs>
    created_app_versions?: boolean | User$created_app_versionsArgs<ExtArgs>
    updated_app_versions?: boolean | User$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | User$deleted_app_versionsArgs<ExtArgs>
    CreatedTheme?: boolean | User$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | User$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | User$DeletedThemeArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | User$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | User$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | User$DeletedThemeLineItemsArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | User$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | User$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | User$DeletedThemeAttributesArgs<ExtArgs>
    ChildProcessLog?: boolean | User$ChildProcessLogArgs<ExtArgs>
    customer_geofence_mapping?: boolean | User$customer_geofence_mappingArgs<ExtArgs>
    vehicle_user_mapping?: boolean | User$vehicle_user_mappingArgs<ExtArgs>
    delivery_notes?: boolean | User$delivery_notesArgs<ExtArgs>
    vehicle_gps_data?: boolean | User$vehicle_gps_dataArgs<ExtArgs>
    vehicle_gps_data_log?: boolean | User$vehicle_gps_data_logArgs<ExtArgs>
    vehicle_geofence_history_driver?: boolean | User$vehicle_geofence_history_driverArgs<ExtArgs>
    vehicle_geofence_history_customer?: boolean | User$vehicle_geofence_history_customerArgs<ExtArgs>
    shipment_customers?: boolean | User$shipment_customersArgs<ExtArgs>
    vehicle_trip_histories?: boolean | User$vehicle_trip_historiesArgs<ExtArgs>
    created_barcode_templates?: boolean | User$created_barcode_templatesArgs<ExtArgs>
    updated_barcode_templates?: boolean | User$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | User$deleted_barcode_templatesArgs<ExtArgs>
    user_login_histories?: boolean | User$user_login_historiesArgs<ExtArgs>
    _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["user"]>

  export type UserSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    username?: boolean
    email?: boolean
    email_verified?: boolean
    password?: boolean
    status_id?: boolean
    role?: boolean
    process_status?: boolean
    is_drafted?: boolean
    reason?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    last_login?: boolean
    last_login_device?: boolean
    allow_login_web?: boolean
    allow_login_mobile?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | User$createdArgs<ExtArgs>
    updated?: boolean | User$updatedArgs<ExtArgs>
    deleted?: boolean | User$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["user"]>

  export type UserSelectScalar = {
    id?: boolean
    uuid?: boolean
    username?: boolean
    email?: boolean
    email_verified?: boolean
    password?: boolean
    status_id?: boolean
    role?: boolean
    process_status?: boolean
    is_drafted?: boolean
    reason?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    last_login?: boolean
    last_login_device?: boolean
    allow_login_web?: boolean
    allow_login_mobile?: boolean
  }

  export type UserInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user_detail?: boolean | User$user_detailArgs<ExtArgs>
    request_logs?: boolean | User$request_logsArgs<ExtArgs>
    roles?: boolean | User$rolesArgs<ExtArgs>
    permissions?: boolean | User$permissionsArgs<ExtArgs>
    otps?: boolean | User$otpsArgs<ExtArgs>
    created?: boolean | User$createdArgs<ExtArgs>
    updated?: boolean | User$updatedArgs<ExtArgs>
    deleted?: boolean | User$deletedArgs<ExtArgs>
    created_users?: boolean | User$created_usersArgs<ExtArgs>
    updated_users?: boolean | User$updated_usersArgs<ExtArgs>
    deleted_users?: boolean | User$deleted_usersArgs<ExtArgs>
    created_user_details?: boolean | User$created_user_detailsArgs<ExtArgs>
    updated_user_details?: boolean | User$updated_user_detailsArgs<ExtArgs>
    deleted_user_details?: boolean | User$deleted_user_detailsArgs<ExtArgs>
    created_roles?: boolean | User$created_rolesArgs<ExtArgs>
    updated_roles?: boolean | User$updated_rolesArgs<ExtArgs>
    deleted_roles?: boolean | User$deleted_rolesArgs<ExtArgs>
    created_languages?: boolean | User$created_languagesArgs<ExtArgs>
    updated_languages?: boolean | User$updated_languagesArgs<ExtArgs>
    deleted_languages?: boolean | User$deleted_languagesArgs<ExtArgs>
    created_menus?: boolean | User$created_menusArgs<ExtArgs>
    updated_menus?: boolean | User$updated_menusArgs<ExtArgs>
    deleted_menus?: boolean | User$deleted_menusArgs<ExtArgs>
    created_menu_items?: boolean | User$created_menu_itemsArgs<ExtArgs>
    updated_menu_items?: boolean | User$updated_menu_itemsArgs<ExtArgs>
    deleted_menu_items?: boolean | User$deleted_menu_itemsArgs<ExtArgs>
    created_notification_templates?: boolean | User$created_notification_templatesArgs<ExtArgs>
    updated_notification_templates?: boolean | User$updated_notification_templatesArgs<ExtArgs>
    deleted_notification_templates?: boolean | User$deleted_notification_templatesArgs<ExtArgs>
    created_notification_template_assignments?: boolean | User$created_notification_template_assignmentsArgs<ExtArgs>
    created_notification_process_jobs?: boolean | User$created_notification_process_jobsArgs<ExtArgs>
    created_notification_job?: boolean | User$created_notification_jobArgs<ExtArgs>
    created_import_templates?: boolean | User$created_import_templatesArgs<ExtArgs>
    updated_import_templates?: boolean | User$updated_import_templatesArgs<ExtArgs>
    deleted_import_templates?: boolean | User$deleted_import_templatesArgs<ExtArgs>
    created_carousel_templates?: boolean | User$created_carousel_templatesArgs<ExtArgs>
    updated_carousel_templates?: boolean | User$updated_carousel_templatesArgs<ExtArgs>
    deleted_carousel_templates?: boolean | User$deleted_carousel_templatesArgs<ExtArgs>
    created_export_templates?: boolean | User$created_export_templatesArgs<ExtArgs>
    updated_export_templates?: boolean | User$updated_export_templatesArgs<ExtArgs>
    deleted_export_templates?: boolean | User$deleted_export_templatesArgs<ExtArgs>
    created_departments?: boolean | User$created_departmentsArgs<ExtArgs>
    head_departments?: boolean | User$head_departmentsArgs<ExtArgs>
    updated_departments?: boolean | User$updated_departmentsArgs<ExtArgs>
    deleted_departments?: boolean | User$deleted_departmentsArgs<ExtArgs>
    created_designations?: boolean | User$created_designationsArgs<ExtArgs>
    updated_designations?: boolean | User$updated_designationsArgs<ExtArgs>
    deleted_designations?: boolean | User$deleted_designationsArgs<ExtArgs>
    audit_logs?: boolean | User$audit_logsArgs<ExtArgs>
    created_category_types?: boolean | User$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | User$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | User$deleted_category_typesArgs<ExtArgs>
    created_categories?: boolean | User$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | User$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | User$deleted_categoriesArgs<ExtArgs>
    created_configurations?: boolean | User$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | User$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | User$deleted_configurationsArgs<ExtArgs>
    created_user_configurations?: boolean | User$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | User$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | User$deleted_user_configurationsArgs<ExtArgs>
    created_fin_years?: boolean | User$created_fin_yearsArgs<ExtArgs>
    updated_fin_years?: boolean | User$updated_fin_yearsArgs<ExtArgs>
    deleted_fin_years?: boolean | User$deleted_fin_yearsArgs<ExtArgs>
    created_doc_sequences?: boolean | User$created_doc_sequencesArgs<ExtArgs>
    updated_doc_sequences?: boolean | User$updated_doc_sequencesArgs<ExtArgs>
    deleted_doc_sequences?: boolean | User$deleted_doc_sequencesArgs<ExtArgs>
    created_device_registration?: boolean | User$created_device_registrationArgs<ExtArgs>
    updated_device_registration?: boolean | User$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | User$deleted_device_registrationArgs<ExtArgs>
    DeviceRegistration?: boolean | User$DeviceRegistrationArgs<ExtArgs>
    created_import_job?: boolean | User$created_import_jobArgs<ExtArgs>
    updated_import_job?: boolean | User$updated_import_jobArgs<ExtArgs>
    deleted_import_job?: boolean | User$deleted_import_jobArgs<ExtArgs>
    created_direct_import_details?: boolean | User$created_direct_import_detailsArgs<ExtArgs>
    updated_direct_import_details?: boolean | User$updated_direct_import_detailsArgs<ExtArgs>
    deleted_direct_import_details?: boolean | User$deleted_direct_import_detailsArgs<ExtArgs>
    user_policy?: boolean | User$user_policyArgs<ExtArgs>
    created_policy?: boolean | User$created_policyArgs<ExtArgs>
    updated_policy?: boolean | User$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | User$deleted_policyArgs<ExtArgs>
    created_app_versions?: boolean | User$created_app_versionsArgs<ExtArgs>
    updated_app_versions?: boolean | User$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | User$deleted_app_versionsArgs<ExtArgs>
    CreatedTheme?: boolean | User$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | User$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | User$DeletedThemeArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | User$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | User$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | User$DeletedThemeLineItemsArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | User$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | User$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | User$DeletedThemeAttributesArgs<ExtArgs>
    ChildProcessLog?: boolean | User$ChildProcessLogArgs<ExtArgs>
    customer_geofence_mapping?: boolean | User$customer_geofence_mappingArgs<ExtArgs>
    vehicle_user_mapping?: boolean | User$vehicle_user_mappingArgs<ExtArgs>
    delivery_notes?: boolean | User$delivery_notesArgs<ExtArgs>
    vehicle_gps_data?: boolean | User$vehicle_gps_dataArgs<ExtArgs>
    vehicle_gps_data_log?: boolean | User$vehicle_gps_data_logArgs<ExtArgs>
    vehicle_geofence_history_driver?: boolean | User$vehicle_geofence_history_driverArgs<ExtArgs>
    vehicle_geofence_history_customer?: boolean | User$vehicle_geofence_history_customerArgs<ExtArgs>
    shipment_customers?: boolean | User$shipment_customersArgs<ExtArgs>
    vehicle_trip_histories?: boolean | User$vehicle_trip_historiesArgs<ExtArgs>
    created_barcode_templates?: boolean | User$created_barcode_templatesArgs<ExtArgs>
    updated_barcode_templates?: boolean | User$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | User$deleted_barcode_templatesArgs<ExtArgs>
    user_login_histories?: boolean | User$user_login_historiesArgs<ExtArgs>
    _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type UserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | User$createdArgs<ExtArgs>
    updated?: boolean | User$updatedArgs<ExtArgs>
    deleted?: boolean | User$deletedArgs<ExtArgs>
  }

  export type $UserPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "User"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      user_detail: Prisma.$UserDetailPayload<ExtArgs> | null
      request_logs: Prisma.$RequestLogPayload<ExtArgs>[]
      roles: Prisma.$UserRolesPayload<ExtArgs>[]
      permissions: Prisma.$UserPermissionsPayload<ExtArgs>[]
      otps: Prisma.$OtpPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      created_users: Prisma.$UserPayload<ExtArgs>[]
      updated_users: Prisma.$UserPayload<ExtArgs>[]
      deleted_users: Prisma.$UserPayload<ExtArgs>[]
      created_user_details: Prisma.$UserDetailPayload<ExtArgs>[]
      updated_user_details: Prisma.$UserDetailPayload<ExtArgs>[]
      deleted_user_details: Prisma.$UserDetailPayload<ExtArgs>[]
      created_roles: Prisma.$RolePayload<ExtArgs>[]
      updated_roles: Prisma.$RolePayload<ExtArgs>[]
      deleted_roles: Prisma.$RolePayload<ExtArgs>[]
      created_languages: Prisma.$LanguagePayload<ExtArgs>[]
      updated_languages: Prisma.$LanguagePayload<ExtArgs>[]
      deleted_languages: Prisma.$LanguagePayload<ExtArgs>[]
      created_menus: Prisma.$MenusPayload<ExtArgs>[]
      updated_menus: Prisma.$MenusPayload<ExtArgs>[]
      deleted_menus: Prisma.$MenusPayload<ExtArgs>[]
      created_menu_items: Prisma.$MenuItemsPayload<ExtArgs>[]
      updated_menu_items: Prisma.$MenuItemsPayload<ExtArgs>[]
      deleted_menu_items: Prisma.$MenuItemsPayload<ExtArgs>[]
      created_notification_templates: Prisma.$NotificationTemplatePayload<ExtArgs>[]
      updated_notification_templates: Prisma.$NotificationTemplatePayload<ExtArgs>[]
      deleted_notification_templates: Prisma.$NotificationTemplatePayload<ExtArgs>[]
      created_notification_template_assignments: Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>[]
      created_notification_process_jobs: Prisma.$NotificationProcessJobPayload<ExtArgs>[]
      created_notification_job: Prisma.$NotificationJobPayload<ExtArgs>[]
      created_import_templates: Prisma.$ImportTemplatePayload<ExtArgs>[]
      updated_import_templates: Prisma.$ImportTemplatePayload<ExtArgs>[]
      deleted_import_templates: Prisma.$ImportTemplatePayload<ExtArgs>[]
      created_carousel_templates: Prisma.$CarouselTemplatePayload<ExtArgs>[]
      updated_carousel_templates: Prisma.$CarouselTemplatePayload<ExtArgs>[]
      deleted_carousel_templates: Prisma.$CarouselTemplatePayload<ExtArgs>[]
      created_export_templates: Prisma.$ExportTemplatePayload<ExtArgs>[]
      updated_export_templates: Prisma.$ExportTemplatePayload<ExtArgs>[]
      deleted_export_templates: Prisma.$ExportTemplatePayload<ExtArgs>[]
      created_departments: Prisma.$DepartmentPayload<ExtArgs>[]
      head_departments: Prisma.$DepartmentPayload<ExtArgs>[]
      updated_departments: Prisma.$DepartmentPayload<ExtArgs>[]
      deleted_departments: Prisma.$DepartmentPayload<ExtArgs>[]
      created_designations: Prisma.$DesignationPayload<ExtArgs>[]
      updated_designations: Prisma.$DesignationPayload<ExtArgs>[]
      deleted_designations: Prisma.$DesignationPayload<ExtArgs>[]
      audit_logs: Prisma.$AuditLogPayload<ExtArgs>[]
      created_category_types: Prisma.$CategoryTypesPayload<ExtArgs>[]
      updated_category_types: Prisma.$CategoryTypesPayload<ExtArgs>[]
      deleted_category_types: Prisma.$CategoryTypesPayload<ExtArgs>[]
      created_categories: Prisma.$CategoriesPayload<ExtArgs>[]
      updated_categories: Prisma.$CategoriesPayload<ExtArgs>[]
      deleted_categories: Prisma.$CategoriesPayload<ExtArgs>[]
      created_configurations: Prisma.$ConfigurationsPayload<ExtArgs>[]
      updated_configurations: Prisma.$ConfigurationsPayload<ExtArgs>[]
      deleted_configurations: Prisma.$ConfigurationsPayload<ExtArgs>[]
      created_user_configurations: Prisma.$UserConfigurationsPayload<ExtArgs>[]
      updated_user_configurations: Prisma.$UserConfigurationsPayload<ExtArgs>[]
      deleted_user_configurations: Prisma.$UserConfigurationsPayload<ExtArgs>[]
      created_fin_years: Prisma.$FinancialYearPayload<ExtArgs>[]
      updated_fin_years: Prisma.$FinancialYearPayload<ExtArgs>[]
      deleted_fin_years: Prisma.$FinancialYearPayload<ExtArgs>[]
      created_doc_sequences: Prisma.$DocumentSequencePayload<ExtArgs>[]
      updated_doc_sequences: Prisma.$DocumentSequencePayload<ExtArgs>[]
      deleted_doc_sequences: Prisma.$DocumentSequencePayload<ExtArgs>[]
      created_device_registration: Prisma.$DeviceRegistrationPayload<ExtArgs>[]
      updated_device_registration: Prisma.$DeviceRegistrationPayload<ExtArgs>[]
      deleted_device_registration: Prisma.$DeviceRegistrationPayload<ExtArgs>[]
      DeviceRegistration: Prisma.$DeviceRegistrationPayload<ExtArgs>[]
      created_import_job: Prisma.$ImportJobPayload<ExtArgs>[]
      updated_import_job: Prisma.$ImportJobPayload<ExtArgs>[]
      deleted_import_job: Prisma.$ImportJobPayload<ExtArgs>[]
      created_direct_import_details: Prisma.$DirectImportDetailsPayload<ExtArgs>[]
      updated_direct_import_details: Prisma.$DirectImportDetailsPayload<ExtArgs>[]
      deleted_direct_import_details: Prisma.$DirectImportDetailsPayload<ExtArgs>[]
      user_policy: Prisma.$UserPoliciesPayload<ExtArgs>[]
      created_policy: Prisma.$PoliciesPayload<ExtArgs>[]
      updated_policy: Prisma.$PoliciesPayload<ExtArgs>[]
      deleted_policy: Prisma.$PoliciesPayload<ExtArgs>[]
      created_app_versions: Prisma.$AppversionsPayload<ExtArgs>[]
      updated_app_versions: Prisma.$AppversionsPayload<ExtArgs>[]
      deleted_app_versions: Prisma.$AppversionsPayload<ExtArgs>[]
      CreatedTheme: Prisma.$ThemesPayload<ExtArgs>[]
      UpdatedTheme: Prisma.$ThemesPayload<ExtArgs>[]
      DeletedTheme: Prisma.$ThemesPayload<ExtArgs>[]
      CreatedThemeLineItems: Prisma.$ThemeLineItemsPayload<ExtArgs>[]
      UpdatedThemeLineItems: Prisma.$ThemeLineItemsPayload<ExtArgs>[]
      DeletedThemeLineItems: Prisma.$ThemeLineItemsPayload<ExtArgs>[]
      CreatedThemeAttributes: Prisma.$ThemeAttributesPayload<ExtArgs>[]
      UpdatedThemeAttributes: Prisma.$ThemeAttributesPayload<ExtArgs>[]
      DeletedThemeAttributes: Prisma.$ThemeAttributesPayload<ExtArgs>[]
      ChildProcessLog: Prisma.$ChildProcessLogPayload<ExtArgs>[]
      customer_geofence_mapping: Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>[]
      vehicle_user_mapping: Prisma.$VehicleUserMappingPayload<ExtArgs>[]
      delivery_notes: Prisma.$DeliveryNotesPayload<ExtArgs>[]
      vehicle_gps_data: Prisma.$VehiclesGpsDataPayload<ExtArgs>[]
      vehicle_gps_data_log: Prisma.$VehiclesGpsDataLogPayload<ExtArgs>[]
      vehicle_geofence_history_driver: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
      vehicle_geofence_history_customer: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
      shipment_customers: Prisma.$ShipmentCustomersPayload<ExtArgs>[]
      vehicle_trip_histories: Prisma.$VehicleTripHistoriesPayload<ExtArgs>[]
      created_barcode_templates: Prisma.$BarcodeTemplatesPayload<ExtArgs>[]
      updated_barcode_templates: Prisma.$BarcodeTemplatesPayload<ExtArgs>[]
      deleted_barcode_templates: Prisma.$BarcodeTemplatesPayload<ExtArgs>[]
      user_login_histories: Prisma.$UserLoginHistoryPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      username: string
      email: string
      email_verified: boolean
      password: string | null
      status_id: number
      role: $Enums.UserRole
      process_status: $Enums.ProcessStatus
      is_drafted: boolean
      reason: string | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
      last_login: Date | null
      last_login_device: string | null
      allow_login_web: number
      allow_login_mobile: number
    }, ExtArgs["result"]["user"]>
    composites: {}
  }

  type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = $Result.GetResult<Prisma.$UserPayload, S>

  type UserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserCountAggregateInputType | true
    }

  export interface UserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } }
    /**
     * Find zero or one User that matches the filter.
     * @param {UserFindUniqueArgs} args - Arguments to find a User
     * @example
     * // Get one User
     * const user = await prisma.user.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserFindUniqueArgs>(args: SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one User that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
     * @example
     * // Get one User
     * const user = await prisma.user.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first User that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserFindFirstArgs} args - Arguments to find a User
     * @example
     * // Get one User
     * const user = await prisma.user.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserFindFirstArgs>(args?: SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first User that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User
     * @example
     * // Get one User
     * const user = await prisma.user.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Users that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Users
     * const users = await prisma.user.findMany()
     * 
     * // Get first 10 Users
     * const users = await prisma.user.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends UserFindManyArgs>(args?: SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a User.
     * @param {UserCreateArgs} args - Arguments to create a User.
     * @example
     * // Create one User
     * const User = await prisma.user.create({
     *   data: {
     *     // ... data to create a User
     *   }
     * })
     * 
     */
    create<T extends UserCreateArgs>(args: SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Users.
     * @param {UserCreateManyArgs} args - Arguments to create many Users.
     * @example
     * // Create many Users
     * const user = await prisma.user.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserCreateManyArgs>(args?: SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Users and returns the data saved in the database.
     * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users.
     * @example
     * // Create many Users
     * const user = await prisma.user.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Users and only return the `id`
     * const userWithIdOnly = await prisma.user.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a User.
     * @param {UserDeleteArgs} args - Arguments to delete one User.
     * @example
     * // Delete one User
     * const User = await prisma.user.delete({
     *   where: {
     *     // ... filter to delete one User
     *   }
     * })
     * 
     */
    delete<T extends UserDeleteArgs>(args: SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one User.
     * @param {UserUpdateArgs} args - Arguments to update one User.
     * @example
     * // Update one User
     * const user = await prisma.user.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserUpdateArgs>(args: SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Users.
     * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
     * @example
     * // Delete a few Users
     * const { count } = await prisma.user.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserDeleteManyArgs>(args?: SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Users
     * const user = await prisma.user.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserUpdateManyArgs>(args: SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one User.
     * @param {UserUpsertArgs} args - Arguments to update or create a User.
     * @example
     * // Update or create a User
     * const user = await prisma.user.upsert({
     *   create: {
     *     // ... data to create a User
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the User we want to update
     *   }
     * })
     */
    upsert<T extends UserUpsertArgs>(args: SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserCountArgs} args - Arguments to filter Users to count.
     * @example
     * // Count the number of Users
     * const count = await prisma.user.count({
     *   where: {
     *     // ... the filter for the Users we want to count
     *   }
     * })
    **/
    count<T extends UserCountArgs>(
      args?: Subset<T, UserCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a User.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserAggregateArgs>(args: Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>

    /**
     * Group by User.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserGroupByArgs['orderBy'] }
        : { orderBy?: UserGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the User model
   */
  readonly fields: UserFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for User.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user_detail<T extends User$user_detailArgs<ExtArgs> = {}>(args?: Subset<T, User$user_detailArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    request_logs<T extends User$request_logsArgs<ExtArgs> = {}>(args?: Subset<T, User$request_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findMany"> | Null>
    roles<T extends User$rolesArgs<ExtArgs> = {}>(args?: Subset<T, User$rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findMany"> | Null>
    permissions<T extends User$permissionsArgs<ExtArgs> = {}>(args?: Subset<T, User$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    otps<T extends User$otpsArgs<ExtArgs> = {}>(args?: Subset<T, User$otpsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends User$createdArgs<ExtArgs> = {}>(args?: Subset<T, User$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends User$updatedArgs<ExtArgs> = {}>(args?: Subset<T, User$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends User$deletedArgs<ExtArgs> = {}>(args?: Subset<T, User$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created_users<T extends User$created_usersArgs<ExtArgs> = {}>(args?: Subset<T, User$created_usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany"> | Null>
    updated_users<T extends User$updated_usersArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_users<T extends User$deleted_usersArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany"> | Null>
    created_user_details<T extends User$created_user_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_user_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany"> | Null>
    updated_user_details<T extends User$updated_user_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_user_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_user_details<T extends User$deleted_user_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_user_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany"> | Null>
    created_roles<T extends User$created_rolesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany"> | Null>
    updated_roles<T extends User$updated_rolesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_roles<T extends User$deleted_rolesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany"> | Null>
    created_languages<T extends User$created_languagesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_languagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findMany"> | Null>
    updated_languages<T extends User$updated_languagesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_languagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_languages<T extends User$deleted_languagesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_languagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findMany"> | Null>
    created_menus<T extends User$created_menusArgs<ExtArgs> = {}>(args?: Subset<T, User$created_menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findMany"> | Null>
    updated_menus<T extends User$updated_menusArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_menus<T extends User$deleted_menusArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findMany"> | Null>
    created_menu_items<T extends User$created_menu_itemsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_menu_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    updated_menu_items<T extends User$updated_menu_itemsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_menu_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_menu_items<T extends User$deleted_menu_itemsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_menu_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    created_notification_templates<T extends User$created_notification_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_notification_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    updated_notification_templates<T extends User$updated_notification_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_notification_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_notification_templates<T extends User$deleted_notification_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_notification_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    created_notification_template_assignments<T extends User$created_notification_template_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_notification_template_assignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    created_notification_process_jobs<T extends User$created_notification_process_jobsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_notification_process_jobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findMany"> | Null>
    created_notification_job<T extends User$created_notification_jobArgs<ExtArgs> = {}>(args?: Subset<T, User$created_notification_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findMany"> | Null>
    created_import_templates<T extends User$created_import_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_import_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    updated_import_templates<T extends User$updated_import_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_import_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_import_templates<T extends User$deleted_import_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_import_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    created_carousel_templates<T extends User$created_carousel_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_carousel_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    updated_carousel_templates<T extends User$updated_carousel_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_carousel_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_carousel_templates<T extends User$deleted_carousel_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_carousel_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    created_export_templates<T extends User$created_export_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_export_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    updated_export_templates<T extends User$updated_export_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_export_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_export_templates<T extends User$deleted_export_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_export_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    created_departments<T extends User$created_departmentsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany"> | Null>
    head_departments<T extends User$head_departmentsArgs<ExtArgs> = {}>(args?: Subset<T, User$head_departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany"> | Null>
    updated_departments<T extends User$updated_departmentsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_departments<T extends User$deleted_departmentsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany"> | Null>
    created_designations<T extends User$created_designationsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_designationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findMany"> | Null>
    updated_designations<T extends User$updated_designationsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_designationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_designations<T extends User$deleted_designationsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_designationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findMany"> | Null>
    audit_logs<T extends User$audit_logsArgs<ExtArgs> = {}>(args?: Subset<T, User$audit_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany"> | Null>
    created_category_types<T extends User$created_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_category_typesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findMany"> | Null>
    updated_category_types<T extends User$updated_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_category_typesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_category_types<T extends User$deleted_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_category_typesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findMany"> | Null>
    created_categories<T extends User$created_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany"> | Null>
    updated_categories<T extends User$updated_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_categories<T extends User$deleted_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany"> | Null>
    created_configurations<T extends User$created_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    updated_configurations<T extends User$updated_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_configurations<T extends User$deleted_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    created_user_configurations<T extends User$created_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_user_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    updated_user_configurations<T extends User$updated_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_user_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_user_configurations<T extends User$deleted_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_user_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    created_fin_years<T extends User$created_fin_yearsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_fin_yearsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findMany"> | Null>
    updated_fin_years<T extends User$updated_fin_yearsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_fin_yearsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_fin_years<T extends User$deleted_fin_yearsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_fin_yearsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findMany"> | Null>
    created_doc_sequences<T extends User$created_doc_sequencesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_doc_sequencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany"> | Null>
    updated_doc_sequences<T extends User$updated_doc_sequencesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_doc_sequencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany"> | Null>
    deleted_doc_sequences<T extends User$deleted_doc_sequencesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_doc_sequencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany"> | Null>
    created_device_registration<T extends User$created_device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, User$created_device_registrationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany"> | Null>
    updated_device_registration<T extends User$updated_device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_device_registrationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_device_registration<T extends User$deleted_device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_device_registrationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany"> | Null>
    DeviceRegistration<T extends User$DeviceRegistrationArgs<ExtArgs> = {}>(args?: Subset<T, User$DeviceRegistrationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany"> | Null>
    created_import_job<T extends User$created_import_jobArgs<ExtArgs> = {}>(args?: Subset<T, User$created_import_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany"> | Null>
    updated_import_job<T extends User$updated_import_jobArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_import_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_import_job<T extends User$deleted_import_jobArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_import_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany"> | Null>
    created_direct_import_details<T extends User$created_direct_import_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_direct_import_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany"> | Null>
    updated_direct_import_details<T extends User$updated_direct_import_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_direct_import_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_direct_import_details<T extends User$deleted_direct_import_detailsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_direct_import_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany"> | Null>
    user_policy<T extends User$user_policyArgs<ExtArgs> = {}>(args?: Subset<T, User$user_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    created_policy<T extends User$created_policyArgs<ExtArgs> = {}>(args?: Subset<T, User$created_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    updated_policy<T extends User$updated_policyArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_policy<T extends User$deleted_policyArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    created_app_versions<T extends User$created_app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, User$created_app_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findMany"> | Null>
    updated_app_versions<T extends User$updated_app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_app_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_app_versions<T extends User$deleted_app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_app_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findMany"> | Null>
    CreatedTheme<T extends User$CreatedThemeArgs<ExtArgs> = {}>(args?: Subset<T, User$CreatedThemeArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findMany"> | Null>
    UpdatedTheme<T extends User$UpdatedThemeArgs<ExtArgs> = {}>(args?: Subset<T, User$UpdatedThemeArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findMany"> | Null>
    DeletedTheme<T extends User$DeletedThemeArgs<ExtArgs> = {}>(args?: Subset<T, User$DeletedThemeArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findMany"> | Null>
    CreatedThemeLineItems<T extends User$CreatedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, User$CreatedThemeLineItemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    UpdatedThemeLineItems<T extends User$UpdatedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, User$UpdatedThemeLineItemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    DeletedThemeLineItems<T extends User$DeletedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, User$DeletedThemeLineItemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    CreatedThemeAttributes<T extends User$CreatedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, User$CreatedThemeAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findMany"> | Null>
    UpdatedThemeAttributes<T extends User$UpdatedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, User$UpdatedThemeAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findMany"> | Null>
    DeletedThemeAttributes<T extends User$DeletedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, User$DeletedThemeAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findMany"> | Null>
    ChildProcessLog<T extends User$ChildProcessLogArgs<ExtArgs> = {}>(args?: Subset<T, User$ChildProcessLogArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findMany"> | Null>
    customer_geofence_mapping<T extends User$customer_geofence_mappingArgs<ExtArgs> = {}>(args?: Subset<T, User$customer_geofence_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_user_mapping<T extends User$vehicle_user_mappingArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_user_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findMany"> | Null>
    delivery_notes<T extends User$delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, User$delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_gps_data<T extends User$vehicle_gps_dataArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_gps_dataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_gps_data_log<T extends User$vehicle_gps_data_logArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_gps_data_logArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history_driver<T extends User$vehicle_geofence_history_driverArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_geofence_history_driverArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history_customer<T extends User$vehicle_geofence_history_customerArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_geofence_history_customerArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_customers<T extends User$shipment_customersArgs<ExtArgs> = {}>(args?: Subset<T, User$shipment_customersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_trip_histories<T extends User$vehicle_trip_historiesArgs<ExtArgs> = {}>(args?: Subset<T, User$vehicle_trip_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findMany"> | Null>
    created_barcode_templates<T extends User$created_barcode_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$created_barcode_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findMany"> | Null>
    updated_barcode_templates<T extends User$updated_barcode_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$updated_barcode_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findMany"> | Null>
    deleted_barcode_templates<T extends User$deleted_barcode_templatesArgs<ExtArgs> = {}>(args?: Subset<T, User$deleted_barcode_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findMany"> | Null>
    user_login_histories<T extends User$user_login_historiesArgs<ExtArgs> = {}>(args?: Subset<T, User$user_login_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the User model
   */ 
  interface UserFieldRefs {
    readonly id: FieldRef<"User", 'Int'>
    readonly uuid: FieldRef<"User", 'String'>
    readonly username: FieldRef<"User", 'String'>
    readonly email: FieldRef<"User", 'String'>
    readonly email_verified: FieldRef<"User", 'Boolean'>
    readonly password: FieldRef<"User", 'String'>
    readonly status_id: FieldRef<"User", 'Int'>
    readonly role: FieldRef<"User", 'UserRole'>
    readonly process_status: FieldRef<"User", 'ProcessStatus'>
    readonly is_drafted: FieldRef<"User", 'Boolean'>
    readonly reason: FieldRef<"User", 'String'>
    readonly company_id: FieldRef<"User", 'Int'>
    readonly created_by: FieldRef<"User", 'Int'>
    readonly updated_by: FieldRef<"User", 'Int'>
    readonly deleted_by: FieldRef<"User", 'Int'>
    readonly created_at: FieldRef<"User", 'DateTime'>
    readonly updated_at: FieldRef<"User", 'DateTime'>
    readonly deleted_at: FieldRef<"User", 'DateTime'>
    readonly last_login: FieldRef<"User", 'DateTime'>
    readonly last_login_device: FieldRef<"User", 'String'>
    readonly allow_login_web: FieldRef<"User", 'Int'>
    readonly allow_login_mobile: FieldRef<"User", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * User findUnique
   */
  export type UserFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter, which User to fetch.
     */
    where: UserWhereUniqueInput
  }

  /**
   * User findUniqueOrThrow
   */
  export type UserFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter, which User to fetch.
     */
    where: UserWhereUniqueInput
  }

  /**
   * User findFirst
   */
  export type UserFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter, which User to fetch.
     */
    where?: UserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Users to fetch.
     */
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Users.
     */
    cursor?: UserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Users from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Users.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Users.
     */
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User findFirstOrThrow
   */
  export type UserFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter, which User to fetch.
     */
    where?: UserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Users to fetch.
     */
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Users.
     */
    cursor?: UserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Users from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Users.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Users.
     */
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User findMany
   */
  export type UserFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter, which Users to fetch.
     */
    where?: UserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Users to fetch.
     */
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Users.
     */
    cursor?: UserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Users from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Users.
     */
    skip?: number
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User create
   */
  export type UserCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * The data needed to create a User.
     */
    data: XOR<UserCreateInput, UserUncheckedCreateInput>
  }

  /**
   * User createMany
   */
  export type UserCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Users.
     */
    data: UserCreateManyInput | UserCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * User createManyAndReturn
   */
  export type UserCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Users.
     */
    data: UserCreateManyInput | UserCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * User update
   */
  export type UserUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * The data needed to update a User.
     */
    data: XOR<UserUpdateInput, UserUncheckedUpdateInput>
    /**
     * Choose, which User to update.
     */
    where: UserWhereUniqueInput
  }

  /**
   * User updateMany
   */
  export type UserUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Users.
     */
    data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyInput>
    /**
     * Filter which Users to update
     */
    where?: UserWhereInput
  }

  /**
   * User upsert
   */
  export type UserUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * The filter to search for the User to update in case it exists.
     */
    where: UserWhereUniqueInput
    /**
     * In case the User found by the `where` argument doesn't exist, create a new User with this data.
     */
    create: XOR<UserCreateInput, UserUncheckedCreateInput>
    /**
     * In case the User was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserUpdateInput, UserUncheckedUpdateInput>
  }

  /**
   * User delete
   */
  export type UserDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    /**
     * Filter which User to delete.
     */
    where: UserWhereUniqueInput
  }

  /**
   * User deleteMany
   */
  export type UserDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Users to delete
     */
    where?: UserWhereInput
  }

  /**
   * User.user_detail
   */
  export type User$user_detailArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
  }

  /**
   * User.request_logs
   */
  export type User$request_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    where?: RequestLogWhereInput
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    cursor?: RequestLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RequestLogScalarFieldEnum | RequestLogScalarFieldEnum[]
  }

  /**
   * User.roles
   */
  export type User$rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    where?: UserRolesWhereInput
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    cursor?: UserRolesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserRolesScalarFieldEnum | UserRolesScalarFieldEnum[]
  }

  /**
   * User.permissions
   */
  export type User$permissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    where?: UserPermissionsWhereInput
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    cursor?: UserPermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserPermissionsScalarFieldEnum | UserPermissionsScalarFieldEnum[]
  }

  /**
   * User.otps
   */
  export type User$otpsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    where?: OtpWhereInput
    orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
    cursor?: OtpWhereUniqueInput
    take?: number
    skip?: number
    distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
  }

  /**
   * User.created
   */
  export type User$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * User.updated
   */
  export type User$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * User.deleted
   */
  export type User$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * User.created_users
   */
  export type User$created_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    cursor?: UserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User.updated_users
   */
  export type User$updated_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    cursor?: UserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User.deleted_users
   */
  export type User$deleted_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    cursor?: UserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * User.created_user_details
   */
  export type User$created_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    cursor?: UserDetailWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * User.updated_user_details
   */
  export type User$updated_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    cursor?: UserDetailWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * User.deleted_user_details
   */
  export type User$deleted_user_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    cursor?: UserDetailWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * User.created_roles
   */
  export type User$created_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    where?: RoleWhereInput
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    cursor?: RoleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * User.updated_roles
   */
  export type User$updated_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    where?: RoleWhereInput
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    cursor?: RoleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * User.deleted_roles
   */
  export type User$deleted_rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    where?: RoleWhereInput
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    cursor?: RoleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * User.created_languages
   */
  export type User$created_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    where?: LanguageWhereInput
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    cursor?: LanguageWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * User.updated_languages
   */
  export type User$updated_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    where?: LanguageWhereInput
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    cursor?: LanguageWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * User.deleted_languages
   */
  export type User$deleted_languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    where?: LanguageWhereInput
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    cursor?: LanguageWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * User.created_menus
   */
  export type User$created_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    where?: MenusWhereInput
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    cursor?: MenusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * User.updated_menus
   */
  export type User$updated_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    where?: MenusWhereInput
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    cursor?: MenusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * User.deleted_menus
   */
  export type User$deleted_menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    where?: MenusWhereInput
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    cursor?: MenusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * User.created_menu_items
   */
  export type User$created_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * User.updated_menu_items
   */
  export type User$updated_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * User.deleted_menu_items
   */
  export type User$deleted_menu_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * User.created_notification_templates
   */
  export type User$created_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    cursor?: NotificationTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * User.updated_notification_templates
   */
  export type User$updated_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    cursor?: NotificationTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * User.deleted_notification_templates
   */
  export type User$deleted_notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    cursor?: NotificationTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * User.created_notification_template_assignments
   */
  export type User$created_notification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    where?: NotificationTemplateAssignmentWhereInput
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * User.created_notification_process_jobs
   */
  export type User$created_notification_process_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    where?: NotificationProcessJobWhereInput
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    cursor?: NotificationProcessJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationProcessJobScalarFieldEnum | NotificationProcessJobScalarFieldEnum[]
  }

  /**
   * User.created_notification_job
   */
  export type User$created_notification_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    where?: NotificationJobWhereInput
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    cursor?: NotificationJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationJobScalarFieldEnum | NotificationJobScalarFieldEnum[]
  }

  /**
   * User.created_import_templates
   */
  export type User$created_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    cursor?: ImportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * User.updated_import_templates
   */
  export type User$updated_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    cursor?: ImportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * User.deleted_import_templates
   */
  export type User$deleted_import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    cursor?: ImportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * User.created_carousel_templates
   */
  export type User$created_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    where?: CarouselTemplateWhereInput
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    cursor?: CarouselTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * User.updated_carousel_templates
   */
  export type User$updated_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    where?: CarouselTemplateWhereInput
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    cursor?: CarouselTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * User.deleted_carousel_templates
   */
  export type User$deleted_carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    where?: CarouselTemplateWhereInput
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    cursor?: CarouselTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * User.created_export_templates
   */
  export type User$created_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    where?: ExportTemplateWhereInput
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    cursor?: ExportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * User.updated_export_templates
   */
  export type User$updated_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    where?: ExportTemplateWhereInput
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    cursor?: ExportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * User.deleted_export_templates
   */
  export type User$deleted_export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    where?: ExportTemplateWhereInput
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    cursor?: ExportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * User.created_departments
   */
  export type User$created_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    cursor?: DepartmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * User.head_departments
   */
  export type User$head_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    cursor?: DepartmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * User.updated_departments
   */
  export type User$updated_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    cursor?: DepartmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * User.deleted_departments
   */
  export type User$deleted_departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    cursor?: DepartmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * User.created_designations
   */
  export type User$created_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    where?: DesignationWhereInput
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    cursor?: DesignationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * User.updated_designations
   */
  export type User$updated_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    where?: DesignationWhereInput
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    cursor?: DesignationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * User.deleted_designations
   */
  export type User$deleted_designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    where?: DesignationWhereInput
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    cursor?: DesignationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * User.audit_logs
   */
  export type User$audit_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    where?: AuditLogWhereInput
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    cursor?: AuditLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
  }

  /**
   * User.created_category_types
   */
  export type User$created_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    where?: CategoryTypesWhereInput
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    cursor?: CategoryTypesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * User.updated_category_types
   */
  export type User$updated_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    where?: CategoryTypesWhereInput
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    cursor?: CategoryTypesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * User.deleted_category_types
   */
  export type User$deleted_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    where?: CategoryTypesWhereInput
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    cursor?: CategoryTypesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * User.created_categories
   */
  export type User$created_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    cursor?: CategoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * User.updated_categories
   */
  export type User$updated_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    cursor?: CategoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * User.deleted_categories
   */
  export type User$deleted_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    cursor?: CategoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * User.created_configurations
   */
  export type User$created_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    where?: ConfigurationsWhereInput
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    cursor?: ConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * User.updated_configurations
   */
  export type User$updated_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    where?: ConfigurationsWhereInput
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    cursor?: ConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * User.deleted_configurations
   */
  export type User$deleted_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    where?: ConfigurationsWhereInput
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    cursor?: ConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * User.created_user_configurations
   */
  export type User$created_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    where?: UserConfigurationsWhereInput
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    cursor?: UserConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * User.updated_user_configurations
   */
  export type User$updated_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    where?: UserConfigurationsWhereInput
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    cursor?: UserConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * User.deleted_user_configurations
   */
  export type User$deleted_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    where?: UserConfigurationsWhereInput
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    cursor?: UserConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * User.created_fin_years
   */
  export type User$created_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    where?: FinancialYearWhereInput
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    cursor?: FinancialYearWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * User.updated_fin_years
   */
  export type User$updated_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    where?: FinancialYearWhereInput
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    cursor?: FinancialYearWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * User.deleted_fin_years
   */
  export type User$deleted_fin_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    where?: FinancialYearWhereInput
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    cursor?: FinancialYearWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * User.created_doc_sequences
   */
  export type User$created_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    cursor?: DocumentSequenceWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * User.updated_doc_sequences
   */
  export type User$updated_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    cursor?: DocumentSequenceWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * User.deleted_doc_sequences
   */
  export type User$deleted_doc_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    cursor?: DocumentSequenceWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * User.created_device_registration
   */
  export type User$created_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    cursor?: DeviceRegistrationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * User.updated_device_registration
   */
  export type User$updated_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    cursor?: DeviceRegistrationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * User.deleted_device_registration
   */
  export type User$deleted_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    cursor?: DeviceRegistrationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * User.DeviceRegistration
   */
  export type User$DeviceRegistrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    cursor?: DeviceRegistrationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * User.created_import_job
   */
  export type User$created_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    cursor?: ImportJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * User.updated_import_job
   */
  export type User$updated_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    cursor?: ImportJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * User.deleted_import_job
   */
  export type User$deleted_import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    cursor?: ImportJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * User.created_direct_import_details
   */
  export type User$created_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    cursor?: DirectImportDetailsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * User.updated_direct_import_details
   */
  export type User$updated_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    cursor?: DirectImportDetailsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * User.deleted_direct_import_details
   */
  export type User$deleted_direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    cursor?: DirectImportDetailsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * User.user_policy
   */
  export type User$user_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    where?: UserPoliciesWhereInput
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    cursor?: UserPoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserPoliciesScalarFieldEnum | UserPoliciesScalarFieldEnum[]
  }

  /**
   * User.created_policy
   */
  export type User$created_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    where?: PoliciesWhereInput
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    cursor?: PoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * User.updated_policy
   */
  export type User$updated_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    where?: PoliciesWhereInput
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    cursor?: PoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * User.deleted_policy
   */
  export type User$deleted_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    where?: PoliciesWhereInput
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    cursor?: PoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * User.created_app_versions
   */
  export type User$created_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    where?: AppversionsWhereInput
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    cursor?: AppversionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * User.updated_app_versions
   */
  export type User$updated_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    where?: AppversionsWhereInput
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    cursor?: AppversionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * User.deleted_app_versions
   */
  export type User$deleted_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    where?: AppversionsWhereInput
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    cursor?: AppversionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * User.CreatedTheme
   */
  export type User$CreatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    where?: ThemesWhereInput
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    cursor?: ThemesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * User.UpdatedTheme
   */
  export type User$UpdatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    where?: ThemesWhereInput
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    cursor?: ThemesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * User.DeletedTheme
   */
  export type User$DeletedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    where?: ThemesWhereInput
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    cursor?: ThemesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * User.CreatedThemeLineItems
   */
  export type User$CreatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    cursor?: ThemeLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * User.UpdatedThemeLineItems
   */
  export type User$UpdatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    cursor?: ThemeLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * User.DeletedThemeLineItems
   */
  export type User$DeletedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    cursor?: ThemeLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * User.CreatedThemeAttributes
   */
  export type User$CreatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    where?: ThemeAttributesWhereInput
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    cursor?: ThemeAttributesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * User.UpdatedThemeAttributes
   */
  export type User$UpdatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    where?: ThemeAttributesWhereInput
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    cursor?: ThemeAttributesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * User.DeletedThemeAttributes
   */
  export type User$DeletedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    where?: ThemeAttributesWhereInput
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    cursor?: ThemeAttributesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * User.ChildProcessLog
   */
  export type User$ChildProcessLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    where?: ChildProcessLogWhereInput
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    cursor?: ChildProcessLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * User.customer_geofence_mapping
   */
  export type User$customer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    where?: CustomerGeoFenceMappingWhereInput
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * User.vehicle_user_mapping
   */
  export type User$vehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    where?: VehicleUserMappingWhereInput
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    cursor?: VehicleUserMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * User.delivery_notes
   */
  export type User$delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    where?: DeliveryNotesWhereInput
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    cursor?: DeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * User.vehicle_gps_data
   */
  export type User$vehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    where?: VehiclesGpsDataWhereInput
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    cursor?: VehiclesGpsDataWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * User.vehicle_gps_data_log
   */
  export type User$vehicle_gps_data_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    where?: VehiclesGpsDataLogWhereInput
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesGpsDataLogScalarFieldEnum | VehiclesGpsDataLogScalarFieldEnum[]
  }

  /**
   * User.vehicle_geofence_history_driver
   */
  export type User$vehicle_geofence_history_driverArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * User.vehicle_geofence_history_customer
   */
  export type User$vehicle_geofence_history_customerArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * User.shipment_customers
   */
  export type User$shipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    where?: ShipmentCustomersWhereInput
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    cursor?: ShipmentCustomersWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * User.vehicle_trip_histories
   */
  export type User$vehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    where?: VehicleTripHistoriesWhereInput
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    cursor?: VehicleTripHistoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * User.created_barcode_templates
   */
  export type User$created_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    where?: BarcodeTemplatesWhereInput
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    cursor?: BarcodeTemplatesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * User.updated_barcode_templates
   */
  export type User$updated_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    where?: BarcodeTemplatesWhereInput
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    cursor?: BarcodeTemplatesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * User.deleted_barcode_templates
   */
  export type User$deleted_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    where?: BarcodeTemplatesWhereInput
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    cursor?: BarcodeTemplatesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * User.user_login_histories
   */
  export type User$user_login_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    where?: UserLoginHistoryWhereInput
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    cursor?: UserLoginHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserLoginHistoryScalarFieldEnum | UserLoginHistoryScalarFieldEnum[]
  }

  /**
   * User without action
   */
  export type UserDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
  }


  /**
   * Model UserDetail
   */

  export type AggregateUserDetail = {
    _count: UserDetailCountAggregateOutputType | null
    _avg: UserDetailAvgAggregateOutputType | null
    _sum: UserDetailSumAggregateOutputType | null
    _min: UserDetailMinAggregateOutputType | null
    _max: UserDetailMaxAggregateOutputType | null
  }

  export type UserDetailAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    designation_id: number | null
    department_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserDetailSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    designation_id: number | null
    department_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserDetailMinAggregateOutputType = {
    id: number | null
    user_id: number | null
    code: string | null
    first_name: string | null
    last_name: string | null
    designation_id: number | null
    department_id: number | null
    profile_pic: string | null
    dob: Date | null
    country_code: string | null
    phone_number: string | null
    gender: $Enums.Gender | null
    user_time_zone: string | null
    address: string | null
    culture: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    resident_id: string | null
    passport_number: string | null
  }

  export type UserDetailMaxAggregateOutputType = {
    id: number | null
    user_id: number | null
    code: string | null
    first_name: string | null
    last_name: string | null
    designation_id: number | null
    department_id: number | null
    profile_pic: string | null
    dob: Date | null
    country_code: string | null
    phone_number: string | null
    gender: $Enums.Gender | null
    user_time_zone: string | null
    address: string | null
    culture: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    resident_id: string | null
    passport_number: string | null
  }

  export type UserDetailCountAggregateOutputType = {
    id: number
    user_id: number
    code: number
    first_name: number
    last_name: number
    designation_id: number
    department_id: number
    profile_pic: number
    dob: number
    country_code: number
    phone_number: number
    gender: number
    user_time_zone: number
    address: number
    culture: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    resident_id: number
    passport_number: number
    _all: number
  }


  export type UserDetailAvgAggregateInputType = {
    id?: true
    user_id?: true
    designation_id?: true
    department_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserDetailSumAggregateInputType = {
    id?: true
    user_id?: true
    designation_id?: true
    department_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserDetailMinAggregateInputType = {
    id?: true
    user_id?: true
    code?: true
    first_name?: true
    last_name?: true
    designation_id?: true
    department_id?: true
    profile_pic?: true
    dob?: true
    country_code?: true
    phone_number?: true
    gender?: true
    user_time_zone?: true
    address?: true
    culture?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    resident_id?: true
    passport_number?: true
  }

  export type UserDetailMaxAggregateInputType = {
    id?: true
    user_id?: true
    code?: true
    first_name?: true
    last_name?: true
    designation_id?: true
    department_id?: true
    profile_pic?: true
    dob?: true
    country_code?: true
    phone_number?: true
    gender?: true
    user_time_zone?: true
    address?: true
    culture?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    resident_id?: true
    passport_number?: true
  }

  export type UserDetailCountAggregateInputType = {
    id?: true
    user_id?: true
    code?: true
    first_name?: true
    last_name?: true
    designation_id?: true
    department_id?: true
    profile_pic?: true
    dob?: true
    country_code?: true
    phone_number?: true
    gender?: true
    user_time_zone?: true
    address?: true
    culture?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    resident_id?: true
    passport_number?: true
    _all?: true
  }

  export type UserDetailAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserDetail to aggregate.
     */
    where?: UserDetailWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserDetails to fetch.
     */
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserDetailWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserDetails
    **/
    _count?: true | UserDetailCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserDetailAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserDetailSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserDetailMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserDetailMaxAggregateInputType
  }

  export type GetUserDetailAggregateType<T extends UserDetailAggregateArgs> = {
        [P in keyof T & keyof AggregateUserDetail]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserDetail[P]>
      : GetScalarType<T[P], AggregateUserDetail[P]>
  }




  export type UserDetailGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithAggregationInput | UserDetailOrderByWithAggregationInput[]
    by: UserDetailScalarFieldEnum[] | UserDetailScalarFieldEnum
    having?: UserDetailScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserDetailCountAggregateInputType | true
    _avg?: UserDetailAvgAggregateInputType
    _sum?: UserDetailSumAggregateInputType
    _min?: UserDetailMinAggregateInputType
    _max?: UserDetailMaxAggregateInputType
  }

  export type UserDetailGroupByOutputType = {
    id: number
    user_id: number
    code: string
    first_name: string
    last_name: string | null
    designation_id: number | null
    department_id: number | null
    profile_pic: string | null
    dob: Date | null
    country_code: string | null
    phone_number: string | null
    gender: $Enums.Gender
    user_time_zone: string | null
    address: string | null
    culture: string | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    resident_id: string | null
    passport_number: string | null
    _count: UserDetailCountAggregateOutputType | null
    _avg: UserDetailAvgAggregateOutputType | null
    _sum: UserDetailSumAggregateOutputType | null
    _min: UserDetailMinAggregateOutputType | null
    _max: UserDetailMaxAggregateOutputType | null
  }

  type GetUserDetailGroupByPayload<T extends UserDetailGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserDetailGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserDetailGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserDetailGroupByOutputType[P]>
            : GetScalarType<T[P], UserDetailGroupByOutputType[P]>
        }
      >
    >


  export type UserDetailSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    code?: boolean
    first_name?: boolean
    last_name?: boolean
    designation_id?: boolean
    department_id?: boolean
    profile_pic?: boolean
    dob?: boolean
    country_code?: boolean
    phone_number?: boolean
    gender?: boolean
    user_time_zone?: boolean
    address?: boolean
    culture?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    resident_id?: boolean
    passport_number?: boolean
    designation?: boolean | UserDetail$designationArgs<ExtArgs>
    department?: boolean | UserDetail$departmentArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
    created?: boolean | UserDetail$createdArgs<ExtArgs>
    updated?: boolean | UserDetail$updatedArgs<ExtArgs>
    deleted?: boolean | UserDetail$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["userDetail"]>

  export type UserDetailSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    code?: boolean
    first_name?: boolean
    last_name?: boolean
    designation_id?: boolean
    department_id?: boolean
    profile_pic?: boolean
    dob?: boolean
    country_code?: boolean
    phone_number?: boolean
    gender?: boolean
    user_time_zone?: boolean
    address?: boolean
    culture?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    resident_id?: boolean
    passport_number?: boolean
    designation?: boolean | UserDetail$designationArgs<ExtArgs>
    department?: boolean | UserDetail$departmentArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
    created?: boolean | UserDetail$createdArgs<ExtArgs>
    updated?: boolean | UserDetail$updatedArgs<ExtArgs>
    deleted?: boolean | UserDetail$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["userDetail"]>

  export type UserDetailSelectScalar = {
    id?: boolean
    user_id?: boolean
    code?: boolean
    first_name?: boolean
    last_name?: boolean
    designation_id?: boolean
    department_id?: boolean
    profile_pic?: boolean
    dob?: boolean
    country_code?: boolean
    phone_number?: boolean
    gender?: boolean
    user_time_zone?: boolean
    address?: boolean
    culture?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    resident_id?: boolean
    passport_number?: boolean
  }

  export type UserDetailInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    designation?: boolean | UserDetail$designationArgs<ExtArgs>
    department?: boolean | UserDetail$departmentArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
    created?: boolean | UserDetail$createdArgs<ExtArgs>
    updated?: boolean | UserDetail$updatedArgs<ExtArgs>
    deleted?: boolean | UserDetail$deletedArgs<ExtArgs>
  }
  export type UserDetailIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    designation?: boolean | UserDetail$designationArgs<ExtArgs>
    department?: boolean | UserDetail$departmentArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
    created?: boolean | UserDetail$createdArgs<ExtArgs>
    updated?: boolean | UserDetail$updatedArgs<ExtArgs>
    deleted?: boolean | UserDetail$deletedArgs<ExtArgs>
  }

  export type $UserDetailPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserDetail"
    objects: {
      designation: Prisma.$DesignationPayload<ExtArgs> | null
      department: Prisma.$DepartmentPayload<ExtArgs> | null
      user: Prisma.$UserPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      user_id: number
      code: string
      first_name: string
      last_name: string | null
      designation_id: number | null
      department_id: number | null
      profile_pic: string | null
      dob: Date | null
      country_code: string | null
      phone_number: string | null
      gender: $Enums.Gender
      user_time_zone: string | null
      address: string | null
      culture: string | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
      resident_id: string | null
      passport_number: string | null
    }, ExtArgs["result"]["userDetail"]>
    composites: {}
  }

  type UserDetailGetPayload<S extends boolean | null | undefined | UserDetailDefaultArgs> = $Result.GetResult<Prisma.$UserDetailPayload, S>

  type UserDetailCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserDetailFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserDetailCountAggregateInputType | true
    }

  export interface UserDetailDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserDetail'], meta: { name: 'UserDetail' } }
    /**
     * Find zero or one UserDetail that matches the filter.
     * @param {UserDetailFindUniqueArgs} args - Arguments to find a UserDetail
     * @example
     * // Get one UserDetail
     * const userDetail = await prisma.userDetail.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserDetailFindUniqueArgs>(args: SelectSubset<T, UserDetailFindUniqueArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserDetail that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserDetailFindUniqueOrThrowArgs} args - Arguments to find a UserDetail
     * @example
     * // Get one UserDetail
     * const userDetail = await prisma.userDetail.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserDetailFindUniqueOrThrowArgs>(args: SelectSubset<T, UserDetailFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserDetail that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailFindFirstArgs} args - Arguments to find a UserDetail
     * @example
     * // Get one UserDetail
     * const userDetail = await prisma.userDetail.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserDetailFindFirstArgs>(args?: SelectSubset<T, UserDetailFindFirstArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserDetail that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailFindFirstOrThrowArgs} args - Arguments to find a UserDetail
     * @example
     * // Get one UserDetail
     * const userDetail = await prisma.userDetail.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserDetailFindFirstOrThrowArgs>(args?: SelectSubset<T, UserDetailFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserDetails that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserDetails
     * const userDetails = await prisma.userDetail.findMany()
     * 
     * // Get first 10 UserDetails
     * const userDetails = await prisma.userDetail.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const userDetailWithIdOnly = await prisma.userDetail.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends UserDetailFindManyArgs>(args?: SelectSubset<T, UserDetailFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserDetail.
     * @param {UserDetailCreateArgs} args - Arguments to create a UserDetail.
     * @example
     * // Create one UserDetail
     * const UserDetail = await prisma.userDetail.create({
     *   data: {
     *     // ... data to create a UserDetail
     *   }
     * })
     * 
     */
    create<T extends UserDetailCreateArgs>(args: SelectSubset<T, UserDetailCreateArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserDetails.
     * @param {UserDetailCreateManyArgs} args - Arguments to create many UserDetails.
     * @example
     * // Create many UserDetails
     * const userDetail = await prisma.userDetail.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserDetailCreateManyArgs>(args?: SelectSubset<T, UserDetailCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserDetails and returns the data saved in the database.
     * @param {UserDetailCreateManyAndReturnArgs} args - Arguments to create many UserDetails.
     * @example
     * // Create many UserDetails
     * const userDetail = await prisma.userDetail.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserDetails and only return the `id`
     * const userDetailWithIdOnly = await prisma.userDetail.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserDetailCreateManyAndReturnArgs>(args?: SelectSubset<T, UserDetailCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserDetail.
     * @param {UserDetailDeleteArgs} args - Arguments to delete one UserDetail.
     * @example
     * // Delete one UserDetail
     * const UserDetail = await prisma.userDetail.delete({
     *   where: {
     *     // ... filter to delete one UserDetail
     *   }
     * })
     * 
     */
    delete<T extends UserDetailDeleteArgs>(args: SelectSubset<T, UserDetailDeleteArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserDetail.
     * @param {UserDetailUpdateArgs} args - Arguments to update one UserDetail.
     * @example
     * // Update one UserDetail
     * const userDetail = await prisma.userDetail.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserDetailUpdateArgs>(args: SelectSubset<T, UserDetailUpdateArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserDetails.
     * @param {UserDetailDeleteManyArgs} args - Arguments to filter UserDetails to delete.
     * @example
     * // Delete a few UserDetails
     * const { count } = await prisma.userDetail.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserDetailDeleteManyArgs>(args?: SelectSubset<T, UserDetailDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserDetails
     * const userDetail = await prisma.userDetail.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserDetailUpdateManyArgs>(args: SelectSubset<T, UserDetailUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserDetail.
     * @param {UserDetailUpsertArgs} args - Arguments to update or create a UserDetail.
     * @example
     * // Update or create a UserDetail
     * const userDetail = await prisma.userDetail.upsert({
     *   create: {
     *     // ... data to create a UserDetail
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserDetail we want to update
     *   }
     * })
     */
    upsert<T extends UserDetailUpsertArgs>(args: SelectSubset<T, UserDetailUpsertArgs<ExtArgs>>): Prisma__UserDetailClient<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailCountArgs} args - Arguments to filter UserDetails to count.
     * @example
     * // Count the number of UserDetails
     * const count = await prisma.userDetail.count({
     *   where: {
     *     // ... the filter for the UserDetails we want to count
     *   }
     * })
    **/
    count<T extends UserDetailCountArgs>(
      args?: Subset<T, UserDetailCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserDetailCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserDetail.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserDetailAggregateArgs>(args: Subset<T, UserDetailAggregateArgs>): Prisma.PrismaPromise<GetUserDetailAggregateType<T>>

    /**
     * Group by UserDetail.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserDetailGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserDetailGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserDetailGroupByArgs['orderBy'] }
        : { orderBy?: UserDetailGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserDetailGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserDetailGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserDetail model
   */
  readonly fields: UserDetailFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserDetail.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserDetailClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    designation<T extends UserDetail$designationArgs<ExtArgs> = {}>(args?: Subset<T, UserDetail$designationArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    department<T extends UserDetail$departmentArgs<ExtArgs> = {}>(args?: Subset<T, UserDetail$departmentArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends UserDetail$createdArgs<ExtArgs> = {}>(args?: Subset<T, UserDetail$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends UserDetail$updatedArgs<ExtArgs> = {}>(args?: Subset<T, UserDetail$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends UserDetail$deletedArgs<ExtArgs> = {}>(args?: Subset<T, UserDetail$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserDetail model
   */ 
  interface UserDetailFieldRefs {
    readonly id: FieldRef<"UserDetail", 'Int'>
    readonly user_id: FieldRef<"UserDetail", 'Int'>
    readonly code: FieldRef<"UserDetail", 'String'>
    readonly first_name: FieldRef<"UserDetail", 'String'>
    readonly last_name: FieldRef<"UserDetail", 'String'>
    readonly designation_id: FieldRef<"UserDetail", 'Int'>
    readonly department_id: FieldRef<"UserDetail", 'Int'>
    readonly profile_pic: FieldRef<"UserDetail", 'String'>
    readonly dob: FieldRef<"UserDetail", 'DateTime'>
    readonly country_code: FieldRef<"UserDetail", 'String'>
    readonly phone_number: FieldRef<"UserDetail", 'String'>
    readonly gender: FieldRef<"UserDetail", 'Gender'>
    readonly user_time_zone: FieldRef<"UserDetail", 'String'>
    readonly address: FieldRef<"UserDetail", 'String'>
    readonly culture: FieldRef<"UserDetail", 'String'>
    readonly company_id: FieldRef<"UserDetail", 'Int'>
    readonly created_by: FieldRef<"UserDetail", 'Int'>
    readonly updated_by: FieldRef<"UserDetail", 'Int'>
    readonly deleted_by: FieldRef<"UserDetail", 'Int'>
    readonly created_at: FieldRef<"UserDetail", 'DateTime'>
    readonly updated_at: FieldRef<"UserDetail", 'DateTime'>
    readonly deleted_at: FieldRef<"UserDetail", 'DateTime'>
    readonly resident_id: FieldRef<"UserDetail", 'String'>
    readonly passport_number: FieldRef<"UserDetail", 'String'>
  }
    

  // Custom InputTypes
  /**
   * UserDetail findUnique
   */
  export type UserDetailFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter, which UserDetail to fetch.
     */
    where: UserDetailWhereUniqueInput
  }

  /**
   * UserDetail findUniqueOrThrow
   */
  export type UserDetailFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter, which UserDetail to fetch.
     */
    where: UserDetailWhereUniqueInput
  }

  /**
   * UserDetail findFirst
   */
  export type UserDetailFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter, which UserDetail to fetch.
     */
    where?: UserDetailWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserDetails to fetch.
     */
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserDetails.
     */
    cursor?: UserDetailWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserDetails.
     */
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * UserDetail findFirstOrThrow
   */
  export type UserDetailFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter, which UserDetail to fetch.
     */
    where?: UserDetailWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserDetails to fetch.
     */
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserDetails.
     */
    cursor?: UserDetailWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserDetails.
     */
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * UserDetail findMany
   */
  export type UserDetailFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter, which UserDetails to fetch.
     */
    where?: UserDetailWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserDetails to fetch.
     */
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserDetails.
     */
    cursor?: UserDetailWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserDetails.
     */
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * UserDetail create
   */
  export type UserDetailCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * The data needed to create a UserDetail.
     */
    data: XOR<UserDetailCreateInput, UserDetailUncheckedCreateInput>
  }

  /**
   * UserDetail createMany
   */
  export type UserDetailCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserDetails.
     */
    data: UserDetailCreateManyInput | UserDetailCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserDetail createManyAndReturn
   */
  export type UserDetailCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserDetails.
     */
    data: UserDetailCreateManyInput | UserDetailCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserDetail update
   */
  export type UserDetailUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * The data needed to update a UserDetail.
     */
    data: XOR<UserDetailUpdateInput, UserDetailUncheckedUpdateInput>
    /**
     * Choose, which UserDetail to update.
     */
    where: UserDetailWhereUniqueInput
  }

  /**
   * UserDetail updateMany
   */
  export type UserDetailUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserDetails.
     */
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyInput>
    /**
     * Filter which UserDetails to update
     */
    where?: UserDetailWhereInput
  }

  /**
   * UserDetail upsert
   */
  export type UserDetailUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * The filter to search for the UserDetail to update in case it exists.
     */
    where: UserDetailWhereUniqueInput
    /**
     * In case the UserDetail found by the `where` argument doesn't exist, create a new UserDetail with this data.
     */
    create: XOR<UserDetailCreateInput, UserDetailUncheckedCreateInput>
    /**
     * In case the UserDetail was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserDetailUpdateInput, UserDetailUncheckedUpdateInput>
  }

  /**
   * UserDetail delete
   */
  export type UserDetailDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    /**
     * Filter which UserDetail to delete.
     */
    where: UserDetailWhereUniqueInput
  }

  /**
   * UserDetail deleteMany
   */
  export type UserDetailDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserDetails to delete
     */
    where?: UserDetailWhereInput
  }

  /**
   * UserDetail.designation
   */
  export type UserDetail$designationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    where?: DesignationWhereInput
  }

  /**
   * UserDetail.department
   */
  export type UserDetail$departmentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
  }

  /**
   * UserDetail.created
   */
  export type UserDetail$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserDetail.updated
   */
  export type UserDetail$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserDetail.deleted
   */
  export type UserDetail$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserDetail without action
   */
  export type UserDetailDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
  }


  /**
   * Model Designation
   */

  export type AggregateDesignation = {
    _count: DesignationCountAggregateOutputType | null
    _avg: DesignationAvgAggregateOutputType | null
    _sum: DesignationSumAggregateOutputType | null
    _min: DesignationMinAggregateOutputType | null
    _max: DesignationMaxAggregateOutputType | null
  }

  export type DesignationAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DesignationSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DesignationMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    code: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DesignationMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    code: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DesignationCountAggregateOutputType = {
    id: number
    uuid: number
    code: number
    name: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type DesignationAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DesignationSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DesignationMinAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DesignationMaxAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DesignationCountAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type DesignationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Designation to aggregate.
     */
    where?: DesignationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Designations to fetch.
     */
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DesignationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Designations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Designations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Designations
    **/
    _count?: true | DesignationCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DesignationAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DesignationSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DesignationMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DesignationMaxAggregateInputType
  }

  export type GetDesignationAggregateType<T extends DesignationAggregateArgs> = {
        [P in keyof T & keyof AggregateDesignation]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDesignation[P]>
      : GetScalarType<T[P], AggregateDesignation[P]>
  }




  export type DesignationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DesignationWhereInput
    orderBy?: DesignationOrderByWithAggregationInput | DesignationOrderByWithAggregationInput[]
    by: DesignationScalarFieldEnum[] | DesignationScalarFieldEnum
    having?: DesignationScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DesignationCountAggregateInputType | true
    _avg?: DesignationAvgAggregateInputType
    _sum?: DesignationSumAggregateInputType
    _min?: DesignationMinAggregateInputType
    _max?: DesignationMaxAggregateInputType
  }

  export type DesignationGroupByOutputType = {
    id: number
    uuid: string
    code: string
    name: string
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: DesignationCountAggregateOutputType | null
    _avg: DesignationAvgAggregateOutputType | null
    _sum: DesignationSumAggregateOutputType | null
    _min: DesignationMinAggregateOutputType | null
    _max: DesignationMaxAggregateOutputType | null
  }

  type GetDesignationGroupByPayload<T extends DesignationGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DesignationGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DesignationGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DesignationGroupByOutputType[P]>
            : GetScalarType<T[P], DesignationGroupByOutputType[P]>
        }
      >
    >


  export type DesignationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    users?: boolean | Designation$usersArgs<ExtArgs>
    created?: boolean | Designation$createdArgs<ExtArgs>
    updated?: boolean | Designation$updatedArgs<ExtArgs>
    deleted?: boolean | Designation$deletedArgs<ExtArgs>
    _count?: boolean | DesignationCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["designation"]>

  export type DesignationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Designation$createdArgs<ExtArgs>
    updated?: boolean | Designation$updatedArgs<ExtArgs>
    deleted?: boolean | Designation$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["designation"]>

  export type DesignationSelectScalar = {
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type DesignationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    users?: boolean | Designation$usersArgs<ExtArgs>
    created?: boolean | Designation$createdArgs<ExtArgs>
    updated?: boolean | Designation$updatedArgs<ExtArgs>
    deleted?: boolean | Designation$deletedArgs<ExtArgs>
    _count?: boolean | DesignationCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type DesignationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Designation$createdArgs<ExtArgs>
    updated?: boolean | Designation$updatedArgs<ExtArgs>
    deleted?: boolean | Designation$deletedArgs<ExtArgs>
  }

  export type $DesignationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Designation"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      users: Prisma.$UserDetailPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      code: string
      name: string
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["designation"]>
    composites: {}
  }

  type DesignationGetPayload<S extends boolean | null | undefined | DesignationDefaultArgs> = $Result.GetResult<Prisma.$DesignationPayload, S>

  type DesignationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DesignationFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DesignationCountAggregateInputType | true
    }

  export interface DesignationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Designation'], meta: { name: 'Designation' } }
    /**
     * Find zero or one Designation that matches the filter.
     * @param {DesignationFindUniqueArgs} args - Arguments to find a Designation
     * @example
     * // Get one Designation
     * const designation = await prisma.designation.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DesignationFindUniqueArgs>(args: SelectSubset<T, DesignationFindUniqueArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Designation that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DesignationFindUniqueOrThrowArgs} args - Arguments to find a Designation
     * @example
     * // Get one Designation
     * const designation = await prisma.designation.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DesignationFindUniqueOrThrowArgs>(args: SelectSubset<T, DesignationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Designation that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationFindFirstArgs} args - Arguments to find a Designation
     * @example
     * // Get one Designation
     * const designation = await prisma.designation.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DesignationFindFirstArgs>(args?: SelectSubset<T, DesignationFindFirstArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Designation that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationFindFirstOrThrowArgs} args - Arguments to find a Designation
     * @example
     * // Get one Designation
     * const designation = await prisma.designation.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DesignationFindFirstOrThrowArgs>(args?: SelectSubset<T, DesignationFindFirstOrThrowArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Designations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Designations
     * const designations = await prisma.designation.findMany()
     * 
     * // Get first 10 Designations
     * const designations = await prisma.designation.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const designationWithIdOnly = await prisma.designation.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DesignationFindManyArgs>(args?: SelectSubset<T, DesignationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Designation.
     * @param {DesignationCreateArgs} args - Arguments to create a Designation.
     * @example
     * // Create one Designation
     * const Designation = await prisma.designation.create({
     *   data: {
     *     // ... data to create a Designation
     *   }
     * })
     * 
     */
    create<T extends DesignationCreateArgs>(args: SelectSubset<T, DesignationCreateArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Designations.
     * @param {DesignationCreateManyArgs} args - Arguments to create many Designations.
     * @example
     * // Create many Designations
     * const designation = await prisma.designation.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DesignationCreateManyArgs>(args?: SelectSubset<T, DesignationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Designations and returns the data saved in the database.
     * @param {DesignationCreateManyAndReturnArgs} args - Arguments to create many Designations.
     * @example
     * // Create many Designations
     * const designation = await prisma.designation.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Designations and only return the `id`
     * const designationWithIdOnly = await prisma.designation.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DesignationCreateManyAndReturnArgs>(args?: SelectSubset<T, DesignationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Designation.
     * @param {DesignationDeleteArgs} args - Arguments to delete one Designation.
     * @example
     * // Delete one Designation
     * const Designation = await prisma.designation.delete({
     *   where: {
     *     // ... filter to delete one Designation
     *   }
     * })
     * 
     */
    delete<T extends DesignationDeleteArgs>(args: SelectSubset<T, DesignationDeleteArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Designation.
     * @param {DesignationUpdateArgs} args - Arguments to update one Designation.
     * @example
     * // Update one Designation
     * const designation = await prisma.designation.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DesignationUpdateArgs>(args: SelectSubset<T, DesignationUpdateArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Designations.
     * @param {DesignationDeleteManyArgs} args - Arguments to filter Designations to delete.
     * @example
     * // Delete a few Designations
     * const { count } = await prisma.designation.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DesignationDeleteManyArgs>(args?: SelectSubset<T, DesignationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Designations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Designations
     * const designation = await prisma.designation.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DesignationUpdateManyArgs>(args: SelectSubset<T, DesignationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Designation.
     * @param {DesignationUpsertArgs} args - Arguments to update or create a Designation.
     * @example
     * // Update or create a Designation
     * const designation = await prisma.designation.upsert({
     *   create: {
     *     // ... data to create a Designation
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Designation we want to update
     *   }
     * })
     */
    upsert<T extends DesignationUpsertArgs>(args: SelectSubset<T, DesignationUpsertArgs<ExtArgs>>): Prisma__DesignationClient<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Designations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationCountArgs} args - Arguments to filter Designations to count.
     * @example
     * // Count the number of Designations
     * const count = await prisma.designation.count({
     *   where: {
     *     // ... the filter for the Designations we want to count
     *   }
     * })
    **/
    count<T extends DesignationCountArgs>(
      args?: Subset<T, DesignationCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DesignationCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Designation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DesignationAggregateArgs>(args: Subset<T, DesignationAggregateArgs>): Prisma.PrismaPromise<GetDesignationAggregateType<T>>

    /**
     * Group by Designation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DesignationGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DesignationGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DesignationGroupByArgs['orderBy'] }
        : { orderBy?: DesignationGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DesignationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDesignationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Designation model
   */
  readonly fields: DesignationFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Designation.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DesignationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    users<T extends Designation$usersArgs<ExtArgs> = {}>(args?: Subset<T, Designation$usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends Designation$createdArgs<ExtArgs> = {}>(args?: Subset<T, Designation$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends Designation$updatedArgs<ExtArgs> = {}>(args?: Subset<T, Designation$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends Designation$deletedArgs<ExtArgs> = {}>(args?: Subset<T, Designation$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Designation model
   */ 
  interface DesignationFieldRefs {
    readonly id: FieldRef<"Designation", 'Int'>
    readonly uuid: FieldRef<"Designation", 'String'>
    readonly code: FieldRef<"Designation", 'String'>
    readonly name: FieldRef<"Designation", 'String'>
    readonly description: FieldRef<"Designation", 'String'>
    readonly status_id: FieldRef<"Designation", 'Int'>
    readonly company_id: FieldRef<"Designation", 'Int'>
    readonly created_by: FieldRef<"Designation", 'Int'>
    readonly updated_by: FieldRef<"Designation", 'Int'>
    readonly deleted_by: FieldRef<"Designation", 'Int'>
    readonly created_at: FieldRef<"Designation", 'DateTime'>
    readonly updated_at: FieldRef<"Designation", 'DateTime'>
    readonly deleted_at: FieldRef<"Designation", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Designation findUnique
   */
  export type DesignationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter, which Designation to fetch.
     */
    where: DesignationWhereUniqueInput
  }

  /**
   * Designation findUniqueOrThrow
   */
  export type DesignationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter, which Designation to fetch.
     */
    where: DesignationWhereUniqueInput
  }

  /**
   * Designation findFirst
   */
  export type DesignationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter, which Designation to fetch.
     */
    where?: DesignationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Designations to fetch.
     */
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Designations.
     */
    cursor?: DesignationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Designations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Designations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Designations.
     */
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * Designation findFirstOrThrow
   */
  export type DesignationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter, which Designation to fetch.
     */
    where?: DesignationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Designations to fetch.
     */
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Designations.
     */
    cursor?: DesignationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Designations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Designations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Designations.
     */
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * Designation findMany
   */
  export type DesignationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter, which Designations to fetch.
     */
    where?: DesignationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Designations to fetch.
     */
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Designations.
     */
    cursor?: DesignationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Designations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Designations.
     */
    skip?: number
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * Designation create
   */
  export type DesignationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * The data needed to create a Designation.
     */
    data: XOR<DesignationCreateInput, DesignationUncheckedCreateInput>
  }

  /**
   * Designation createMany
   */
  export type DesignationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Designations.
     */
    data: DesignationCreateManyInput | DesignationCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Designation createManyAndReturn
   */
  export type DesignationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Designations.
     */
    data: DesignationCreateManyInput | DesignationCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Designation update
   */
  export type DesignationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * The data needed to update a Designation.
     */
    data: XOR<DesignationUpdateInput, DesignationUncheckedUpdateInput>
    /**
     * Choose, which Designation to update.
     */
    where: DesignationWhereUniqueInput
  }

  /**
   * Designation updateMany
   */
  export type DesignationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Designations.
     */
    data: XOR<DesignationUpdateManyMutationInput, DesignationUncheckedUpdateManyInput>
    /**
     * Filter which Designations to update
     */
    where?: DesignationWhereInput
  }

  /**
   * Designation upsert
   */
  export type DesignationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * The filter to search for the Designation to update in case it exists.
     */
    where: DesignationWhereUniqueInput
    /**
     * In case the Designation found by the `where` argument doesn't exist, create a new Designation with this data.
     */
    create: XOR<DesignationCreateInput, DesignationUncheckedCreateInput>
    /**
     * In case the Designation was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DesignationUpdateInput, DesignationUncheckedUpdateInput>
  }

  /**
   * Designation delete
   */
  export type DesignationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    /**
     * Filter which Designation to delete.
     */
    where: DesignationWhereUniqueInput
  }

  /**
   * Designation deleteMany
   */
  export type DesignationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Designations to delete
     */
    where?: DesignationWhereInput
  }

  /**
   * Designation.users
   */
  export type Designation$usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    cursor?: UserDetailWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * Designation.created
   */
  export type Designation$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Designation.updated
   */
  export type Designation$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Designation.deleted
   */
  export type Designation$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Designation without action
   */
  export type DesignationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
  }


  /**
   * Model Department
   */

  export type AggregateDepartment = {
    _count: DepartmentCountAggregateOutputType | null
    _avg: DepartmentAvgAggregateOutputType | null
    _sum: DepartmentSumAggregateOutputType | null
    _min: DepartmentMinAggregateOutputType | null
    _max: DepartmentMaxAggregateOutputType | null
  }

  export type DepartmentAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    department_head_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DepartmentSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    department_head_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DepartmentMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    code: string | null
    name: string | null
    description: string | null
    status_id: number | null
    department_head_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DepartmentMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    code: string | null
    name: string | null
    description: string | null
    status_id: number | null
    department_head_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DepartmentCountAggregateOutputType = {
    id: number
    uuid: number
    code: number
    name: number
    description: number
    status_id: number
    department_head_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type DepartmentAvgAggregateInputType = {
    id?: true
    status_id?: true
    department_head_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DepartmentSumAggregateInputType = {
    id?: true
    status_id?: true
    department_head_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DepartmentMinAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    department_head_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DepartmentMaxAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    department_head_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DepartmentCountAggregateInputType = {
    id?: true
    uuid?: true
    code?: true
    name?: true
    description?: true
    status_id?: true
    department_head_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type DepartmentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Department to aggregate.
     */
    where?: DepartmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Departments to fetch.
     */
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DepartmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Departments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Departments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Departments
    **/
    _count?: true | DepartmentCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DepartmentAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DepartmentSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DepartmentMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DepartmentMaxAggregateInputType
  }

  export type GetDepartmentAggregateType<T extends DepartmentAggregateArgs> = {
        [P in keyof T & keyof AggregateDepartment]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDepartment[P]>
      : GetScalarType<T[P], AggregateDepartment[P]>
  }




  export type DepartmentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithAggregationInput | DepartmentOrderByWithAggregationInput[]
    by: DepartmentScalarFieldEnum[] | DepartmentScalarFieldEnum
    having?: DepartmentScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DepartmentCountAggregateInputType | true
    _avg?: DepartmentAvgAggregateInputType
    _sum?: DepartmentSumAggregateInputType
    _min?: DepartmentMinAggregateInputType
    _max?: DepartmentMaxAggregateInputType
  }

  export type DepartmentGroupByOutputType = {
    id: number
    uuid: string
    code: string
    name: string
    description: string | null
    status_id: number
    department_head_id: number | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: DepartmentCountAggregateOutputType | null
    _avg: DepartmentAvgAggregateOutputType | null
    _sum: DepartmentSumAggregateOutputType | null
    _min: DepartmentMinAggregateOutputType | null
    _max: DepartmentMaxAggregateOutputType | null
  }

  type GetDepartmentGroupByPayload<T extends DepartmentGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DepartmentGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DepartmentGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DepartmentGroupByOutputType[P]>
            : GetScalarType<T[P], DepartmentGroupByOutputType[P]>
        }
      >
    >


  export type DepartmentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    department_head_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    users?: boolean | Department$usersArgs<ExtArgs>
    department_head?: boolean | Department$department_headArgs<ExtArgs>
    created?: boolean | Department$createdArgs<ExtArgs>
    updated?: boolean | Department$updatedArgs<ExtArgs>
    deleted?: boolean | Department$deletedArgs<ExtArgs>
    _count?: boolean | DepartmentCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["department"]>

  export type DepartmentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    department_head_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    department_head?: boolean | Department$department_headArgs<ExtArgs>
    created?: boolean | Department$createdArgs<ExtArgs>
    updated?: boolean | Department$updatedArgs<ExtArgs>
    deleted?: boolean | Department$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["department"]>

  export type DepartmentSelectScalar = {
    id?: boolean
    uuid?: boolean
    code?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    department_head_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type DepartmentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    users?: boolean | Department$usersArgs<ExtArgs>
    department_head?: boolean | Department$department_headArgs<ExtArgs>
    created?: boolean | Department$createdArgs<ExtArgs>
    updated?: boolean | Department$updatedArgs<ExtArgs>
    deleted?: boolean | Department$deletedArgs<ExtArgs>
    _count?: boolean | DepartmentCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type DepartmentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    department_head?: boolean | Department$department_headArgs<ExtArgs>
    created?: boolean | Department$createdArgs<ExtArgs>
    updated?: boolean | Department$updatedArgs<ExtArgs>
    deleted?: boolean | Department$deletedArgs<ExtArgs>
  }

  export type $DepartmentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Department"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      users: Prisma.$UserDetailPayload<ExtArgs>[]
      department_head: Prisma.$UserPayload<ExtArgs> | null
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      code: string
      name: string
      description: string | null
      status_id: number
      department_head_id: number | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["department"]>
    composites: {}
  }

  type DepartmentGetPayload<S extends boolean | null | undefined | DepartmentDefaultArgs> = $Result.GetResult<Prisma.$DepartmentPayload, S>

  type DepartmentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DepartmentFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DepartmentCountAggregateInputType | true
    }

  export interface DepartmentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Department'], meta: { name: 'Department' } }
    /**
     * Find zero or one Department that matches the filter.
     * @param {DepartmentFindUniqueArgs} args - Arguments to find a Department
     * @example
     * // Get one Department
     * const department = await prisma.department.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DepartmentFindUniqueArgs>(args: SelectSubset<T, DepartmentFindUniqueArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Department that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DepartmentFindUniqueOrThrowArgs} args - Arguments to find a Department
     * @example
     * // Get one Department
     * const department = await prisma.department.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DepartmentFindUniqueOrThrowArgs>(args: SelectSubset<T, DepartmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Department that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentFindFirstArgs} args - Arguments to find a Department
     * @example
     * // Get one Department
     * const department = await prisma.department.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DepartmentFindFirstArgs>(args?: SelectSubset<T, DepartmentFindFirstArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Department that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentFindFirstOrThrowArgs} args - Arguments to find a Department
     * @example
     * // Get one Department
     * const department = await prisma.department.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DepartmentFindFirstOrThrowArgs>(args?: SelectSubset<T, DepartmentFindFirstOrThrowArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Departments that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Departments
     * const departments = await prisma.department.findMany()
     * 
     * // Get first 10 Departments
     * const departments = await prisma.department.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const departmentWithIdOnly = await prisma.department.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DepartmentFindManyArgs>(args?: SelectSubset<T, DepartmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Department.
     * @param {DepartmentCreateArgs} args - Arguments to create a Department.
     * @example
     * // Create one Department
     * const Department = await prisma.department.create({
     *   data: {
     *     // ... data to create a Department
     *   }
     * })
     * 
     */
    create<T extends DepartmentCreateArgs>(args: SelectSubset<T, DepartmentCreateArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Departments.
     * @param {DepartmentCreateManyArgs} args - Arguments to create many Departments.
     * @example
     * // Create many Departments
     * const department = await prisma.department.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DepartmentCreateManyArgs>(args?: SelectSubset<T, DepartmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Departments and returns the data saved in the database.
     * @param {DepartmentCreateManyAndReturnArgs} args - Arguments to create many Departments.
     * @example
     * // Create many Departments
     * const department = await prisma.department.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Departments and only return the `id`
     * const departmentWithIdOnly = await prisma.department.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DepartmentCreateManyAndReturnArgs>(args?: SelectSubset<T, DepartmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Department.
     * @param {DepartmentDeleteArgs} args - Arguments to delete one Department.
     * @example
     * // Delete one Department
     * const Department = await prisma.department.delete({
     *   where: {
     *     // ... filter to delete one Department
     *   }
     * })
     * 
     */
    delete<T extends DepartmentDeleteArgs>(args: SelectSubset<T, DepartmentDeleteArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Department.
     * @param {DepartmentUpdateArgs} args - Arguments to update one Department.
     * @example
     * // Update one Department
     * const department = await prisma.department.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DepartmentUpdateArgs>(args: SelectSubset<T, DepartmentUpdateArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Departments.
     * @param {DepartmentDeleteManyArgs} args - Arguments to filter Departments to delete.
     * @example
     * // Delete a few Departments
     * const { count } = await prisma.department.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DepartmentDeleteManyArgs>(args?: SelectSubset<T, DepartmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Departments
     * const department = await prisma.department.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DepartmentUpdateManyArgs>(args: SelectSubset<T, DepartmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Department.
     * @param {DepartmentUpsertArgs} args - Arguments to update or create a Department.
     * @example
     * // Update or create a Department
     * const department = await prisma.department.upsert({
     *   create: {
     *     // ... data to create a Department
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Department we want to update
     *   }
     * })
     */
    upsert<T extends DepartmentUpsertArgs>(args: SelectSubset<T, DepartmentUpsertArgs<ExtArgs>>): Prisma__DepartmentClient<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentCountArgs} args - Arguments to filter Departments to count.
     * @example
     * // Count the number of Departments
     * const count = await prisma.department.count({
     *   where: {
     *     // ... the filter for the Departments we want to count
     *   }
     * })
    **/
    count<T extends DepartmentCountArgs>(
      args?: Subset<T, DepartmentCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DepartmentCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Department.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DepartmentAggregateArgs>(args: Subset<T, DepartmentAggregateArgs>): Prisma.PrismaPromise<GetDepartmentAggregateType<T>>

    /**
     * Group by Department.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DepartmentGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DepartmentGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DepartmentGroupByArgs['orderBy'] }
        : { orderBy?: DepartmentGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DepartmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDepartmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Department model
   */
  readonly fields: DepartmentFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Department.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DepartmentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    users<T extends Department$usersArgs<ExtArgs> = {}>(args?: Subset<T, Department$usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserDetailPayload<ExtArgs>, T, "findMany"> | Null>
    department_head<T extends Department$department_headArgs<ExtArgs> = {}>(args?: Subset<T, Department$department_headArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created<T extends Department$createdArgs<ExtArgs> = {}>(args?: Subset<T, Department$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends Department$updatedArgs<ExtArgs> = {}>(args?: Subset<T, Department$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends Department$deletedArgs<ExtArgs> = {}>(args?: Subset<T, Department$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Department model
   */ 
  interface DepartmentFieldRefs {
    readonly id: FieldRef<"Department", 'Int'>
    readonly uuid: FieldRef<"Department", 'String'>
    readonly code: FieldRef<"Department", 'String'>
    readonly name: FieldRef<"Department", 'String'>
    readonly description: FieldRef<"Department", 'String'>
    readonly status_id: FieldRef<"Department", 'Int'>
    readonly department_head_id: FieldRef<"Department", 'Int'>
    readonly company_id: FieldRef<"Department", 'Int'>
    readonly created_by: FieldRef<"Department", 'Int'>
    readonly updated_by: FieldRef<"Department", 'Int'>
    readonly deleted_by: FieldRef<"Department", 'Int'>
    readonly created_at: FieldRef<"Department", 'DateTime'>
    readonly updated_at: FieldRef<"Department", 'DateTime'>
    readonly deleted_at: FieldRef<"Department", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Department findUnique
   */
  export type DepartmentFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter, which Department to fetch.
     */
    where: DepartmentWhereUniqueInput
  }

  /**
   * Department findUniqueOrThrow
   */
  export type DepartmentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter, which Department to fetch.
     */
    where: DepartmentWhereUniqueInput
  }

  /**
   * Department findFirst
   */
  export type DepartmentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter, which Department to fetch.
     */
    where?: DepartmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Departments to fetch.
     */
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Departments.
     */
    cursor?: DepartmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Departments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Departments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Departments.
     */
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * Department findFirstOrThrow
   */
  export type DepartmentFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter, which Department to fetch.
     */
    where?: DepartmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Departments to fetch.
     */
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Departments.
     */
    cursor?: DepartmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Departments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Departments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Departments.
     */
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * Department findMany
   */
  export type DepartmentFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter, which Departments to fetch.
     */
    where?: DepartmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Departments to fetch.
     */
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Departments.
     */
    cursor?: DepartmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Departments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Departments.
     */
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * Department create
   */
  export type DepartmentCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * The data needed to create a Department.
     */
    data: XOR<DepartmentCreateInput, DepartmentUncheckedCreateInput>
  }

  /**
   * Department createMany
   */
  export type DepartmentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Departments.
     */
    data: DepartmentCreateManyInput | DepartmentCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Department createManyAndReturn
   */
  export type DepartmentCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Departments.
     */
    data: DepartmentCreateManyInput | DepartmentCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Department update
   */
  export type DepartmentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * The data needed to update a Department.
     */
    data: XOR<DepartmentUpdateInput, DepartmentUncheckedUpdateInput>
    /**
     * Choose, which Department to update.
     */
    where: DepartmentWhereUniqueInput
  }

  /**
   * Department updateMany
   */
  export type DepartmentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Departments.
     */
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyInput>
    /**
     * Filter which Departments to update
     */
    where?: DepartmentWhereInput
  }

  /**
   * Department upsert
   */
  export type DepartmentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * The filter to search for the Department to update in case it exists.
     */
    where: DepartmentWhereUniqueInput
    /**
     * In case the Department found by the `where` argument doesn't exist, create a new Department with this data.
     */
    create: XOR<DepartmentCreateInput, DepartmentUncheckedCreateInput>
    /**
     * In case the Department was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DepartmentUpdateInput, DepartmentUncheckedUpdateInput>
  }

  /**
   * Department delete
   */
  export type DepartmentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    /**
     * Filter which Department to delete.
     */
    where: DepartmentWhereUniqueInput
  }

  /**
   * Department deleteMany
   */
  export type DepartmentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Departments to delete
     */
    where?: DepartmentWhereInput
  }

  /**
   * Department.users
   */
  export type Department$usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserDetail
     */
    select?: UserDetailSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserDetailInclude<ExtArgs> | null
    where?: UserDetailWhereInput
    orderBy?: UserDetailOrderByWithRelationInput | UserDetailOrderByWithRelationInput[]
    cursor?: UserDetailWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserDetailScalarFieldEnum | UserDetailScalarFieldEnum[]
  }

  /**
   * Department.department_head
   */
  export type Department$department_headArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Department.created
   */
  export type Department$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Department.updated
   */
  export type Department$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Department.deleted
   */
  export type Department$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Department without action
   */
  export type DepartmentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
  }


  /**
   * Model RequestLog
   */

  export type AggregateRequestLog = {
    _count: RequestLogCountAggregateOutputType | null
    _avg: RequestLogAvgAggregateOutputType | null
    _sum: RequestLogSumAggregateOutputType | null
    _min: RequestLogMinAggregateOutputType | null
    _max: RequestLogMaxAggregateOutputType | null
  }

  export type RequestLogAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    res_code: number | null
    status_id: number | null
    company_id: number | null
  }

  export type RequestLogSumAggregateOutputType = {
    id: bigint | null
    user_id: number | null
    res_code: number | null
    status_id: number | null
    company_id: number | null
  }

  export type RequestLogMinAggregateOutputType = {
    id: bigint | null
    uuid: string | null
    user_id: number | null
    req_method: string | null
    req_url: string | null
    req_body: string | null
    res_status: boolean | null
    res_code: number | null
    res_message: string | null
    req_response: string | null
    req_headers: string | null
    req_ip: string | null
    req_device: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type RequestLogMaxAggregateOutputType = {
    id: bigint | null
    uuid: string | null
    user_id: number | null
    req_method: string | null
    req_url: string | null
    req_body: string | null
    res_status: boolean | null
    res_code: number | null
    res_message: string | null
    req_response: string | null
    req_headers: string | null
    req_ip: string | null
    req_device: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type RequestLogCountAggregateOutputType = {
    id: number
    uuid: number
    user_id: number
    req_method: number
    req_url: number
    req_body: number
    res_status: number
    res_code: number
    res_message: number
    req_response: number
    req_headers: number
    req_ip: number
    req_device: number
    status_id: number
    company_id: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type RequestLogAvgAggregateInputType = {
    id?: true
    user_id?: true
    res_code?: true
    status_id?: true
    company_id?: true
  }

  export type RequestLogSumAggregateInputType = {
    id?: true
    user_id?: true
    res_code?: true
    status_id?: true
    company_id?: true
  }

  export type RequestLogMinAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    req_method?: true
    req_url?: true
    req_body?: true
    res_status?: true
    res_code?: true
    res_message?: true
    req_response?: true
    req_headers?: true
    req_ip?: true
    req_device?: true
    status_id?: true
    company_id?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type RequestLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    req_method?: true
    req_url?: true
    req_body?: true
    res_status?: true
    res_code?: true
    res_message?: true
    req_response?: true
    req_headers?: true
    req_ip?: true
    req_device?: true
    status_id?: true
    company_id?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type RequestLogCountAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    req_method?: true
    req_url?: true
    req_body?: true
    res_status?: true
    res_code?: true
    res_message?: true
    req_response?: true
    req_headers?: true
    req_ip?: true
    req_device?: true
    status_id?: true
    company_id?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type RequestLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RequestLog to aggregate.
     */
    where?: RequestLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RequestLogs to fetch.
     */
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: RequestLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RequestLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RequestLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned RequestLogs
    **/
    _count?: true | RequestLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: RequestLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: RequestLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: RequestLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: RequestLogMaxAggregateInputType
  }

  export type GetRequestLogAggregateType<T extends RequestLogAggregateArgs> = {
        [P in keyof T & keyof AggregateRequestLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateRequestLog[P]>
      : GetScalarType<T[P], AggregateRequestLog[P]>
  }




  export type RequestLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RequestLogWhereInput
    orderBy?: RequestLogOrderByWithAggregationInput | RequestLogOrderByWithAggregationInput[]
    by: RequestLogScalarFieldEnum[] | RequestLogScalarFieldEnum
    having?: RequestLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: RequestLogCountAggregateInputType | true
    _avg?: RequestLogAvgAggregateInputType
    _sum?: RequestLogSumAggregateInputType
    _min?: RequestLogMinAggregateInputType
    _max?: RequestLogMaxAggregateInputType
  }

  export type RequestLogGroupByOutputType = {
    id: bigint
    uuid: string
    user_id: number | null
    req_method: string | null
    req_url: string | null
    req_body: string | null
    res_status: boolean
    res_code: number
    res_message: string | null
    req_response: string | null
    req_headers: string | null
    req_ip: string | null
    req_device: string | null
    status_id: number
    company_id: number
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: RequestLogCountAggregateOutputType | null
    _avg: RequestLogAvgAggregateOutputType | null
    _sum: RequestLogSumAggregateOutputType | null
    _min: RequestLogMinAggregateOutputType | null
    _max: RequestLogMaxAggregateOutputType | null
  }

  type GetRequestLogGroupByPayload<T extends RequestLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<RequestLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof RequestLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], RequestLogGroupByOutputType[P]>
            : GetScalarType<T[P], RequestLogGroupByOutputType[P]>
        }
      >
    >


  export type RequestLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    res_status?: boolean
    res_code?: boolean
    res_message?: boolean
    req_response?: boolean
    req_headers?: boolean
    req_ip?: boolean
    req_device?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | RequestLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["requestLog"]>

  export type RequestLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    res_status?: boolean
    res_code?: boolean
    res_message?: boolean
    req_response?: boolean
    req_headers?: boolean
    req_ip?: boolean
    req_device?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | RequestLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["requestLog"]>

  export type RequestLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    res_status?: boolean
    res_code?: boolean
    res_message?: boolean
    req_response?: boolean
    req_headers?: boolean
    req_ip?: boolean
    req_device?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type RequestLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | RequestLog$userArgs<ExtArgs>
  }
  export type RequestLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | RequestLog$userArgs<ExtArgs>
  }

  export type $RequestLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "RequestLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: bigint
      uuid: string
      user_id: number | null
      req_method: string | null
      req_url: string | null
      req_body: string | null
      res_status: boolean
      res_code: number
      res_message: string | null
      req_response: string | null
      req_headers: string | null
      req_ip: string | null
      req_device: string | null
      status_id: number
      company_id: number
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["requestLog"]>
    composites: {}
  }

  type RequestLogGetPayload<S extends boolean | null | undefined | RequestLogDefaultArgs> = $Result.GetResult<Prisma.$RequestLogPayload, S>

  type RequestLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<RequestLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: RequestLogCountAggregateInputType | true
    }

  export interface RequestLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RequestLog'], meta: { name: 'RequestLog' } }
    /**
     * Find zero or one RequestLog that matches the filter.
     * @param {RequestLogFindUniqueArgs} args - Arguments to find a RequestLog
     * @example
     * // Get one RequestLog
     * const requestLog = await prisma.requestLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends RequestLogFindUniqueArgs>(args: SelectSubset<T, RequestLogFindUniqueArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one RequestLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {RequestLogFindUniqueOrThrowArgs} args - Arguments to find a RequestLog
     * @example
     * // Get one RequestLog
     * const requestLog = await prisma.requestLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends RequestLogFindUniqueOrThrowArgs>(args: SelectSubset<T, RequestLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first RequestLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogFindFirstArgs} args - Arguments to find a RequestLog
     * @example
     * // Get one RequestLog
     * const requestLog = await prisma.requestLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends RequestLogFindFirstArgs>(args?: SelectSubset<T, RequestLogFindFirstArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first RequestLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogFindFirstOrThrowArgs} args - Arguments to find a RequestLog
     * @example
     * // Get one RequestLog
     * const requestLog = await prisma.requestLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends RequestLogFindFirstOrThrowArgs>(args?: SelectSubset<T, RequestLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more RequestLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all RequestLogs
     * const requestLogs = await prisma.requestLog.findMany()
     * 
     * // Get first 10 RequestLogs
     * const requestLogs = await prisma.requestLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const requestLogWithIdOnly = await prisma.requestLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends RequestLogFindManyArgs>(args?: SelectSubset<T, RequestLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a RequestLog.
     * @param {RequestLogCreateArgs} args - Arguments to create a RequestLog.
     * @example
     * // Create one RequestLog
     * const RequestLog = await prisma.requestLog.create({
     *   data: {
     *     // ... data to create a RequestLog
     *   }
     * })
     * 
     */
    create<T extends RequestLogCreateArgs>(args: SelectSubset<T, RequestLogCreateArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many RequestLogs.
     * @param {RequestLogCreateManyArgs} args - Arguments to create many RequestLogs.
     * @example
     * // Create many RequestLogs
     * const requestLog = await prisma.requestLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends RequestLogCreateManyArgs>(args?: SelectSubset<T, RequestLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many RequestLogs and returns the data saved in the database.
     * @param {RequestLogCreateManyAndReturnArgs} args - Arguments to create many RequestLogs.
     * @example
     * // Create many RequestLogs
     * const requestLog = await prisma.requestLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many RequestLogs and only return the `id`
     * const requestLogWithIdOnly = await prisma.requestLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends RequestLogCreateManyAndReturnArgs>(args?: SelectSubset<T, RequestLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a RequestLog.
     * @param {RequestLogDeleteArgs} args - Arguments to delete one RequestLog.
     * @example
     * // Delete one RequestLog
     * const RequestLog = await prisma.requestLog.delete({
     *   where: {
     *     // ... filter to delete one RequestLog
     *   }
     * })
     * 
     */
    delete<T extends RequestLogDeleteArgs>(args: SelectSubset<T, RequestLogDeleteArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one RequestLog.
     * @param {RequestLogUpdateArgs} args - Arguments to update one RequestLog.
     * @example
     * // Update one RequestLog
     * const requestLog = await prisma.requestLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends RequestLogUpdateArgs>(args: SelectSubset<T, RequestLogUpdateArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more RequestLogs.
     * @param {RequestLogDeleteManyArgs} args - Arguments to filter RequestLogs to delete.
     * @example
     * // Delete a few RequestLogs
     * const { count } = await prisma.requestLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends RequestLogDeleteManyArgs>(args?: SelectSubset<T, RequestLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more RequestLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many RequestLogs
     * const requestLog = await prisma.requestLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends RequestLogUpdateManyArgs>(args: SelectSubset<T, RequestLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one RequestLog.
     * @param {RequestLogUpsertArgs} args - Arguments to update or create a RequestLog.
     * @example
     * // Update or create a RequestLog
     * const requestLog = await prisma.requestLog.upsert({
     *   create: {
     *     // ... data to create a RequestLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the RequestLog we want to update
     *   }
     * })
     */
    upsert<T extends RequestLogUpsertArgs>(args: SelectSubset<T, RequestLogUpsertArgs<ExtArgs>>): Prisma__RequestLogClient<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of RequestLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogCountArgs} args - Arguments to filter RequestLogs to count.
     * @example
     * // Count the number of RequestLogs
     * const count = await prisma.requestLog.count({
     *   where: {
     *     // ... the filter for the RequestLogs we want to count
     *   }
     * })
    **/
    count<T extends RequestLogCountArgs>(
      args?: Subset<T, RequestLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], RequestLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a RequestLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends RequestLogAggregateArgs>(args: Subset<T, RequestLogAggregateArgs>): Prisma.PrismaPromise<GetRequestLogAggregateType<T>>

    /**
     * Group by RequestLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RequestLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends RequestLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: RequestLogGroupByArgs['orderBy'] }
        : { orderBy?: RequestLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, RequestLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRequestLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the RequestLog model
   */
  readonly fields: RequestLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for RequestLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__RequestLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends RequestLog$userArgs<ExtArgs> = {}>(args?: Subset<T, RequestLog$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the RequestLog model
   */ 
  interface RequestLogFieldRefs {
    readonly id: FieldRef<"RequestLog", 'BigInt'>
    readonly uuid: FieldRef<"RequestLog", 'String'>
    readonly user_id: FieldRef<"RequestLog", 'Int'>
    readonly req_method: FieldRef<"RequestLog", 'String'>
    readonly req_url: FieldRef<"RequestLog", 'String'>
    readonly req_body: FieldRef<"RequestLog", 'String'>
    readonly res_status: FieldRef<"RequestLog", 'Boolean'>
    readonly res_code: FieldRef<"RequestLog", 'Int'>
    readonly res_message: FieldRef<"RequestLog", 'String'>
    readonly req_response: FieldRef<"RequestLog", 'String'>
    readonly req_headers: FieldRef<"RequestLog", 'String'>
    readonly req_ip: FieldRef<"RequestLog", 'String'>
    readonly req_device: FieldRef<"RequestLog", 'String'>
    readonly status_id: FieldRef<"RequestLog", 'Int'>
    readonly company_id: FieldRef<"RequestLog", 'Int'>
    readonly created_at: FieldRef<"RequestLog", 'DateTime'>
    readonly updated_at: FieldRef<"RequestLog", 'DateTime'>
    readonly deleted_at: FieldRef<"RequestLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * RequestLog findUnique
   */
  export type RequestLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter, which RequestLog to fetch.
     */
    where: RequestLogWhereUniqueInput
  }

  /**
   * RequestLog findUniqueOrThrow
   */
  export type RequestLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter, which RequestLog to fetch.
     */
    where: RequestLogWhereUniqueInput
  }

  /**
   * RequestLog findFirst
   */
  export type RequestLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter, which RequestLog to fetch.
     */
    where?: RequestLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RequestLogs to fetch.
     */
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RequestLogs.
     */
    cursor?: RequestLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RequestLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RequestLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RequestLogs.
     */
    distinct?: RequestLogScalarFieldEnum | RequestLogScalarFieldEnum[]
  }

  /**
   * RequestLog findFirstOrThrow
   */
  export type RequestLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter, which RequestLog to fetch.
     */
    where?: RequestLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RequestLogs to fetch.
     */
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RequestLogs.
     */
    cursor?: RequestLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RequestLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RequestLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RequestLogs.
     */
    distinct?: RequestLogScalarFieldEnum | RequestLogScalarFieldEnum[]
  }

  /**
   * RequestLog findMany
   */
  export type RequestLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter, which RequestLogs to fetch.
     */
    where?: RequestLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RequestLogs to fetch.
     */
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing RequestLogs.
     */
    cursor?: RequestLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RequestLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RequestLogs.
     */
    skip?: number
    distinct?: RequestLogScalarFieldEnum | RequestLogScalarFieldEnum[]
  }

  /**
   * RequestLog create
   */
  export type RequestLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * The data needed to create a RequestLog.
     */
    data: XOR<RequestLogCreateInput, RequestLogUncheckedCreateInput>
  }

  /**
   * RequestLog createMany
   */
  export type RequestLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many RequestLogs.
     */
    data: RequestLogCreateManyInput | RequestLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * RequestLog createManyAndReturn
   */
  export type RequestLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many RequestLogs.
     */
    data: RequestLogCreateManyInput | RequestLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * RequestLog update
   */
  export type RequestLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * The data needed to update a RequestLog.
     */
    data: XOR<RequestLogUpdateInput, RequestLogUncheckedUpdateInput>
    /**
     * Choose, which RequestLog to update.
     */
    where: RequestLogWhereUniqueInput
  }

  /**
   * RequestLog updateMany
   */
  export type RequestLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update RequestLogs.
     */
    data: XOR<RequestLogUpdateManyMutationInput, RequestLogUncheckedUpdateManyInput>
    /**
     * Filter which RequestLogs to update
     */
    where?: RequestLogWhereInput
  }

  /**
   * RequestLog upsert
   */
  export type RequestLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * The filter to search for the RequestLog to update in case it exists.
     */
    where: RequestLogWhereUniqueInput
    /**
     * In case the RequestLog found by the `where` argument doesn't exist, create a new RequestLog with this data.
     */
    create: XOR<RequestLogCreateInput, RequestLogUncheckedCreateInput>
    /**
     * In case the RequestLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<RequestLogUpdateInput, RequestLogUncheckedUpdateInput>
  }

  /**
   * RequestLog delete
   */
  export type RequestLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    /**
     * Filter which RequestLog to delete.
     */
    where: RequestLogWhereUniqueInput
  }

  /**
   * RequestLog deleteMany
   */
  export type RequestLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RequestLogs to delete
     */
    where?: RequestLogWhereInput
  }

  /**
   * RequestLog.user
   */
  export type RequestLog$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * RequestLog without action
   */
  export type RequestLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
  }


  /**
   * Model FinancialYear
   */

  export type AggregateFinancialYear = {
    _count: FinancialYearCountAggregateOutputType | null
    _avg: FinancialYearAvgAggregateOutputType | null
    _sum: FinancialYearSumAggregateOutputType | null
    _min: FinancialYearMinAggregateOutputType | null
    _max: FinancialYearMaxAggregateOutputType | null
  }

  export type FinancialYearAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type FinancialYearSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type FinancialYearMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    is_freezed: boolean | null
    start_date: Date | null
    end_date: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type FinancialYearMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    is_freezed: boolean | null
    start_date: Date | null
    end_date: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type FinancialYearCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    code: number
    is_freezed: number
    start_date: number
    end_date: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type FinancialYearAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type FinancialYearSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type FinancialYearMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    is_freezed?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type FinancialYearMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    is_freezed?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type FinancialYearCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    is_freezed?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type FinancialYearAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FinancialYear to aggregate.
     */
    where?: FinancialYearWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FinancialYears to fetch.
     */
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: FinancialYearWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FinancialYears from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FinancialYears.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned FinancialYears
    **/
    _count?: true | FinancialYearCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: FinancialYearAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: FinancialYearSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: FinancialYearMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: FinancialYearMaxAggregateInputType
  }

  export type GetFinancialYearAggregateType<T extends FinancialYearAggregateArgs> = {
        [P in keyof T & keyof AggregateFinancialYear]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateFinancialYear[P]>
      : GetScalarType<T[P], AggregateFinancialYear[P]>
  }




  export type FinancialYearGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FinancialYearWhereInput
    orderBy?: FinancialYearOrderByWithAggregationInput | FinancialYearOrderByWithAggregationInput[]
    by: FinancialYearScalarFieldEnum[] | FinancialYearScalarFieldEnum
    having?: FinancialYearScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: FinancialYearCountAggregateInputType | true
    _avg?: FinancialYearAvgAggregateInputType
    _sum?: FinancialYearSumAggregateInputType
    _min?: FinancialYearMinAggregateInputType
    _max?: FinancialYearMaxAggregateInputType
  }

  export type FinancialYearGroupByOutputType = {
    id: number
    uuid: string
    name: string
    code: string
    is_freezed: boolean
    start_date: Date
    end_date: Date
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: FinancialYearCountAggregateOutputType | null
    _avg: FinancialYearAvgAggregateOutputType | null
    _sum: FinancialYearSumAggregateOutputType | null
    _min: FinancialYearMinAggregateOutputType | null
    _max: FinancialYearMaxAggregateOutputType | null
  }

  type GetFinancialYearGroupByPayload<T extends FinancialYearGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<FinancialYearGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof FinancialYearGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], FinancialYearGroupByOutputType[P]>
            : GetScalarType<T[P], FinancialYearGroupByOutputType[P]>
        }
      >
    >


  export type FinancialYearSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    is_freezed?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    document_sequence?: boolean | FinancialYear$document_sequenceArgs<ExtArgs>
    created?: boolean | FinancialYear$createdArgs<ExtArgs>
    updated?: boolean | FinancialYear$updatedArgs<ExtArgs>
    deleted?: boolean | FinancialYear$deletedArgs<ExtArgs>
    _count?: boolean | FinancialYearCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["financialYear"]>

  export type FinancialYearSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    is_freezed?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | FinancialYear$createdArgs<ExtArgs>
    updated?: boolean | FinancialYear$updatedArgs<ExtArgs>
    deleted?: boolean | FinancialYear$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["financialYear"]>

  export type FinancialYearSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    is_freezed?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type FinancialYearInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    document_sequence?: boolean | FinancialYear$document_sequenceArgs<ExtArgs>
    created?: boolean | FinancialYear$createdArgs<ExtArgs>
    updated?: boolean | FinancialYear$updatedArgs<ExtArgs>
    deleted?: boolean | FinancialYear$deletedArgs<ExtArgs>
    _count?: boolean | FinancialYearCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type FinancialYearIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | FinancialYear$createdArgs<ExtArgs>
    updated?: boolean | FinancialYear$updatedArgs<ExtArgs>
    deleted?: boolean | FinancialYear$deletedArgs<ExtArgs>
  }

  export type $FinancialYearPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "FinancialYear"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      document_sequence: Prisma.$DocumentSequencePayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      code: string
      is_freezed: boolean
      start_date: Date
      end_date: Date
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["financialYear"]>
    composites: {}
  }

  type FinancialYearGetPayload<S extends boolean | null | undefined | FinancialYearDefaultArgs> = $Result.GetResult<Prisma.$FinancialYearPayload, S>

  type FinancialYearCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<FinancialYearFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: FinancialYearCountAggregateInputType | true
    }

  export interface FinancialYearDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FinancialYear'], meta: { name: 'FinancialYear' } }
    /**
     * Find zero or one FinancialYear that matches the filter.
     * @param {FinancialYearFindUniqueArgs} args - Arguments to find a FinancialYear
     * @example
     * // Get one FinancialYear
     * const financialYear = await prisma.financialYear.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends FinancialYearFindUniqueArgs>(args: SelectSubset<T, FinancialYearFindUniqueArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one FinancialYear that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {FinancialYearFindUniqueOrThrowArgs} args - Arguments to find a FinancialYear
     * @example
     * // Get one FinancialYear
     * const financialYear = await prisma.financialYear.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends FinancialYearFindUniqueOrThrowArgs>(args: SelectSubset<T, FinancialYearFindUniqueOrThrowArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first FinancialYear that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearFindFirstArgs} args - Arguments to find a FinancialYear
     * @example
     * // Get one FinancialYear
     * const financialYear = await prisma.financialYear.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends FinancialYearFindFirstArgs>(args?: SelectSubset<T, FinancialYearFindFirstArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first FinancialYear that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearFindFirstOrThrowArgs} args - Arguments to find a FinancialYear
     * @example
     * // Get one FinancialYear
     * const financialYear = await prisma.financialYear.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends FinancialYearFindFirstOrThrowArgs>(args?: SelectSubset<T, FinancialYearFindFirstOrThrowArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more FinancialYears that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all FinancialYears
     * const financialYears = await prisma.financialYear.findMany()
     * 
     * // Get first 10 FinancialYears
     * const financialYears = await prisma.financialYear.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const financialYearWithIdOnly = await prisma.financialYear.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends FinancialYearFindManyArgs>(args?: SelectSubset<T, FinancialYearFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a FinancialYear.
     * @param {FinancialYearCreateArgs} args - Arguments to create a FinancialYear.
     * @example
     * // Create one FinancialYear
     * const FinancialYear = await prisma.financialYear.create({
     *   data: {
     *     // ... data to create a FinancialYear
     *   }
     * })
     * 
     */
    create<T extends FinancialYearCreateArgs>(args: SelectSubset<T, FinancialYearCreateArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many FinancialYears.
     * @param {FinancialYearCreateManyArgs} args - Arguments to create many FinancialYears.
     * @example
     * // Create many FinancialYears
     * const financialYear = await prisma.financialYear.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends FinancialYearCreateManyArgs>(args?: SelectSubset<T, FinancialYearCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many FinancialYears and returns the data saved in the database.
     * @param {FinancialYearCreateManyAndReturnArgs} args - Arguments to create many FinancialYears.
     * @example
     * // Create many FinancialYears
     * const financialYear = await prisma.financialYear.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many FinancialYears and only return the `id`
     * const financialYearWithIdOnly = await prisma.financialYear.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends FinancialYearCreateManyAndReturnArgs>(args?: SelectSubset<T, FinancialYearCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a FinancialYear.
     * @param {FinancialYearDeleteArgs} args - Arguments to delete one FinancialYear.
     * @example
     * // Delete one FinancialYear
     * const FinancialYear = await prisma.financialYear.delete({
     *   where: {
     *     // ... filter to delete one FinancialYear
     *   }
     * })
     * 
     */
    delete<T extends FinancialYearDeleteArgs>(args: SelectSubset<T, FinancialYearDeleteArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one FinancialYear.
     * @param {FinancialYearUpdateArgs} args - Arguments to update one FinancialYear.
     * @example
     * // Update one FinancialYear
     * const financialYear = await prisma.financialYear.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends FinancialYearUpdateArgs>(args: SelectSubset<T, FinancialYearUpdateArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more FinancialYears.
     * @param {FinancialYearDeleteManyArgs} args - Arguments to filter FinancialYears to delete.
     * @example
     * // Delete a few FinancialYears
     * const { count } = await prisma.financialYear.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends FinancialYearDeleteManyArgs>(args?: SelectSubset<T, FinancialYearDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more FinancialYears.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many FinancialYears
     * const financialYear = await prisma.financialYear.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends FinancialYearUpdateManyArgs>(args: SelectSubset<T, FinancialYearUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one FinancialYear.
     * @param {FinancialYearUpsertArgs} args - Arguments to update or create a FinancialYear.
     * @example
     * // Update or create a FinancialYear
     * const financialYear = await prisma.financialYear.upsert({
     *   create: {
     *     // ... data to create a FinancialYear
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the FinancialYear we want to update
     *   }
     * })
     */
    upsert<T extends FinancialYearUpsertArgs>(args: SelectSubset<T, FinancialYearUpsertArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of FinancialYears.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearCountArgs} args - Arguments to filter FinancialYears to count.
     * @example
     * // Count the number of FinancialYears
     * const count = await prisma.financialYear.count({
     *   where: {
     *     // ... the filter for the FinancialYears we want to count
     *   }
     * })
    **/
    count<T extends FinancialYearCountArgs>(
      args?: Subset<T, FinancialYearCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], FinancialYearCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a FinancialYear.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends FinancialYearAggregateArgs>(args: Subset<T, FinancialYearAggregateArgs>): Prisma.PrismaPromise<GetFinancialYearAggregateType<T>>

    /**
     * Group by FinancialYear.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FinancialYearGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends FinancialYearGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: FinancialYearGroupByArgs['orderBy'] }
        : { orderBy?: FinancialYearGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, FinancialYearGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFinancialYearGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the FinancialYear model
   */
  readonly fields: FinancialYearFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for FinancialYear.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__FinancialYearClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    document_sequence<T extends FinancialYear$document_sequenceArgs<ExtArgs> = {}>(args?: Subset<T, FinancialYear$document_sequenceArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends FinancialYear$createdArgs<ExtArgs> = {}>(args?: Subset<T, FinancialYear$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends FinancialYear$updatedArgs<ExtArgs> = {}>(args?: Subset<T, FinancialYear$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends FinancialYear$deletedArgs<ExtArgs> = {}>(args?: Subset<T, FinancialYear$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the FinancialYear model
   */ 
  interface FinancialYearFieldRefs {
    readonly id: FieldRef<"FinancialYear", 'Int'>
    readonly uuid: FieldRef<"FinancialYear", 'String'>
    readonly name: FieldRef<"FinancialYear", 'String'>
    readonly code: FieldRef<"FinancialYear", 'String'>
    readonly is_freezed: FieldRef<"FinancialYear", 'Boolean'>
    readonly start_date: FieldRef<"FinancialYear", 'DateTime'>
    readonly end_date: FieldRef<"FinancialYear", 'DateTime'>
    readonly status_id: FieldRef<"FinancialYear", 'Int'>
    readonly company_id: FieldRef<"FinancialYear", 'Int'>
    readonly created_by: FieldRef<"FinancialYear", 'Int'>
    readonly updated_by: FieldRef<"FinancialYear", 'Int'>
    readonly deleted_by: FieldRef<"FinancialYear", 'Int'>
    readonly created_at: FieldRef<"FinancialYear", 'DateTime'>
    readonly updated_at: FieldRef<"FinancialYear", 'DateTime'>
    readonly deleted_at: FieldRef<"FinancialYear", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * FinancialYear findUnique
   */
  export type FinancialYearFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter, which FinancialYear to fetch.
     */
    where: FinancialYearWhereUniqueInput
  }

  /**
   * FinancialYear findUniqueOrThrow
   */
  export type FinancialYearFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter, which FinancialYear to fetch.
     */
    where: FinancialYearWhereUniqueInput
  }

  /**
   * FinancialYear findFirst
   */
  export type FinancialYearFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter, which FinancialYear to fetch.
     */
    where?: FinancialYearWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FinancialYears to fetch.
     */
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FinancialYears.
     */
    cursor?: FinancialYearWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FinancialYears from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FinancialYears.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FinancialYears.
     */
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * FinancialYear findFirstOrThrow
   */
  export type FinancialYearFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter, which FinancialYear to fetch.
     */
    where?: FinancialYearWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FinancialYears to fetch.
     */
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FinancialYears.
     */
    cursor?: FinancialYearWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FinancialYears from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FinancialYears.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FinancialYears.
     */
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * FinancialYear findMany
   */
  export type FinancialYearFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter, which FinancialYears to fetch.
     */
    where?: FinancialYearWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FinancialYears to fetch.
     */
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing FinancialYears.
     */
    cursor?: FinancialYearWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FinancialYears from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FinancialYears.
     */
    skip?: number
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * FinancialYear create
   */
  export type FinancialYearCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * The data needed to create a FinancialYear.
     */
    data: XOR<FinancialYearCreateInput, FinancialYearUncheckedCreateInput>
  }

  /**
   * FinancialYear createMany
   */
  export type FinancialYearCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many FinancialYears.
     */
    data: FinancialYearCreateManyInput | FinancialYearCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * FinancialYear createManyAndReturn
   */
  export type FinancialYearCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many FinancialYears.
     */
    data: FinancialYearCreateManyInput | FinancialYearCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * FinancialYear update
   */
  export type FinancialYearUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * The data needed to update a FinancialYear.
     */
    data: XOR<FinancialYearUpdateInput, FinancialYearUncheckedUpdateInput>
    /**
     * Choose, which FinancialYear to update.
     */
    where: FinancialYearWhereUniqueInput
  }

  /**
   * FinancialYear updateMany
   */
  export type FinancialYearUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update FinancialYears.
     */
    data: XOR<FinancialYearUpdateManyMutationInput, FinancialYearUncheckedUpdateManyInput>
    /**
     * Filter which FinancialYears to update
     */
    where?: FinancialYearWhereInput
  }

  /**
   * FinancialYear upsert
   */
  export type FinancialYearUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * The filter to search for the FinancialYear to update in case it exists.
     */
    where: FinancialYearWhereUniqueInput
    /**
     * In case the FinancialYear found by the `where` argument doesn't exist, create a new FinancialYear with this data.
     */
    create: XOR<FinancialYearCreateInput, FinancialYearUncheckedCreateInput>
    /**
     * In case the FinancialYear was found with the provided `where` argument, update it with this data.
     */
    update: XOR<FinancialYearUpdateInput, FinancialYearUncheckedUpdateInput>
  }

  /**
   * FinancialYear delete
   */
  export type FinancialYearDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    /**
     * Filter which FinancialYear to delete.
     */
    where: FinancialYearWhereUniqueInput
  }

  /**
   * FinancialYear deleteMany
   */
  export type FinancialYearDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FinancialYears to delete
     */
    where?: FinancialYearWhereInput
  }

  /**
   * FinancialYear.document_sequence
   */
  export type FinancialYear$document_sequenceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    cursor?: DocumentSequenceWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * FinancialYear.created
   */
  export type FinancialYear$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * FinancialYear.updated
   */
  export type FinancialYear$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * FinancialYear.deleted
   */
  export type FinancialYear$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * FinancialYear without action
   */
  export type FinancialYearDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
  }


  /**
   * Model DocumentSequence
   */

  export type AggregateDocumentSequence = {
    _count: DocumentSequenceCountAggregateOutputType | null
    _avg: DocumentSequenceAvgAggregateOutputType | null
    _sum: DocumentSequenceSumAggregateOutputType | null
    _min: DocumentSequenceMinAggregateOutputType | null
    _max: DocumentSequenceMaxAggregateOutputType | null
  }

  export type DocumentSequenceAvgAggregateOutputType = {
    id: number | null
    financial_year_id: number | null
    current_sequence_no: number | null
    start_sequence_no: number | null
    end_sequence_no: number | null
    sequence_length: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DocumentSequenceSumAggregateOutputType = {
    id: number | null
    financial_year_id: number | null
    current_sequence_no: number | null
    start_sequence_no: number | null
    end_sequence_no: number | null
    sequence_length: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DocumentSequenceMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    module_name: string | null
    financial_year_id: number | null
    current_sequence_no: number | null
    start_sequence_no: number | null
    end_sequence_no: number | null
    sequence_length: number | null
    status_id: number | null
    code_format: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DocumentSequenceMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    module_name: string | null
    financial_year_id: number | null
    current_sequence_no: number | null
    start_sequence_no: number | null
    end_sequence_no: number | null
    sequence_length: number | null
    status_id: number | null
    code_format: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type DocumentSequenceCountAggregateOutputType = {
    id: number
    uuid: number
    module_name: number
    financial_year_id: number
    current_sequence_no: number
    start_sequence_no: number
    end_sequence_no: number
    sequence_length: number
    status_id: number
    code_format: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type DocumentSequenceAvgAggregateInputType = {
    id?: true
    financial_year_id?: true
    current_sequence_no?: true
    start_sequence_no?: true
    end_sequence_no?: true
    sequence_length?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DocumentSequenceSumAggregateInputType = {
    id?: true
    financial_year_id?: true
    current_sequence_no?: true
    start_sequence_no?: true
    end_sequence_no?: true
    sequence_length?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DocumentSequenceMinAggregateInputType = {
    id?: true
    uuid?: true
    module_name?: true
    financial_year_id?: true
    current_sequence_no?: true
    start_sequence_no?: true
    end_sequence_no?: true
    sequence_length?: true
    status_id?: true
    code_format?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DocumentSequenceMaxAggregateInputType = {
    id?: true
    uuid?: true
    module_name?: true
    financial_year_id?: true
    current_sequence_no?: true
    start_sequence_no?: true
    end_sequence_no?: true
    sequence_length?: true
    status_id?: true
    code_format?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type DocumentSequenceCountAggregateInputType = {
    id?: true
    uuid?: true
    module_name?: true
    financial_year_id?: true
    current_sequence_no?: true
    start_sequence_no?: true
    end_sequence_no?: true
    sequence_length?: true
    status_id?: true
    code_format?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type DocumentSequenceAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DocumentSequence to aggregate.
     */
    where?: DocumentSequenceWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DocumentSequences to fetch.
     */
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DocumentSequenceWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DocumentSequences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DocumentSequences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DocumentSequences
    **/
    _count?: true | DocumentSequenceCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DocumentSequenceAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DocumentSequenceSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DocumentSequenceMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DocumentSequenceMaxAggregateInputType
  }

  export type GetDocumentSequenceAggregateType<T extends DocumentSequenceAggregateArgs> = {
        [P in keyof T & keyof AggregateDocumentSequence]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDocumentSequence[P]>
      : GetScalarType<T[P], AggregateDocumentSequence[P]>
  }




  export type DocumentSequenceGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithAggregationInput | DocumentSequenceOrderByWithAggregationInput[]
    by: DocumentSequenceScalarFieldEnum[] | DocumentSequenceScalarFieldEnum
    having?: DocumentSequenceScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DocumentSequenceCountAggregateInputType | true
    _avg?: DocumentSequenceAvgAggregateInputType
    _sum?: DocumentSequenceSumAggregateInputType
    _min?: DocumentSequenceMinAggregateInputType
    _max?: DocumentSequenceMaxAggregateInputType
  }

  export type DocumentSequenceGroupByOutputType = {
    id: number
    uuid: string
    module_name: string
    financial_year_id: number | null
    current_sequence_no: number
    start_sequence_no: number
    end_sequence_no: number
    sequence_length: number
    status_id: number
    code_format: string | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: DocumentSequenceCountAggregateOutputType | null
    _avg: DocumentSequenceAvgAggregateOutputType | null
    _sum: DocumentSequenceSumAggregateOutputType | null
    _min: DocumentSequenceMinAggregateOutputType | null
    _max: DocumentSequenceMaxAggregateOutputType | null
  }

  type GetDocumentSequenceGroupByPayload<T extends DocumentSequenceGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DocumentSequenceGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DocumentSequenceGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DocumentSequenceGroupByOutputType[P]>
            : GetScalarType<T[P], DocumentSequenceGroupByOutputType[P]>
        }
      >
    >


  export type DocumentSequenceSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    module_name?: boolean
    financial_year_id?: boolean
    current_sequence_no?: boolean
    start_sequence_no?: boolean
    end_sequence_no?: boolean
    sequence_length?: boolean
    status_id?: boolean
    code_format?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    finanicial_year?: boolean | DocumentSequence$finanicial_yearArgs<ExtArgs>
    created?: boolean | DocumentSequence$createdArgs<ExtArgs>
    updated?: boolean | DocumentSequence$updatedArgs<ExtArgs>
    deleted?: boolean | DocumentSequence$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["documentSequence"]>

  export type DocumentSequenceSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    module_name?: boolean
    financial_year_id?: boolean
    current_sequence_no?: boolean
    start_sequence_no?: boolean
    end_sequence_no?: boolean
    sequence_length?: boolean
    status_id?: boolean
    code_format?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    finanicial_year?: boolean | DocumentSequence$finanicial_yearArgs<ExtArgs>
    created?: boolean | DocumentSequence$createdArgs<ExtArgs>
    updated?: boolean | DocumentSequence$updatedArgs<ExtArgs>
    deleted?: boolean | DocumentSequence$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["documentSequence"]>

  export type DocumentSequenceSelectScalar = {
    id?: boolean
    uuid?: boolean
    module_name?: boolean
    financial_year_id?: boolean
    current_sequence_no?: boolean
    start_sequence_no?: boolean
    end_sequence_no?: boolean
    sequence_length?: boolean
    status_id?: boolean
    code_format?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type DocumentSequenceInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    finanicial_year?: boolean | DocumentSequence$finanicial_yearArgs<ExtArgs>
    created?: boolean | DocumentSequence$createdArgs<ExtArgs>
    updated?: boolean | DocumentSequence$updatedArgs<ExtArgs>
    deleted?: boolean | DocumentSequence$deletedArgs<ExtArgs>
  }
  export type DocumentSequenceIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    finanicial_year?: boolean | DocumentSequence$finanicial_yearArgs<ExtArgs>
    created?: boolean | DocumentSequence$createdArgs<ExtArgs>
    updated?: boolean | DocumentSequence$updatedArgs<ExtArgs>
    deleted?: boolean | DocumentSequence$deletedArgs<ExtArgs>
  }

  export type $DocumentSequencePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DocumentSequence"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      finanicial_year: Prisma.$FinancialYearPayload<ExtArgs> | null
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      module_name: string
      financial_year_id: number | null
      current_sequence_no: number
      start_sequence_no: number
      end_sequence_no: number
      sequence_length: number
      status_id: number
      code_format: string | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["documentSequence"]>
    composites: {}
  }

  type DocumentSequenceGetPayload<S extends boolean | null | undefined | DocumentSequenceDefaultArgs> = $Result.GetResult<Prisma.$DocumentSequencePayload, S>

  type DocumentSequenceCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DocumentSequenceFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DocumentSequenceCountAggregateInputType | true
    }

  export interface DocumentSequenceDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DocumentSequence'], meta: { name: 'DocumentSequence' } }
    /**
     * Find zero or one DocumentSequence that matches the filter.
     * @param {DocumentSequenceFindUniqueArgs} args - Arguments to find a DocumentSequence
     * @example
     * // Get one DocumentSequence
     * const documentSequence = await prisma.documentSequence.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DocumentSequenceFindUniqueArgs>(args: SelectSubset<T, DocumentSequenceFindUniqueArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DocumentSequence that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DocumentSequenceFindUniqueOrThrowArgs} args - Arguments to find a DocumentSequence
     * @example
     * // Get one DocumentSequence
     * const documentSequence = await prisma.documentSequence.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DocumentSequenceFindUniqueOrThrowArgs>(args: SelectSubset<T, DocumentSequenceFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DocumentSequence that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceFindFirstArgs} args - Arguments to find a DocumentSequence
     * @example
     * // Get one DocumentSequence
     * const documentSequence = await prisma.documentSequence.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DocumentSequenceFindFirstArgs>(args?: SelectSubset<T, DocumentSequenceFindFirstArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DocumentSequence that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceFindFirstOrThrowArgs} args - Arguments to find a DocumentSequence
     * @example
     * // Get one DocumentSequence
     * const documentSequence = await prisma.documentSequence.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DocumentSequenceFindFirstOrThrowArgs>(args?: SelectSubset<T, DocumentSequenceFindFirstOrThrowArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DocumentSequences that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DocumentSequences
     * const documentSequences = await prisma.documentSequence.findMany()
     * 
     * // Get first 10 DocumentSequences
     * const documentSequences = await prisma.documentSequence.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const documentSequenceWithIdOnly = await prisma.documentSequence.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DocumentSequenceFindManyArgs>(args?: SelectSubset<T, DocumentSequenceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DocumentSequence.
     * @param {DocumentSequenceCreateArgs} args - Arguments to create a DocumentSequence.
     * @example
     * // Create one DocumentSequence
     * const DocumentSequence = await prisma.documentSequence.create({
     *   data: {
     *     // ... data to create a DocumentSequence
     *   }
     * })
     * 
     */
    create<T extends DocumentSequenceCreateArgs>(args: SelectSubset<T, DocumentSequenceCreateArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DocumentSequences.
     * @param {DocumentSequenceCreateManyArgs} args - Arguments to create many DocumentSequences.
     * @example
     * // Create many DocumentSequences
     * const documentSequence = await prisma.documentSequence.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DocumentSequenceCreateManyArgs>(args?: SelectSubset<T, DocumentSequenceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DocumentSequences and returns the data saved in the database.
     * @param {DocumentSequenceCreateManyAndReturnArgs} args - Arguments to create many DocumentSequences.
     * @example
     * // Create many DocumentSequences
     * const documentSequence = await prisma.documentSequence.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DocumentSequences and only return the `id`
     * const documentSequenceWithIdOnly = await prisma.documentSequence.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DocumentSequenceCreateManyAndReturnArgs>(args?: SelectSubset<T, DocumentSequenceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DocumentSequence.
     * @param {DocumentSequenceDeleteArgs} args - Arguments to delete one DocumentSequence.
     * @example
     * // Delete one DocumentSequence
     * const DocumentSequence = await prisma.documentSequence.delete({
     *   where: {
     *     // ... filter to delete one DocumentSequence
     *   }
     * })
     * 
     */
    delete<T extends DocumentSequenceDeleteArgs>(args: SelectSubset<T, DocumentSequenceDeleteArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DocumentSequence.
     * @param {DocumentSequenceUpdateArgs} args - Arguments to update one DocumentSequence.
     * @example
     * // Update one DocumentSequence
     * const documentSequence = await prisma.documentSequence.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DocumentSequenceUpdateArgs>(args: SelectSubset<T, DocumentSequenceUpdateArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DocumentSequences.
     * @param {DocumentSequenceDeleteManyArgs} args - Arguments to filter DocumentSequences to delete.
     * @example
     * // Delete a few DocumentSequences
     * const { count } = await prisma.documentSequence.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DocumentSequenceDeleteManyArgs>(args?: SelectSubset<T, DocumentSequenceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DocumentSequences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DocumentSequences
     * const documentSequence = await prisma.documentSequence.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DocumentSequenceUpdateManyArgs>(args: SelectSubset<T, DocumentSequenceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DocumentSequence.
     * @param {DocumentSequenceUpsertArgs} args - Arguments to update or create a DocumentSequence.
     * @example
     * // Update or create a DocumentSequence
     * const documentSequence = await prisma.documentSequence.upsert({
     *   create: {
     *     // ... data to create a DocumentSequence
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DocumentSequence we want to update
     *   }
     * })
     */
    upsert<T extends DocumentSequenceUpsertArgs>(args: SelectSubset<T, DocumentSequenceUpsertArgs<ExtArgs>>): Prisma__DocumentSequenceClient<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DocumentSequences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceCountArgs} args - Arguments to filter DocumentSequences to count.
     * @example
     * // Count the number of DocumentSequences
     * const count = await prisma.documentSequence.count({
     *   where: {
     *     // ... the filter for the DocumentSequences we want to count
     *   }
     * })
    **/
    count<T extends DocumentSequenceCountArgs>(
      args?: Subset<T, DocumentSequenceCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DocumentSequenceCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DocumentSequence.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DocumentSequenceAggregateArgs>(args: Subset<T, DocumentSequenceAggregateArgs>): Prisma.PrismaPromise<GetDocumentSequenceAggregateType<T>>

    /**
     * Group by DocumentSequence.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DocumentSequenceGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DocumentSequenceGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DocumentSequenceGroupByArgs['orderBy'] }
        : { orderBy?: DocumentSequenceGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DocumentSequenceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDocumentSequenceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DocumentSequence model
   */
  readonly fields: DocumentSequenceFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DocumentSequence.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DocumentSequenceClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    finanicial_year<T extends DocumentSequence$finanicial_yearArgs<ExtArgs> = {}>(args?: Subset<T, DocumentSequence$finanicial_yearArgs<ExtArgs>>): Prisma__FinancialYearClient<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created<T extends DocumentSequence$createdArgs<ExtArgs> = {}>(args?: Subset<T, DocumentSequence$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends DocumentSequence$updatedArgs<ExtArgs> = {}>(args?: Subset<T, DocumentSequence$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends DocumentSequence$deletedArgs<ExtArgs> = {}>(args?: Subset<T, DocumentSequence$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DocumentSequence model
   */ 
  interface DocumentSequenceFieldRefs {
    readonly id: FieldRef<"DocumentSequence", 'Int'>
    readonly uuid: FieldRef<"DocumentSequence", 'String'>
    readonly module_name: FieldRef<"DocumentSequence", 'String'>
    readonly financial_year_id: FieldRef<"DocumentSequence", 'Int'>
    readonly current_sequence_no: FieldRef<"DocumentSequence", 'Int'>
    readonly start_sequence_no: FieldRef<"DocumentSequence", 'Int'>
    readonly end_sequence_no: FieldRef<"DocumentSequence", 'Int'>
    readonly sequence_length: FieldRef<"DocumentSequence", 'Int'>
    readonly status_id: FieldRef<"DocumentSequence", 'Int'>
    readonly code_format: FieldRef<"DocumentSequence", 'String'>
    readonly company_id: FieldRef<"DocumentSequence", 'Int'>
    readonly created_by: FieldRef<"DocumentSequence", 'Int'>
    readonly updated_by: FieldRef<"DocumentSequence", 'Int'>
    readonly deleted_by: FieldRef<"DocumentSequence", 'Int'>
    readonly created_at: FieldRef<"DocumentSequence", 'DateTime'>
    readonly updated_at: FieldRef<"DocumentSequence", 'DateTime'>
    readonly deleted_at: FieldRef<"DocumentSequence", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * DocumentSequence findUnique
   */
  export type DocumentSequenceFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter, which DocumentSequence to fetch.
     */
    where: DocumentSequenceWhereUniqueInput
  }

  /**
   * DocumentSequence findUniqueOrThrow
   */
  export type DocumentSequenceFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter, which DocumentSequence to fetch.
     */
    where: DocumentSequenceWhereUniqueInput
  }

  /**
   * DocumentSequence findFirst
   */
  export type DocumentSequenceFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter, which DocumentSequence to fetch.
     */
    where?: DocumentSequenceWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DocumentSequences to fetch.
     */
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DocumentSequences.
     */
    cursor?: DocumentSequenceWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DocumentSequences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DocumentSequences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DocumentSequences.
     */
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * DocumentSequence findFirstOrThrow
   */
  export type DocumentSequenceFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter, which DocumentSequence to fetch.
     */
    where?: DocumentSequenceWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DocumentSequences to fetch.
     */
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DocumentSequences.
     */
    cursor?: DocumentSequenceWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DocumentSequences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DocumentSequences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DocumentSequences.
     */
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * DocumentSequence findMany
   */
  export type DocumentSequenceFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter, which DocumentSequences to fetch.
     */
    where?: DocumentSequenceWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DocumentSequences to fetch.
     */
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DocumentSequences.
     */
    cursor?: DocumentSequenceWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DocumentSequences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DocumentSequences.
     */
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * DocumentSequence create
   */
  export type DocumentSequenceCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * The data needed to create a DocumentSequence.
     */
    data: XOR<DocumentSequenceCreateInput, DocumentSequenceUncheckedCreateInput>
  }

  /**
   * DocumentSequence createMany
   */
  export type DocumentSequenceCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DocumentSequences.
     */
    data: DocumentSequenceCreateManyInput | DocumentSequenceCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DocumentSequence createManyAndReturn
   */
  export type DocumentSequenceCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DocumentSequences.
     */
    data: DocumentSequenceCreateManyInput | DocumentSequenceCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DocumentSequence update
   */
  export type DocumentSequenceUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * The data needed to update a DocumentSequence.
     */
    data: XOR<DocumentSequenceUpdateInput, DocumentSequenceUncheckedUpdateInput>
    /**
     * Choose, which DocumentSequence to update.
     */
    where: DocumentSequenceWhereUniqueInput
  }

  /**
   * DocumentSequence updateMany
   */
  export type DocumentSequenceUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DocumentSequences.
     */
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyInput>
    /**
     * Filter which DocumentSequences to update
     */
    where?: DocumentSequenceWhereInput
  }

  /**
   * DocumentSequence upsert
   */
  export type DocumentSequenceUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * The filter to search for the DocumentSequence to update in case it exists.
     */
    where: DocumentSequenceWhereUniqueInput
    /**
     * In case the DocumentSequence found by the `where` argument doesn't exist, create a new DocumentSequence with this data.
     */
    create: XOR<DocumentSequenceCreateInput, DocumentSequenceUncheckedCreateInput>
    /**
     * In case the DocumentSequence was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DocumentSequenceUpdateInput, DocumentSequenceUncheckedUpdateInput>
  }

  /**
   * DocumentSequence delete
   */
  export type DocumentSequenceDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    /**
     * Filter which DocumentSequence to delete.
     */
    where: DocumentSequenceWhereUniqueInput
  }

  /**
   * DocumentSequence deleteMany
   */
  export type DocumentSequenceDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DocumentSequences to delete
     */
    where?: DocumentSequenceWhereInput
  }

  /**
   * DocumentSequence.finanicial_year
   */
  export type DocumentSequence$finanicial_yearArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    where?: FinancialYearWhereInput
  }

  /**
   * DocumentSequence.created
   */
  export type DocumentSequence$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DocumentSequence.updated
   */
  export type DocumentSequence$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DocumentSequence.deleted
   */
  export type DocumentSequence$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DocumentSequence without action
   */
  export type DocumentSequenceDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
  }


  /**
   * Model AuditLog
   */

  export type AggregateAuditLog = {
    _count: AuditLogCountAggregateOutputType | null
    _avg: AuditLogAvgAggregateOutputType | null
    _sum: AuditLogSumAggregateOutputType | null
    _min: AuditLogMinAggregateOutputType | null
    _max: AuditLogMaxAggregateOutputType | null
  }

  export type AuditLogAvgAggregateOutputType = {
    id: number | null
    entity_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type AuditLogSumAggregateOutputType = {
    id: number | null
    entity_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type AuditLogMinAggregateOutputType = {
    id: number | null
    operation_type: string | null
    table_name: string | null
    field_name: string | null
    old_value: string | null
    new_value: string | null
    entity_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type AuditLogMaxAggregateOutputType = {
    id: number | null
    operation_type: string | null
    table_name: string | null
    field_name: string | null
    old_value: string | null
    new_value: string | null
    entity_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type AuditLogCountAggregateOutputType = {
    id: number
    operation_type: number
    table_name: number
    field_name: number
    old_value: number
    new_value: number
    entity_id: number
    user_id: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type AuditLogAvgAggregateInputType = {
    id?: true
    entity_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type AuditLogSumAggregateInputType = {
    id?: true
    entity_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type AuditLogMinAggregateInputType = {
    id?: true
    operation_type?: true
    table_name?: true
    field_name?: true
    old_value?: true
    new_value?: true
    entity_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type AuditLogMaxAggregateInputType = {
    id?: true
    operation_type?: true
    table_name?: true
    field_name?: true
    old_value?: true
    new_value?: true
    entity_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type AuditLogCountAggregateInputType = {
    id?: true
    operation_type?: true
    table_name?: true
    field_name?: true
    old_value?: true
    new_value?: true
    entity_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type AuditLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which AuditLog to aggregate.
     */
    where?: AuditLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AuditLogs to fetch.
     */
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: AuditLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AuditLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AuditLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned AuditLogs
    **/
    _count?: true | AuditLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: AuditLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: AuditLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: AuditLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: AuditLogMaxAggregateInputType
  }

  export type GetAuditLogAggregateType<T extends AuditLogAggregateArgs> = {
        [P in keyof T & keyof AggregateAuditLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateAuditLog[P]>
      : GetScalarType<T[P], AggregateAuditLog[P]>
  }




  export type AuditLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AuditLogWhereInput
    orderBy?: AuditLogOrderByWithAggregationInput | AuditLogOrderByWithAggregationInput[]
    by: AuditLogScalarFieldEnum[] | AuditLogScalarFieldEnum
    having?: AuditLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: AuditLogCountAggregateInputType | true
    _avg?: AuditLogAvgAggregateInputType
    _sum?: AuditLogSumAggregateInputType
    _min?: AuditLogMinAggregateInputType
    _max?: AuditLogMaxAggregateInputType
  }

  export type AuditLogGroupByOutputType = {
    id: number
    operation_type: string
    table_name: string
    field_name: string
    old_value: string | null
    new_value: string | null
    entity_id: number
    user_id: number | null
    status_id: number
    company_id: number | null
    created_at: Date
    _count: AuditLogCountAggregateOutputType | null
    _avg: AuditLogAvgAggregateOutputType | null
    _sum: AuditLogSumAggregateOutputType | null
    _min: AuditLogMinAggregateOutputType | null
    _max: AuditLogMaxAggregateOutputType | null
  }

  type GetAuditLogGroupByPayload<T extends AuditLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<AuditLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof AuditLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], AuditLogGroupByOutputType[P]>
            : GetScalarType<T[P], AuditLogGroupByOutputType[P]>
        }
      >
    >


  export type AuditLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    operation_type?: boolean
    table_name?: boolean
    field_name?: boolean
    old_value?: boolean
    new_value?: boolean
    entity_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | AuditLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["auditLog"]>

  export type AuditLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    operation_type?: boolean
    table_name?: boolean
    field_name?: boolean
    old_value?: boolean
    new_value?: boolean
    entity_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | AuditLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["auditLog"]>

  export type AuditLogSelectScalar = {
    id?: boolean
    operation_type?: boolean
    table_name?: boolean
    field_name?: boolean
    old_value?: boolean
    new_value?: boolean
    entity_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type AuditLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | AuditLog$userArgs<ExtArgs>
  }
  export type AuditLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | AuditLog$userArgs<ExtArgs>
  }

  export type $AuditLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "AuditLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      operation_type: string
      table_name: string
      field_name: string
      old_value: string | null
      new_value: string | null
      entity_id: number
      user_id: number | null
      status_id: number
      company_id: number | null
      created_at: Date
    }, ExtArgs["result"]["auditLog"]>
    composites: {}
  }

  type AuditLogGetPayload<S extends boolean | null | undefined | AuditLogDefaultArgs> = $Result.GetResult<Prisma.$AuditLogPayload, S>

  type AuditLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<AuditLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: AuditLogCountAggregateInputType | true
    }

  export interface AuditLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuditLog'], meta: { name: 'AuditLog' } }
    /**
     * Find zero or one AuditLog that matches the filter.
     * @param {AuditLogFindUniqueArgs} args - Arguments to find a AuditLog
     * @example
     * // Get one AuditLog
     * const auditLog = await prisma.auditLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends AuditLogFindUniqueArgs>(args: SelectSubset<T, AuditLogFindUniqueArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one AuditLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {AuditLogFindUniqueOrThrowArgs} args - Arguments to find a AuditLog
     * @example
     * // Get one AuditLog
     * const auditLog = await prisma.auditLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends AuditLogFindUniqueOrThrowArgs>(args: SelectSubset<T, AuditLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first AuditLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogFindFirstArgs} args - Arguments to find a AuditLog
     * @example
     * // Get one AuditLog
     * const auditLog = await prisma.auditLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends AuditLogFindFirstArgs>(args?: SelectSubset<T, AuditLogFindFirstArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first AuditLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogFindFirstOrThrowArgs} args - Arguments to find a AuditLog
     * @example
     * // Get one AuditLog
     * const auditLog = await prisma.auditLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends AuditLogFindFirstOrThrowArgs>(args?: SelectSubset<T, AuditLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more AuditLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all AuditLogs
     * const auditLogs = await prisma.auditLog.findMany()
     * 
     * // Get first 10 AuditLogs
     * const auditLogs = await prisma.auditLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const auditLogWithIdOnly = await prisma.auditLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends AuditLogFindManyArgs>(args?: SelectSubset<T, AuditLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a AuditLog.
     * @param {AuditLogCreateArgs} args - Arguments to create a AuditLog.
     * @example
     * // Create one AuditLog
     * const AuditLog = await prisma.auditLog.create({
     *   data: {
     *     // ... data to create a AuditLog
     *   }
     * })
     * 
     */
    create<T extends AuditLogCreateArgs>(args: SelectSubset<T, AuditLogCreateArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many AuditLogs.
     * @param {AuditLogCreateManyArgs} args - Arguments to create many AuditLogs.
     * @example
     * // Create many AuditLogs
     * const auditLog = await prisma.auditLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends AuditLogCreateManyArgs>(args?: SelectSubset<T, AuditLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many AuditLogs and returns the data saved in the database.
     * @param {AuditLogCreateManyAndReturnArgs} args - Arguments to create many AuditLogs.
     * @example
     * // Create many AuditLogs
     * const auditLog = await prisma.auditLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many AuditLogs and only return the `id`
     * const auditLogWithIdOnly = await prisma.auditLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends AuditLogCreateManyAndReturnArgs>(args?: SelectSubset<T, AuditLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a AuditLog.
     * @param {AuditLogDeleteArgs} args - Arguments to delete one AuditLog.
     * @example
     * // Delete one AuditLog
     * const AuditLog = await prisma.auditLog.delete({
     *   where: {
     *     // ... filter to delete one AuditLog
     *   }
     * })
     * 
     */
    delete<T extends AuditLogDeleteArgs>(args: SelectSubset<T, AuditLogDeleteArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one AuditLog.
     * @param {AuditLogUpdateArgs} args - Arguments to update one AuditLog.
     * @example
     * // Update one AuditLog
     * const auditLog = await prisma.auditLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends AuditLogUpdateArgs>(args: SelectSubset<T, AuditLogUpdateArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more AuditLogs.
     * @param {AuditLogDeleteManyArgs} args - Arguments to filter AuditLogs to delete.
     * @example
     * // Delete a few AuditLogs
     * const { count } = await prisma.auditLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends AuditLogDeleteManyArgs>(args?: SelectSubset<T, AuditLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more AuditLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many AuditLogs
     * const auditLog = await prisma.auditLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends AuditLogUpdateManyArgs>(args: SelectSubset<T, AuditLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one AuditLog.
     * @param {AuditLogUpsertArgs} args - Arguments to update or create a AuditLog.
     * @example
     * // Update or create a AuditLog
     * const auditLog = await prisma.auditLog.upsert({
     *   create: {
     *     // ... data to create a AuditLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the AuditLog we want to update
     *   }
     * })
     */
    upsert<T extends AuditLogUpsertArgs>(args: SelectSubset<T, AuditLogUpsertArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of AuditLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogCountArgs} args - Arguments to filter AuditLogs to count.
     * @example
     * // Count the number of AuditLogs
     * const count = await prisma.auditLog.count({
     *   where: {
     *     // ... the filter for the AuditLogs we want to count
     *   }
     * })
    **/
    count<T extends AuditLogCountArgs>(
      args?: Subset<T, AuditLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], AuditLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a AuditLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends AuditLogAggregateArgs>(args: Subset<T, AuditLogAggregateArgs>): Prisma.PrismaPromise<GetAuditLogAggregateType<T>>

    /**
     * Group by AuditLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AuditLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends AuditLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: AuditLogGroupByArgs['orderBy'] }
        : { orderBy?: AuditLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, AuditLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuditLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the AuditLog model
   */
  readonly fields: AuditLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for AuditLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__AuditLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends AuditLog$userArgs<ExtArgs> = {}>(args?: Subset<T, AuditLog$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the AuditLog model
   */ 
  interface AuditLogFieldRefs {
    readonly id: FieldRef<"AuditLog", 'Int'>
    readonly operation_type: FieldRef<"AuditLog", 'String'>
    readonly table_name: FieldRef<"AuditLog", 'String'>
    readonly field_name: FieldRef<"AuditLog", 'String'>
    readonly old_value: FieldRef<"AuditLog", 'String'>
    readonly new_value: FieldRef<"AuditLog", 'String'>
    readonly entity_id: FieldRef<"AuditLog", 'Int'>
    readonly user_id: FieldRef<"AuditLog", 'Int'>
    readonly status_id: FieldRef<"AuditLog", 'Int'>
    readonly company_id: FieldRef<"AuditLog", 'Int'>
    readonly created_at: FieldRef<"AuditLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * AuditLog findUnique
   */
  export type AuditLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter, which AuditLog to fetch.
     */
    where: AuditLogWhereUniqueInput
  }

  /**
   * AuditLog findUniqueOrThrow
   */
  export type AuditLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter, which AuditLog to fetch.
     */
    where: AuditLogWhereUniqueInput
  }

  /**
   * AuditLog findFirst
   */
  export type AuditLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter, which AuditLog to fetch.
     */
    where?: AuditLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AuditLogs to fetch.
     */
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for AuditLogs.
     */
    cursor?: AuditLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AuditLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AuditLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of AuditLogs.
     */
    distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
  }

  /**
   * AuditLog findFirstOrThrow
   */
  export type AuditLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter, which AuditLog to fetch.
     */
    where?: AuditLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AuditLogs to fetch.
     */
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for AuditLogs.
     */
    cursor?: AuditLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AuditLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AuditLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of AuditLogs.
     */
    distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
  }

  /**
   * AuditLog findMany
   */
  export type AuditLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter, which AuditLogs to fetch.
     */
    where?: AuditLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AuditLogs to fetch.
     */
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing AuditLogs.
     */
    cursor?: AuditLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AuditLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AuditLogs.
     */
    skip?: number
    distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
  }

  /**
   * AuditLog create
   */
  export type AuditLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * The data needed to create a AuditLog.
     */
    data: XOR<AuditLogCreateInput, AuditLogUncheckedCreateInput>
  }

  /**
   * AuditLog createMany
   */
  export type AuditLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many AuditLogs.
     */
    data: AuditLogCreateManyInput | AuditLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * AuditLog createManyAndReturn
   */
  export type AuditLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many AuditLogs.
     */
    data: AuditLogCreateManyInput | AuditLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * AuditLog update
   */
  export type AuditLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * The data needed to update a AuditLog.
     */
    data: XOR<AuditLogUpdateInput, AuditLogUncheckedUpdateInput>
    /**
     * Choose, which AuditLog to update.
     */
    where: AuditLogWhereUniqueInput
  }

  /**
   * AuditLog updateMany
   */
  export type AuditLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update AuditLogs.
     */
    data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyInput>
    /**
     * Filter which AuditLogs to update
     */
    where?: AuditLogWhereInput
  }

  /**
   * AuditLog upsert
   */
  export type AuditLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * The filter to search for the AuditLog to update in case it exists.
     */
    where: AuditLogWhereUniqueInput
    /**
     * In case the AuditLog found by the `where` argument doesn't exist, create a new AuditLog with this data.
     */
    create: XOR<AuditLogCreateInput, AuditLogUncheckedCreateInput>
    /**
     * In case the AuditLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<AuditLogUpdateInput, AuditLogUncheckedUpdateInput>
  }

  /**
   * AuditLog delete
   */
  export type AuditLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    /**
     * Filter which AuditLog to delete.
     */
    where: AuditLogWhereUniqueInput
  }

  /**
   * AuditLog deleteMany
   */
  export type AuditLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which AuditLogs to delete
     */
    where?: AuditLogWhereInput
  }

  /**
   * AuditLog.user
   */
  export type AuditLog$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * AuditLog without action
   */
  export type AuditLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
  }


  /**
   * Model Permissions
   */

  export type AggregatePermissions = {
    _count: PermissionsCountAggregateOutputType | null
    _avg: PermissionsAvgAggregateOutputType | null
    _sum: PermissionsSumAggregateOutputType | null
    _min: PermissionsMinAggregateOutputType | null
    _max: PermissionsMaxAggregateOutputType | null
  }

  export type PermissionsAvgAggregateOutputType = {
    id: number | null
    entity_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type PermissionsSumAggregateOutputType = {
    id: number | null
    entity_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type PermissionsMinAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    entity_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type PermissionsMaxAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    entity_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type PermissionsCountAggregateOutputType = {
    id: number
    name: number
    slug: number
    entity_id: number
    order_no: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type PermissionsAvgAggregateInputType = {
    id?: true
    entity_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type PermissionsSumAggregateInputType = {
    id?: true
    entity_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type PermissionsMinAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    entity_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type PermissionsMaxAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    entity_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type PermissionsCountAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    entity_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type PermissionsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Permissions to aggregate.
     */
    where?: PermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Permissions to fetch.
     */
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: PermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Permissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Permissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Permissions
    **/
    _count?: true | PermissionsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: PermissionsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: PermissionsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: PermissionsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: PermissionsMaxAggregateInputType
  }

  export type GetPermissionsAggregateType<T extends PermissionsAggregateArgs> = {
        [P in keyof T & keyof AggregatePermissions]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregatePermissions[P]>
      : GetScalarType<T[P], AggregatePermissions[P]>
  }




  export type PermissionsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PermissionsWhereInput
    orderBy?: PermissionsOrderByWithAggregationInput | PermissionsOrderByWithAggregationInput[]
    by: PermissionsScalarFieldEnum[] | PermissionsScalarFieldEnum
    having?: PermissionsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: PermissionsCountAggregateInputType | true
    _avg?: PermissionsAvgAggregateInputType
    _sum?: PermissionsSumAggregateInputType
    _min?: PermissionsMinAggregateInputType
    _max?: PermissionsMaxAggregateInputType
  }

  export type PermissionsGroupByOutputType = {
    id: number
    name: string
    slug: string
    entity_id: number | null
    order_no: Decimal
    status_id: number
    company_id: number
    created_at: Date
    _count: PermissionsCountAggregateOutputType | null
    _avg: PermissionsAvgAggregateOutputType | null
    _sum: PermissionsSumAggregateOutputType | null
    _min: PermissionsMinAggregateOutputType | null
    _max: PermissionsMaxAggregateOutputType | null
  }

  type GetPermissionsGroupByPayload<T extends PermissionsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<PermissionsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof PermissionsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], PermissionsGroupByOutputType[P]>
            : GetScalarType<T[P], PermissionsGroupByOutputType[P]>
        }
      >
    >


  export type PermissionsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    entity_id?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    entity?: boolean | Permissions$entityArgs<ExtArgs>
    roles?: boolean | Permissions$rolesArgs<ExtArgs>
    users?: boolean | Permissions$usersArgs<ExtArgs>
    menus?: boolean | Permissions$menusArgs<ExtArgs>
    _count?: boolean | PermissionsCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["permissions"]>

  export type PermissionsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    entity_id?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    entity?: boolean | Permissions$entityArgs<ExtArgs>
  }, ExtArgs["result"]["permissions"]>

  export type PermissionsSelectScalar = {
    id?: boolean
    name?: boolean
    slug?: boolean
    entity_id?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type PermissionsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    entity?: boolean | Permissions$entityArgs<ExtArgs>
    roles?: boolean | Permissions$rolesArgs<ExtArgs>
    users?: boolean | Permissions$usersArgs<ExtArgs>
    menus?: boolean | Permissions$menusArgs<ExtArgs>
    _count?: boolean | PermissionsCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type PermissionsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    entity?: boolean | Permissions$entityArgs<ExtArgs>
  }

  export type $PermissionsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Permissions"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      entity: Prisma.$MasterEntityPayload<ExtArgs> | null
      roles: Prisma.$RolePermissionsPayload<ExtArgs>[]
      users: Prisma.$UserPermissionsPayload<ExtArgs>[]
      menus: Prisma.$MenuItemsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      name: string
      slug: string
      entity_id: number | null
      order_no: Prisma.Decimal
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["permissions"]>
    composites: {}
  }

  type PermissionsGetPayload<S extends boolean | null | undefined | PermissionsDefaultArgs> = $Result.GetResult<Prisma.$PermissionsPayload, S>

  type PermissionsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<PermissionsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: PermissionsCountAggregateInputType | true
    }

  export interface PermissionsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Permissions'], meta: { name: 'Permissions' } }
    /**
     * Find zero or one Permissions that matches the filter.
     * @param {PermissionsFindUniqueArgs} args - Arguments to find a Permissions
     * @example
     * // Get one Permissions
     * const permissions = await prisma.permissions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends PermissionsFindUniqueArgs>(args: SelectSubset<T, PermissionsFindUniqueArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Permissions that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {PermissionsFindUniqueOrThrowArgs} args - Arguments to find a Permissions
     * @example
     * // Get one Permissions
     * const permissions = await prisma.permissions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends PermissionsFindUniqueOrThrowArgs>(args: SelectSubset<T, PermissionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Permissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsFindFirstArgs} args - Arguments to find a Permissions
     * @example
     * // Get one Permissions
     * const permissions = await prisma.permissions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends PermissionsFindFirstArgs>(args?: SelectSubset<T, PermissionsFindFirstArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Permissions that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsFindFirstOrThrowArgs} args - Arguments to find a Permissions
     * @example
     * // Get one Permissions
     * const permissions = await prisma.permissions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends PermissionsFindFirstOrThrowArgs>(args?: SelectSubset<T, PermissionsFindFirstOrThrowArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Permissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Permissions
     * const permissions = await prisma.permissions.findMany()
     * 
     * // Get first 10 Permissions
     * const permissions = await prisma.permissions.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const permissionsWithIdOnly = await prisma.permissions.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends PermissionsFindManyArgs>(args?: SelectSubset<T, PermissionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Permissions.
     * @param {PermissionsCreateArgs} args - Arguments to create a Permissions.
     * @example
     * // Create one Permissions
     * const Permissions = await prisma.permissions.create({
     *   data: {
     *     // ... data to create a Permissions
     *   }
     * })
     * 
     */
    create<T extends PermissionsCreateArgs>(args: SelectSubset<T, PermissionsCreateArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Permissions.
     * @param {PermissionsCreateManyArgs} args - Arguments to create many Permissions.
     * @example
     * // Create many Permissions
     * const permissions = await prisma.permissions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends PermissionsCreateManyArgs>(args?: SelectSubset<T, PermissionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Permissions and returns the data saved in the database.
     * @param {PermissionsCreateManyAndReturnArgs} args - Arguments to create many Permissions.
     * @example
     * // Create many Permissions
     * const permissions = await prisma.permissions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Permissions and only return the `id`
     * const permissionsWithIdOnly = await prisma.permissions.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends PermissionsCreateManyAndReturnArgs>(args?: SelectSubset<T, PermissionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Permissions.
     * @param {PermissionsDeleteArgs} args - Arguments to delete one Permissions.
     * @example
     * // Delete one Permissions
     * const Permissions = await prisma.permissions.delete({
     *   where: {
     *     // ... filter to delete one Permissions
     *   }
     * })
     * 
     */
    delete<T extends PermissionsDeleteArgs>(args: SelectSubset<T, PermissionsDeleteArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Permissions.
     * @param {PermissionsUpdateArgs} args - Arguments to update one Permissions.
     * @example
     * // Update one Permissions
     * const permissions = await prisma.permissions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends PermissionsUpdateArgs>(args: SelectSubset<T, PermissionsUpdateArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Permissions.
     * @param {PermissionsDeleteManyArgs} args - Arguments to filter Permissions to delete.
     * @example
     * // Delete a few Permissions
     * const { count } = await prisma.permissions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends PermissionsDeleteManyArgs>(args?: SelectSubset<T, PermissionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Permissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Permissions
     * const permissions = await prisma.permissions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends PermissionsUpdateManyArgs>(args: SelectSubset<T, PermissionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Permissions.
     * @param {PermissionsUpsertArgs} args - Arguments to update or create a Permissions.
     * @example
     * // Update or create a Permissions
     * const permissions = await prisma.permissions.upsert({
     *   create: {
     *     // ... data to create a Permissions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Permissions we want to update
     *   }
     * })
     */
    upsert<T extends PermissionsUpsertArgs>(args: SelectSubset<T, PermissionsUpsertArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Permissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsCountArgs} args - Arguments to filter Permissions to count.
     * @example
     * // Count the number of Permissions
     * const count = await prisma.permissions.count({
     *   where: {
     *     // ... the filter for the Permissions we want to count
     *   }
     * })
    **/
    count<T extends PermissionsCountArgs>(
      args?: Subset<T, PermissionsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], PermissionsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Permissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends PermissionsAggregateArgs>(args: Subset<T, PermissionsAggregateArgs>): Prisma.PrismaPromise<GetPermissionsAggregateType<T>>

    /**
     * Group by Permissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PermissionsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends PermissionsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: PermissionsGroupByArgs['orderBy'] }
        : { orderBy?: PermissionsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, PermissionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPermissionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Permissions model
   */
  readonly fields: PermissionsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Permissions.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__PermissionsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    entity<T extends Permissions$entityArgs<ExtArgs> = {}>(args?: Subset<T, Permissions$entityArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    roles<T extends Permissions$rolesArgs<ExtArgs> = {}>(args?: Subset<T, Permissions$rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    users<T extends Permissions$usersArgs<ExtArgs> = {}>(args?: Subset<T, Permissions$usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    menus<T extends Permissions$menusArgs<ExtArgs> = {}>(args?: Subset<T, Permissions$menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Permissions model
   */ 
  interface PermissionsFieldRefs {
    readonly id: FieldRef<"Permissions", 'Int'>
    readonly name: FieldRef<"Permissions", 'String'>
    readonly slug: FieldRef<"Permissions", 'String'>
    readonly entity_id: FieldRef<"Permissions", 'Int'>
    readonly order_no: FieldRef<"Permissions", 'Decimal'>
    readonly status_id: FieldRef<"Permissions", 'Int'>
    readonly company_id: FieldRef<"Permissions", 'Int'>
    readonly created_at: FieldRef<"Permissions", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Permissions findUnique
   */
  export type PermissionsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter, which Permissions to fetch.
     */
    where: PermissionsWhereUniqueInput
  }

  /**
   * Permissions findUniqueOrThrow
   */
  export type PermissionsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter, which Permissions to fetch.
     */
    where: PermissionsWhereUniqueInput
  }

  /**
   * Permissions findFirst
   */
  export type PermissionsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter, which Permissions to fetch.
     */
    where?: PermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Permissions to fetch.
     */
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Permissions.
     */
    cursor?: PermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Permissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Permissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Permissions.
     */
    distinct?: PermissionsScalarFieldEnum | PermissionsScalarFieldEnum[]
  }

  /**
   * Permissions findFirstOrThrow
   */
  export type PermissionsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter, which Permissions to fetch.
     */
    where?: PermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Permissions to fetch.
     */
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Permissions.
     */
    cursor?: PermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Permissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Permissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Permissions.
     */
    distinct?: PermissionsScalarFieldEnum | PermissionsScalarFieldEnum[]
  }

  /**
   * Permissions findMany
   */
  export type PermissionsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter, which Permissions to fetch.
     */
    where?: PermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Permissions to fetch.
     */
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Permissions.
     */
    cursor?: PermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Permissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Permissions.
     */
    skip?: number
    distinct?: PermissionsScalarFieldEnum | PermissionsScalarFieldEnum[]
  }

  /**
   * Permissions create
   */
  export type PermissionsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * The data needed to create a Permissions.
     */
    data: XOR<PermissionsCreateInput, PermissionsUncheckedCreateInput>
  }

  /**
   * Permissions createMany
   */
  export type PermissionsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Permissions.
     */
    data: PermissionsCreateManyInput | PermissionsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Permissions createManyAndReturn
   */
  export type PermissionsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Permissions.
     */
    data: PermissionsCreateManyInput | PermissionsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Permissions update
   */
  export type PermissionsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * The data needed to update a Permissions.
     */
    data: XOR<PermissionsUpdateInput, PermissionsUncheckedUpdateInput>
    /**
     * Choose, which Permissions to update.
     */
    where: PermissionsWhereUniqueInput
  }

  /**
   * Permissions updateMany
   */
  export type PermissionsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Permissions.
     */
    data: XOR<PermissionsUpdateManyMutationInput, PermissionsUncheckedUpdateManyInput>
    /**
     * Filter which Permissions to update
     */
    where?: PermissionsWhereInput
  }

  /**
   * Permissions upsert
   */
  export type PermissionsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * The filter to search for the Permissions to update in case it exists.
     */
    where: PermissionsWhereUniqueInput
    /**
     * In case the Permissions found by the `where` argument doesn't exist, create a new Permissions with this data.
     */
    create: XOR<PermissionsCreateInput, PermissionsUncheckedCreateInput>
    /**
     * In case the Permissions was found with the provided `where` argument, update it with this data.
     */
    update: XOR<PermissionsUpdateInput, PermissionsUncheckedUpdateInput>
  }

  /**
   * Permissions delete
   */
  export type PermissionsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    /**
     * Filter which Permissions to delete.
     */
    where: PermissionsWhereUniqueInput
  }

  /**
   * Permissions deleteMany
   */
  export type PermissionsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Permissions to delete
     */
    where?: PermissionsWhereInput
  }

  /**
   * Permissions.entity
   */
  export type Permissions$entityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    where?: MasterEntityWhereInput
  }

  /**
   * Permissions.roles
   */
  export type Permissions$rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    where?: RolePermissionsWhereInput
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    cursor?: RolePermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RolePermissionsScalarFieldEnum | RolePermissionsScalarFieldEnum[]
  }

  /**
   * Permissions.users
   */
  export type Permissions$usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    where?: UserPermissionsWhereInput
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    cursor?: UserPermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserPermissionsScalarFieldEnum | UserPermissionsScalarFieldEnum[]
  }

  /**
   * Permissions.menus
   */
  export type Permissions$menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * Permissions without action
   */
  export type PermissionsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
  }


  /**
   * Model Role
   */

  export type AggregateRole = {
    _count: RoleCountAggregateOutputType | null
    _avg: RoleAvgAggregateOutputType | null
    _sum: RoleSumAggregateOutputType | null
    _min: RoleMinAggregateOutputType | null
    _max: RoleMaxAggregateOutputType | null
  }

  export type RoleAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type RoleSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type RoleMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type RoleMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type RoleCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type RoleAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type RoleSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type RoleMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type RoleMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type RoleCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type RoleAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Role to aggregate.
     */
    where?: RoleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Roles to fetch.
     */
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: RoleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Roles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Roles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Roles
    **/
    _count?: true | RoleCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: RoleAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: RoleSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: RoleMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: RoleMaxAggregateInputType
  }

  export type GetRoleAggregateType<T extends RoleAggregateArgs> = {
        [P in keyof T & keyof AggregateRole]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateRole[P]>
      : GetScalarType<T[P], AggregateRole[P]>
  }




  export type RoleGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RoleWhereInput
    orderBy?: RoleOrderByWithAggregationInput | RoleOrderByWithAggregationInput[]
    by: RoleScalarFieldEnum[] | RoleScalarFieldEnum
    having?: RoleScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: RoleCountAggregateInputType | true
    _avg?: RoleAvgAggregateInputType
    _sum?: RoleSumAggregateInputType
    _min?: RoleMinAggregateInputType
    _max?: RoleMaxAggregateInputType
  }

  export type RoleGroupByOutputType = {
    id: number
    uuid: string
    name: string
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: RoleCountAggregateOutputType | null
    _avg: RoleAvgAggregateOutputType | null
    _sum: RoleSumAggregateOutputType | null
    _min: RoleMinAggregateOutputType | null
    _max: RoleMaxAggregateOutputType | null
  }

  type GetRoleGroupByPayload<T extends RoleGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<RoleGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof RoleGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], RoleGroupByOutputType[P]>
            : GetScalarType<T[P], RoleGroupByOutputType[P]>
        }
      >
    >


  export type RoleSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    permissions?: boolean | Role$permissionsArgs<ExtArgs>
    users?: boolean | Role$usersArgs<ExtArgs>
    role_policy?: boolean | Role$role_policyArgs<ExtArgs>
    created?: boolean | Role$createdArgs<ExtArgs>
    updated?: boolean | Role$updatedArgs<ExtArgs>
    deleted?: boolean | Role$deletedArgs<ExtArgs>
    _count?: boolean | RoleCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["role"]>

  export type RoleSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Role$createdArgs<ExtArgs>
    updated?: boolean | Role$updatedArgs<ExtArgs>
    deleted?: boolean | Role$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["role"]>

  export type RoleSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type RoleInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    permissions?: boolean | Role$permissionsArgs<ExtArgs>
    users?: boolean | Role$usersArgs<ExtArgs>
    role_policy?: boolean | Role$role_policyArgs<ExtArgs>
    created?: boolean | Role$createdArgs<ExtArgs>
    updated?: boolean | Role$updatedArgs<ExtArgs>
    deleted?: boolean | Role$deletedArgs<ExtArgs>
    _count?: boolean | RoleCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type RoleIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Role$createdArgs<ExtArgs>
    updated?: boolean | Role$updatedArgs<ExtArgs>
    deleted?: boolean | Role$deletedArgs<ExtArgs>
  }

  export type $RolePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Role"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      permissions: Prisma.$RolePermissionsPayload<ExtArgs>[]
      users: Prisma.$UserRolesPayload<ExtArgs>[]
      role_policy: Prisma.$RolePoliciesPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["role"]>
    composites: {}
  }

  type RoleGetPayload<S extends boolean | null | undefined | RoleDefaultArgs> = $Result.GetResult<Prisma.$RolePayload, S>

  type RoleCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<RoleFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: RoleCountAggregateInputType | true
    }

  export interface RoleDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Role'], meta: { name: 'Role' } }
    /**
     * Find zero or one Role that matches the filter.
     * @param {RoleFindUniqueArgs} args - Arguments to find a Role
     * @example
     * // Get one Role
     * const role = await prisma.role.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends RoleFindUniqueArgs>(args: SelectSubset<T, RoleFindUniqueArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Role that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {RoleFindUniqueOrThrowArgs} args - Arguments to find a Role
     * @example
     * // Get one Role
     * const role = await prisma.role.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends RoleFindUniqueOrThrowArgs>(args: SelectSubset<T, RoleFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Role that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleFindFirstArgs} args - Arguments to find a Role
     * @example
     * // Get one Role
     * const role = await prisma.role.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends RoleFindFirstArgs>(args?: SelectSubset<T, RoleFindFirstArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Role that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleFindFirstOrThrowArgs} args - Arguments to find a Role
     * @example
     * // Get one Role
     * const role = await prisma.role.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends RoleFindFirstOrThrowArgs>(args?: SelectSubset<T, RoleFindFirstOrThrowArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Roles that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Roles
     * const roles = await prisma.role.findMany()
     * 
     * // Get first 10 Roles
     * const roles = await prisma.role.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const roleWithIdOnly = await prisma.role.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends RoleFindManyArgs>(args?: SelectSubset<T, RoleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Role.
     * @param {RoleCreateArgs} args - Arguments to create a Role.
     * @example
     * // Create one Role
     * const Role = await prisma.role.create({
     *   data: {
     *     // ... data to create a Role
     *   }
     * })
     * 
     */
    create<T extends RoleCreateArgs>(args: SelectSubset<T, RoleCreateArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Roles.
     * @param {RoleCreateManyArgs} args - Arguments to create many Roles.
     * @example
     * // Create many Roles
     * const role = await prisma.role.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends RoleCreateManyArgs>(args?: SelectSubset<T, RoleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Roles and returns the data saved in the database.
     * @param {RoleCreateManyAndReturnArgs} args - Arguments to create many Roles.
     * @example
     * // Create many Roles
     * const role = await prisma.role.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Roles and only return the `id`
     * const roleWithIdOnly = await prisma.role.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends RoleCreateManyAndReturnArgs>(args?: SelectSubset<T, RoleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Role.
     * @param {RoleDeleteArgs} args - Arguments to delete one Role.
     * @example
     * // Delete one Role
     * const Role = await prisma.role.delete({
     *   where: {
     *     // ... filter to delete one Role
     *   }
     * })
     * 
     */
    delete<T extends RoleDeleteArgs>(args: SelectSubset<T, RoleDeleteArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Role.
     * @param {RoleUpdateArgs} args - Arguments to update one Role.
     * @example
     * // Update one Role
     * const role = await prisma.role.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends RoleUpdateArgs>(args: SelectSubset<T, RoleUpdateArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Roles.
     * @param {RoleDeleteManyArgs} args - Arguments to filter Roles to delete.
     * @example
     * // Delete a few Roles
     * const { count } = await prisma.role.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends RoleDeleteManyArgs>(args?: SelectSubset<T, RoleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Roles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Roles
     * const role = await prisma.role.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends RoleUpdateManyArgs>(args: SelectSubset<T, RoleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Role.
     * @param {RoleUpsertArgs} args - Arguments to update or create a Role.
     * @example
     * // Update or create a Role
     * const role = await prisma.role.upsert({
     *   create: {
     *     // ... data to create a Role
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Role we want to update
     *   }
     * })
     */
    upsert<T extends RoleUpsertArgs>(args: SelectSubset<T, RoleUpsertArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Roles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleCountArgs} args - Arguments to filter Roles to count.
     * @example
     * // Count the number of Roles
     * const count = await prisma.role.count({
     *   where: {
     *     // ... the filter for the Roles we want to count
     *   }
     * })
    **/
    count<T extends RoleCountArgs>(
      args?: Subset<T, RoleCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], RoleCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Role.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends RoleAggregateArgs>(args: Subset<T, RoleAggregateArgs>): Prisma.PrismaPromise<GetRoleAggregateType<T>>

    /**
     * Group by Role.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RoleGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends RoleGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: RoleGroupByArgs['orderBy'] }
        : { orderBy?: RoleGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, RoleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRoleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Role model
   */
  readonly fields: RoleFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Role.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__RoleClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    permissions<T extends Role$permissionsArgs<ExtArgs> = {}>(args?: Subset<T, Role$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    users<T extends Role$usersArgs<ExtArgs> = {}>(args?: Subset<T, Role$usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findMany"> | Null>
    role_policy<T extends Role$role_policyArgs<ExtArgs> = {}>(args?: Subset<T, Role$role_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends Role$createdArgs<ExtArgs> = {}>(args?: Subset<T, Role$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends Role$updatedArgs<ExtArgs> = {}>(args?: Subset<T, Role$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends Role$deletedArgs<ExtArgs> = {}>(args?: Subset<T, Role$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Role model
   */ 
  interface RoleFieldRefs {
    readonly id: FieldRef<"Role", 'Int'>
    readonly uuid: FieldRef<"Role", 'String'>
    readonly name: FieldRef<"Role", 'String'>
    readonly description: FieldRef<"Role", 'String'>
    readonly status_id: FieldRef<"Role", 'Int'>
    readonly company_id: FieldRef<"Role", 'Int'>
    readonly created_by: FieldRef<"Role", 'Int'>
    readonly updated_by: FieldRef<"Role", 'Int'>
    readonly deleted_by: FieldRef<"Role", 'Int'>
    readonly created_at: FieldRef<"Role", 'DateTime'>
    readonly updated_at: FieldRef<"Role", 'DateTime'>
    readonly deleted_at: FieldRef<"Role", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Role findUnique
   */
  export type RoleFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter, which Role to fetch.
     */
    where: RoleWhereUniqueInput
  }

  /**
   * Role findUniqueOrThrow
   */
  export type RoleFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter, which Role to fetch.
     */
    where: RoleWhereUniqueInput
  }

  /**
   * Role findFirst
   */
  export type RoleFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter, which Role to fetch.
     */
    where?: RoleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Roles to fetch.
     */
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Roles.
     */
    cursor?: RoleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Roles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Roles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Roles.
     */
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * Role findFirstOrThrow
   */
  export type RoleFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter, which Role to fetch.
     */
    where?: RoleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Roles to fetch.
     */
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Roles.
     */
    cursor?: RoleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Roles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Roles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Roles.
     */
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * Role findMany
   */
  export type RoleFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter, which Roles to fetch.
     */
    where?: RoleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Roles to fetch.
     */
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Roles.
     */
    cursor?: RoleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Roles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Roles.
     */
    skip?: number
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * Role create
   */
  export type RoleCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * The data needed to create a Role.
     */
    data: XOR<RoleCreateInput, RoleUncheckedCreateInput>
  }

  /**
   * Role createMany
   */
  export type RoleCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Roles.
     */
    data: RoleCreateManyInput | RoleCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Role createManyAndReturn
   */
  export type RoleCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Roles.
     */
    data: RoleCreateManyInput | RoleCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Role update
   */
  export type RoleUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * The data needed to update a Role.
     */
    data: XOR<RoleUpdateInput, RoleUncheckedUpdateInput>
    /**
     * Choose, which Role to update.
     */
    where: RoleWhereUniqueInput
  }

  /**
   * Role updateMany
   */
  export type RoleUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Roles.
     */
    data: XOR<RoleUpdateManyMutationInput, RoleUncheckedUpdateManyInput>
    /**
     * Filter which Roles to update
     */
    where?: RoleWhereInput
  }

  /**
   * Role upsert
   */
  export type RoleUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * The filter to search for the Role to update in case it exists.
     */
    where: RoleWhereUniqueInput
    /**
     * In case the Role found by the `where` argument doesn't exist, create a new Role with this data.
     */
    create: XOR<RoleCreateInput, RoleUncheckedCreateInput>
    /**
     * In case the Role was found with the provided `where` argument, update it with this data.
     */
    update: XOR<RoleUpdateInput, RoleUncheckedUpdateInput>
  }

  /**
   * Role delete
   */
  export type RoleDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    /**
     * Filter which Role to delete.
     */
    where: RoleWhereUniqueInput
  }

  /**
   * Role deleteMany
   */
  export type RoleDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Roles to delete
     */
    where?: RoleWhereInput
  }

  /**
   * Role.permissions
   */
  export type Role$permissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    where?: RolePermissionsWhereInput
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    cursor?: RolePermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RolePermissionsScalarFieldEnum | RolePermissionsScalarFieldEnum[]
  }

  /**
   * Role.users
   */
  export type Role$usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    where?: UserRolesWhereInput
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    cursor?: UserRolesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserRolesScalarFieldEnum | UserRolesScalarFieldEnum[]
  }

  /**
   * Role.role_policy
   */
  export type Role$role_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    where?: RolePoliciesWhereInput
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    cursor?: RolePoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RolePoliciesScalarFieldEnum | RolePoliciesScalarFieldEnum[]
  }

  /**
   * Role.created
   */
  export type Role$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Role.updated
   */
  export type Role$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Role.deleted
   */
  export type Role$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Role without action
   */
  export type RoleDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
  }


  /**
   * Model RolePermissions
   */

  export type AggregateRolePermissions = {
    _count: RolePermissionsCountAggregateOutputType | null
    _avg: RolePermissionsAvgAggregateOutputType | null
    _sum: RolePermissionsSumAggregateOutputType | null
    _min: RolePermissionsMinAggregateOutputType | null
    _max: RolePermissionsMaxAggregateOutputType | null
  }

  export type RolePermissionsAvgAggregateOutputType = {
    role_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type RolePermissionsSumAggregateOutputType = {
    role_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type RolePermissionsMinAggregateOutputType = {
    role_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type RolePermissionsMaxAggregateOutputType = {
    role_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type RolePermissionsCountAggregateOutputType = {
    role_id: number
    permission_id: number
    company_id: number
    _all: number
  }


  export type RolePermissionsAvgAggregateInputType = {
    role_id?: true
    permission_id?: true
    company_id?: true
  }

  export type RolePermissionsSumAggregateInputType = {
    role_id?: true
    permission_id?: true
    company_id?: true
  }

  export type RolePermissionsMinAggregateInputType = {
    role_id?: true
    permission_id?: true
    company_id?: true
  }

  export type RolePermissionsMaxAggregateInputType = {
    role_id?: true
    permission_id?: true
    company_id?: true
  }

  export type RolePermissionsCountAggregateInputType = {
    role_id?: true
    permission_id?: true
    company_id?: true
    _all?: true
  }

  export type RolePermissionsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RolePermissions to aggregate.
     */
    where?: RolePermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePermissions to fetch.
     */
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: RolePermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned RolePermissions
    **/
    _count?: true | RolePermissionsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: RolePermissionsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: RolePermissionsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: RolePermissionsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: RolePermissionsMaxAggregateInputType
  }

  export type GetRolePermissionsAggregateType<T extends RolePermissionsAggregateArgs> = {
        [P in keyof T & keyof AggregateRolePermissions]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateRolePermissions[P]>
      : GetScalarType<T[P], AggregateRolePermissions[P]>
  }




  export type RolePermissionsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePermissionsWhereInput
    orderBy?: RolePermissionsOrderByWithAggregationInput | RolePermissionsOrderByWithAggregationInput[]
    by: RolePermissionsScalarFieldEnum[] | RolePermissionsScalarFieldEnum
    having?: RolePermissionsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: RolePermissionsCountAggregateInputType | true
    _avg?: RolePermissionsAvgAggregateInputType
    _sum?: RolePermissionsSumAggregateInputType
    _min?: RolePermissionsMinAggregateInputType
    _max?: RolePermissionsMaxAggregateInputType
  }

  export type RolePermissionsGroupByOutputType = {
    role_id: number
    permission_id: number
    company_id: number
    _count: RolePermissionsCountAggregateOutputType | null
    _avg: RolePermissionsAvgAggregateOutputType | null
    _sum: RolePermissionsSumAggregateOutputType | null
    _min: RolePermissionsMinAggregateOutputType | null
    _max: RolePermissionsMaxAggregateOutputType | null
  }

  type GetRolePermissionsGroupByPayload<T extends RolePermissionsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<RolePermissionsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof RolePermissionsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], RolePermissionsGroupByOutputType[P]>
            : GetScalarType<T[P], RolePermissionsGroupByOutputType[P]>
        }
      >
    >


  export type RolePermissionsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    role_id?: boolean
    permission_id?: boolean
    company_id?: boolean
    role?: boolean | RoleDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["rolePermissions"]>

  export type RolePermissionsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    role_id?: boolean
    permission_id?: boolean
    company_id?: boolean
    role?: boolean | RoleDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["rolePermissions"]>

  export type RolePermissionsSelectScalar = {
    role_id?: boolean
    permission_id?: boolean
    company_id?: boolean
  }

  export type RolePermissionsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    role?: boolean | RoleDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }
  export type RolePermissionsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    role?: boolean | RoleDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }

  export type $RolePermissionsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "RolePermissions"
    objects: {
      role: Prisma.$RolePayload<ExtArgs>
      permission: Prisma.$PermissionsPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      role_id: number
      permission_id: number
      company_id: number
    }, ExtArgs["result"]["rolePermissions"]>
    composites: {}
  }

  type RolePermissionsGetPayload<S extends boolean | null | undefined | RolePermissionsDefaultArgs> = $Result.GetResult<Prisma.$RolePermissionsPayload, S>

  type RolePermissionsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<RolePermissionsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: RolePermissionsCountAggregateInputType | true
    }

  export interface RolePermissionsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RolePermissions'], meta: { name: 'RolePermissions' } }
    /**
     * Find zero or one RolePermissions that matches the filter.
     * @param {RolePermissionsFindUniqueArgs} args - Arguments to find a RolePermissions
     * @example
     * // Get one RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends RolePermissionsFindUniqueArgs>(args: SelectSubset<T, RolePermissionsFindUniqueArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one RolePermissions that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {RolePermissionsFindUniqueOrThrowArgs} args - Arguments to find a RolePermissions
     * @example
     * // Get one RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends RolePermissionsFindUniqueOrThrowArgs>(args: SelectSubset<T, RolePermissionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first RolePermissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsFindFirstArgs} args - Arguments to find a RolePermissions
     * @example
     * // Get one RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends RolePermissionsFindFirstArgs>(args?: SelectSubset<T, RolePermissionsFindFirstArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first RolePermissions that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsFindFirstOrThrowArgs} args - Arguments to find a RolePermissions
     * @example
     * // Get one RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends RolePermissionsFindFirstOrThrowArgs>(args?: SelectSubset<T, RolePermissionsFindFirstOrThrowArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more RolePermissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findMany()
     * 
     * // Get first 10 RolePermissions
     * const rolePermissions = await prisma.rolePermissions.findMany({ take: 10 })
     * 
     * // Only select the `role_id`
     * const rolePermissionsWithRole_idOnly = await prisma.rolePermissions.findMany({ select: { role_id: true } })
     * 
     */
    findMany<T extends RolePermissionsFindManyArgs>(args?: SelectSubset<T, RolePermissionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a RolePermissions.
     * @param {RolePermissionsCreateArgs} args - Arguments to create a RolePermissions.
     * @example
     * // Create one RolePermissions
     * const RolePermissions = await prisma.rolePermissions.create({
     *   data: {
     *     // ... data to create a RolePermissions
     *   }
     * })
     * 
     */
    create<T extends RolePermissionsCreateArgs>(args: SelectSubset<T, RolePermissionsCreateArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many RolePermissions.
     * @param {RolePermissionsCreateManyArgs} args - Arguments to create many RolePermissions.
     * @example
     * // Create many RolePermissions
     * const rolePermissions = await prisma.rolePermissions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends RolePermissionsCreateManyArgs>(args?: SelectSubset<T, RolePermissionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many RolePermissions and returns the data saved in the database.
     * @param {RolePermissionsCreateManyAndReturnArgs} args - Arguments to create many RolePermissions.
     * @example
     * // Create many RolePermissions
     * const rolePermissions = await prisma.rolePermissions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many RolePermissions and only return the `role_id`
     * const rolePermissionsWithRole_idOnly = await prisma.rolePermissions.createManyAndReturn({ 
     *   select: { role_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends RolePermissionsCreateManyAndReturnArgs>(args?: SelectSubset<T, RolePermissionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a RolePermissions.
     * @param {RolePermissionsDeleteArgs} args - Arguments to delete one RolePermissions.
     * @example
     * // Delete one RolePermissions
     * const RolePermissions = await prisma.rolePermissions.delete({
     *   where: {
     *     // ... filter to delete one RolePermissions
     *   }
     * })
     * 
     */
    delete<T extends RolePermissionsDeleteArgs>(args: SelectSubset<T, RolePermissionsDeleteArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one RolePermissions.
     * @param {RolePermissionsUpdateArgs} args - Arguments to update one RolePermissions.
     * @example
     * // Update one RolePermissions
     * const rolePermissions = await prisma.rolePermissions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends RolePermissionsUpdateArgs>(args: SelectSubset<T, RolePermissionsUpdateArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more RolePermissions.
     * @param {RolePermissionsDeleteManyArgs} args - Arguments to filter RolePermissions to delete.
     * @example
     * // Delete a few RolePermissions
     * const { count } = await prisma.rolePermissions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends RolePermissionsDeleteManyArgs>(args?: SelectSubset<T, RolePermissionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more RolePermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many RolePermissions
     * const rolePermissions = await prisma.rolePermissions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends RolePermissionsUpdateManyArgs>(args: SelectSubset<T, RolePermissionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one RolePermissions.
     * @param {RolePermissionsUpsertArgs} args - Arguments to update or create a RolePermissions.
     * @example
     * // Update or create a RolePermissions
     * const rolePermissions = await prisma.rolePermissions.upsert({
     *   create: {
     *     // ... data to create a RolePermissions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the RolePermissions we want to update
     *   }
     * })
     */
    upsert<T extends RolePermissionsUpsertArgs>(args: SelectSubset<T, RolePermissionsUpsertArgs<ExtArgs>>): Prisma__RolePermissionsClient<$Result.GetResult<Prisma.$RolePermissionsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of RolePermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsCountArgs} args - Arguments to filter RolePermissions to count.
     * @example
     * // Count the number of RolePermissions
     * const count = await prisma.rolePermissions.count({
     *   where: {
     *     // ... the filter for the RolePermissions we want to count
     *   }
     * })
    **/
    count<T extends RolePermissionsCountArgs>(
      args?: Subset<T, RolePermissionsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], RolePermissionsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a RolePermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends RolePermissionsAggregateArgs>(args: Subset<T, RolePermissionsAggregateArgs>): Prisma.PrismaPromise<GetRolePermissionsAggregateType<T>>

    /**
     * Group by RolePermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePermissionsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends RolePermissionsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: RolePermissionsGroupByArgs['orderBy'] }
        : { orderBy?: RolePermissionsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, RolePermissionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRolePermissionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the RolePermissions model
   */
  readonly fields: RolePermissionsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for RolePermissions.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__RolePermissionsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    role<T extends RoleDefaultArgs<ExtArgs> = {}>(args?: Subset<T, RoleDefaultArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    permission<T extends PermissionsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, PermissionsDefaultArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the RolePermissions model
   */ 
  interface RolePermissionsFieldRefs {
    readonly role_id: FieldRef<"RolePermissions", 'Int'>
    readonly permission_id: FieldRef<"RolePermissions", 'Int'>
    readonly company_id: FieldRef<"RolePermissions", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * RolePermissions findUnique
   */
  export type RolePermissionsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter, which RolePermissions to fetch.
     */
    where: RolePermissionsWhereUniqueInput
  }

  /**
   * RolePermissions findUniqueOrThrow
   */
  export type RolePermissionsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter, which RolePermissions to fetch.
     */
    where: RolePermissionsWhereUniqueInput
  }

  /**
   * RolePermissions findFirst
   */
  export type RolePermissionsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter, which RolePermissions to fetch.
     */
    where?: RolePermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePermissions to fetch.
     */
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RolePermissions.
     */
    cursor?: RolePermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RolePermissions.
     */
    distinct?: RolePermissionsScalarFieldEnum | RolePermissionsScalarFieldEnum[]
  }

  /**
   * RolePermissions findFirstOrThrow
   */
  export type RolePermissionsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter, which RolePermissions to fetch.
     */
    where?: RolePermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePermissions to fetch.
     */
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RolePermissions.
     */
    cursor?: RolePermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RolePermissions.
     */
    distinct?: RolePermissionsScalarFieldEnum | RolePermissionsScalarFieldEnum[]
  }

  /**
   * RolePermissions findMany
   */
  export type RolePermissionsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter, which RolePermissions to fetch.
     */
    where?: RolePermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePermissions to fetch.
     */
    orderBy?: RolePermissionsOrderByWithRelationInput | RolePermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing RolePermissions.
     */
    cursor?: RolePermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePermissions.
     */
    skip?: number
    distinct?: RolePermissionsScalarFieldEnum | RolePermissionsScalarFieldEnum[]
  }

  /**
   * RolePermissions create
   */
  export type RolePermissionsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * The data needed to create a RolePermissions.
     */
    data: XOR<RolePermissionsCreateInput, RolePermissionsUncheckedCreateInput>
  }

  /**
   * RolePermissions createMany
   */
  export type RolePermissionsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many RolePermissions.
     */
    data: RolePermissionsCreateManyInput | RolePermissionsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * RolePermissions createManyAndReturn
   */
  export type RolePermissionsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many RolePermissions.
     */
    data: RolePermissionsCreateManyInput | RolePermissionsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * RolePermissions update
   */
  export type RolePermissionsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * The data needed to update a RolePermissions.
     */
    data: XOR<RolePermissionsUpdateInput, RolePermissionsUncheckedUpdateInput>
    /**
     * Choose, which RolePermissions to update.
     */
    where: RolePermissionsWhereUniqueInput
  }

  /**
   * RolePermissions updateMany
   */
  export type RolePermissionsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update RolePermissions.
     */
    data: XOR<RolePermissionsUpdateManyMutationInput, RolePermissionsUncheckedUpdateManyInput>
    /**
     * Filter which RolePermissions to update
     */
    where?: RolePermissionsWhereInput
  }

  /**
   * RolePermissions upsert
   */
  export type RolePermissionsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * The filter to search for the RolePermissions to update in case it exists.
     */
    where: RolePermissionsWhereUniqueInput
    /**
     * In case the RolePermissions found by the `where` argument doesn't exist, create a new RolePermissions with this data.
     */
    create: XOR<RolePermissionsCreateInput, RolePermissionsUncheckedCreateInput>
    /**
     * In case the RolePermissions was found with the provided `where` argument, update it with this data.
     */
    update: XOR<RolePermissionsUpdateInput, RolePermissionsUncheckedUpdateInput>
  }

  /**
   * RolePermissions delete
   */
  export type RolePermissionsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
    /**
     * Filter which RolePermissions to delete.
     */
    where: RolePermissionsWhereUniqueInput
  }

  /**
   * RolePermissions deleteMany
   */
  export type RolePermissionsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RolePermissions to delete
     */
    where?: RolePermissionsWhereInput
  }

  /**
   * RolePermissions without action
   */
  export type RolePermissionsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePermissions
     */
    select?: RolePermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePermissionsInclude<ExtArgs> | null
  }


  /**
   * Model UserRoles
   */

  export type AggregateUserRoles = {
    _count: UserRolesCountAggregateOutputType | null
    _avg: UserRolesAvgAggregateOutputType | null
    _sum: UserRolesSumAggregateOutputType | null
    _min: UserRolesMinAggregateOutputType | null
    _max: UserRolesMaxAggregateOutputType | null
  }

  export type UserRolesAvgAggregateOutputType = {
    user_id: number | null
    role_id: number | null
    company_id: number | null
  }

  export type UserRolesSumAggregateOutputType = {
    user_id: number | null
    role_id: number | null
    company_id: number | null
  }

  export type UserRolesMinAggregateOutputType = {
    user_id: number | null
    role_id: number | null
    company_id: number | null
  }

  export type UserRolesMaxAggregateOutputType = {
    user_id: number | null
    role_id: number | null
    company_id: number | null
  }

  export type UserRolesCountAggregateOutputType = {
    user_id: number
    role_id: number
    company_id: number
    _all: number
  }


  export type UserRolesAvgAggregateInputType = {
    user_id?: true
    role_id?: true
    company_id?: true
  }

  export type UserRolesSumAggregateInputType = {
    user_id?: true
    role_id?: true
    company_id?: true
  }

  export type UserRolesMinAggregateInputType = {
    user_id?: true
    role_id?: true
    company_id?: true
  }

  export type UserRolesMaxAggregateInputType = {
    user_id?: true
    role_id?: true
    company_id?: true
  }

  export type UserRolesCountAggregateInputType = {
    user_id?: true
    role_id?: true
    company_id?: true
    _all?: true
  }

  export type UserRolesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserRoles to aggregate.
     */
    where?: UserRolesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserRoles to fetch.
     */
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserRolesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserRoles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserRoles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserRoles
    **/
    _count?: true | UserRolesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserRolesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserRolesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserRolesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserRolesMaxAggregateInputType
  }

  export type GetUserRolesAggregateType<T extends UserRolesAggregateArgs> = {
        [P in keyof T & keyof AggregateUserRoles]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserRoles[P]>
      : GetScalarType<T[P], AggregateUserRoles[P]>
  }




  export type UserRolesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserRolesWhereInput
    orderBy?: UserRolesOrderByWithAggregationInput | UserRolesOrderByWithAggregationInput[]
    by: UserRolesScalarFieldEnum[] | UserRolesScalarFieldEnum
    having?: UserRolesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserRolesCountAggregateInputType | true
    _avg?: UserRolesAvgAggregateInputType
    _sum?: UserRolesSumAggregateInputType
    _min?: UserRolesMinAggregateInputType
    _max?: UserRolesMaxAggregateInputType
  }

  export type UserRolesGroupByOutputType = {
    user_id: number
    role_id: number
    company_id: number
    _count: UserRolesCountAggregateOutputType | null
    _avg: UserRolesAvgAggregateOutputType | null
    _sum: UserRolesSumAggregateOutputType | null
    _min: UserRolesMinAggregateOutputType | null
    _max: UserRolesMaxAggregateOutputType | null
  }

  type GetUserRolesGroupByPayload<T extends UserRolesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserRolesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserRolesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserRolesGroupByOutputType[P]>
            : GetScalarType<T[P], UserRolesGroupByOutputType[P]>
        }
      >
    >


  export type UserRolesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    user_id?: boolean
    role_id?: boolean
    company_id?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userRoles"]>

  export type UserRolesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    user_id?: boolean
    role_id?: boolean
    company_id?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userRoles"]>

  export type UserRolesSelectScalar = {
    user_id?: boolean
    role_id?: boolean
    company_id?: boolean
  }

  export type UserRolesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }
  export type UserRolesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }

  export type $UserRolesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserRoles"
    objects: {
      user: Prisma.$UserPayload<ExtArgs>
      role: Prisma.$RolePayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      user_id: number
      role_id: number
      company_id: number
    }, ExtArgs["result"]["userRoles"]>
    composites: {}
  }

  type UserRolesGetPayload<S extends boolean | null | undefined | UserRolesDefaultArgs> = $Result.GetResult<Prisma.$UserRolesPayload, S>

  type UserRolesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserRolesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserRolesCountAggregateInputType | true
    }

  export interface UserRolesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserRoles'], meta: { name: 'UserRoles' } }
    /**
     * Find zero or one UserRoles that matches the filter.
     * @param {UserRolesFindUniqueArgs} args - Arguments to find a UserRoles
     * @example
     * // Get one UserRoles
     * const userRoles = await prisma.userRoles.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserRolesFindUniqueArgs>(args: SelectSubset<T, UserRolesFindUniqueArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserRoles that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserRolesFindUniqueOrThrowArgs} args - Arguments to find a UserRoles
     * @example
     * // Get one UserRoles
     * const userRoles = await prisma.userRoles.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserRolesFindUniqueOrThrowArgs>(args: SelectSubset<T, UserRolesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserRoles that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesFindFirstArgs} args - Arguments to find a UserRoles
     * @example
     * // Get one UserRoles
     * const userRoles = await prisma.userRoles.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserRolesFindFirstArgs>(args?: SelectSubset<T, UserRolesFindFirstArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserRoles that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesFindFirstOrThrowArgs} args - Arguments to find a UserRoles
     * @example
     * // Get one UserRoles
     * const userRoles = await prisma.userRoles.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserRolesFindFirstOrThrowArgs>(args?: SelectSubset<T, UserRolesFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserRoles that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserRoles
     * const userRoles = await prisma.userRoles.findMany()
     * 
     * // Get first 10 UserRoles
     * const userRoles = await prisma.userRoles.findMany({ take: 10 })
     * 
     * // Only select the `user_id`
     * const userRolesWithUser_idOnly = await prisma.userRoles.findMany({ select: { user_id: true } })
     * 
     */
    findMany<T extends UserRolesFindManyArgs>(args?: SelectSubset<T, UserRolesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserRoles.
     * @param {UserRolesCreateArgs} args - Arguments to create a UserRoles.
     * @example
     * // Create one UserRoles
     * const UserRoles = await prisma.userRoles.create({
     *   data: {
     *     // ... data to create a UserRoles
     *   }
     * })
     * 
     */
    create<T extends UserRolesCreateArgs>(args: SelectSubset<T, UserRolesCreateArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserRoles.
     * @param {UserRolesCreateManyArgs} args - Arguments to create many UserRoles.
     * @example
     * // Create many UserRoles
     * const userRoles = await prisma.userRoles.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserRolesCreateManyArgs>(args?: SelectSubset<T, UserRolesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserRoles and returns the data saved in the database.
     * @param {UserRolesCreateManyAndReturnArgs} args - Arguments to create many UserRoles.
     * @example
     * // Create many UserRoles
     * const userRoles = await prisma.userRoles.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserRoles and only return the `user_id`
     * const userRolesWithUser_idOnly = await prisma.userRoles.createManyAndReturn({ 
     *   select: { user_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserRolesCreateManyAndReturnArgs>(args?: SelectSubset<T, UserRolesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserRoles.
     * @param {UserRolesDeleteArgs} args - Arguments to delete one UserRoles.
     * @example
     * // Delete one UserRoles
     * const UserRoles = await prisma.userRoles.delete({
     *   where: {
     *     // ... filter to delete one UserRoles
     *   }
     * })
     * 
     */
    delete<T extends UserRolesDeleteArgs>(args: SelectSubset<T, UserRolesDeleteArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserRoles.
     * @param {UserRolesUpdateArgs} args - Arguments to update one UserRoles.
     * @example
     * // Update one UserRoles
     * const userRoles = await prisma.userRoles.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserRolesUpdateArgs>(args: SelectSubset<T, UserRolesUpdateArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserRoles.
     * @param {UserRolesDeleteManyArgs} args - Arguments to filter UserRoles to delete.
     * @example
     * // Delete a few UserRoles
     * const { count } = await prisma.userRoles.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserRolesDeleteManyArgs>(args?: SelectSubset<T, UserRolesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserRoles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserRoles
     * const userRoles = await prisma.userRoles.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserRolesUpdateManyArgs>(args: SelectSubset<T, UserRolesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserRoles.
     * @param {UserRolesUpsertArgs} args - Arguments to update or create a UserRoles.
     * @example
     * // Update or create a UserRoles
     * const userRoles = await prisma.userRoles.upsert({
     *   create: {
     *     // ... data to create a UserRoles
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserRoles we want to update
     *   }
     * })
     */
    upsert<T extends UserRolesUpsertArgs>(args: SelectSubset<T, UserRolesUpsertArgs<ExtArgs>>): Prisma__UserRolesClient<$Result.GetResult<Prisma.$UserRolesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserRoles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesCountArgs} args - Arguments to filter UserRoles to count.
     * @example
     * // Count the number of UserRoles
     * const count = await prisma.userRoles.count({
     *   where: {
     *     // ... the filter for the UserRoles we want to count
     *   }
     * })
    **/
    count<T extends UserRolesCountArgs>(
      args?: Subset<T, UserRolesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserRolesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserRoles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserRolesAggregateArgs>(args: Subset<T, UserRolesAggregateArgs>): Prisma.PrismaPromise<GetUserRolesAggregateType<T>>

    /**
     * Group by UserRoles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserRolesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserRolesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserRolesGroupByArgs['orderBy'] }
        : { orderBy?: UserRolesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserRolesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserRolesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserRoles model
   */
  readonly fields: UserRolesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserRoles.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserRolesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    role<T extends RoleDefaultArgs<ExtArgs> = {}>(args?: Subset<T, RoleDefaultArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserRoles model
   */ 
  interface UserRolesFieldRefs {
    readonly user_id: FieldRef<"UserRoles", 'Int'>
    readonly role_id: FieldRef<"UserRoles", 'Int'>
    readonly company_id: FieldRef<"UserRoles", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * UserRoles findUnique
   */
  export type UserRolesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter, which UserRoles to fetch.
     */
    where: UserRolesWhereUniqueInput
  }

  /**
   * UserRoles findUniqueOrThrow
   */
  export type UserRolesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter, which UserRoles to fetch.
     */
    where: UserRolesWhereUniqueInput
  }

  /**
   * UserRoles findFirst
   */
  export type UserRolesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter, which UserRoles to fetch.
     */
    where?: UserRolesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserRoles to fetch.
     */
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserRoles.
     */
    cursor?: UserRolesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserRoles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserRoles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserRoles.
     */
    distinct?: UserRolesScalarFieldEnum | UserRolesScalarFieldEnum[]
  }

  /**
   * UserRoles findFirstOrThrow
   */
  export type UserRolesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter, which UserRoles to fetch.
     */
    where?: UserRolesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserRoles to fetch.
     */
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserRoles.
     */
    cursor?: UserRolesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserRoles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserRoles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserRoles.
     */
    distinct?: UserRolesScalarFieldEnum | UserRolesScalarFieldEnum[]
  }

  /**
   * UserRoles findMany
   */
  export type UserRolesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter, which UserRoles to fetch.
     */
    where?: UserRolesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserRoles to fetch.
     */
    orderBy?: UserRolesOrderByWithRelationInput | UserRolesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserRoles.
     */
    cursor?: UserRolesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserRoles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserRoles.
     */
    skip?: number
    distinct?: UserRolesScalarFieldEnum | UserRolesScalarFieldEnum[]
  }

  /**
   * UserRoles create
   */
  export type UserRolesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * The data needed to create a UserRoles.
     */
    data: XOR<UserRolesCreateInput, UserRolesUncheckedCreateInput>
  }

  /**
   * UserRoles createMany
   */
  export type UserRolesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserRoles.
     */
    data: UserRolesCreateManyInput | UserRolesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserRoles createManyAndReturn
   */
  export type UserRolesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserRoles.
     */
    data: UserRolesCreateManyInput | UserRolesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserRoles update
   */
  export type UserRolesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * The data needed to update a UserRoles.
     */
    data: XOR<UserRolesUpdateInput, UserRolesUncheckedUpdateInput>
    /**
     * Choose, which UserRoles to update.
     */
    where: UserRolesWhereUniqueInput
  }

  /**
   * UserRoles updateMany
   */
  export type UserRolesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserRoles.
     */
    data: XOR<UserRolesUpdateManyMutationInput, UserRolesUncheckedUpdateManyInput>
    /**
     * Filter which UserRoles to update
     */
    where?: UserRolesWhereInput
  }

  /**
   * UserRoles upsert
   */
  export type UserRolesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * The filter to search for the UserRoles to update in case it exists.
     */
    where: UserRolesWhereUniqueInput
    /**
     * In case the UserRoles found by the `where` argument doesn't exist, create a new UserRoles with this data.
     */
    create: XOR<UserRolesCreateInput, UserRolesUncheckedCreateInput>
    /**
     * In case the UserRoles was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserRolesUpdateInput, UserRolesUncheckedUpdateInput>
  }

  /**
   * UserRoles delete
   */
  export type UserRolesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
    /**
     * Filter which UserRoles to delete.
     */
    where: UserRolesWhereUniqueInput
  }

  /**
   * UserRoles deleteMany
   */
  export type UserRolesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserRoles to delete
     */
    where?: UserRolesWhereInput
  }

  /**
   * UserRoles without action
   */
  export type UserRolesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserRoles
     */
    select?: UserRolesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserRolesInclude<ExtArgs> | null
  }


  /**
   * Model UserPermissions
   */

  export type AggregateUserPermissions = {
    _count: UserPermissionsCountAggregateOutputType | null
    _avg: UserPermissionsAvgAggregateOutputType | null
    _sum: UserPermissionsSumAggregateOutputType | null
    _min: UserPermissionsMinAggregateOutputType | null
    _max: UserPermissionsMaxAggregateOutputType | null
  }

  export type UserPermissionsAvgAggregateOutputType = {
    user_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type UserPermissionsSumAggregateOutputType = {
    user_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type UserPermissionsMinAggregateOutputType = {
    user_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type UserPermissionsMaxAggregateOutputType = {
    user_id: number | null
    permission_id: number | null
    company_id: number | null
  }

  export type UserPermissionsCountAggregateOutputType = {
    user_id: number
    permission_id: number
    company_id: number
    _all: number
  }


  export type UserPermissionsAvgAggregateInputType = {
    user_id?: true
    permission_id?: true
    company_id?: true
  }

  export type UserPermissionsSumAggregateInputType = {
    user_id?: true
    permission_id?: true
    company_id?: true
  }

  export type UserPermissionsMinAggregateInputType = {
    user_id?: true
    permission_id?: true
    company_id?: true
  }

  export type UserPermissionsMaxAggregateInputType = {
    user_id?: true
    permission_id?: true
    company_id?: true
  }

  export type UserPermissionsCountAggregateInputType = {
    user_id?: true
    permission_id?: true
    company_id?: true
    _all?: true
  }

  export type UserPermissionsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserPermissions to aggregate.
     */
    where?: UserPermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPermissions to fetch.
     */
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserPermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserPermissions
    **/
    _count?: true | UserPermissionsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserPermissionsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserPermissionsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserPermissionsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserPermissionsMaxAggregateInputType
  }

  export type GetUserPermissionsAggregateType<T extends UserPermissionsAggregateArgs> = {
        [P in keyof T & keyof AggregateUserPermissions]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserPermissions[P]>
      : GetScalarType<T[P], AggregateUserPermissions[P]>
  }




  export type UserPermissionsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPermissionsWhereInput
    orderBy?: UserPermissionsOrderByWithAggregationInput | UserPermissionsOrderByWithAggregationInput[]
    by: UserPermissionsScalarFieldEnum[] | UserPermissionsScalarFieldEnum
    having?: UserPermissionsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserPermissionsCountAggregateInputType | true
    _avg?: UserPermissionsAvgAggregateInputType
    _sum?: UserPermissionsSumAggregateInputType
    _min?: UserPermissionsMinAggregateInputType
    _max?: UserPermissionsMaxAggregateInputType
  }

  export type UserPermissionsGroupByOutputType = {
    user_id: number
    permission_id: number
    company_id: number
    _count: UserPermissionsCountAggregateOutputType | null
    _avg: UserPermissionsAvgAggregateOutputType | null
    _sum: UserPermissionsSumAggregateOutputType | null
    _min: UserPermissionsMinAggregateOutputType | null
    _max: UserPermissionsMaxAggregateOutputType | null
  }

  type GetUserPermissionsGroupByPayload<T extends UserPermissionsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserPermissionsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserPermissionsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserPermissionsGroupByOutputType[P]>
            : GetScalarType<T[P], UserPermissionsGroupByOutputType[P]>
        }
      >
    >


  export type UserPermissionsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    user_id?: boolean
    permission_id?: boolean
    company_id?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userPermissions"]>

  export type UserPermissionsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    user_id?: boolean
    permission_id?: boolean
    company_id?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userPermissions"]>

  export type UserPermissionsSelectScalar = {
    user_id?: boolean
    permission_id?: boolean
    company_id?: boolean
  }

  export type UserPermissionsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }
  export type UserPermissionsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
    permission?: boolean | PermissionsDefaultArgs<ExtArgs>
  }

  export type $UserPermissionsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserPermissions"
    objects: {
      user: Prisma.$UserPayload<ExtArgs>
      permission: Prisma.$PermissionsPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      user_id: number
      permission_id: number
      company_id: number
    }, ExtArgs["result"]["userPermissions"]>
    composites: {}
  }

  type UserPermissionsGetPayload<S extends boolean | null | undefined | UserPermissionsDefaultArgs> = $Result.GetResult<Prisma.$UserPermissionsPayload, S>

  type UserPermissionsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserPermissionsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserPermissionsCountAggregateInputType | true
    }

  export interface UserPermissionsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserPermissions'], meta: { name: 'UserPermissions' } }
    /**
     * Find zero or one UserPermissions that matches the filter.
     * @param {UserPermissionsFindUniqueArgs} args - Arguments to find a UserPermissions
     * @example
     * // Get one UserPermissions
     * const userPermissions = await prisma.userPermissions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserPermissionsFindUniqueArgs>(args: SelectSubset<T, UserPermissionsFindUniqueArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserPermissions that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserPermissionsFindUniqueOrThrowArgs} args - Arguments to find a UserPermissions
     * @example
     * // Get one UserPermissions
     * const userPermissions = await prisma.userPermissions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserPermissionsFindUniqueOrThrowArgs>(args: SelectSubset<T, UserPermissionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserPermissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsFindFirstArgs} args - Arguments to find a UserPermissions
     * @example
     * // Get one UserPermissions
     * const userPermissions = await prisma.userPermissions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserPermissionsFindFirstArgs>(args?: SelectSubset<T, UserPermissionsFindFirstArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserPermissions that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsFindFirstOrThrowArgs} args - Arguments to find a UserPermissions
     * @example
     * // Get one UserPermissions
     * const userPermissions = await prisma.userPermissions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserPermissionsFindFirstOrThrowArgs>(args?: SelectSubset<T, UserPermissionsFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserPermissions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserPermissions
     * const userPermissions = await prisma.userPermissions.findMany()
     * 
     * // Get first 10 UserPermissions
     * const userPermissions = await prisma.userPermissions.findMany({ take: 10 })
     * 
     * // Only select the `user_id`
     * const userPermissionsWithUser_idOnly = await prisma.userPermissions.findMany({ select: { user_id: true } })
     * 
     */
    findMany<T extends UserPermissionsFindManyArgs>(args?: SelectSubset<T, UserPermissionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserPermissions.
     * @param {UserPermissionsCreateArgs} args - Arguments to create a UserPermissions.
     * @example
     * // Create one UserPermissions
     * const UserPermissions = await prisma.userPermissions.create({
     *   data: {
     *     // ... data to create a UserPermissions
     *   }
     * })
     * 
     */
    create<T extends UserPermissionsCreateArgs>(args: SelectSubset<T, UserPermissionsCreateArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserPermissions.
     * @param {UserPermissionsCreateManyArgs} args - Arguments to create many UserPermissions.
     * @example
     * // Create many UserPermissions
     * const userPermissions = await prisma.userPermissions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserPermissionsCreateManyArgs>(args?: SelectSubset<T, UserPermissionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserPermissions and returns the data saved in the database.
     * @param {UserPermissionsCreateManyAndReturnArgs} args - Arguments to create many UserPermissions.
     * @example
     * // Create many UserPermissions
     * const userPermissions = await prisma.userPermissions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserPermissions and only return the `user_id`
     * const userPermissionsWithUser_idOnly = await prisma.userPermissions.createManyAndReturn({ 
     *   select: { user_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserPermissionsCreateManyAndReturnArgs>(args?: SelectSubset<T, UserPermissionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserPermissions.
     * @param {UserPermissionsDeleteArgs} args - Arguments to delete one UserPermissions.
     * @example
     * // Delete one UserPermissions
     * const UserPermissions = await prisma.userPermissions.delete({
     *   where: {
     *     // ... filter to delete one UserPermissions
     *   }
     * })
     * 
     */
    delete<T extends UserPermissionsDeleteArgs>(args: SelectSubset<T, UserPermissionsDeleteArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserPermissions.
     * @param {UserPermissionsUpdateArgs} args - Arguments to update one UserPermissions.
     * @example
     * // Update one UserPermissions
     * const userPermissions = await prisma.userPermissions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserPermissionsUpdateArgs>(args: SelectSubset<T, UserPermissionsUpdateArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserPermissions.
     * @param {UserPermissionsDeleteManyArgs} args - Arguments to filter UserPermissions to delete.
     * @example
     * // Delete a few UserPermissions
     * const { count } = await prisma.userPermissions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserPermissionsDeleteManyArgs>(args?: SelectSubset<T, UserPermissionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserPermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserPermissions
     * const userPermissions = await prisma.userPermissions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserPermissionsUpdateManyArgs>(args: SelectSubset<T, UserPermissionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserPermissions.
     * @param {UserPermissionsUpsertArgs} args - Arguments to update or create a UserPermissions.
     * @example
     * // Update or create a UserPermissions
     * const userPermissions = await prisma.userPermissions.upsert({
     *   create: {
     *     // ... data to create a UserPermissions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserPermissions we want to update
     *   }
     * })
     */
    upsert<T extends UserPermissionsUpsertArgs>(args: SelectSubset<T, UserPermissionsUpsertArgs<ExtArgs>>): Prisma__UserPermissionsClient<$Result.GetResult<Prisma.$UserPermissionsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserPermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsCountArgs} args - Arguments to filter UserPermissions to count.
     * @example
     * // Count the number of UserPermissions
     * const count = await prisma.userPermissions.count({
     *   where: {
     *     // ... the filter for the UserPermissions we want to count
     *   }
     * })
    **/
    count<T extends UserPermissionsCountArgs>(
      args?: Subset<T, UserPermissionsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserPermissionsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserPermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserPermissionsAggregateArgs>(args: Subset<T, UserPermissionsAggregateArgs>): Prisma.PrismaPromise<GetUserPermissionsAggregateType<T>>

    /**
     * Group by UserPermissions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPermissionsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserPermissionsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserPermissionsGroupByArgs['orderBy'] }
        : { orderBy?: UserPermissionsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserPermissionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserPermissionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserPermissions model
   */
  readonly fields: UserPermissionsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserPermissions.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserPermissionsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    permission<T extends PermissionsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, PermissionsDefaultArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserPermissions model
   */ 
  interface UserPermissionsFieldRefs {
    readonly user_id: FieldRef<"UserPermissions", 'Int'>
    readonly permission_id: FieldRef<"UserPermissions", 'Int'>
    readonly company_id: FieldRef<"UserPermissions", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * UserPermissions findUnique
   */
  export type UserPermissionsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter, which UserPermissions to fetch.
     */
    where: UserPermissionsWhereUniqueInput
  }

  /**
   * UserPermissions findUniqueOrThrow
   */
  export type UserPermissionsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter, which UserPermissions to fetch.
     */
    where: UserPermissionsWhereUniqueInput
  }

  /**
   * UserPermissions findFirst
   */
  export type UserPermissionsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter, which UserPermissions to fetch.
     */
    where?: UserPermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPermissions to fetch.
     */
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserPermissions.
     */
    cursor?: UserPermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserPermissions.
     */
    distinct?: UserPermissionsScalarFieldEnum | UserPermissionsScalarFieldEnum[]
  }

  /**
   * UserPermissions findFirstOrThrow
   */
  export type UserPermissionsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter, which UserPermissions to fetch.
     */
    where?: UserPermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPermissions to fetch.
     */
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserPermissions.
     */
    cursor?: UserPermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPermissions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserPermissions.
     */
    distinct?: UserPermissionsScalarFieldEnum | UserPermissionsScalarFieldEnum[]
  }

  /**
   * UserPermissions findMany
   */
  export type UserPermissionsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter, which UserPermissions to fetch.
     */
    where?: UserPermissionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPermissions to fetch.
     */
    orderBy?: UserPermissionsOrderByWithRelationInput | UserPermissionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserPermissions.
     */
    cursor?: UserPermissionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPermissions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPermissions.
     */
    skip?: number
    distinct?: UserPermissionsScalarFieldEnum | UserPermissionsScalarFieldEnum[]
  }

  /**
   * UserPermissions create
   */
  export type UserPermissionsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * The data needed to create a UserPermissions.
     */
    data: XOR<UserPermissionsCreateInput, UserPermissionsUncheckedCreateInput>
  }

  /**
   * UserPermissions createMany
   */
  export type UserPermissionsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserPermissions.
     */
    data: UserPermissionsCreateManyInput | UserPermissionsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserPermissions createManyAndReturn
   */
  export type UserPermissionsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserPermissions.
     */
    data: UserPermissionsCreateManyInput | UserPermissionsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserPermissions update
   */
  export type UserPermissionsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * The data needed to update a UserPermissions.
     */
    data: XOR<UserPermissionsUpdateInput, UserPermissionsUncheckedUpdateInput>
    /**
     * Choose, which UserPermissions to update.
     */
    where: UserPermissionsWhereUniqueInput
  }

  /**
   * UserPermissions updateMany
   */
  export type UserPermissionsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserPermissions.
     */
    data: XOR<UserPermissionsUpdateManyMutationInput, UserPermissionsUncheckedUpdateManyInput>
    /**
     * Filter which UserPermissions to update
     */
    where?: UserPermissionsWhereInput
  }

  /**
   * UserPermissions upsert
   */
  export type UserPermissionsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * The filter to search for the UserPermissions to update in case it exists.
     */
    where: UserPermissionsWhereUniqueInput
    /**
     * In case the UserPermissions found by the `where` argument doesn't exist, create a new UserPermissions with this data.
     */
    create: XOR<UserPermissionsCreateInput, UserPermissionsUncheckedCreateInput>
    /**
     * In case the UserPermissions was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserPermissionsUpdateInput, UserPermissionsUncheckedUpdateInput>
  }

  /**
   * UserPermissions delete
   */
  export type UserPermissionsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
    /**
     * Filter which UserPermissions to delete.
     */
    where: UserPermissionsWhereUniqueInput
  }

  /**
   * UserPermissions deleteMany
   */
  export type UserPermissionsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserPermissions to delete
     */
    where?: UserPermissionsWhereInput
  }

  /**
   * UserPermissions without action
   */
  export type UserPermissionsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPermissions
     */
    select?: UserPermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPermissionsInclude<ExtArgs> | null
  }


  /**
   * Model Otp
   */

  export type AggregateOtp = {
    _count: OtpCountAggregateOutputType | null
    _avg: OtpAvgAggregateOutputType | null
    _sum: OtpSumAggregateOutputType | null
    _min: OtpMinAggregateOutputType | null
    _max: OtpMaxAggregateOutputType | null
  }

  export type OtpAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    company_id: number | null
  }

  export type OtpSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    company_id: number | null
  }

  export type OtpMinAggregateOutputType = {
    id: number | null
    user_id: number | null
    otp: string | null
    type: $Enums.OtpType | null
    notification_template_process_slug: string | null
    company_id: number | null
    created_at: Date | null
    verified_at: Date | null
  }

  export type OtpMaxAggregateOutputType = {
    id: number | null
    user_id: number | null
    otp: string | null
    type: $Enums.OtpType | null
    notification_template_process_slug: string | null
    company_id: number | null
    created_at: Date | null
    verified_at: Date | null
  }

  export type OtpCountAggregateOutputType = {
    id: number
    user_id: number
    otp: number
    type: number
    notification_template_process_slug: number
    company_id: number
    created_at: number
    verified_at: number
    _all: number
  }


  export type OtpAvgAggregateInputType = {
    id?: true
    user_id?: true
    company_id?: true
  }

  export type OtpSumAggregateInputType = {
    id?: true
    user_id?: true
    company_id?: true
  }

  export type OtpMinAggregateInputType = {
    id?: true
    user_id?: true
    otp?: true
    type?: true
    notification_template_process_slug?: true
    company_id?: true
    created_at?: true
    verified_at?: true
  }

  export type OtpMaxAggregateInputType = {
    id?: true
    user_id?: true
    otp?: true
    type?: true
    notification_template_process_slug?: true
    company_id?: true
    created_at?: true
    verified_at?: true
  }

  export type OtpCountAggregateInputType = {
    id?: true
    user_id?: true
    otp?: true
    type?: true
    notification_template_process_slug?: true
    company_id?: true
    created_at?: true
    verified_at?: true
    _all?: true
  }

  export type OtpAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Otp to aggregate.
     */
    where?: OtpWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Otps to fetch.
     */
    orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: OtpWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Otps from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Otps.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Otps
    **/
    _count?: true | OtpCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: OtpAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: OtpSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: OtpMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: OtpMaxAggregateInputType
  }

  export type GetOtpAggregateType<T extends OtpAggregateArgs> = {
        [P in keyof T & keyof AggregateOtp]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateOtp[P]>
      : GetScalarType<T[P], AggregateOtp[P]>
  }




  export type OtpGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: OtpWhereInput
    orderBy?: OtpOrderByWithAggregationInput | OtpOrderByWithAggregationInput[]
    by: OtpScalarFieldEnum[] | OtpScalarFieldEnum
    having?: OtpScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: OtpCountAggregateInputType | true
    _avg?: OtpAvgAggregateInputType
    _sum?: OtpSumAggregateInputType
    _min?: OtpMinAggregateInputType
    _max?: OtpMaxAggregateInputType
  }

  export type OtpGroupByOutputType = {
    id: number
    user_id: number
    otp: string
    type: $Enums.OtpType
    notification_template_process_slug: string
    company_id: number
    created_at: Date
    verified_at: Date | null
    _count: OtpCountAggregateOutputType | null
    _avg: OtpAvgAggregateOutputType | null
    _sum: OtpSumAggregateOutputType | null
    _min: OtpMinAggregateOutputType | null
    _max: OtpMaxAggregateOutputType | null
  }

  type GetOtpGroupByPayload<T extends OtpGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<OtpGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof OtpGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], OtpGroupByOutputType[P]>
            : GetScalarType<T[P], OtpGroupByOutputType[P]>
        }
      >
    >


  export type OtpSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    otp?: boolean
    type?: boolean
    notification_template_process_slug?: boolean
    company_id?: boolean
    created_at?: boolean
    verified_at?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["otp"]>

  export type OtpSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    otp?: boolean
    type?: boolean
    notification_template_process_slug?: boolean
    company_id?: boolean
    created_at?: boolean
    verified_at?: boolean
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["otp"]>

  export type OtpSelectScalar = {
    id?: boolean
    user_id?: boolean
    otp?: boolean
    type?: boolean
    notification_template_process_slug?: boolean
    company_id?: boolean
    created_at?: boolean
    verified_at?: boolean
  }

  export type OtpInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type OtpIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $OtpPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Otp"
    objects: {
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      user_id: number
      otp: string
      type: $Enums.OtpType
      notification_template_process_slug: string
      company_id: number
      created_at: Date
      verified_at: Date | null
    }, ExtArgs["result"]["otp"]>
    composites: {}
  }

  type OtpGetPayload<S extends boolean | null | undefined | OtpDefaultArgs> = $Result.GetResult<Prisma.$OtpPayload, S>

  type OtpCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<OtpFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: OtpCountAggregateInputType | true
    }

  export interface OtpDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Otp'], meta: { name: 'Otp' } }
    /**
     * Find zero or one Otp that matches the filter.
     * @param {OtpFindUniqueArgs} args - Arguments to find a Otp
     * @example
     * // Get one Otp
     * const otp = await prisma.otp.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends OtpFindUniqueArgs>(args: SelectSubset<T, OtpFindUniqueArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Otp that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {OtpFindUniqueOrThrowArgs} args - Arguments to find a Otp
     * @example
     * // Get one Otp
     * const otp = await prisma.otp.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends OtpFindUniqueOrThrowArgs>(args: SelectSubset<T, OtpFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Otp that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpFindFirstArgs} args - Arguments to find a Otp
     * @example
     * // Get one Otp
     * const otp = await prisma.otp.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends OtpFindFirstArgs>(args?: SelectSubset<T, OtpFindFirstArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Otp that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpFindFirstOrThrowArgs} args - Arguments to find a Otp
     * @example
     * // Get one Otp
     * const otp = await prisma.otp.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends OtpFindFirstOrThrowArgs>(args?: SelectSubset<T, OtpFindFirstOrThrowArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Otps that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Otps
     * const otps = await prisma.otp.findMany()
     * 
     * // Get first 10 Otps
     * const otps = await prisma.otp.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const otpWithIdOnly = await prisma.otp.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends OtpFindManyArgs>(args?: SelectSubset<T, OtpFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Otp.
     * @param {OtpCreateArgs} args - Arguments to create a Otp.
     * @example
     * // Create one Otp
     * const Otp = await prisma.otp.create({
     *   data: {
     *     // ... data to create a Otp
     *   }
     * })
     * 
     */
    create<T extends OtpCreateArgs>(args: SelectSubset<T, OtpCreateArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Otps.
     * @param {OtpCreateManyArgs} args - Arguments to create many Otps.
     * @example
     * // Create many Otps
     * const otp = await prisma.otp.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends OtpCreateManyArgs>(args?: SelectSubset<T, OtpCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Otps and returns the data saved in the database.
     * @param {OtpCreateManyAndReturnArgs} args - Arguments to create many Otps.
     * @example
     * // Create many Otps
     * const otp = await prisma.otp.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Otps and only return the `id`
     * const otpWithIdOnly = await prisma.otp.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends OtpCreateManyAndReturnArgs>(args?: SelectSubset<T, OtpCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Otp.
     * @param {OtpDeleteArgs} args - Arguments to delete one Otp.
     * @example
     * // Delete one Otp
     * const Otp = await prisma.otp.delete({
     *   where: {
     *     // ... filter to delete one Otp
     *   }
     * })
     * 
     */
    delete<T extends OtpDeleteArgs>(args: SelectSubset<T, OtpDeleteArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Otp.
     * @param {OtpUpdateArgs} args - Arguments to update one Otp.
     * @example
     * // Update one Otp
     * const otp = await prisma.otp.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends OtpUpdateArgs>(args: SelectSubset<T, OtpUpdateArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Otps.
     * @param {OtpDeleteManyArgs} args - Arguments to filter Otps to delete.
     * @example
     * // Delete a few Otps
     * const { count } = await prisma.otp.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends OtpDeleteManyArgs>(args?: SelectSubset<T, OtpDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Otps.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Otps
     * const otp = await prisma.otp.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends OtpUpdateManyArgs>(args: SelectSubset<T, OtpUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Otp.
     * @param {OtpUpsertArgs} args - Arguments to update or create a Otp.
     * @example
     * // Update or create a Otp
     * const otp = await prisma.otp.upsert({
     *   create: {
     *     // ... data to create a Otp
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Otp we want to update
     *   }
     * })
     */
    upsert<T extends OtpUpsertArgs>(args: SelectSubset<T, OtpUpsertArgs<ExtArgs>>): Prisma__OtpClient<$Result.GetResult<Prisma.$OtpPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Otps.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpCountArgs} args - Arguments to filter Otps to count.
     * @example
     * // Count the number of Otps
     * const count = await prisma.otp.count({
     *   where: {
     *     // ... the filter for the Otps we want to count
     *   }
     * })
    **/
    count<T extends OtpCountArgs>(
      args?: Subset<T, OtpCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], OtpCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Otp.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends OtpAggregateArgs>(args: Subset<T, OtpAggregateArgs>): Prisma.PrismaPromise<GetOtpAggregateType<T>>

    /**
     * Group by Otp.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OtpGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends OtpGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: OtpGroupByArgs['orderBy'] }
        : { orderBy?: OtpGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, OtpGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOtpGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Otp model
   */
  readonly fields: OtpFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Otp.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__OtpClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Otp model
   */ 
  interface OtpFieldRefs {
    readonly id: FieldRef<"Otp", 'Int'>
    readonly user_id: FieldRef<"Otp", 'Int'>
    readonly otp: FieldRef<"Otp", 'String'>
    readonly type: FieldRef<"Otp", 'OtpType'>
    readonly notification_template_process_slug: FieldRef<"Otp", 'String'>
    readonly company_id: FieldRef<"Otp", 'Int'>
    readonly created_at: FieldRef<"Otp", 'DateTime'>
    readonly verified_at: FieldRef<"Otp", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Otp findUnique
   */
  export type OtpFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter, which Otp to fetch.
     */
    where: OtpWhereUniqueInput
  }

  /**
   * Otp findUniqueOrThrow
   */
  export type OtpFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter, which Otp to fetch.
     */
    where: OtpWhereUniqueInput
  }

  /**
   * Otp findFirst
   */
  export type OtpFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter, which Otp to fetch.
     */
    where?: OtpWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Otps to fetch.
     */
    orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Otps.
     */
    cursor?: OtpWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Otps from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Otps.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Otps.
     */
    distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
  }

  /**
   * Otp findFirstOrThrow
   */
  export type OtpFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter, which Otp to fetch.
     */
    where?: OtpWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Otps to fetch.
     */
    orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Otps.
     */
    cursor?: OtpWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Otps from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Otps.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Otps.
     */
    distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
  }

  /**
   * Otp findMany
   */
  export type OtpFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter, which Otps to fetch.
     */
    where?: OtpWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Otps to fetch.
     */
    orderBy?: OtpOrderByWithRelationInput | OtpOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Otps.
     */
    cursor?: OtpWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Otps from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Otps.
     */
    skip?: number
    distinct?: OtpScalarFieldEnum | OtpScalarFieldEnum[]
  }

  /**
   * Otp create
   */
  export type OtpCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * The data needed to create a Otp.
     */
    data: XOR<OtpCreateInput, OtpUncheckedCreateInput>
  }

  /**
   * Otp createMany
   */
  export type OtpCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Otps.
     */
    data: OtpCreateManyInput | OtpCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Otp createManyAndReturn
   */
  export type OtpCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Otps.
     */
    data: OtpCreateManyInput | OtpCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Otp update
   */
  export type OtpUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * The data needed to update a Otp.
     */
    data: XOR<OtpUpdateInput, OtpUncheckedUpdateInput>
    /**
     * Choose, which Otp to update.
     */
    where: OtpWhereUniqueInput
  }

  /**
   * Otp updateMany
   */
  export type OtpUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Otps.
     */
    data: XOR<OtpUpdateManyMutationInput, OtpUncheckedUpdateManyInput>
    /**
     * Filter which Otps to update
     */
    where?: OtpWhereInput
  }

  /**
   * Otp upsert
   */
  export type OtpUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * The filter to search for the Otp to update in case it exists.
     */
    where: OtpWhereUniqueInput
    /**
     * In case the Otp found by the `where` argument doesn't exist, create a new Otp with this data.
     */
    create: XOR<OtpCreateInput, OtpUncheckedCreateInput>
    /**
     * In case the Otp was found with the provided `where` argument, update it with this data.
     */
    update: XOR<OtpUpdateInput, OtpUncheckedUpdateInput>
  }

  /**
   * Otp delete
   */
  export type OtpDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
    /**
     * Filter which Otp to delete.
     */
    where: OtpWhereUniqueInput
  }

  /**
   * Otp deleteMany
   */
  export type OtpDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Otps to delete
     */
    where?: OtpWhereInput
  }

  /**
   * Otp without action
   */
  export type OtpDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Otp
     */
    select?: OtpSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OtpInclude<ExtArgs> | null
  }


  /**
   * Model Language
   */

  export type AggregateLanguage = {
    _count: LanguageCountAggregateOutputType | null
    _avg: LanguageAvgAggregateOutputType | null
    _sum: LanguageSumAggregateOutputType | null
    _min: LanguageMinAggregateOutputType | null
    _max: LanguageMaxAggregateOutputType | null
  }

  export type LanguageAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type LanguageSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type LanguageMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    name_in_english: string | null
    flag: string | null
    code: string | null
    rtl: boolean | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type LanguageMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    name_in_english: string | null
    flag: string | null
    code: string | null
    rtl: boolean | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type LanguageCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    name_in_english: number
    flag: number
    code: number
    rtl: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type LanguageAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type LanguageSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type LanguageMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    name_in_english?: true
    flag?: true
    code?: true
    rtl?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type LanguageMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    name_in_english?: true
    flag?: true
    code?: true
    rtl?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type LanguageCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    name_in_english?: true
    flag?: true
    code?: true
    rtl?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type LanguageAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Language to aggregate.
     */
    where?: LanguageWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Languages to fetch.
     */
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: LanguageWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Languages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Languages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Languages
    **/
    _count?: true | LanguageCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: LanguageAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: LanguageSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: LanguageMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: LanguageMaxAggregateInputType
  }

  export type GetLanguageAggregateType<T extends LanguageAggregateArgs> = {
        [P in keyof T & keyof AggregateLanguage]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateLanguage[P]>
      : GetScalarType<T[P], AggregateLanguage[P]>
  }




  export type LanguageGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageWhereInput
    orderBy?: LanguageOrderByWithAggregationInput | LanguageOrderByWithAggregationInput[]
    by: LanguageScalarFieldEnum[] | LanguageScalarFieldEnum
    having?: LanguageScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: LanguageCountAggregateInputType | true
    _avg?: LanguageAvgAggregateInputType
    _sum?: LanguageSumAggregateInputType
    _min?: LanguageMinAggregateInputType
    _max?: LanguageMaxAggregateInputType
  }

  export type LanguageGroupByOutputType = {
    id: number
    uuid: string
    name: string
    name_in_english: string | null
    flag: string | null
    code: string | null
    rtl: boolean
    description: string
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: LanguageCountAggregateOutputType | null
    _avg: LanguageAvgAggregateOutputType | null
    _sum: LanguageSumAggregateOutputType | null
    _min: LanguageMinAggregateOutputType | null
    _max: LanguageMaxAggregateOutputType | null
  }

  type GetLanguageGroupByPayload<T extends LanguageGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<LanguageGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof LanguageGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], LanguageGroupByOutputType[P]>
            : GetScalarType<T[P], LanguageGroupByOutputType[P]>
        }
      >
    >


  export type LanguageSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    name_in_english?: boolean
    flag?: boolean
    code?: boolean
    rtl?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    translations?: boolean | Language$translationsArgs<ExtArgs>
    created?: boolean | Language$createdArgs<ExtArgs>
    updated?: boolean | Language$updatedArgs<ExtArgs>
    deleted?: boolean | Language$deletedArgs<ExtArgs>
    _count?: boolean | LanguageCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["language"]>

  export type LanguageSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    name_in_english?: boolean
    flag?: boolean
    code?: boolean
    rtl?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Language$createdArgs<ExtArgs>
    updated?: boolean | Language$updatedArgs<ExtArgs>
    deleted?: boolean | Language$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["language"]>

  export type LanguageSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    name_in_english?: boolean
    flag?: boolean
    code?: boolean
    rtl?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type LanguageInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    translations?: boolean | Language$translationsArgs<ExtArgs>
    created?: boolean | Language$createdArgs<ExtArgs>
    updated?: boolean | Language$updatedArgs<ExtArgs>
    deleted?: boolean | Language$deletedArgs<ExtArgs>
    _count?: boolean | LanguageCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type LanguageIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Language$createdArgs<ExtArgs>
    updated?: boolean | Language$updatedArgs<ExtArgs>
    deleted?: boolean | Language$deletedArgs<ExtArgs>
  }

  export type $LanguagePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Language"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      translations: Prisma.$LanguageContentPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      name_in_english: string | null
      flag: string | null
      code: string | null
      rtl: boolean
      description: string
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["language"]>
    composites: {}
  }

  type LanguageGetPayload<S extends boolean | null | undefined | LanguageDefaultArgs> = $Result.GetResult<Prisma.$LanguagePayload, S>

  type LanguageCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<LanguageFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: LanguageCountAggregateInputType | true
    }

  export interface LanguageDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Language'], meta: { name: 'Language' } }
    /**
     * Find zero or one Language that matches the filter.
     * @param {LanguageFindUniqueArgs} args - Arguments to find a Language
     * @example
     * // Get one Language
     * const language = await prisma.language.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends LanguageFindUniqueArgs>(args: SelectSubset<T, LanguageFindUniqueArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Language that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {LanguageFindUniqueOrThrowArgs} args - Arguments to find a Language
     * @example
     * // Get one Language
     * const language = await prisma.language.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends LanguageFindUniqueOrThrowArgs>(args: SelectSubset<T, LanguageFindUniqueOrThrowArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Language that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageFindFirstArgs} args - Arguments to find a Language
     * @example
     * // Get one Language
     * const language = await prisma.language.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends LanguageFindFirstArgs>(args?: SelectSubset<T, LanguageFindFirstArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Language that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageFindFirstOrThrowArgs} args - Arguments to find a Language
     * @example
     * // Get one Language
     * const language = await prisma.language.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends LanguageFindFirstOrThrowArgs>(args?: SelectSubset<T, LanguageFindFirstOrThrowArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Languages that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Languages
     * const languages = await prisma.language.findMany()
     * 
     * // Get first 10 Languages
     * const languages = await prisma.language.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const languageWithIdOnly = await prisma.language.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends LanguageFindManyArgs>(args?: SelectSubset<T, LanguageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Language.
     * @param {LanguageCreateArgs} args - Arguments to create a Language.
     * @example
     * // Create one Language
     * const Language = await prisma.language.create({
     *   data: {
     *     // ... data to create a Language
     *   }
     * })
     * 
     */
    create<T extends LanguageCreateArgs>(args: SelectSubset<T, LanguageCreateArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Languages.
     * @param {LanguageCreateManyArgs} args - Arguments to create many Languages.
     * @example
     * // Create many Languages
     * const language = await prisma.language.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends LanguageCreateManyArgs>(args?: SelectSubset<T, LanguageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Languages and returns the data saved in the database.
     * @param {LanguageCreateManyAndReturnArgs} args - Arguments to create many Languages.
     * @example
     * // Create many Languages
     * const language = await prisma.language.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Languages and only return the `id`
     * const languageWithIdOnly = await prisma.language.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends LanguageCreateManyAndReturnArgs>(args?: SelectSubset<T, LanguageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Language.
     * @param {LanguageDeleteArgs} args - Arguments to delete one Language.
     * @example
     * // Delete one Language
     * const Language = await prisma.language.delete({
     *   where: {
     *     // ... filter to delete one Language
     *   }
     * })
     * 
     */
    delete<T extends LanguageDeleteArgs>(args: SelectSubset<T, LanguageDeleteArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Language.
     * @param {LanguageUpdateArgs} args - Arguments to update one Language.
     * @example
     * // Update one Language
     * const language = await prisma.language.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends LanguageUpdateArgs>(args: SelectSubset<T, LanguageUpdateArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Languages.
     * @param {LanguageDeleteManyArgs} args - Arguments to filter Languages to delete.
     * @example
     * // Delete a few Languages
     * const { count } = await prisma.language.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends LanguageDeleteManyArgs>(args?: SelectSubset<T, LanguageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Languages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Languages
     * const language = await prisma.language.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends LanguageUpdateManyArgs>(args: SelectSubset<T, LanguageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Language.
     * @param {LanguageUpsertArgs} args - Arguments to update or create a Language.
     * @example
     * // Update or create a Language
     * const language = await prisma.language.upsert({
     *   create: {
     *     // ... data to create a Language
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Language we want to update
     *   }
     * })
     */
    upsert<T extends LanguageUpsertArgs>(args: SelectSubset<T, LanguageUpsertArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Languages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageCountArgs} args - Arguments to filter Languages to count.
     * @example
     * // Count the number of Languages
     * const count = await prisma.language.count({
     *   where: {
     *     // ... the filter for the Languages we want to count
     *   }
     * })
    **/
    count<T extends LanguageCountArgs>(
      args?: Subset<T, LanguageCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], LanguageCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Language.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends LanguageAggregateArgs>(args: Subset<T, LanguageAggregateArgs>): Prisma.PrismaPromise<GetLanguageAggregateType<T>>

    /**
     * Group by Language.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends LanguageGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: LanguageGroupByArgs['orderBy'] }
        : { orderBy?: LanguageGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, LanguageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLanguageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Language model
   */
  readonly fields: LanguageFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Language.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__LanguageClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    translations<T extends Language$translationsArgs<ExtArgs> = {}>(args?: Subset<T, Language$translationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends Language$createdArgs<ExtArgs> = {}>(args?: Subset<T, Language$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends Language$updatedArgs<ExtArgs> = {}>(args?: Subset<T, Language$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends Language$deletedArgs<ExtArgs> = {}>(args?: Subset<T, Language$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Language model
   */ 
  interface LanguageFieldRefs {
    readonly id: FieldRef<"Language", 'Int'>
    readonly uuid: FieldRef<"Language", 'String'>
    readonly name: FieldRef<"Language", 'String'>
    readonly name_in_english: FieldRef<"Language", 'String'>
    readonly flag: FieldRef<"Language", 'String'>
    readonly code: FieldRef<"Language", 'String'>
    readonly rtl: FieldRef<"Language", 'Boolean'>
    readonly description: FieldRef<"Language", 'String'>
    readonly status_id: FieldRef<"Language", 'Int'>
    readonly company_id: FieldRef<"Language", 'Int'>
    readonly created_by: FieldRef<"Language", 'Int'>
    readonly updated_by: FieldRef<"Language", 'Int'>
    readonly deleted_by: FieldRef<"Language", 'Int'>
    readonly created_at: FieldRef<"Language", 'DateTime'>
    readonly updated_at: FieldRef<"Language", 'DateTime'>
    readonly deleted_at: FieldRef<"Language", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Language findUnique
   */
  export type LanguageFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter, which Language to fetch.
     */
    where: LanguageWhereUniqueInput
  }

  /**
   * Language findUniqueOrThrow
   */
  export type LanguageFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter, which Language to fetch.
     */
    where: LanguageWhereUniqueInput
  }

  /**
   * Language findFirst
   */
  export type LanguageFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter, which Language to fetch.
     */
    where?: LanguageWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Languages to fetch.
     */
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Languages.
     */
    cursor?: LanguageWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Languages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Languages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Languages.
     */
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * Language findFirstOrThrow
   */
  export type LanguageFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter, which Language to fetch.
     */
    where?: LanguageWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Languages to fetch.
     */
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Languages.
     */
    cursor?: LanguageWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Languages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Languages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Languages.
     */
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * Language findMany
   */
  export type LanguageFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter, which Languages to fetch.
     */
    where?: LanguageWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Languages to fetch.
     */
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Languages.
     */
    cursor?: LanguageWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Languages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Languages.
     */
    skip?: number
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * Language create
   */
  export type LanguageCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * The data needed to create a Language.
     */
    data: XOR<LanguageCreateInput, LanguageUncheckedCreateInput>
  }

  /**
   * Language createMany
   */
  export type LanguageCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Languages.
     */
    data: LanguageCreateManyInput | LanguageCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Language createManyAndReturn
   */
  export type LanguageCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Languages.
     */
    data: LanguageCreateManyInput | LanguageCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Language update
   */
  export type LanguageUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * The data needed to update a Language.
     */
    data: XOR<LanguageUpdateInput, LanguageUncheckedUpdateInput>
    /**
     * Choose, which Language to update.
     */
    where: LanguageWhereUniqueInput
  }

  /**
   * Language updateMany
   */
  export type LanguageUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Languages.
     */
    data: XOR<LanguageUpdateManyMutationInput, LanguageUncheckedUpdateManyInput>
    /**
     * Filter which Languages to update
     */
    where?: LanguageWhereInput
  }

  /**
   * Language upsert
   */
  export type LanguageUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * The filter to search for the Language to update in case it exists.
     */
    where: LanguageWhereUniqueInput
    /**
     * In case the Language found by the `where` argument doesn't exist, create a new Language with this data.
     */
    create: XOR<LanguageCreateInput, LanguageUncheckedCreateInput>
    /**
     * In case the Language was found with the provided `where` argument, update it with this data.
     */
    update: XOR<LanguageUpdateInput, LanguageUncheckedUpdateInput>
  }

  /**
   * Language delete
   */
  export type LanguageDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    /**
     * Filter which Language to delete.
     */
    where: LanguageWhereUniqueInput
  }

  /**
   * Language deleteMany
   */
  export type LanguageDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Languages to delete
     */
    where?: LanguageWhereInput
  }

  /**
   * Language.translations
   */
  export type Language$translationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    where?: LanguageContentWhereInput
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    cursor?: LanguageContentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageContentScalarFieldEnum | LanguageContentScalarFieldEnum[]
  }

  /**
   * Language.created
   */
  export type Language$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Language.updated
   */
  export type Language$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Language.deleted
   */
  export type Language$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Language without action
   */
  export type LanguageDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
  }


  /**
   * Model LanguageContent
   */

  export type AggregateLanguageContent = {
    _count: LanguageContentCountAggregateOutputType | null
    _avg: LanguageContentAvgAggregateOutputType | null
    _sum: LanguageContentSumAggregateOutputType | null
    _min: LanguageContentMinAggregateOutputType | null
    _max: LanguageContentMaxAggregateOutputType | null
  }

  export type LanguageContentAvgAggregateOutputType = {
    id: number | null
    language_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type LanguageContentSumAggregateOutputType = {
    id: number | null
    language_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type LanguageContentMinAggregateOutputType = {
    id: number | null
    language_id: number | null
    key_content: string | null
    values: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type LanguageContentMaxAggregateOutputType = {
    id: number | null
    language_id: number | null
    key_content: string | null
    values: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type LanguageContentCountAggregateOutputType = {
    id: number
    language_id: number
    key_content: number
    values: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type LanguageContentAvgAggregateInputType = {
    id?: true
    language_id?: true
    status_id?: true
    company_id?: true
  }

  export type LanguageContentSumAggregateInputType = {
    id?: true
    language_id?: true
    status_id?: true
    company_id?: true
  }

  export type LanguageContentMinAggregateInputType = {
    id?: true
    language_id?: true
    key_content?: true
    values?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type LanguageContentMaxAggregateInputType = {
    id?: true
    language_id?: true
    key_content?: true
    values?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type LanguageContentCountAggregateInputType = {
    id?: true
    language_id?: true
    key_content?: true
    values?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type LanguageContentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which LanguageContent to aggregate.
     */
    where?: LanguageContentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of LanguageContents to fetch.
     */
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: LanguageContentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` LanguageContents from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` LanguageContents.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned LanguageContents
    **/
    _count?: true | LanguageContentCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: LanguageContentAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: LanguageContentSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: LanguageContentMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: LanguageContentMaxAggregateInputType
  }

  export type GetLanguageContentAggregateType<T extends LanguageContentAggregateArgs> = {
        [P in keyof T & keyof AggregateLanguageContent]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateLanguageContent[P]>
      : GetScalarType<T[P], AggregateLanguageContent[P]>
  }




  export type LanguageContentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: LanguageContentWhereInput
    orderBy?: LanguageContentOrderByWithAggregationInput | LanguageContentOrderByWithAggregationInput[]
    by: LanguageContentScalarFieldEnum[] | LanguageContentScalarFieldEnum
    having?: LanguageContentScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: LanguageContentCountAggregateInputType | true
    _avg?: LanguageContentAvgAggregateInputType
    _sum?: LanguageContentSumAggregateInputType
    _min?: LanguageContentMinAggregateInputType
    _max?: LanguageContentMaxAggregateInputType
  }

  export type LanguageContentGroupByOutputType = {
    id: number
    language_id: number
    key_content: string
    values: string
    status_id: number
    company_id: number
    created_at: Date
    _count: LanguageContentCountAggregateOutputType | null
    _avg: LanguageContentAvgAggregateOutputType | null
    _sum: LanguageContentSumAggregateOutputType | null
    _min: LanguageContentMinAggregateOutputType | null
    _max: LanguageContentMaxAggregateOutputType | null
  }

  type GetLanguageContentGroupByPayload<T extends LanguageContentGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<LanguageContentGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof LanguageContentGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], LanguageContentGroupByOutputType[P]>
            : GetScalarType<T[P], LanguageContentGroupByOutputType[P]>
        }
      >
    >


  export type LanguageContentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    language_id?: boolean
    key_content?: boolean
    values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    language?: boolean | LanguageContent$languageArgs<ExtArgs>
  }, ExtArgs["result"]["languageContent"]>

  export type LanguageContentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    language_id?: boolean
    key_content?: boolean
    values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    language?: boolean | LanguageContent$languageArgs<ExtArgs>
  }, ExtArgs["result"]["languageContent"]>

  export type LanguageContentSelectScalar = {
    id?: boolean
    language_id?: boolean
    key_content?: boolean
    values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type LanguageContentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    language?: boolean | LanguageContent$languageArgs<ExtArgs>
  }
  export type LanguageContentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    language?: boolean | LanguageContent$languageArgs<ExtArgs>
  }

  export type $LanguageContentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "LanguageContent"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      language: Prisma.$LanguagePayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      language_id: number
      key_content: string
      values: string
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["languageContent"]>
    composites: {}
  }

  type LanguageContentGetPayload<S extends boolean | null | undefined | LanguageContentDefaultArgs> = $Result.GetResult<Prisma.$LanguageContentPayload, S>

  type LanguageContentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<LanguageContentFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: LanguageContentCountAggregateInputType | true
    }

  export interface LanguageContentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['LanguageContent'], meta: { name: 'LanguageContent' } }
    /**
     * Find zero or one LanguageContent that matches the filter.
     * @param {LanguageContentFindUniqueArgs} args - Arguments to find a LanguageContent
     * @example
     * // Get one LanguageContent
     * const languageContent = await prisma.languageContent.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends LanguageContentFindUniqueArgs>(args: SelectSubset<T, LanguageContentFindUniqueArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one LanguageContent that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {LanguageContentFindUniqueOrThrowArgs} args - Arguments to find a LanguageContent
     * @example
     * // Get one LanguageContent
     * const languageContent = await prisma.languageContent.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends LanguageContentFindUniqueOrThrowArgs>(args: SelectSubset<T, LanguageContentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first LanguageContent that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentFindFirstArgs} args - Arguments to find a LanguageContent
     * @example
     * // Get one LanguageContent
     * const languageContent = await prisma.languageContent.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends LanguageContentFindFirstArgs>(args?: SelectSubset<T, LanguageContentFindFirstArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first LanguageContent that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentFindFirstOrThrowArgs} args - Arguments to find a LanguageContent
     * @example
     * // Get one LanguageContent
     * const languageContent = await prisma.languageContent.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends LanguageContentFindFirstOrThrowArgs>(args?: SelectSubset<T, LanguageContentFindFirstOrThrowArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more LanguageContents that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all LanguageContents
     * const languageContents = await prisma.languageContent.findMany()
     * 
     * // Get first 10 LanguageContents
     * const languageContents = await prisma.languageContent.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const languageContentWithIdOnly = await prisma.languageContent.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends LanguageContentFindManyArgs>(args?: SelectSubset<T, LanguageContentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a LanguageContent.
     * @param {LanguageContentCreateArgs} args - Arguments to create a LanguageContent.
     * @example
     * // Create one LanguageContent
     * const LanguageContent = await prisma.languageContent.create({
     *   data: {
     *     // ... data to create a LanguageContent
     *   }
     * })
     * 
     */
    create<T extends LanguageContentCreateArgs>(args: SelectSubset<T, LanguageContentCreateArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many LanguageContents.
     * @param {LanguageContentCreateManyArgs} args - Arguments to create many LanguageContents.
     * @example
     * // Create many LanguageContents
     * const languageContent = await prisma.languageContent.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends LanguageContentCreateManyArgs>(args?: SelectSubset<T, LanguageContentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many LanguageContents and returns the data saved in the database.
     * @param {LanguageContentCreateManyAndReturnArgs} args - Arguments to create many LanguageContents.
     * @example
     * // Create many LanguageContents
     * const languageContent = await prisma.languageContent.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many LanguageContents and only return the `id`
     * const languageContentWithIdOnly = await prisma.languageContent.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends LanguageContentCreateManyAndReturnArgs>(args?: SelectSubset<T, LanguageContentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a LanguageContent.
     * @param {LanguageContentDeleteArgs} args - Arguments to delete one LanguageContent.
     * @example
     * // Delete one LanguageContent
     * const LanguageContent = await prisma.languageContent.delete({
     *   where: {
     *     // ... filter to delete one LanguageContent
     *   }
     * })
     * 
     */
    delete<T extends LanguageContentDeleteArgs>(args: SelectSubset<T, LanguageContentDeleteArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one LanguageContent.
     * @param {LanguageContentUpdateArgs} args - Arguments to update one LanguageContent.
     * @example
     * // Update one LanguageContent
     * const languageContent = await prisma.languageContent.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends LanguageContentUpdateArgs>(args: SelectSubset<T, LanguageContentUpdateArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more LanguageContents.
     * @param {LanguageContentDeleteManyArgs} args - Arguments to filter LanguageContents to delete.
     * @example
     * // Delete a few LanguageContents
     * const { count } = await prisma.languageContent.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends LanguageContentDeleteManyArgs>(args?: SelectSubset<T, LanguageContentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more LanguageContents.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many LanguageContents
     * const languageContent = await prisma.languageContent.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends LanguageContentUpdateManyArgs>(args: SelectSubset<T, LanguageContentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one LanguageContent.
     * @param {LanguageContentUpsertArgs} args - Arguments to update or create a LanguageContent.
     * @example
     * // Update or create a LanguageContent
     * const languageContent = await prisma.languageContent.upsert({
     *   create: {
     *     // ... data to create a LanguageContent
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the LanguageContent we want to update
     *   }
     * })
     */
    upsert<T extends LanguageContentUpsertArgs>(args: SelectSubset<T, LanguageContentUpsertArgs<ExtArgs>>): Prisma__LanguageContentClient<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of LanguageContents.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentCountArgs} args - Arguments to filter LanguageContents to count.
     * @example
     * // Count the number of LanguageContents
     * const count = await prisma.languageContent.count({
     *   where: {
     *     // ... the filter for the LanguageContents we want to count
     *   }
     * })
    **/
    count<T extends LanguageContentCountArgs>(
      args?: Subset<T, LanguageContentCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], LanguageContentCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a LanguageContent.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends LanguageContentAggregateArgs>(args: Subset<T, LanguageContentAggregateArgs>): Prisma.PrismaPromise<GetLanguageContentAggregateType<T>>

    /**
     * Group by LanguageContent.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {LanguageContentGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends LanguageContentGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: LanguageContentGroupByArgs['orderBy'] }
        : { orderBy?: LanguageContentGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, LanguageContentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLanguageContentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the LanguageContent model
   */
  readonly fields: LanguageContentFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for LanguageContent.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__LanguageContentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    language<T extends LanguageContent$languageArgs<ExtArgs> = {}>(args?: Subset<T, LanguageContent$languageArgs<ExtArgs>>): Prisma__LanguageClient<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the LanguageContent model
   */ 
  interface LanguageContentFieldRefs {
    readonly id: FieldRef<"LanguageContent", 'Int'>
    readonly language_id: FieldRef<"LanguageContent", 'Int'>
    readonly key_content: FieldRef<"LanguageContent", 'String'>
    readonly values: FieldRef<"LanguageContent", 'String'>
    readonly status_id: FieldRef<"LanguageContent", 'Int'>
    readonly company_id: FieldRef<"LanguageContent", 'Int'>
    readonly created_at: FieldRef<"LanguageContent", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * LanguageContent findUnique
   */
  export type LanguageContentFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter, which LanguageContent to fetch.
     */
    where: LanguageContentWhereUniqueInput
  }

  /**
   * LanguageContent findUniqueOrThrow
   */
  export type LanguageContentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter, which LanguageContent to fetch.
     */
    where: LanguageContentWhereUniqueInput
  }

  /**
   * LanguageContent findFirst
   */
  export type LanguageContentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter, which LanguageContent to fetch.
     */
    where?: LanguageContentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of LanguageContents to fetch.
     */
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for LanguageContents.
     */
    cursor?: LanguageContentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` LanguageContents from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` LanguageContents.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of LanguageContents.
     */
    distinct?: LanguageContentScalarFieldEnum | LanguageContentScalarFieldEnum[]
  }

  /**
   * LanguageContent findFirstOrThrow
   */
  export type LanguageContentFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter, which LanguageContent to fetch.
     */
    where?: LanguageContentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of LanguageContents to fetch.
     */
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for LanguageContents.
     */
    cursor?: LanguageContentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` LanguageContents from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` LanguageContents.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of LanguageContents.
     */
    distinct?: LanguageContentScalarFieldEnum | LanguageContentScalarFieldEnum[]
  }

  /**
   * LanguageContent findMany
   */
  export type LanguageContentFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter, which LanguageContents to fetch.
     */
    where?: LanguageContentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of LanguageContents to fetch.
     */
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing LanguageContents.
     */
    cursor?: LanguageContentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` LanguageContents from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` LanguageContents.
     */
    skip?: number
    distinct?: LanguageContentScalarFieldEnum | LanguageContentScalarFieldEnum[]
  }

  /**
   * LanguageContent create
   */
  export type LanguageContentCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * The data needed to create a LanguageContent.
     */
    data: XOR<LanguageContentCreateInput, LanguageContentUncheckedCreateInput>
  }

  /**
   * LanguageContent createMany
   */
  export type LanguageContentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many LanguageContents.
     */
    data: LanguageContentCreateManyInput | LanguageContentCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * LanguageContent createManyAndReturn
   */
  export type LanguageContentCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many LanguageContents.
     */
    data: LanguageContentCreateManyInput | LanguageContentCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * LanguageContent update
   */
  export type LanguageContentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * The data needed to update a LanguageContent.
     */
    data: XOR<LanguageContentUpdateInput, LanguageContentUncheckedUpdateInput>
    /**
     * Choose, which LanguageContent to update.
     */
    where: LanguageContentWhereUniqueInput
  }

  /**
   * LanguageContent updateMany
   */
  export type LanguageContentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update LanguageContents.
     */
    data: XOR<LanguageContentUpdateManyMutationInput, LanguageContentUncheckedUpdateManyInput>
    /**
     * Filter which LanguageContents to update
     */
    where?: LanguageContentWhereInput
  }

  /**
   * LanguageContent upsert
   */
  export type LanguageContentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * The filter to search for the LanguageContent to update in case it exists.
     */
    where: LanguageContentWhereUniqueInput
    /**
     * In case the LanguageContent found by the `where` argument doesn't exist, create a new LanguageContent with this data.
     */
    create: XOR<LanguageContentCreateInput, LanguageContentUncheckedCreateInput>
    /**
     * In case the LanguageContent was found with the provided `where` argument, update it with this data.
     */
    update: XOR<LanguageContentUpdateInput, LanguageContentUncheckedUpdateInput>
  }

  /**
   * LanguageContent delete
   */
  export type LanguageContentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    /**
     * Filter which LanguageContent to delete.
     */
    where: LanguageContentWhereUniqueInput
  }

  /**
   * LanguageContent deleteMany
   */
  export type LanguageContentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which LanguageContents to delete
     */
    where?: LanguageContentWhereInput
  }

  /**
   * LanguageContent.language
   */
  export type LanguageContent$languageArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    where?: LanguageWhereInput
  }

  /**
   * LanguageContent without action
   */
  export type LanguageContentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
  }


  /**
   * Model Menus
   */

  export type AggregateMenus = {
    _count: MenusCountAggregateOutputType | null
    _avg: MenusAvgAggregateOutputType | null
    _sum: MenusSumAggregateOutputType | null
    _min: MenusMinAggregateOutputType | null
    _max: MenusMaxAggregateOutputType | null
  }

  export type MenusAvgAggregateOutputType = {
    id: number | null
    menu_type: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type MenusSumAggregateOutputType = {
    id: number | null
    menu_type: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type MenusMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    menu_type: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type MenusMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    menu_type: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type MenusCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    menu_type: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type MenusAvgAggregateInputType = {
    id?: true
    menu_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type MenusSumAggregateInputType = {
    id?: true
    menu_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type MenusMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    menu_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type MenusMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    menu_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type MenusCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    menu_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type MenusAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Menus to aggregate.
     */
    where?: MenusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Menus to fetch.
     */
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: MenusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Menus from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Menus.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Menus
    **/
    _count?: true | MenusCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: MenusAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: MenusSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: MenusMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: MenusMaxAggregateInputType
  }

  export type GetMenusAggregateType<T extends MenusAggregateArgs> = {
        [P in keyof T & keyof AggregateMenus]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateMenus[P]>
      : GetScalarType<T[P], AggregateMenus[P]>
  }




  export type MenusGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenusWhereInput
    orderBy?: MenusOrderByWithAggregationInput | MenusOrderByWithAggregationInput[]
    by: MenusScalarFieldEnum[] | MenusScalarFieldEnum
    having?: MenusScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: MenusCountAggregateInputType | true
    _avg?: MenusAvgAggregateInputType
    _sum?: MenusSumAggregateInputType
    _min?: MenusMinAggregateInputType
    _max?: MenusMaxAggregateInputType
  }

  export type MenusGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string | null
    description: string | null
    menu_type: number
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: MenusCountAggregateOutputType | null
    _avg: MenusAvgAggregateOutputType | null
    _sum: MenusSumAggregateOutputType | null
    _min: MenusMinAggregateOutputType | null
    _max: MenusMaxAggregateOutputType | null
  }

  type GetMenusGroupByPayload<T extends MenusGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<MenusGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof MenusGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], MenusGroupByOutputType[P]>
            : GetScalarType<T[P], MenusGroupByOutputType[P]>
        }
      >
    >


  export type MenusSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    menu_type?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menuitems?: boolean | Menus$menuitemsArgs<ExtArgs>
    created?: boolean | Menus$createdArgs<ExtArgs>
    updated?: boolean | Menus$updatedArgs<ExtArgs>
    deleted?: boolean | Menus$deletedArgs<ExtArgs>
    _count?: boolean | MenusCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["menus"]>

  export type MenusSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    menu_type?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Menus$createdArgs<ExtArgs>
    updated?: boolean | Menus$updatedArgs<ExtArgs>
    deleted?: boolean | Menus$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["menus"]>

  export type MenusSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    menu_type?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type MenusInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menuitems?: boolean | Menus$menuitemsArgs<ExtArgs>
    created?: boolean | Menus$createdArgs<ExtArgs>
    updated?: boolean | Menus$updatedArgs<ExtArgs>
    deleted?: boolean | Menus$deletedArgs<ExtArgs>
    _count?: boolean | MenusCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type MenusIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | Menus$createdArgs<ExtArgs>
    updated?: boolean | Menus$updatedArgs<ExtArgs>
    deleted?: boolean | Menus$deletedArgs<ExtArgs>
  }

  export type $MenusPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Menus"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      menuitems: Prisma.$MenuItemsPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string | null
      description: string | null
      menu_type: number
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["menus"]>
    composites: {}
  }

  type MenusGetPayload<S extends boolean | null | undefined | MenusDefaultArgs> = $Result.GetResult<Prisma.$MenusPayload, S>

  type MenusCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<MenusFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: MenusCountAggregateInputType | true
    }

  export interface MenusDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Menus'], meta: { name: 'Menus' } }
    /**
     * Find zero or one Menus that matches the filter.
     * @param {MenusFindUniqueArgs} args - Arguments to find a Menus
     * @example
     * // Get one Menus
     * const menus = await prisma.menus.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends MenusFindUniqueArgs>(args: SelectSubset<T, MenusFindUniqueArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Menus that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {MenusFindUniqueOrThrowArgs} args - Arguments to find a Menus
     * @example
     * // Get one Menus
     * const menus = await prisma.menus.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends MenusFindUniqueOrThrowArgs>(args: SelectSubset<T, MenusFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Menus that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusFindFirstArgs} args - Arguments to find a Menus
     * @example
     * // Get one Menus
     * const menus = await prisma.menus.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends MenusFindFirstArgs>(args?: SelectSubset<T, MenusFindFirstArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Menus that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusFindFirstOrThrowArgs} args - Arguments to find a Menus
     * @example
     * // Get one Menus
     * const menus = await prisma.menus.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends MenusFindFirstOrThrowArgs>(args?: SelectSubset<T, MenusFindFirstOrThrowArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Menus that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Menus
     * const menus = await prisma.menus.findMany()
     * 
     * // Get first 10 Menus
     * const menus = await prisma.menus.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const menusWithIdOnly = await prisma.menus.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends MenusFindManyArgs>(args?: SelectSubset<T, MenusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Menus.
     * @param {MenusCreateArgs} args - Arguments to create a Menus.
     * @example
     * // Create one Menus
     * const Menus = await prisma.menus.create({
     *   data: {
     *     // ... data to create a Menus
     *   }
     * })
     * 
     */
    create<T extends MenusCreateArgs>(args: SelectSubset<T, MenusCreateArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Menus.
     * @param {MenusCreateManyArgs} args - Arguments to create many Menus.
     * @example
     * // Create many Menus
     * const menus = await prisma.menus.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends MenusCreateManyArgs>(args?: SelectSubset<T, MenusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Menus and returns the data saved in the database.
     * @param {MenusCreateManyAndReturnArgs} args - Arguments to create many Menus.
     * @example
     * // Create many Menus
     * const menus = await prisma.menus.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Menus and only return the `id`
     * const menusWithIdOnly = await prisma.menus.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends MenusCreateManyAndReturnArgs>(args?: SelectSubset<T, MenusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Menus.
     * @param {MenusDeleteArgs} args - Arguments to delete one Menus.
     * @example
     * // Delete one Menus
     * const Menus = await prisma.menus.delete({
     *   where: {
     *     // ... filter to delete one Menus
     *   }
     * })
     * 
     */
    delete<T extends MenusDeleteArgs>(args: SelectSubset<T, MenusDeleteArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Menus.
     * @param {MenusUpdateArgs} args - Arguments to update one Menus.
     * @example
     * // Update one Menus
     * const menus = await prisma.menus.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends MenusUpdateArgs>(args: SelectSubset<T, MenusUpdateArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Menus.
     * @param {MenusDeleteManyArgs} args - Arguments to filter Menus to delete.
     * @example
     * // Delete a few Menus
     * const { count } = await prisma.menus.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends MenusDeleteManyArgs>(args?: SelectSubset<T, MenusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Menus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Menus
     * const menus = await prisma.menus.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends MenusUpdateManyArgs>(args: SelectSubset<T, MenusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Menus.
     * @param {MenusUpsertArgs} args - Arguments to update or create a Menus.
     * @example
     * // Update or create a Menus
     * const menus = await prisma.menus.upsert({
     *   create: {
     *     // ... data to create a Menus
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Menus we want to update
     *   }
     * })
     */
    upsert<T extends MenusUpsertArgs>(args: SelectSubset<T, MenusUpsertArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Menus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusCountArgs} args - Arguments to filter Menus to count.
     * @example
     * // Count the number of Menus
     * const count = await prisma.menus.count({
     *   where: {
     *     // ... the filter for the Menus we want to count
     *   }
     * })
    **/
    count<T extends MenusCountArgs>(
      args?: Subset<T, MenusCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], MenusCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Menus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends MenusAggregateArgs>(args: Subset<T, MenusAggregateArgs>): Prisma.PrismaPromise<GetMenusAggregateType<T>>

    /**
     * Group by Menus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenusGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends MenusGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: MenusGroupByArgs['orderBy'] }
        : { orderBy?: MenusGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, MenusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMenusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Menus model
   */
  readonly fields: MenusFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Menus.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__MenusClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    menuitems<T extends Menus$menuitemsArgs<ExtArgs> = {}>(args?: Subset<T, Menus$menuitemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends Menus$createdArgs<ExtArgs> = {}>(args?: Subset<T, Menus$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends Menus$updatedArgs<ExtArgs> = {}>(args?: Subset<T, Menus$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends Menus$deletedArgs<ExtArgs> = {}>(args?: Subset<T, Menus$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Menus model
   */ 
  interface MenusFieldRefs {
    readonly id: FieldRef<"Menus", 'Int'>
    readonly uuid: FieldRef<"Menus", 'String'>
    readonly name: FieldRef<"Menus", 'String'>
    readonly slug: FieldRef<"Menus", 'String'>
    readonly description: FieldRef<"Menus", 'String'>
    readonly menu_type: FieldRef<"Menus", 'Int'>
    readonly status_id: FieldRef<"Menus", 'Int'>
    readonly company_id: FieldRef<"Menus", 'Int'>
    readonly created_by: FieldRef<"Menus", 'Int'>
    readonly updated_by: FieldRef<"Menus", 'Int'>
    readonly deleted_by: FieldRef<"Menus", 'Int'>
    readonly created_at: FieldRef<"Menus", 'DateTime'>
    readonly updated_at: FieldRef<"Menus", 'DateTime'>
    readonly deleted_at: FieldRef<"Menus", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Menus findUnique
   */
  export type MenusFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter, which Menus to fetch.
     */
    where: MenusWhereUniqueInput
  }

  /**
   * Menus findUniqueOrThrow
   */
  export type MenusFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter, which Menus to fetch.
     */
    where: MenusWhereUniqueInput
  }

  /**
   * Menus findFirst
   */
  export type MenusFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter, which Menus to fetch.
     */
    where?: MenusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Menus to fetch.
     */
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Menus.
     */
    cursor?: MenusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Menus from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Menus.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Menus.
     */
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * Menus findFirstOrThrow
   */
  export type MenusFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter, which Menus to fetch.
     */
    where?: MenusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Menus to fetch.
     */
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Menus.
     */
    cursor?: MenusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Menus from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Menus.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Menus.
     */
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * Menus findMany
   */
  export type MenusFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter, which Menus to fetch.
     */
    where?: MenusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Menus to fetch.
     */
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Menus.
     */
    cursor?: MenusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Menus from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Menus.
     */
    skip?: number
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * Menus create
   */
  export type MenusCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * The data needed to create a Menus.
     */
    data: XOR<MenusCreateInput, MenusUncheckedCreateInput>
  }

  /**
   * Menus createMany
   */
  export type MenusCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Menus.
     */
    data: MenusCreateManyInput | MenusCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Menus createManyAndReturn
   */
  export type MenusCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Menus.
     */
    data: MenusCreateManyInput | MenusCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Menus update
   */
  export type MenusUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * The data needed to update a Menus.
     */
    data: XOR<MenusUpdateInput, MenusUncheckedUpdateInput>
    /**
     * Choose, which Menus to update.
     */
    where: MenusWhereUniqueInput
  }

  /**
   * Menus updateMany
   */
  export type MenusUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Menus.
     */
    data: XOR<MenusUpdateManyMutationInput, MenusUncheckedUpdateManyInput>
    /**
     * Filter which Menus to update
     */
    where?: MenusWhereInput
  }

  /**
   * Menus upsert
   */
  export type MenusUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * The filter to search for the Menus to update in case it exists.
     */
    where: MenusWhereUniqueInput
    /**
     * In case the Menus found by the `where` argument doesn't exist, create a new Menus with this data.
     */
    create: XOR<MenusCreateInput, MenusUncheckedCreateInput>
    /**
     * In case the Menus was found with the provided `where` argument, update it with this data.
     */
    update: XOR<MenusUpdateInput, MenusUncheckedUpdateInput>
  }

  /**
   * Menus delete
   */
  export type MenusDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    /**
     * Filter which Menus to delete.
     */
    where: MenusWhereUniqueInput
  }

  /**
   * Menus deleteMany
   */
  export type MenusDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Menus to delete
     */
    where?: MenusWhereInput
  }

  /**
   * Menus.menuitems
   */
  export type Menus$menuitemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * Menus.created
   */
  export type Menus$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Menus.updated
   */
  export type Menus$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Menus.deleted
   */
  export type Menus$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Menus without action
   */
  export type MenusDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
  }


  /**
   * Model MenuItems
   */

  export type AggregateMenuItems = {
    _count: MenuItemsCountAggregateOutputType | null
    _avg: MenuItemsAvgAggregateOutputType | null
    _sum: MenuItemsSumAggregateOutputType | null
    _min: MenuItemsMinAggregateOutputType | null
    _max: MenuItemsMaxAggregateOutputType | null
  }

  export type MenuItemsAvgAggregateOutputType = {
    id: number | null
    menu_id: number | null
    parent_id: number | null
    permission_id: number | null
    entity_id: number | null
    link_type: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type MenuItemsSumAggregateOutputType = {
    id: number | null
    menu_id: number | null
    parent_id: number | null
    permission_id: number | null
    entity_id: number | null
    link_type: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type MenuItemsMinAggregateOutputType = {
    id: number | null
    menu_id: number | null
    name: string | null
    target: string | null
    parent_id: number | null
    permission_id: number | null
    entity_id: number | null
    link_type: number | null
    order_no: Decimal | null
    menu_img: string | null
    short_cut_keys: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type MenuItemsMaxAggregateOutputType = {
    id: number | null
    menu_id: number | null
    name: string | null
    target: string | null
    parent_id: number | null
    permission_id: number | null
    entity_id: number | null
    link_type: number | null
    order_no: Decimal | null
    menu_img: string | null
    short_cut_keys: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type MenuItemsCountAggregateOutputType = {
    id: number
    menu_id: number
    name: number
    target: number
    parent_id: number
    permission_id: number
    entity_id: number
    link_type: number
    order_no: number
    menu_img: number
    short_cut_keys: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type MenuItemsAvgAggregateInputType = {
    id?: true
    menu_id?: true
    parent_id?: true
    permission_id?: true
    entity_id?: true
    link_type?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type MenuItemsSumAggregateInputType = {
    id?: true
    menu_id?: true
    parent_id?: true
    permission_id?: true
    entity_id?: true
    link_type?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type MenuItemsMinAggregateInputType = {
    id?: true
    menu_id?: true
    name?: true
    target?: true
    parent_id?: true
    permission_id?: true
    entity_id?: true
    link_type?: true
    order_no?: true
    menu_img?: true
    short_cut_keys?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type MenuItemsMaxAggregateInputType = {
    id?: true
    menu_id?: true
    name?: true
    target?: true
    parent_id?: true
    permission_id?: true
    entity_id?: true
    link_type?: true
    order_no?: true
    menu_img?: true
    short_cut_keys?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type MenuItemsCountAggregateInputType = {
    id?: true
    menu_id?: true
    name?: true
    target?: true
    parent_id?: true
    permission_id?: true
    entity_id?: true
    link_type?: true
    order_no?: true
    menu_img?: true
    short_cut_keys?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type MenuItemsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MenuItems to aggregate.
     */
    where?: MenuItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MenuItems to fetch.
     */
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: MenuItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MenuItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MenuItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned MenuItems
    **/
    _count?: true | MenuItemsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: MenuItemsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: MenuItemsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: MenuItemsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: MenuItemsMaxAggregateInputType
  }

  export type GetMenuItemsAggregateType<T extends MenuItemsAggregateArgs> = {
        [P in keyof T & keyof AggregateMenuItems]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateMenuItems[P]>
      : GetScalarType<T[P], AggregateMenuItems[P]>
  }




  export type MenuItemsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithAggregationInput | MenuItemsOrderByWithAggregationInput[]
    by: MenuItemsScalarFieldEnum[] | MenuItemsScalarFieldEnum
    having?: MenuItemsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: MenuItemsCountAggregateInputType | true
    _avg?: MenuItemsAvgAggregateInputType
    _sum?: MenuItemsSumAggregateInputType
    _min?: MenuItemsMinAggregateInputType
    _max?: MenuItemsMaxAggregateInputType
  }

  export type MenuItemsGroupByOutputType = {
    id: number
    menu_id: number
    name: string
    target: string | null
    parent_id: number | null
    permission_id: number | null
    entity_id: number | null
    link_type: number | null
    order_no: Decimal
    menu_img: string | null
    short_cut_keys: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: MenuItemsCountAggregateOutputType | null
    _avg: MenuItemsAvgAggregateOutputType | null
    _sum: MenuItemsSumAggregateOutputType | null
    _min: MenuItemsMinAggregateOutputType | null
    _max: MenuItemsMaxAggregateOutputType | null
  }

  type GetMenuItemsGroupByPayload<T extends MenuItemsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<MenuItemsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof MenuItemsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], MenuItemsGroupByOutputType[P]>
            : GetScalarType<T[P], MenuItemsGroupByOutputType[P]>
        }
      >
    >


  export type MenuItemsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    menu_id?: boolean
    name?: boolean
    target?: boolean
    parent_id?: boolean
    permission_id?: boolean
    entity_id?: boolean
    link_type?: boolean
    order_no?: boolean
    menu_img?: boolean
    short_cut_keys?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menus?: boolean | MenuItems$menusArgs<ExtArgs>
    entity?: boolean | MenuItems$entityArgs<ExtArgs>
    permission?: boolean | MenuItems$permissionArgs<ExtArgs>
    parent?: boolean | MenuItems$parentArgs<ExtArgs>
    children?: boolean | MenuItems$childrenArgs<ExtArgs>
    created?: boolean | MenuItems$createdArgs<ExtArgs>
    updated?: boolean | MenuItems$updatedArgs<ExtArgs>
    deleted?: boolean | MenuItems$deletedArgs<ExtArgs>
    _count?: boolean | MenuItemsCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["menuItems"]>

  export type MenuItemsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    menu_id?: boolean
    name?: boolean
    target?: boolean
    parent_id?: boolean
    permission_id?: boolean
    entity_id?: boolean
    link_type?: boolean
    order_no?: boolean
    menu_img?: boolean
    short_cut_keys?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menus?: boolean | MenuItems$menusArgs<ExtArgs>
    entity?: boolean | MenuItems$entityArgs<ExtArgs>
    permission?: boolean | MenuItems$permissionArgs<ExtArgs>
    parent?: boolean | MenuItems$parentArgs<ExtArgs>
    created?: boolean | MenuItems$createdArgs<ExtArgs>
    updated?: boolean | MenuItems$updatedArgs<ExtArgs>
    deleted?: boolean | MenuItems$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["menuItems"]>

  export type MenuItemsSelectScalar = {
    id?: boolean
    menu_id?: boolean
    name?: boolean
    target?: boolean
    parent_id?: boolean
    permission_id?: boolean
    entity_id?: boolean
    link_type?: boolean
    order_no?: boolean
    menu_img?: boolean
    short_cut_keys?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type MenuItemsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menus?: boolean | MenuItems$menusArgs<ExtArgs>
    entity?: boolean | MenuItems$entityArgs<ExtArgs>
    permission?: boolean | MenuItems$permissionArgs<ExtArgs>
    parent?: boolean | MenuItems$parentArgs<ExtArgs>
    children?: boolean | MenuItems$childrenArgs<ExtArgs>
    created?: boolean | MenuItems$createdArgs<ExtArgs>
    updated?: boolean | MenuItems$updatedArgs<ExtArgs>
    deleted?: boolean | MenuItems$deletedArgs<ExtArgs>
    _count?: boolean | MenuItemsCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type MenuItemsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    menus?: boolean | MenuItems$menusArgs<ExtArgs>
    entity?: boolean | MenuItems$entityArgs<ExtArgs>
    permission?: boolean | MenuItems$permissionArgs<ExtArgs>
    parent?: boolean | MenuItems$parentArgs<ExtArgs>
    created?: boolean | MenuItems$createdArgs<ExtArgs>
    updated?: boolean | MenuItems$updatedArgs<ExtArgs>
    deleted?: boolean | MenuItems$deletedArgs<ExtArgs>
  }

  export type $MenuItemsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "MenuItems"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      menus: Prisma.$MenusPayload<ExtArgs> | null
      entity: Prisma.$MasterEntityPayload<ExtArgs> | null
      permission: Prisma.$PermissionsPayload<ExtArgs> | null
      parent: Prisma.$MenuItemsPayload<ExtArgs> | null
      children: Prisma.$MenuItemsPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      menu_id: number
      name: string
      target: string | null
      parent_id: number | null
      permission_id: number | null
      entity_id: number | null
      link_type: number | null
      order_no: Prisma.Decimal
      menu_img: string | null
      short_cut_keys: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["menuItems"]>
    composites: {}
  }

  type MenuItemsGetPayload<S extends boolean | null | undefined | MenuItemsDefaultArgs> = $Result.GetResult<Prisma.$MenuItemsPayload, S>

  type MenuItemsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<MenuItemsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: MenuItemsCountAggregateInputType | true
    }

  export interface MenuItemsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MenuItems'], meta: { name: 'MenuItems' } }
    /**
     * Find zero or one MenuItems that matches the filter.
     * @param {MenuItemsFindUniqueArgs} args - Arguments to find a MenuItems
     * @example
     * // Get one MenuItems
     * const menuItems = await prisma.menuItems.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends MenuItemsFindUniqueArgs>(args: SelectSubset<T, MenuItemsFindUniqueArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one MenuItems that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {MenuItemsFindUniqueOrThrowArgs} args - Arguments to find a MenuItems
     * @example
     * // Get one MenuItems
     * const menuItems = await prisma.menuItems.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends MenuItemsFindUniqueOrThrowArgs>(args: SelectSubset<T, MenuItemsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first MenuItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsFindFirstArgs} args - Arguments to find a MenuItems
     * @example
     * // Get one MenuItems
     * const menuItems = await prisma.menuItems.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends MenuItemsFindFirstArgs>(args?: SelectSubset<T, MenuItemsFindFirstArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first MenuItems that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsFindFirstOrThrowArgs} args - Arguments to find a MenuItems
     * @example
     * // Get one MenuItems
     * const menuItems = await prisma.menuItems.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends MenuItemsFindFirstOrThrowArgs>(args?: SelectSubset<T, MenuItemsFindFirstOrThrowArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more MenuItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all MenuItems
     * const menuItems = await prisma.menuItems.findMany()
     * 
     * // Get first 10 MenuItems
     * const menuItems = await prisma.menuItems.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const menuItemsWithIdOnly = await prisma.menuItems.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends MenuItemsFindManyArgs>(args?: SelectSubset<T, MenuItemsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a MenuItems.
     * @param {MenuItemsCreateArgs} args - Arguments to create a MenuItems.
     * @example
     * // Create one MenuItems
     * const MenuItems = await prisma.menuItems.create({
     *   data: {
     *     // ... data to create a MenuItems
     *   }
     * })
     * 
     */
    create<T extends MenuItemsCreateArgs>(args: SelectSubset<T, MenuItemsCreateArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many MenuItems.
     * @param {MenuItemsCreateManyArgs} args - Arguments to create many MenuItems.
     * @example
     * // Create many MenuItems
     * const menuItems = await prisma.menuItems.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends MenuItemsCreateManyArgs>(args?: SelectSubset<T, MenuItemsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many MenuItems and returns the data saved in the database.
     * @param {MenuItemsCreateManyAndReturnArgs} args - Arguments to create many MenuItems.
     * @example
     * // Create many MenuItems
     * const menuItems = await prisma.menuItems.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many MenuItems and only return the `id`
     * const menuItemsWithIdOnly = await prisma.menuItems.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends MenuItemsCreateManyAndReturnArgs>(args?: SelectSubset<T, MenuItemsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a MenuItems.
     * @param {MenuItemsDeleteArgs} args - Arguments to delete one MenuItems.
     * @example
     * // Delete one MenuItems
     * const MenuItems = await prisma.menuItems.delete({
     *   where: {
     *     // ... filter to delete one MenuItems
     *   }
     * })
     * 
     */
    delete<T extends MenuItemsDeleteArgs>(args: SelectSubset<T, MenuItemsDeleteArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one MenuItems.
     * @param {MenuItemsUpdateArgs} args - Arguments to update one MenuItems.
     * @example
     * // Update one MenuItems
     * const menuItems = await prisma.menuItems.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends MenuItemsUpdateArgs>(args: SelectSubset<T, MenuItemsUpdateArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more MenuItems.
     * @param {MenuItemsDeleteManyArgs} args - Arguments to filter MenuItems to delete.
     * @example
     * // Delete a few MenuItems
     * const { count } = await prisma.menuItems.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends MenuItemsDeleteManyArgs>(args?: SelectSubset<T, MenuItemsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more MenuItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many MenuItems
     * const menuItems = await prisma.menuItems.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends MenuItemsUpdateManyArgs>(args: SelectSubset<T, MenuItemsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one MenuItems.
     * @param {MenuItemsUpsertArgs} args - Arguments to update or create a MenuItems.
     * @example
     * // Update or create a MenuItems
     * const menuItems = await prisma.menuItems.upsert({
     *   create: {
     *     // ... data to create a MenuItems
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the MenuItems we want to update
     *   }
     * })
     */
    upsert<T extends MenuItemsUpsertArgs>(args: SelectSubset<T, MenuItemsUpsertArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of MenuItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsCountArgs} args - Arguments to filter MenuItems to count.
     * @example
     * // Count the number of MenuItems
     * const count = await prisma.menuItems.count({
     *   where: {
     *     // ... the filter for the MenuItems we want to count
     *   }
     * })
    **/
    count<T extends MenuItemsCountArgs>(
      args?: Subset<T, MenuItemsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], MenuItemsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a MenuItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends MenuItemsAggregateArgs>(args: Subset<T, MenuItemsAggregateArgs>): Prisma.PrismaPromise<GetMenuItemsAggregateType<T>>

    /**
     * Group by MenuItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuItemsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends MenuItemsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: MenuItemsGroupByArgs['orderBy'] }
        : { orderBy?: MenuItemsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, MenuItemsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMenuItemsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the MenuItems model
   */
  readonly fields: MenuItemsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for MenuItems.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__MenuItemsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    menus<T extends MenuItems$menusArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$menusArgs<ExtArgs>>): Prisma__MenusClient<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    entity<T extends MenuItems$entityArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$entityArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    permission<T extends MenuItems$permissionArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$permissionArgs<ExtArgs>>): Prisma__PermissionsClient<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    parent<T extends MenuItems$parentArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$parentArgs<ExtArgs>>): Prisma__MenuItemsClient<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    children<T extends MenuItems$childrenArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends MenuItems$createdArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends MenuItems$updatedArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends MenuItems$deletedArgs<ExtArgs> = {}>(args?: Subset<T, MenuItems$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the MenuItems model
   */ 
  interface MenuItemsFieldRefs {
    readonly id: FieldRef<"MenuItems", 'Int'>
    readonly menu_id: FieldRef<"MenuItems", 'Int'>
    readonly name: FieldRef<"MenuItems", 'String'>
    readonly target: FieldRef<"MenuItems", 'String'>
    readonly parent_id: FieldRef<"MenuItems", 'Int'>
    readonly permission_id: FieldRef<"MenuItems", 'Int'>
    readonly entity_id: FieldRef<"MenuItems", 'Int'>
    readonly link_type: FieldRef<"MenuItems", 'Int'>
    readonly order_no: FieldRef<"MenuItems", 'Decimal'>
    readonly menu_img: FieldRef<"MenuItems", 'String'>
    readonly short_cut_keys: FieldRef<"MenuItems", 'String'>
    readonly status_id: FieldRef<"MenuItems", 'Int'>
    readonly company_id: FieldRef<"MenuItems", 'Int'>
    readonly created_by: FieldRef<"MenuItems", 'Int'>
    readonly updated_by: FieldRef<"MenuItems", 'Int'>
    readonly deleted_by: FieldRef<"MenuItems", 'Int'>
    readonly created_at: FieldRef<"MenuItems", 'DateTime'>
    readonly updated_at: FieldRef<"MenuItems", 'DateTime'>
    readonly deleted_at: FieldRef<"MenuItems", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * MenuItems findUnique
   */
  export type MenuItemsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter, which MenuItems to fetch.
     */
    where: MenuItemsWhereUniqueInput
  }

  /**
   * MenuItems findUniqueOrThrow
   */
  export type MenuItemsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter, which MenuItems to fetch.
     */
    where: MenuItemsWhereUniqueInput
  }

  /**
   * MenuItems findFirst
   */
  export type MenuItemsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter, which MenuItems to fetch.
     */
    where?: MenuItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MenuItems to fetch.
     */
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MenuItems.
     */
    cursor?: MenuItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MenuItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MenuItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MenuItems.
     */
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * MenuItems findFirstOrThrow
   */
  export type MenuItemsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter, which MenuItems to fetch.
     */
    where?: MenuItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MenuItems to fetch.
     */
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MenuItems.
     */
    cursor?: MenuItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MenuItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MenuItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MenuItems.
     */
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * MenuItems findMany
   */
  export type MenuItemsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter, which MenuItems to fetch.
     */
    where?: MenuItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MenuItems to fetch.
     */
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing MenuItems.
     */
    cursor?: MenuItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MenuItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MenuItems.
     */
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * MenuItems create
   */
  export type MenuItemsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * The data needed to create a MenuItems.
     */
    data: XOR<MenuItemsCreateInput, MenuItemsUncheckedCreateInput>
  }

  /**
   * MenuItems createMany
   */
  export type MenuItemsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many MenuItems.
     */
    data: MenuItemsCreateManyInput | MenuItemsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * MenuItems createManyAndReturn
   */
  export type MenuItemsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many MenuItems.
     */
    data: MenuItemsCreateManyInput | MenuItemsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * MenuItems update
   */
  export type MenuItemsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * The data needed to update a MenuItems.
     */
    data: XOR<MenuItemsUpdateInput, MenuItemsUncheckedUpdateInput>
    /**
     * Choose, which MenuItems to update.
     */
    where: MenuItemsWhereUniqueInput
  }

  /**
   * MenuItems updateMany
   */
  export type MenuItemsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update MenuItems.
     */
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyInput>
    /**
     * Filter which MenuItems to update
     */
    where?: MenuItemsWhereInput
  }

  /**
   * MenuItems upsert
   */
  export type MenuItemsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * The filter to search for the MenuItems to update in case it exists.
     */
    where: MenuItemsWhereUniqueInput
    /**
     * In case the MenuItems found by the `where` argument doesn't exist, create a new MenuItems with this data.
     */
    create: XOR<MenuItemsCreateInput, MenuItemsUncheckedCreateInput>
    /**
     * In case the MenuItems was found with the provided `where` argument, update it with this data.
     */
    update: XOR<MenuItemsUpdateInput, MenuItemsUncheckedUpdateInput>
  }

  /**
   * MenuItems delete
   */
  export type MenuItemsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    /**
     * Filter which MenuItems to delete.
     */
    where: MenuItemsWhereUniqueInput
  }

  /**
   * MenuItems deleteMany
   */
  export type MenuItemsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MenuItems to delete
     */
    where?: MenuItemsWhereInput
  }

  /**
   * MenuItems.menus
   */
  export type MenuItems$menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    where?: MenusWhereInput
  }

  /**
   * MenuItems.entity
   */
  export type MenuItems$entityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    where?: MasterEntityWhereInput
  }

  /**
   * MenuItems.permission
   */
  export type MenuItems$permissionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    where?: PermissionsWhereInput
  }

  /**
   * MenuItems.parent
   */
  export type MenuItems$parentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
  }

  /**
   * MenuItems.children
   */
  export type MenuItems$childrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * MenuItems.created
   */
  export type MenuItems$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * MenuItems.updated
   */
  export type MenuItems$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * MenuItems.deleted
   */
  export type MenuItems$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * MenuItems without action
   */
  export type MenuItemsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
  }


  /**
   * Model ActionType
   */

  export type AggregateActionType = {
    _count: ActionTypeCountAggregateOutputType | null
    _avg: ActionTypeAvgAggregateOutputType | null
    _sum: ActionTypeSumAggregateOutputType | null
    _min: ActionTypeMinAggregateOutputType | null
    _max: ActionTypeMaxAggregateOutputType | null
  }

  export type ActionTypeAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type ActionTypeSumAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type ActionTypeMinAggregateOutputType = {
    id: number | null
    name: string | null
    description: string | null
    company_id: number | null
  }

  export type ActionTypeMaxAggregateOutputType = {
    id: number | null
    name: string | null
    description: string | null
    company_id: number | null
  }

  export type ActionTypeCountAggregateOutputType = {
    id: number
    name: number
    description: number
    company_id: number
    _all: number
  }


  export type ActionTypeAvgAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type ActionTypeSumAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type ActionTypeMinAggregateInputType = {
    id?: true
    name?: true
    description?: true
    company_id?: true
  }

  export type ActionTypeMaxAggregateInputType = {
    id?: true
    name?: true
    description?: true
    company_id?: true
  }

  export type ActionTypeCountAggregateInputType = {
    id?: true
    name?: true
    description?: true
    company_id?: true
    _all?: true
  }

  export type ActionTypeAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ActionType to aggregate.
     */
    where?: ActionTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ActionTypes to fetch.
     */
    orderBy?: ActionTypeOrderByWithRelationInput | ActionTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ActionTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ActionTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ActionTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ActionTypes
    **/
    _count?: true | ActionTypeCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ActionTypeAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ActionTypeSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ActionTypeMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ActionTypeMaxAggregateInputType
  }

  export type GetActionTypeAggregateType<T extends ActionTypeAggregateArgs> = {
        [P in keyof T & keyof AggregateActionType]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateActionType[P]>
      : GetScalarType<T[P], AggregateActionType[P]>
  }




  export type ActionTypeGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ActionTypeWhereInput
    orderBy?: ActionTypeOrderByWithAggregationInput | ActionTypeOrderByWithAggregationInput[]
    by: ActionTypeScalarFieldEnum[] | ActionTypeScalarFieldEnum
    having?: ActionTypeScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ActionTypeCountAggregateInputType | true
    _avg?: ActionTypeAvgAggregateInputType
    _sum?: ActionTypeSumAggregateInputType
    _min?: ActionTypeMinAggregateInputType
    _max?: ActionTypeMaxAggregateInputType
  }

  export type ActionTypeGroupByOutputType = {
    id: number
    name: string
    description: string
    company_id: number
    _count: ActionTypeCountAggregateOutputType | null
    _avg: ActionTypeAvgAggregateOutputType | null
    _sum: ActionTypeSumAggregateOutputType | null
    _min: ActionTypeMinAggregateOutputType | null
    _max: ActionTypeMaxAggregateOutputType | null
  }

  type GetActionTypeGroupByPayload<T extends ActionTypeGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ActionTypeGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ActionTypeGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ActionTypeGroupByOutputType[P]>
            : GetScalarType<T[P], ActionTypeGroupByOutputType[P]>
        }
      >
    >


  export type ActionTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["actionType"]>

  export type ActionTypeSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["actionType"]>

  export type ActionTypeSelectScalar = {
    id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }


  export type $ActionTypePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ActionType"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      name: string
      description: string
      company_id: number
    }, ExtArgs["result"]["actionType"]>
    composites: {}
  }

  type ActionTypeGetPayload<S extends boolean | null | undefined | ActionTypeDefaultArgs> = $Result.GetResult<Prisma.$ActionTypePayload, S>

  type ActionTypeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ActionTypeFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ActionTypeCountAggregateInputType | true
    }

  export interface ActionTypeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ActionType'], meta: { name: 'ActionType' } }
    /**
     * Find zero or one ActionType that matches the filter.
     * @param {ActionTypeFindUniqueArgs} args - Arguments to find a ActionType
     * @example
     * // Get one ActionType
     * const actionType = await prisma.actionType.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ActionTypeFindUniqueArgs>(args: SelectSubset<T, ActionTypeFindUniqueArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ActionType that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ActionTypeFindUniqueOrThrowArgs} args - Arguments to find a ActionType
     * @example
     * // Get one ActionType
     * const actionType = await prisma.actionType.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ActionTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, ActionTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ActionType that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeFindFirstArgs} args - Arguments to find a ActionType
     * @example
     * // Get one ActionType
     * const actionType = await prisma.actionType.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ActionTypeFindFirstArgs>(args?: SelectSubset<T, ActionTypeFindFirstArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ActionType that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeFindFirstOrThrowArgs} args - Arguments to find a ActionType
     * @example
     * // Get one ActionType
     * const actionType = await prisma.actionType.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ActionTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, ActionTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ActionTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ActionTypes
     * const actionTypes = await prisma.actionType.findMany()
     * 
     * // Get first 10 ActionTypes
     * const actionTypes = await prisma.actionType.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const actionTypeWithIdOnly = await prisma.actionType.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ActionTypeFindManyArgs>(args?: SelectSubset<T, ActionTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ActionType.
     * @param {ActionTypeCreateArgs} args - Arguments to create a ActionType.
     * @example
     * // Create one ActionType
     * const ActionType = await prisma.actionType.create({
     *   data: {
     *     // ... data to create a ActionType
     *   }
     * })
     * 
     */
    create<T extends ActionTypeCreateArgs>(args: SelectSubset<T, ActionTypeCreateArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ActionTypes.
     * @param {ActionTypeCreateManyArgs} args - Arguments to create many ActionTypes.
     * @example
     * // Create many ActionTypes
     * const actionType = await prisma.actionType.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ActionTypeCreateManyArgs>(args?: SelectSubset<T, ActionTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ActionTypes and returns the data saved in the database.
     * @param {ActionTypeCreateManyAndReturnArgs} args - Arguments to create many ActionTypes.
     * @example
     * // Create many ActionTypes
     * const actionType = await prisma.actionType.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ActionTypes and only return the `id`
     * const actionTypeWithIdOnly = await prisma.actionType.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ActionTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, ActionTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ActionType.
     * @param {ActionTypeDeleteArgs} args - Arguments to delete one ActionType.
     * @example
     * // Delete one ActionType
     * const ActionType = await prisma.actionType.delete({
     *   where: {
     *     // ... filter to delete one ActionType
     *   }
     * })
     * 
     */
    delete<T extends ActionTypeDeleteArgs>(args: SelectSubset<T, ActionTypeDeleteArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ActionType.
     * @param {ActionTypeUpdateArgs} args - Arguments to update one ActionType.
     * @example
     * // Update one ActionType
     * const actionType = await prisma.actionType.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ActionTypeUpdateArgs>(args: SelectSubset<T, ActionTypeUpdateArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ActionTypes.
     * @param {ActionTypeDeleteManyArgs} args - Arguments to filter ActionTypes to delete.
     * @example
     * // Delete a few ActionTypes
     * const { count } = await prisma.actionType.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ActionTypeDeleteManyArgs>(args?: SelectSubset<T, ActionTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ActionTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ActionTypes
     * const actionType = await prisma.actionType.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ActionTypeUpdateManyArgs>(args: SelectSubset<T, ActionTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ActionType.
     * @param {ActionTypeUpsertArgs} args - Arguments to update or create a ActionType.
     * @example
     * // Update or create a ActionType
     * const actionType = await prisma.actionType.upsert({
     *   create: {
     *     // ... data to create a ActionType
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ActionType we want to update
     *   }
     * })
     */
    upsert<T extends ActionTypeUpsertArgs>(args: SelectSubset<T, ActionTypeUpsertArgs<ExtArgs>>): Prisma__ActionTypeClient<$Result.GetResult<Prisma.$ActionTypePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ActionTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeCountArgs} args - Arguments to filter ActionTypes to count.
     * @example
     * // Count the number of ActionTypes
     * const count = await prisma.actionType.count({
     *   where: {
     *     // ... the filter for the ActionTypes we want to count
     *   }
     * })
    **/
    count<T extends ActionTypeCountArgs>(
      args?: Subset<T, ActionTypeCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ActionTypeCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ActionType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ActionTypeAggregateArgs>(args: Subset<T, ActionTypeAggregateArgs>): Prisma.PrismaPromise<GetActionTypeAggregateType<T>>

    /**
     * Group by ActionType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ActionTypeGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ActionTypeGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ActionTypeGroupByArgs['orderBy'] }
        : { orderBy?: ActionTypeGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ActionTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetActionTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ActionType model
   */
  readonly fields: ActionTypeFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ActionType.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ActionTypeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ActionType model
   */ 
  interface ActionTypeFieldRefs {
    readonly id: FieldRef<"ActionType", 'Int'>
    readonly name: FieldRef<"ActionType", 'String'>
    readonly description: FieldRef<"ActionType", 'String'>
    readonly company_id: FieldRef<"ActionType", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ActionType findUnique
   */
  export type ActionTypeFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter, which ActionType to fetch.
     */
    where: ActionTypeWhereUniqueInput
  }

  /**
   * ActionType findUniqueOrThrow
   */
  export type ActionTypeFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter, which ActionType to fetch.
     */
    where: ActionTypeWhereUniqueInput
  }

  /**
   * ActionType findFirst
   */
  export type ActionTypeFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter, which ActionType to fetch.
     */
    where?: ActionTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ActionTypes to fetch.
     */
    orderBy?: ActionTypeOrderByWithRelationInput | ActionTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ActionTypes.
     */
    cursor?: ActionTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ActionTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ActionTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ActionTypes.
     */
    distinct?: ActionTypeScalarFieldEnum | ActionTypeScalarFieldEnum[]
  }

  /**
   * ActionType findFirstOrThrow
   */
  export type ActionTypeFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter, which ActionType to fetch.
     */
    where?: ActionTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ActionTypes to fetch.
     */
    orderBy?: ActionTypeOrderByWithRelationInput | ActionTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ActionTypes.
     */
    cursor?: ActionTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ActionTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ActionTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ActionTypes.
     */
    distinct?: ActionTypeScalarFieldEnum | ActionTypeScalarFieldEnum[]
  }

  /**
   * ActionType findMany
   */
  export type ActionTypeFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter, which ActionTypes to fetch.
     */
    where?: ActionTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ActionTypes to fetch.
     */
    orderBy?: ActionTypeOrderByWithRelationInput | ActionTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ActionTypes.
     */
    cursor?: ActionTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ActionTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ActionTypes.
     */
    skip?: number
    distinct?: ActionTypeScalarFieldEnum | ActionTypeScalarFieldEnum[]
  }

  /**
   * ActionType create
   */
  export type ActionTypeCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * The data needed to create a ActionType.
     */
    data: XOR<ActionTypeCreateInput, ActionTypeUncheckedCreateInput>
  }

  /**
   * ActionType createMany
   */
  export type ActionTypeCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ActionTypes.
     */
    data: ActionTypeCreateManyInput | ActionTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ActionType createManyAndReturn
   */
  export type ActionTypeCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ActionTypes.
     */
    data: ActionTypeCreateManyInput | ActionTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ActionType update
   */
  export type ActionTypeUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * The data needed to update a ActionType.
     */
    data: XOR<ActionTypeUpdateInput, ActionTypeUncheckedUpdateInput>
    /**
     * Choose, which ActionType to update.
     */
    where: ActionTypeWhereUniqueInput
  }

  /**
   * ActionType updateMany
   */
  export type ActionTypeUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ActionTypes.
     */
    data: XOR<ActionTypeUpdateManyMutationInput, ActionTypeUncheckedUpdateManyInput>
    /**
     * Filter which ActionTypes to update
     */
    where?: ActionTypeWhereInput
  }

  /**
   * ActionType upsert
   */
  export type ActionTypeUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * The filter to search for the ActionType to update in case it exists.
     */
    where: ActionTypeWhereUniqueInput
    /**
     * In case the ActionType found by the `where` argument doesn't exist, create a new ActionType with this data.
     */
    create: XOR<ActionTypeCreateInput, ActionTypeUncheckedCreateInput>
    /**
     * In case the ActionType was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ActionTypeUpdateInput, ActionTypeUncheckedUpdateInput>
  }

  /**
   * ActionType delete
   */
  export type ActionTypeDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
    /**
     * Filter which ActionType to delete.
     */
    where: ActionTypeWhereUniqueInput
  }

  /**
   * ActionType deleteMany
   */
  export type ActionTypeDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ActionTypes to delete
     */
    where?: ActionTypeWhereInput
  }

  /**
   * ActionType without action
   */
  export type ActionTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ActionType
     */
    select?: ActionTypeSelect<ExtArgs> | null
  }


  /**
   * Model EntityType
   */

  export type AggregateEntityType = {
    _count: EntityTypeCountAggregateOutputType | null
    _avg: EntityTypeAvgAggregateOutputType | null
    _sum: EntityTypeSumAggregateOutputType | null
    _min: EntityTypeMinAggregateOutputType | null
    _max: EntityTypeMaxAggregateOutputType | null
  }

  export type EntityTypeAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type EntityTypeSumAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type EntityTypeMinAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    description: string | null
    company_id: number | null
  }

  export type EntityTypeMaxAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    description: string | null
    company_id: number | null
  }

  export type EntityTypeCountAggregateOutputType = {
    id: number
    name: number
    slug: number
    description: number
    company_id: number
    _all: number
  }


  export type EntityTypeAvgAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type EntityTypeSumAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type EntityTypeMinAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    company_id?: true
  }

  export type EntityTypeMaxAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    company_id?: true
  }

  export type EntityTypeCountAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    company_id?: true
    _all?: true
  }

  export type EntityTypeAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EntityType to aggregate.
     */
    where?: EntityTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EntityTypes to fetch.
     */
    orderBy?: EntityTypeOrderByWithRelationInput | EntityTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: EntityTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EntityTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EntityTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned EntityTypes
    **/
    _count?: true | EntityTypeCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: EntityTypeAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: EntityTypeSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: EntityTypeMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: EntityTypeMaxAggregateInputType
  }

  export type GetEntityTypeAggregateType<T extends EntityTypeAggregateArgs> = {
        [P in keyof T & keyof AggregateEntityType]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateEntityType[P]>
      : GetScalarType<T[P], AggregateEntityType[P]>
  }




  export type EntityTypeGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: EntityTypeWhereInput
    orderBy?: EntityTypeOrderByWithAggregationInput | EntityTypeOrderByWithAggregationInput[]
    by: EntityTypeScalarFieldEnum[] | EntityTypeScalarFieldEnum
    having?: EntityTypeScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: EntityTypeCountAggregateInputType | true
    _avg?: EntityTypeAvgAggregateInputType
    _sum?: EntityTypeSumAggregateInputType
    _min?: EntityTypeMinAggregateInputType
    _max?: EntityTypeMaxAggregateInputType
  }

  export type EntityTypeGroupByOutputType = {
    id: number
    name: string
    slug: string
    description: string
    company_id: number
    _count: EntityTypeCountAggregateOutputType | null
    _avg: EntityTypeAvgAggregateOutputType | null
    _sum: EntityTypeSumAggregateOutputType | null
    _min: EntityTypeMinAggregateOutputType | null
    _max: EntityTypeMaxAggregateOutputType | null
  }

  type GetEntityTypeGroupByPayload<T extends EntityTypeGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<EntityTypeGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof EntityTypeGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], EntityTypeGroupByOutputType[P]>
            : GetScalarType<T[P], EntityTypeGroupByOutputType[P]>
        }
      >
    >


  export type EntityTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["entityType"]>

  export type EntityTypeSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["entityType"]>

  export type EntityTypeSelectScalar = {
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    company_id?: boolean
  }


  export type $EntityTypePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "EntityType"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      name: string
      slug: string
      description: string
      company_id: number
    }, ExtArgs["result"]["entityType"]>
    composites: {}
  }

  type EntityTypeGetPayload<S extends boolean | null | undefined | EntityTypeDefaultArgs> = $Result.GetResult<Prisma.$EntityTypePayload, S>

  type EntityTypeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<EntityTypeFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: EntityTypeCountAggregateInputType | true
    }

  export interface EntityTypeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntityType'], meta: { name: 'EntityType' } }
    /**
     * Find zero or one EntityType that matches the filter.
     * @param {EntityTypeFindUniqueArgs} args - Arguments to find a EntityType
     * @example
     * // Get one EntityType
     * const entityType = await prisma.entityType.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends EntityTypeFindUniqueArgs>(args: SelectSubset<T, EntityTypeFindUniqueArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one EntityType that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {EntityTypeFindUniqueOrThrowArgs} args - Arguments to find a EntityType
     * @example
     * // Get one EntityType
     * const entityType = await prisma.entityType.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends EntityTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, EntityTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first EntityType that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeFindFirstArgs} args - Arguments to find a EntityType
     * @example
     * // Get one EntityType
     * const entityType = await prisma.entityType.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends EntityTypeFindFirstArgs>(args?: SelectSubset<T, EntityTypeFindFirstArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first EntityType that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeFindFirstOrThrowArgs} args - Arguments to find a EntityType
     * @example
     * // Get one EntityType
     * const entityType = await prisma.entityType.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends EntityTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, EntityTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more EntityTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all EntityTypes
     * const entityTypes = await prisma.entityType.findMany()
     * 
     * // Get first 10 EntityTypes
     * const entityTypes = await prisma.entityType.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const entityTypeWithIdOnly = await prisma.entityType.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends EntityTypeFindManyArgs>(args?: SelectSubset<T, EntityTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a EntityType.
     * @param {EntityTypeCreateArgs} args - Arguments to create a EntityType.
     * @example
     * // Create one EntityType
     * const EntityType = await prisma.entityType.create({
     *   data: {
     *     // ... data to create a EntityType
     *   }
     * })
     * 
     */
    create<T extends EntityTypeCreateArgs>(args: SelectSubset<T, EntityTypeCreateArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many EntityTypes.
     * @param {EntityTypeCreateManyArgs} args - Arguments to create many EntityTypes.
     * @example
     * // Create many EntityTypes
     * const entityType = await prisma.entityType.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends EntityTypeCreateManyArgs>(args?: SelectSubset<T, EntityTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many EntityTypes and returns the data saved in the database.
     * @param {EntityTypeCreateManyAndReturnArgs} args - Arguments to create many EntityTypes.
     * @example
     * // Create many EntityTypes
     * const entityType = await prisma.entityType.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many EntityTypes and only return the `id`
     * const entityTypeWithIdOnly = await prisma.entityType.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends EntityTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, EntityTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a EntityType.
     * @param {EntityTypeDeleteArgs} args - Arguments to delete one EntityType.
     * @example
     * // Delete one EntityType
     * const EntityType = await prisma.entityType.delete({
     *   where: {
     *     // ... filter to delete one EntityType
     *   }
     * })
     * 
     */
    delete<T extends EntityTypeDeleteArgs>(args: SelectSubset<T, EntityTypeDeleteArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one EntityType.
     * @param {EntityTypeUpdateArgs} args - Arguments to update one EntityType.
     * @example
     * // Update one EntityType
     * const entityType = await prisma.entityType.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends EntityTypeUpdateArgs>(args: SelectSubset<T, EntityTypeUpdateArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more EntityTypes.
     * @param {EntityTypeDeleteManyArgs} args - Arguments to filter EntityTypes to delete.
     * @example
     * // Delete a few EntityTypes
     * const { count } = await prisma.entityType.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends EntityTypeDeleteManyArgs>(args?: SelectSubset<T, EntityTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more EntityTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many EntityTypes
     * const entityType = await prisma.entityType.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends EntityTypeUpdateManyArgs>(args: SelectSubset<T, EntityTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one EntityType.
     * @param {EntityTypeUpsertArgs} args - Arguments to update or create a EntityType.
     * @example
     * // Update or create a EntityType
     * const entityType = await prisma.entityType.upsert({
     *   create: {
     *     // ... data to create a EntityType
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the EntityType we want to update
     *   }
     * })
     */
    upsert<T extends EntityTypeUpsertArgs>(args: SelectSubset<T, EntityTypeUpsertArgs<ExtArgs>>): Prisma__EntityTypeClient<$Result.GetResult<Prisma.$EntityTypePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of EntityTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeCountArgs} args - Arguments to filter EntityTypes to count.
     * @example
     * // Count the number of EntityTypes
     * const count = await prisma.entityType.count({
     *   where: {
     *     // ... the filter for the EntityTypes we want to count
     *   }
     * })
    **/
    count<T extends EntityTypeCountArgs>(
      args?: Subset<T, EntityTypeCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], EntityTypeCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a EntityType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends EntityTypeAggregateArgs>(args: Subset<T, EntityTypeAggregateArgs>): Prisma.PrismaPromise<GetEntityTypeAggregateType<T>>

    /**
     * Group by EntityType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EntityTypeGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends EntityTypeGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: EntityTypeGroupByArgs['orderBy'] }
        : { orderBy?: EntityTypeGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, EntityTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the EntityType model
   */
  readonly fields: EntityTypeFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for EntityType.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__EntityTypeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the EntityType model
   */ 
  interface EntityTypeFieldRefs {
    readonly id: FieldRef<"EntityType", 'Int'>
    readonly name: FieldRef<"EntityType", 'String'>
    readonly slug: FieldRef<"EntityType", 'String'>
    readonly description: FieldRef<"EntityType", 'String'>
    readonly company_id: FieldRef<"EntityType", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * EntityType findUnique
   */
  export type EntityTypeFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter, which EntityType to fetch.
     */
    where: EntityTypeWhereUniqueInput
  }

  /**
   * EntityType findUniqueOrThrow
   */
  export type EntityTypeFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter, which EntityType to fetch.
     */
    where: EntityTypeWhereUniqueInput
  }

  /**
   * EntityType findFirst
   */
  export type EntityTypeFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter, which EntityType to fetch.
     */
    where?: EntityTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EntityTypes to fetch.
     */
    orderBy?: EntityTypeOrderByWithRelationInput | EntityTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EntityTypes.
     */
    cursor?: EntityTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EntityTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EntityTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EntityTypes.
     */
    distinct?: EntityTypeScalarFieldEnum | EntityTypeScalarFieldEnum[]
  }

  /**
   * EntityType findFirstOrThrow
   */
  export type EntityTypeFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter, which EntityType to fetch.
     */
    where?: EntityTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EntityTypes to fetch.
     */
    orderBy?: EntityTypeOrderByWithRelationInput | EntityTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EntityTypes.
     */
    cursor?: EntityTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EntityTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EntityTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EntityTypes.
     */
    distinct?: EntityTypeScalarFieldEnum | EntityTypeScalarFieldEnum[]
  }

  /**
   * EntityType findMany
   */
  export type EntityTypeFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter, which EntityTypes to fetch.
     */
    where?: EntityTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EntityTypes to fetch.
     */
    orderBy?: EntityTypeOrderByWithRelationInput | EntityTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing EntityTypes.
     */
    cursor?: EntityTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EntityTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EntityTypes.
     */
    skip?: number
    distinct?: EntityTypeScalarFieldEnum | EntityTypeScalarFieldEnum[]
  }

  /**
   * EntityType create
   */
  export type EntityTypeCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * The data needed to create a EntityType.
     */
    data: XOR<EntityTypeCreateInput, EntityTypeUncheckedCreateInput>
  }

  /**
   * EntityType createMany
   */
  export type EntityTypeCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many EntityTypes.
     */
    data: EntityTypeCreateManyInput | EntityTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * EntityType createManyAndReturn
   */
  export type EntityTypeCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many EntityTypes.
     */
    data: EntityTypeCreateManyInput | EntityTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * EntityType update
   */
  export type EntityTypeUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * The data needed to update a EntityType.
     */
    data: XOR<EntityTypeUpdateInput, EntityTypeUncheckedUpdateInput>
    /**
     * Choose, which EntityType to update.
     */
    where: EntityTypeWhereUniqueInput
  }

  /**
   * EntityType updateMany
   */
  export type EntityTypeUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update EntityTypes.
     */
    data: XOR<EntityTypeUpdateManyMutationInput, EntityTypeUncheckedUpdateManyInput>
    /**
     * Filter which EntityTypes to update
     */
    where?: EntityTypeWhereInput
  }

  /**
   * EntityType upsert
   */
  export type EntityTypeUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * The filter to search for the EntityType to update in case it exists.
     */
    where: EntityTypeWhereUniqueInput
    /**
     * In case the EntityType found by the `where` argument doesn't exist, create a new EntityType with this data.
     */
    create: XOR<EntityTypeCreateInput, EntityTypeUncheckedCreateInput>
    /**
     * In case the EntityType was found with the provided `where` argument, update it with this data.
     */
    update: XOR<EntityTypeUpdateInput, EntityTypeUncheckedUpdateInput>
  }

  /**
   * EntityType delete
   */
  export type EntityTypeDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
    /**
     * Filter which EntityType to delete.
     */
    where: EntityTypeWhereUniqueInput
  }

  /**
   * EntityType deleteMany
   */
  export type EntityTypeDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EntityTypes to delete
     */
    where?: EntityTypeWhereInput
  }

  /**
   * EntityType without action
   */
  export type EntityTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EntityType
     */
    select?: EntityTypeSelect<ExtArgs> | null
  }


  /**
   * Model WizardGroup
   */

  export type AggregateWizardGroup = {
    _count: WizardGroupCountAggregateOutputType | null
    _avg: WizardGroupAvgAggregateOutputType | null
    _sum: WizardGroupSumAggregateOutputType | null
    _min: WizardGroupMinAggregateOutputType | null
    _max: WizardGroupMaxAggregateOutputType | null
  }

  export type WizardGroupAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type WizardGroupSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type WizardGroupMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
    created_at: Date | null
    company_id: number | null
  }

  export type WizardGroupMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
    created_at: Date | null
    company_id: number | null
  }

  export type WizardGroupCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    status_id: number
    created_at: number
    company_id: number
    _all: number
  }


  export type WizardGroupAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type WizardGroupSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type WizardGroupMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    created_at?: true
    company_id?: true
  }

  export type WizardGroupMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    created_at?: true
    company_id?: true
  }

  export type WizardGroupCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    created_at?: true
    company_id?: true
    _all?: true
  }

  export type WizardGroupAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which WizardGroup to aggregate.
     */
    where?: WizardGroupWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardGroups to fetch.
     */
    orderBy?: WizardGroupOrderByWithRelationInput | WizardGroupOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: WizardGroupWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardGroups from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardGroups.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned WizardGroups
    **/
    _count?: true | WizardGroupCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: WizardGroupAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: WizardGroupSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: WizardGroupMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: WizardGroupMaxAggregateInputType
  }

  export type GetWizardGroupAggregateType<T extends WizardGroupAggregateArgs> = {
        [P in keyof T & keyof AggregateWizardGroup]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateWizardGroup[P]>
      : GetScalarType<T[P], AggregateWizardGroup[P]>
  }




  export type WizardGroupGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: WizardGroupWhereInput
    orderBy?: WizardGroupOrderByWithAggregationInput | WizardGroupOrderByWithAggregationInput[]
    by: WizardGroupScalarFieldEnum[] | WizardGroupScalarFieldEnum
    having?: WizardGroupScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: WizardGroupCountAggregateInputType | true
    _avg?: WizardGroupAvgAggregateInputType
    _sum?: WizardGroupSumAggregateInputType
    _min?: WizardGroupMinAggregateInputType
    _max?: WizardGroupMaxAggregateInputType
  }

  export type WizardGroupGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string | null
    description: string | null
    status_id: number
    created_at: Date
    company_id: number
    _count: WizardGroupCountAggregateOutputType | null
    _avg: WizardGroupAvgAggregateOutputType | null
    _sum: WizardGroupSumAggregateOutputType | null
    _min: WizardGroupMinAggregateOutputType | null
    _max: WizardGroupMaxAggregateOutputType | null
  }

  type GetWizardGroupGroupByPayload<T extends WizardGroupGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<WizardGroupGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof WizardGroupGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], WizardGroupGroupByOutputType[P]>
            : GetScalarType<T[P], WizardGroupGroupByOutputType[P]>
        }
      >
    >


  export type WizardGroupSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    created_at?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["wizardGroup"]>

  export type WizardGroupSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    created_at?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["wizardGroup"]>

  export type WizardGroupSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    created_at?: boolean
    company_id?: boolean
  }


  export type $WizardGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "WizardGroup"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string | null
      description: string | null
      status_id: number
      created_at: Date
      company_id: number
    }, ExtArgs["result"]["wizardGroup"]>
    composites: {}
  }

  type WizardGroupGetPayload<S extends boolean | null | undefined | WizardGroupDefaultArgs> = $Result.GetResult<Prisma.$WizardGroupPayload, S>

  type WizardGroupCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<WizardGroupFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: WizardGroupCountAggregateInputType | true
    }

  export interface WizardGroupDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WizardGroup'], meta: { name: 'WizardGroup' } }
    /**
     * Find zero or one WizardGroup that matches the filter.
     * @param {WizardGroupFindUniqueArgs} args - Arguments to find a WizardGroup
     * @example
     * // Get one WizardGroup
     * const wizardGroup = await prisma.wizardGroup.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends WizardGroupFindUniqueArgs>(args: SelectSubset<T, WizardGroupFindUniqueArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one WizardGroup that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {WizardGroupFindUniqueOrThrowArgs} args - Arguments to find a WizardGroup
     * @example
     * // Get one WizardGroup
     * const wizardGroup = await prisma.wizardGroup.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends WizardGroupFindUniqueOrThrowArgs>(args: SelectSubset<T, WizardGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first WizardGroup that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupFindFirstArgs} args - Arguments to find a WizardGroup
     * @example
     * // Get one WizardGroup
     * const wizardGroup = await prisma.wizardGroup.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends WizardGroupFindFirstArgs>(args?: SelectSubset<T, WizardGroupFindFirstArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first WizardGroup that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupFindFirstOrThrowArgs} args - Arguments to find a WizardGroup
     * @example
     * // Get one WizardGroup
     * const wizardGroup = await prisma.wizardGroup.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends WizardGroupFindFirstOrThrowArgs>(args?: SelectSubset<T, WizardGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more WizardGroups that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all WizardGroups
     * const wizardGroups = await prisma.wizardGroup.findMany()
     * 
     * // Get first 10 WizardGroups
     * const wizardGroups = await prisma.wizardGroup.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const wizardGroupWithIdOnly = await prisma.wizardGroup.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends WizardGroupFindManyArgs>(args?: SelectSubset<T, WizardGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a WizardGroup.
     * @param {WizardGroupCreateArgs} args - Arguments to create a WizardGroup.
     * @example
     * // Create one WizardGroup
     * const WizardGroup = await prisma.wizardGroup.create({
     *   data: {
     *     // ... data to create a WizardGroup
     *   }
     * })
     * 
     */
    create<T extends WizardGroupCreateArgs>(args: SelectSubset<T, WizardGroupCreateArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many WizardGroups.
     * @param {WizardGroupCreateManyArgs} args - Arguments to create many WizardGroups.
     * @example
     * // Create many WizardGroups
     * const wizardGroup = await prisma.wizardGroup.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends WizardGroupCreateManyArgs>(args?: SelectSubset<T, WizardGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many WizardGroups and returns the data saved in the database.
     * @param {WizardGroupCreateManyAndReturnArgs} args - Arguments to create many WizardGroups.
     * @example
     * // Create many WizardGroups
     * const wizardGroup = await prisma.wizardGroup.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many WizardGroups and only return the `id`
     * const wizardGroupWithIdOnly = await prisma.wizardGroup.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends WizardGroupCreateManyAndReturnArgs>(args?: SelectSubset<T, WizardGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a WizardGroup.
     * @param {WizardGroupDeleteArgs} args - Arguments to delete one WizardGroup.
     * @example
     * // Delete one WizardGroup
     * const WizardGroup = await prisma.wizardGroup.delete({
     *   where: {
     *     // ... filter to delete one WizardGroup
     *   }
     * })
     * 
     */
    delete<T extends WizardGroupDeleteArgs>(args: SelectSubset<T, WizardGroupDeleteArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one WizardGroup.
     * @param {WizardGroupUpdateArgs} args - Arguments to update one WizardGroup.
     * @example
     * // Update one WizardGroup
     * const wizardGroup = await prisma.wizardGroup.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends WizardGroupUpdateArgs>(args: SelectSubset<T, WizardGroupUpdateArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more WizardGroups.
     * @param {WizardGroupDeleteManyArgs} args - Arguments to filter WizardGroups to delete.
     * @example
     * // Delete a few WizardGroups
     * const { count } = await prisma.wizardGroup.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends WizardGroupDeleteManyArgs>(args?: SelectSubset<T, WizardGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more WizardGroups.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many WizardGroups
     * const wizardGroup = await prisma.wizardGroup.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends WizardGroupUpdateManyArgs>(args: SelectSubset<T, WizardGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one WizardGroup.
     * @param {WizardGroupUpsertArgs} args - Arguments to update or create a WizardGroup.
     * @example
     * // Update or create a WizardGroup
     * const wizardGroup = await prisma.wizardGroup.upsert({
     *   create: {
     *     // ... data to create a WizardGroup
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the WizardGroup we want to update
     *   }
     * })
     */
    upsert<T extends WizardGroupUpsertArgs>(args: SelectSubset<T, WizardGroupUpsertArgs<ExtArgs>>): Prisma__WizardGroupClient<$Result.GetResult<Prisma.$WizardGroupPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of WizardGroups.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupCountArgs} args - Arguments to filter WizardGroups to count.
     * @example
     * // Count the number of WizardGroups
     * const count = await prisma.wizardGroup.count({
     *   where: {
     *     // ... the filter for the WizardGroups we want to count
     *   }
     * })
    **/
    count<T extends WizardGroupCountArgs>(
      args?: Subset<T, WizardGroupCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], WizardGroupCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a WizardGroup.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends WizardGroupAggregateArgs>(args: Subset<T, WizardGroupAggregateArgs>): Prisma.PrismaPromise<GetWizardGroupAggregateType<T>>

    /**
     * Group by WizardGroup.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardGroupGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends WizardGroupGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: WizardGroupGroupByArgs['orderBy'] }
        : { orderBy?: WizardGroupGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, WizardGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWizardGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the WizardGroup model
   */
  readonly fields: WizardGroupFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for WizardGroup.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__WizardGroupClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the WizardGroup model
   */ 
  interface WizardGroupFieldRefs {
    readonly id: FieldRef<"WizardGroup", 'Int'>
    readonly uuid: FieldRef<"WizardGroup", 'String'>
    readonly name: FieldRef<"WizardGroup", 'String'>
    readonly slug: FieldRef<"WizardGroup", 'String'>
    readonly description: FieldRef<"WizardGroup", 'String'>
    readonly status_id: FieldRef<"WizardGroup", 'Int'>
    readonly created_at: FieldRef<"WizardGroup", 'DateTime'>
    readonly company_id: FieldRef<"WizardGroup", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * WizardGroup findUnique
   */
  export type WizardGroupFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter, which WizardGroup to fetch.
     */
    where: WizardGroupWhereUniqueInput
  }

  /**
   * WizardGroup findUniqueOrThrow
   */
  export type WizardGroupFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter, which WizardGroup to fetch.
     */
    where: WizardGroupWhereUniqueInput
  }

  /**
   * WizardGroup findFirst
   */
  export type WizardGroupFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter, which WizardGroup to fetch.
     */
    where?: WizardGroupWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardGroups to fetch.
     */
    orderBy?: WizardGroupOrderByWithRelationInput | WizardGroupOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for WizardGroups.
     */
    cursor?: WizardGroupWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardGroups from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardGroups.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of WizardGroups.
     */
    distinct?: WizardGroupScalarFieldEnum | WizardGroupScalarFieldEnum[]
  }

  /**
   * WizardGroup findFirstOrThrow
   */
  export type WizardGroupFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter, which WizardGroup to fetch.
     */
    where?: WizardGroupWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardGroups to fetch.
     */
    orderBy?: WizardGroupOrderByWithRelationInput | WizardGroupOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for WizardGroups.
     */
    cursor?: WizardGroupWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardGroups from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardGroups.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of WizardGroups.
     */
    distinct?: WizardGroupScalarFieldEnum | WizardGroupScalarFieldEnum[]
  }

  /**
   * WizardGroup findMany
   */
  export type WizardGroupFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter, which WizardGroups to fetch.
     */
    where?: WizardGroupWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardGroups to fetch.
     */
    orderBy?: WizardGroupOrderByWithRelationInput | WizardGroupOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing WizardGroups.
     */
    cursor?: WizardGroupWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardGroups from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardGroups.
     */
    skip?: number
    distinct?: WizardGroupScalarFieldEnum | WizardGroupScalarFieldEnum[]
  }

  /**
   * WizardGroup create
   */
  export type WizardGroupCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * The data needed to create a WizardGroup.
     */
    data: XOR<WizardGroupCreateInput, WizardGroupUncheckedCreateInput>
  }

  /**
   * WizardGroup createMany
   */
  export type WizardGroupCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many WizardGroups.
     */
    data: WizardGroupCreateManyInput | WizardGroupCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * WizardGroup createManyAndReturn
   */
  export type WizardGroupCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many WizardGroups.
     */
    data: WizardGroupCreateManyInput | WizardGroupCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * WizardGroup update
   */
  export type WizardGroupUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * The data needed to update a WizardGroup.
     */
    data: XOR<WizardGroupUpdateInput, WizardGroupUncheckedUpdateInput>
    /**
     * Choose, which WizardGroup to update.
     */
    where: WizardGroupWhereUniqueInput
  }

  /**
   * WizardGroup updateMany
   */
  export type WizardGroupUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update WizardGroups.
     */
    data: XOR<WizardGroupUpdateManyMutationInput, WizardGroupUncheckedUpdateManyInput>
    /**
     * Filter which WizardGroups to update
     */
    where?: WizardGroupWhereInput
  }

  /**
   * WizardGroup upsert
   */
  export type WizardGroupUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * The filter to search for the WizardGroup to update in case it exists.
     */
    where: WizardGroupWhereUniqueInput
    /**
     * In case the WizardGroup found by the `where` argument doesn't exist, create a new WizardGroup with this data.
     */
    create: XOR<WizardGroupCreateInput, WizardGroupUncheckedCreateInput>
    /**
     * In case the WizardGroup was found with the provided `where` argument, update it with this data.
     */
    update: XOR<WizardGroupUpdateInput, WizardGroupUncheckedUpdateInput>
  }

  /**
   * WizardGroup delete
   */
  export type WizardGroupDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
    /**
     * Filter which WizardGroup to delete.
     */
    where: WizardGroupWhereUniqueInput
  }

  /**
   * WizardGroup deleteMany
   */
  export type WizardGroupDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which WizardGroups to delete
     */
    where?: WizardGroupWhereInput
  }

  /**
   * WizardGroup without action
   */
  export type WizardGroupDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardGroup
     */
    select?: WizardGroupSelect<ExtArgs> | null
  }


  /**
   * Model WizardType
   */

  export type AggregateWizardType = {
    _count: WizardTypeCountAggregateOutputType | null
    _avg: WizardTypeAvgAggregateOutputType | null
    _sum: WizardTypeSumAggregateOutputType | null
    _min: WizardTypeMinAggregateOutputType | null
    _max: WizardTypeMaxAggregateOutputType | null
  }

  export type WizardTypeAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type WizardTypeSumAggregateOutputType = {
    id: number | null
    company_id: number | null
  }

  export type WizardTypeMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    company_id: number | null
  }

  export type WizardTypeMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    company_id: number | null
  }

  export type WizardTypeCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    description: number
    company_id: number
    _all: number
  }


  export type WizardTypeAvgAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type WizardTypeSumAggregateInputType = {
    id?: true
    company_id?: true
  }

  export type WizardTypeMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    company_id?: true
  }

  export type WizardTypeMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    company_id?: true
  }

  export type WizardTypeCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    company_id?: true
    _all?: true
  }

  export type WizardTypeAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which WizardType to aggregate.
     */
    where?: WizardTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardTypes to fetch.
     */
    orderBy?: WizardTypeOrderByWithRelationInput | WizardTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: WizardTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned WizardTypes
    **/
    _count?: true | WizardTypeCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: WizardTypeAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: WizardTypeSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: WizardTypeMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: WizardTypeMaxAggregateInputType
  }

  export type GetWizardTypeAggregateType<T extends WizardTypeAggregateArgs> = {
        [P in keyof T & keyof AggregateWizardType]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateWizardType[P]>
      : GetScalarType<T[P], AggregateWizardType[P]>
  }




  export type WizardTypeGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: WizardTypeWhereInput
    orderBy?: WizardTypeOrderByWithAggregationInput | WizardTypeOrderByWithAggregationInput[]
    by: WizardTypeScalarFieldEnum[] | WizardTypeScalarFieldEnum
    having?: WizardTypeScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: WizardTypeCountAggregateInputType | true
    _avg?: WizardTypeAvgAggregateInputType
    _sum?: WizardTypeSumAggregateInputType
    _min?: WizardTypeMinAggregateInputType
    _max?: WizardTypeMaxAggregateInputType
  }

  export type WizardTypeGroupByOutputType = {
    id: number
    uuid: string
    name: string
    description: string | null
    company_id: number
    _count: WizardTypeCountAggregateOutputType | null
    _avg: WizardTypeAvgAggregateOutputType | null
    _sum: WizardTypeSumAggregateOutputType | null
    _min: WizardTypeMinAggregateOutputType | null
    _max: WizardTypeMaxAggregateOutputType | null
  }

  type GetWizardTypeGroupByPayload<T extends WizardTypeGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<WizardTypeGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof WizardTypeGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], WizardTypeGroupByOutputType[P]>
            : GetScalarType<T[P], WizardTypeGroupByOutputType[P]>
        }
      >
    >


  export type WizardTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["wizardType"]>

  export type WizardTypeSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["wizardType"]>

  export type WizardTypeSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
  }


  export type $WizardTypePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "WizardType"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      description: string | null
      company_id: number
    }, ExtArgs["result"]["wizardType"]>
    composites: {}
  }

  type WizardTypeGetPayload<S extends boolean | null | undefined | WizardTypeDefaultArgs> = $Result.GetResult<Prisma.$WizardTypePayload, S>

  type WizardTypeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<WizardTypeFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: WizardTypeCountAggregateInputType | true
    }

  export interface WizardTypeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WizardType'], meta: { name: 'WizardType' } }
    /**
     * Find zero or one WizardType that matches the filter.
     * @param {WizardTypeFindUniqueArgs} args - Arguments to find a WizardType
     * @example
     * // Get one WizardType
     * const wizardType = await prisma.wizardType.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends WizardTypeFindUniqueArgs>(args: SelectSubset<T, WizardTypeFindUniqueArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one WizardType that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {WizardTypeFindUniqueOrThrowArgs} args - Arguments to find a WizardType
     * @example
     * // Get one WizardType
     * const wizardType = await prisma.wizardType.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends WizardTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, WizardTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first WizardType that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeFindFirstArgs} args - Arguments to find a WizardType
     * @example
     * // Get one WizardType
     * const wizardType = await prisma.wizardType.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends WizardTypeFindFirstArgs>(args?: SelectSubset<T, WizardTypeFindFirstArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first WizardType that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeFindFirstOrThrowArgs} args - Arguments to find a WizardType
     * @example
     * // Get one WizardType
     * const wizardType = await prisma.wizardType.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends WizardTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, WizardTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more WizardTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all WizardTypes
     * const wizardTypes = await prisma.wizardType.findMany()
     * 
     * // Get first 10 WizardTypes
     * const wizardTypes = await prisma.wizardType.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const wizardTypeWithIdOnly = await prisma.wizardType.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends WizardTypeFindManyArgs>(args?: SelectSubset<T, WizardTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a WizardType.
     * @param {WizardTypeCreateArgs} args - Arguments to create a WizardType.
     * @example
     * // Create one WizardType
     * const WizardType = await prisma.wizardType.create({
     *   data: {
     *     // ... data to create a WizardType
     *   }
     * })
     * 
     */
    create<T extends WizardTypeCreateArgs>(args: SelectSubset<T, WizardTypeCreateArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many WizardTypes.
     * @param {WizardTypeCreateManyArgs} args - Arguments to create many WizardTypes.
     * @example
     * // Create many WizardTypes
     * const wizardType = await prisma.wizardType.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends WizardTypeCreateManyArgs>(args?: SelectSubset<T, WizardTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many WizardTypes and returns the data saved in the database.
     * @param {WizardTypeCreateManyAndReturnArgs} args - Arguments to create many WizardTypes.
     * @example
     * // Create many WizardTypes
     * const wizardType = await prisma.wizardType.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many WizardTypes and only return the `id`
     * const wizardTypeWithIdOnly = await prisma.wizardType.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends WizardTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, WizardTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a WizardType.
     * @param {WizardTypeDeleteArgs} args - Arguments to delete one WizardType.
     * @example
     * // Delete one WizardType
     * const WizardType = await prisma.wizardType.delete({
     *   where: {
     *     // ... filter to delete one WizardType
     *   }
     * })
     * 
     */
    delete<T extends WizardTypeDeleteArgs>(args: SelectSubset<T, WizardTypeDeleteArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one WizardType.
     * @param {WizardTypeUpdateArgs} args - Arguments to update one WizardType.
     * @example
     * // Update one WizardType
     * const wizardType = await prisma.wizardType.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends WizardTypeUpdateArgs>(args: SelectSubset<T, WizardTypeUpdateArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more WizardTypes.
     * @param {WizardTypeDeleteManyArgs} args - Arguments to filter WizardTypes to delete.
     * @example
     * // Delete a few WizardTypes
     * const { count } = await prisma.wizardType.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends WizardTypeDeleteManyArgs>(args?: SelectSubset<T, WizardTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more WizardTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many WizardTypes
     * const wizardType = await prisma.wizardType.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends WizardTypeUpdateManyArgs>(args: SelectSubset<T, WizardTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one WizardType.
     * @param {WizardTypeUpsertArgs} args - Arguments to update or create a WizardType.
     * @example
     * // Update or create a WizardType
     * const wizardType = await prisma.wizardType.upsert({
     *   create: {
     *     // ... data to create a WizardType
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the WizardType we want to update
     *   }
     * })
     */
    upsert<T extends WizardTypeUpsertArgs>(args: SelectSubset<T, WizardTypeUpsertArgs<ExtArgs>>): Prisma__WizardTypeClient<$Result.GetResult<Prisma.$WizardTypePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of WizardTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeCountArgs} args - Arguments to filter WizardTypes to count.
     * @example
     * // Count the number of WizardTypes
     * const count = await prisma.wizardType.count({
     *   where: {
     *     // ... the filter for the WizardTypes we want to count
     *   }
     * })
    **/
    count<T extends WizardTypeCountArgs>(
      args?: Subset<T, WizardTypeCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], WizardTypeCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a WizardType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends WizardTypeAggregateArgs>(args: Subset<T, WizardTypeAggregateArgs>): Prisma.PrismaPromise<GetWizardTypeAggregateType<T>>

    /**
     * Group by WizardType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {WizardTypeGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends WizardTypeGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: WizardTypeGroupByArgs['orderBy'] }
        : { orderBy?: WizardTypeGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, WizardTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWizardTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the WizardType model
   */
  readonly fields: WizardTypeFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for WizardType.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__WizardTypeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the WizardType model
   */ 
  interface WizardTypeFieldRefs {
    readonly id: FieldRef<"WizardType", 'Int'>
    readonly uuid: FieldRef<"WizardType", 'String'>
    readonly name: FieldRef<"WizardType", 'String'>
    readonly description: FieldRef<"WizardType", 'String'>
    readonly company_id: FieldRef<"WizardType", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * WizardType findUnique
   */
  export type WizardTypeFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter, which WizardType to fetch.
     */
    where: WizardTypeWhereUniqueInput
  }

  /**
   * WizardType findUniqueOrThrow
   */
  export type WizardTypeFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter, which WizardType to fetch.
     */
    where: WizardTypeWhereUniqueInput
  }

  /**
   * WizardType findFirst
   */
  export type WizardTypeFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter, which WizardType to fetch.
     */
    where?: WizardTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardTypes to fetch.
     */
    orderBy?: WizardTypeOrderByWithRelationInput | WizardTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for WizardTypes.
     */
    cursor?: WizardTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of WizardTypes.
     */
    distinct?: WizardTypeScalarFieldEnum | WizardTypeScalarFieldEnum[]
  }

  /**
   * WizardType findFirstOrThrow
   */
  export type WizardTypeFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter, which WizardType to fetch.
     */
    where?: WizardTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardTypes to fetch.
     */
    orderBy?: WizardTypeOrderByWithRelationInput | WizardTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for WizardTypes.
     */
    cursor?: WizardTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of WizardTypes.
     */
    distinct?: WizardTypeScalarFieldEnum | WizardTypeScalarFieldEnum[]
  }

  /**
   * WizardType findMany
   */
  export type WizardTypeFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter, which WizardTypes to fetch.
     */
    where?: WizardTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of WizardTypes to fetch.
     */
    orderBy?: WizardTypeOrderByWithRelationInput | WizardTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing WizardTypes.
     */
    cursor?: WizardTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` WizardTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` WizardTypes.
     */
    skip?: number
    distinct?: WizardTypeScalarFieldEnum | WizardTypeScalarFieldEnum[]
  }

  /**
   * WizardType create
   */
  export type WizardTypeCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * The data needed to create a WizardType.
     */
    data: XOR<WizardTypeCreateInput, WizardTypeUncheckedCreateInput>
  }

  /**
   * WizardType createMany
   */
  export type WizardTypeCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many WizardTypes.
     */
    data: WizardTypeCreateManyInput | WizardTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * WizardType createManyAndReturn
   */
  export type WizardTypeCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many WizardTypes.
     */
    data: WizardTypeCreateManyInput | WizardTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * WizardType update
   */
  export type WizardTypeUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * The data needed to update a WizardType.
     */
    data: XOR<WizardTypeUpdateInput, WizardTypeUncheckedUpdateInput>
    /**
     * Choose, which WizardType to update.
     */
    where: WizardTypeWhereUniqueInput
  }

  /**
   * WizardType updateMany
   */
  export type WizardTypeUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update WizardTypes.
     */
    data: XOR<WizardTypeUpdateManyMutationInput, WizardTypeUncheckedUpdateManyInput>
    /**
     * Filter which WizardTypes to update
     */
    where?: WizardTypeWhereInput
  }

  /**
   * WizardType upsert
   */
  export type WizardTypeUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * The filter to search for the WizardType to update in case it exists.
     */
    where: WizardTypeWhereUniqueInput
    /**
     * In case the WizardType found by the `where` argument doesn't exist, create a new WizardType with this data.
     */
    create: XOR<WizardTypeCreateInput, WizardTypeUncheckedCreateInput>
    /**
     * In case the WizardType was found with the provided `where` argument, update it with this data.
     */
    update: XOR<WizardTypeUpdateInput, WizardTypeUncheckedUpdateInput>
  }

  /**
   * WizardType delete
   */
  export type WizardTypeDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
    /**
     * Filter which WizardType to delete.
     */
    where: WizardTypeWhereUniqueInput
  }

  /**
   * WizardType deleteMany
   */
  export type WizardTypeDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which WizardTypes to delete
     */
    where?: WizardTypeWhereInput
  }

  /**
   * WizardType without action
   */
  export type WizardTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the WizardType
     */
    select?: WizardTypeSelect<ExtArgs> | null
  }


  /**
   * Model AboutLCP
   */

  export type AggregateAboutLCP = {
    _count: AboutLCPCountAggregateOutputType | null
    _avg: AboutLCPAvgAggregateOutputType | null
    _sum: AboutLCPSumAggregateOutputType | null
    _min: AboutLCPMinAggregateOutputType | null
    _max: AboutLCPMaxAggregateOutputType | null
  }

  export type AboutLCPAvgAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type AboutLCPSumAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type AboutLCPMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    type: $Enums.aboutType | null
    name: string | null
    description: string | null
    order_no: Decimal | null
    documentation_video_url: string | null
    documentation_pdf: string | null
    documentation_word: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type AboutLCPMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    type: $Enums.aboutType | null
    name: string | null
    description: string | null
    order_no: Decimal | null
    documentation_video_url: string | null
    documentation_pdf: string | null
    documentation_word: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type AboutLCPCountAggregateOutputType = {
    id: number
    uuid: number
    type: number
    name: number
    description: number
    order_no: number
    documentation_video_url: number
    documentation_pdf: number
    documentation_word: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type AboutLCPAvgAggregateInputType = {
    id?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type AboutLCPSumAggregateInputType = {
    id?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type AboutLCPMinAggregateInputType = {
    id?: true
    uuid?: true
    type?: true
    name?: true
    description?: true
    order_no?: true
    documentation_video_url?: true
    documentation_pdf?: true
    documentation_word?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type AboutLCPMaxAggregateInputType = {
    id?: true
    uuid?: true
    type?: true
    name?: true
    description?: true
    order_no?: true
    documentation_video_url?: true
    documentation_pdf?: true
    documentation_word?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type AboutLCPCountAggregateInputType = {
    id?: true
    uuid?: true
    type?: true
    name?: true
    description?: true
    order_no?: true
    documentation_video_url?: true
    documentation_pdf?: true
    documentation_word?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type AboutLCPAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which AboutLCP to aggregate.
     */
    where?: AboutLCPWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AboutLCPS to fetch.
     */
    orderBy?: AboutLCPOrderByWithRelationInput | AboutLCPOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: AboutLCPWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AboutLCPS from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AboutLCPS.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned AboutLCPS
    **/
    _count?: true | AboutLCPCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: AboutLCPAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: AboutLCPSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: AboutLCPMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: AboutLCPMaxAggregateInputType
  }

  export type GetAboutLCPAggregateType<T extends AboutLCPAggregateArgs> = {
        [P in keyof T & keyof AggregateAboutLCP]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateAboutLCP[P]>
      : GetScalarType<T[P], AggregateAboutLCP[P]>
  }




  export type AboutLCPGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AboutLCPWhereInput
    orderBy?: AboutLCPOrderByWithAggregationInput | AboutLCPOrderByWithAggregationInput[]
    by: AboutLCPScalarFieldEnum[] | AboutLCPScalarFieldEnum
    having?: AboutLCPScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: AboutLCPCountAggregateInputType | true
    _avg?: AboutLCPAvgAggregateInputType
    _sum?: AboutLCPSumAggregateInputType
    _min?: AboutLCPMinAggregateInputType
    _max?: AboutLCPMaxAggregateInputType
  }

  export type AboutLCPGroupByOutputType = {
    id: number
    uuid: string
    type: $Enums.aboutType
    name: string
    description: string | null
    order_no: Decimal | null
    documentation_video_url: string | null
    documentation_pdf: string | null
    documentation_word: string | null
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: AboutLCPCountAggregateOutputType | null
    _avg: AboutLCPAvgAggregateOutputType | null
    _sum: AboutLCPSumAggregateOutputType | null
    _min: AboutLCPMinAggregateOutputType | null
    _max: AboutLCPMaxAggregateOutputType | null
  }

  type GetAboutLCPGroupByPayload<T extends AboutLCPGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<AboutLCPGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof AboutLCPGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], AboutLCPGroupByOutputType[P]>
            : GetScalarType<T[P], AboutLCPGroupByOutputType[P]>
        }
      >
    >


  export type AboutLCPSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    type?: boolean
    name?: boolean
    description?: boolean
    order_no?: boolean
    documentation_video_url?: boolean
    documentation_pdf?: boolean
    documentation_word?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["aboutLCP"]>

  export type AboutLCPSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    type?: boolean
    name?: boolean
    description?: boolean
    order_no?: boolean
    documentation_video_url?: boolean
    documentation_pdf?: boolean
    documentation_word?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["aboutLCP"]>

  export type AboutLCPSelectScalar = {
    id?: boolean
    uuid?: boolean
    type?: boolean
    name?: boolean
    description?: boolean
    order_no?: boolean
    documentation_video_url?: boolean
    documentation_pdf?: boolean
    documentation_word?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type AboutLCPInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type AboutLCPIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $AboutLCPPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "AboutLCP"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      type: $Enums.aboutType
      name: string
      description: string | null
      order_no: Prisma.Decimal | null
      documentation_video_url: string | null
      documentation_pdf: string | null
      documentation_word: string | null
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["aboutLCP"]>
    composites: {}
  }

  type AboutLCPGetPayload<S extends boolean | null | undefined | AboutLCPDefaultArgs> = $Result.GetResult<Prisma.$AboutLCPPayload, S>

  type AboutLCPCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<AboutLCPFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: AboutLCPCountAggregateInputType | true
    }

  export interface AboutLCPDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AboutLCP'], meta: { name: 'AboutLCP' } }
    /**
     * Find zero or one AboutLCP that matches the filter.
     * @param {AboutLCPFindUniqueArgs} args - Arguments to find a AboutLCP
     * @example
     * // Get one AboutLCP
     * const aboutLCP = await prisma.aboutLCP.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends AboutLCPFindUniqueArgs>(args: SelectSubset<T, AboutLCPFindUniqueArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one AboutLCP that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {AboutLCPFindUniqueOrThrowArgs} args - Arguments to find a AboutLCP
     * @example
     * // Get one AboutLCP
     * const aboutLCP = await prisma.aboutLCP.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends AboutLCPFindUniqueOrThrowArgs>(args: SelectSubset<T, AboutLCPFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first AboutLCP that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPFindFirstArgs} args - Arguments to find a AboutLCP
     * @example
     * // Get one AboutLCP
     * const aboutLCP = await prisma.aboutLCP.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends AboutLCPFindFirstArgs>(args?: SelectSubset<T, AboutLCPFindFirstArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first AboutLCP that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPFindFirstOrThrowArgs} args - Arguments to find a AboutLCP
     * @example
     * // Get one AboutLCP
     * const aboutLCP = await prisma.aboutLCP.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends AboutLCPFindFirstOrThrowArgs>(args?: SelectSubset<T, AboutLCPFindFirstOrThrowArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more AboutLCPS that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all AboutLCPS
     * const aboutLCPS = await prisma.aboutLCP.findMany()
     * 
     * // Get first 10 AboutLCPS
     * const aboutLCPS = await prisma.aboutLCP.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const aboutLCPWithIdOnly = await prisma.aboutLCP.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends AboutLCPFindManyArgs>(args?: SelectSubset<T, AboutLCPFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a AboutLCP.
     * @param {AboutLCPCreateArgs} args - Arguments to create a AboutLCP.
     * @example
     * // Create one AboutLCP
     * const AboutLCP = await prisma.aboutLCP.create({
     *   data: {
     *     // ... data to create a AboutLCP
     *   }
     * })
     * 
     */
    create<T extends AboutLCPCreateArgs>(args: SelectSubset<T, AboutLCPCreateArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many AboutLCPS.
     * @param {AboutLCPCreateManyArgs} args - Arguments to create many AboutLCPS.
     * @example
     * // Create many AboutLCPS
     * const aboutLCP = await prisma.aboutLCP.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends AboutLCPCreateManyArgs>(args?: SelectSubset<T, AboutLCPCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many AboutLCPS and returns the data saved in the database.
     * @param {AboutLCPCreateManyAndReturnArgs} args - Arguments to create many AboutLCPS.
     * @example
     * // Create many AboutLCPS
     * const aboutLCP = await prisma.aboutLCP.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many AboutLCPS and only return the `id`
     * const aboutLCPWithIdOnly = await prisma.aboutLCP.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends AboutLCPCreateManyAndReturnArgs>(args?: SelectSubset<T, AboutLCPCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a AboutLCP.
     * @param {AboutLCPDeleteArgs} args - Arguments to delete one AboutLCP.
     * @example
     * // Delete one AboutLCP
     * const AboutLCP = await prisma.aboutLCP.delete({
     *   where: {
     *     // ... filter to delete one AboutLCP
     *   }
     * })
     * 
     */
    delete<T extends AboutLCPDeleteArgs>(args: SelectSubset<T, AboutLCPDeleteArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one AboutLCP.
     * @param {AboutLCPUpdateArgs} args - Arguments to update one AboutLCP.
     * @example
     * // Update one AboutLCP
     * const aboutLCP = await prisma.aboutLCP.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends AboutLCPUpdateArgs>(args: SelectSubset<T, AboutLCPUpdateArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more AboutLCPS.
     * @param {AboutLCPDeleteManyArgs} args - Arguments to filter AboutLCPS to delete.
     * @example
     * // Delete a few AboutLCPS
     * const { count } = await prisma.aboutLCP.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends AboutLCPDeleteManyArgs>(args?: SelectSubset<T, AboutLCPDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more AboutLCPS.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many AboutLCPS
     * const aboutLCP = await prisma.aboutLCP.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends AboutLCPUpdateManyArgs>(args: SelectSubset<T, AboutLCPUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one AboutLCP.
     * @param {AboutLCPUpsertArgs} args - Arguments to update or create a AboutLCP.
     * @example
     * // Update or create a AboutLCP
     * const aboutLCP = await prisma.aboutLCP.upsert({
     *   create: {
     *     // ... data to create a AboutLCP
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the AboutLCP we want to update
     *   }
     * })
     */
    upsert<T extends AboutLCPUpsertArgs>(args: SelectSubset<T, AboutLCPUpsertArgs<ExtArgs>>): Prisma__AboutLCPClient<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of AboutLCPS.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPCountArgs} args - Arguments to filter AboutLCPS to count.
     * @example
     * // Count the number of AboutLCPS
     * const count = await prisma.aboutLCP.count({
     *   where: {
     *     // ... the filter for the AboutLCPS we want to count
     *   }
     * })
    **/
    count<T extends AboutLCPCountArgs>(
      args?: Subset<T, AboutLCPCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], AboutLCPCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a AboutLCP.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends AboutLCPAggregateArgs>(args: Subset<T, AboutLCPAggregateArgs>): Prisma.PrismaPromise<GetAboutLCPAggregateType<T>>

    /**
     * Group by AboutLCP.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AboutLCPGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends AboutLCPGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: AboutLCPGroupByArgs['orderBy'] }
        : { orderBy?: AboutLCPGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, AboutLCPGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAboutLCPGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the AboutLCP model
   */
  readonly fields: AboutLCPFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for AboutLCP.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__AboutLCPClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the AboutLCP model
   */ 
  interface AboutLCPFieldRefs {
    readonly id: FieldRef<"AboutLCP", 'Int'>
    readonly uuid: FieldRef<"AboutLCP", 'String'>
    readonly type: FieldRef<"AboutLCP", 'aboutType'>
    readonly name: FieldRef<"AboutLCP", 'String'>
    readonly description: FieldRef<"AboutLCP", 'String'>
    readonly order_no: FieldRef<"AboutLCP", 'Decimal'>
    readonly documentation_video_url: FieldRef<"AboutLCP", 'String'>
    readonly documentation_pdf: FieldRef<"AboutLCP", 'String'>
    readonly documentation_word: FieldRef<"AboutLCP", 'String'>
    readonly status_id: FieldRef<"AboutLCP", 'Int'>
    readonly company_id: FieldRef<"AboutLCP", 'Int'>
    readonly created_by: FieldRef<"AboutLCP", 'Int'>
    readonly created_at: FieldRef<"AboutLCP", 'DateTime'>
    readonly updated_by: FieldRef<"AboutLCP", 'Int'>
    readonly updated_at: FieldRef<"AboutLCP", 'DateTime'>
    readonly deleted_by: FieldRef<"AboutLCP", 'Int'>
    readonly deleted_at: FieldRef<"AboutLCP", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * AboutLCP findUnique
   */
  export type AboutLCPFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter, which AboutLCP to fetch.
     */
    where: AboutLCPWhereUniqueInput
  }

  /**
   * AboutLCP findUniqueOrThrow
   */
  export type AboutLCPFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter, which AboutLCP to fetch.
     */
    where: AboutLCPWhereUniqueInput
  }

  /**
   * AboutLCP findFirst
   */
  export type AboutLCPFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter, which AboutLCP to fetch.
     */
    where?: AboutLCPWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AboutLCPS to fetch.
     */
    orderBy?: AboutLCPOrderByWithRelationInput | AboutLCPOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for AboutLCPS.
     */
    cursor?: AboutLCPWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AboutLCPS from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AboutLCPS.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of AboutLCPS.
     */
    distinct?: AboutLCPScalarFieldEnum | AboutLCPScalarFieldEnum[]
  }

  /**
   * AboutLCP findFirstOrThrow
   */
  export type AboutLCPFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter, which AboutLCP to fetch.
     */
    where?: AboutLCPWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AboutLCPS to fetch.
     */
    orderBy?: AboutLCPOrderByWithRelationInput | AboutLCPOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for AboutLCPS.
     */
    cursor?: AboutLCPWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AboutLCPS from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AboutLCPS.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of AboutLCPS.
     */
    distinct?: AboutLCPScalarFieldEnum | AboutLCPScalarFieldEnum[]
  }

  /**
   * AboutLCP findMany
   */
  export type AboutLCPFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter, which AboutLCPS to fetch.
     */
    where?: AboutLCPWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of AboutLCPS to fetch.
     */
    orderBy?: AboutLCPOrderByWithRelationInput | AboutLCPOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing AboutLCPS.
     */
    cursor?: AboutLCPWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` AboutLCPS from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` AboutLCPS.
     */
    skip?: number
    distinct?: AboutLCPScalarFieldEnum | AboutLCPScalarFieldEnum[]
  }

  /**
   * AboutLCP create
   */
  export type AboutLCPCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * The data needed to create a AboutLCP.
     */
    data: XOR<AboutLCPCreateInput, AboutLCPUncheckedCreateInput>
  }

  /**
   * AboutLCP createMany
   */
  export type AboutLCPCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many AboutLCPS.
     */
    data: AboutLCPCreateManyInput | AboutLCPCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * AboutLCP createManyAndReturn
   */
  export type AboutLCPCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many AboutLCPS.
     */
    data: AboutLCPCreateManyInput | AboutLCPCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * AboutLCP update
   */
  export type AboutLCPUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * The data needed to update a AboutLCP.
     */
    data: XOR<AboutLCPUpdateInput, AboutLCPUncheckedUpdateInput>
    /**
     * Choose, which AboutLCP to update.
     */
    where: AboutLCPWhereUniqueInput
  }

  /**
   * AboutLCP updateMany
   */
  export type AboutLCPUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update AboutLCPS.
     */
    data: XOR<AboutLCPUpdateManyMutationInput, AboutLCPUncheckedUpdateManyInput>
    /**
     * Filter which AboutLCPS to update
     */
    where?: AboutLCPWhereInput
  }

  /**
   * AboutLCP upsert
   */
  export type AboutLCPUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * The filter to search for the AboutLCP to update in case it exists.
     */
    where: AboutLCPWhereUniqueInput
    /**
     * In case the AboutLCP found by the `where` argument doesn't exist, create a new AboutLCP with this data.
     */
    create: XOR<AboutLCPCreateInput, AboutLCPUncheckedCreateInput>
    /**
     * In case the AboutLCP was found with the provided `where` argument, update it with this data.
     */
    update: XOR<AboutLCPUpdateInput, AboutLCPUncheckedUpdateInput>
  }

  /**
   * AboutLCP delete
   */
  export type AboutLCPDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    /**
     * Filter which AboutLCP to delete.
     */
    where: AboutLCPWhereUniqueInput
  }

  /**
   * AboutLCP deleteMany
   */
  export type AboutLCPDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which AboutLCPS to delete
     */
    where?: AboutLCPWhereInput
  }

  /**
   * AboutLCP without action
   */
  export type AboutLCPDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
  }


  /**
   * Model userSearchConfiguration
   */

  export type AggregateUserSearchConfiguration = {
    _count: UserSearchConfigurationCountAggregateOutputType | null
    _avg: UserSearchConfigurationAvgAggregateOutputType | null
    _sum: UserSearchConfigurationSumAggregateOutputType | null
    _min: UserSearchConfigurationMinAggregateOutputType | null
    _max: UserSearchConfigurationMaxAggregateOutputType | null
  }

  export type UserSearchConfigurationAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserSearchConfigurationSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserSearchConfigurationMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    entity_slug: string | null
    view_name: string | null
    is_default: boolean | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type UserSearchConfigurationMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    entity_slug: string | null
    view_name: string | null
    is_default: boolean | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type UserSearchConfigurationCountAggregateOutputType = {
    id: number
    uuid: number
    user_id: number
    entity_slug: number
    view_name: number
    is_default: number
    search_values: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type UserSearchConfigurationAvgAggregateInputType = {
    id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserSearchConfigurationSumAggregateInputType = {
    id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserSearchConfigurationMinAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    entity_slug?: true
    view_name?: true
    is_default?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type UserSearchConfigurationMaxAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    entity_slug?: true
    view_name?: true
    is_default?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type UserSearchConfigurationCountAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    entity_slug?: true
    view_name?: true
    is_default?: true
    search_values?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type UserSearchConfigurationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which userSearchConfiguration to aggregate.
     */
    where?: userSearchConfigurationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of userSearchConfigurations to fetch.
     */
    orderBy?: userSearchConfigurationOrderByWithRelationInput | userSearchConfigurationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: userSearchConfigurationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` userSearchConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` userSearchConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned userSearchConfigurations
    **/
    _count?: true | UserSearchConfigurationCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserSearchConfigurationAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserSearchConfigurationSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserSearchConfigurationMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserSearchConfigurationMaxAggregateInputType
  }

  export type GetUserSearchConfigurationAggregateType<T extends UserSearchConfigurationAggregateArgs> = {
        [P in keyof T & keyof AggregateUserSearchConfiguration]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserSearchConfiguration[P]>
      : GetScalarType<T[P], AggregateUserSearchConfiguration[P]>
  }




  export type userSearchConfigurationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: userSearchConfigurationWhereInput
    orderBy?: userSearchConfigurationOrderByWithAggregationInput | userSearchConfigurationOrderByWithAggregationInput[]
    by: UserSearchConfigurationScalarFieldEnum[] | UserSearchConfigurationScalarFieldEnum
    having?: userSearchConfigurationScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserSearchConfigurationCountAggregateInputType | true
    _avg?: UserSearchConfigurationAvgAggregateInputType
    _sum?: UserSearchConfigurationSumAggregateInputType
    _min?: UserSearchConfigurationMinAggregateInputType
    _max?: UserSearchConfigurationMaxAggregateInputType
  }

  export type UserSearchConfigurationGroupByOutputType = {
    id: number
    uuid: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default: boolean
    search_values: JsonValue | null
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: UserSearchConfigurationCountAggregateOutputType | null
    _avg: UserSearchConfigurationAvgAggregateOutputType | null
    _sum: UserSearchConfigurationSumAggregateOutputType | null
    _min: UserSearchConfigurationMinAggregateOutputType | null
    _max: UserSearchConfigurationMaxAggregateOutputType | null
  }

  type GetUserSearchConfigurationGroupByPayload<T extends userSearchConfigurationGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserSearchConfigurationGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserSearchConfigurationGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserSearchConfigurationGroupByOutputType[P]>
            : GetScalarType<T[P], UserSearchConfigurationGroupByOutputType[P]>
        }
      >
    >


  export type userSearchConfigurationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    entity_slug?: boolean
    view_name?: boolean
    is_default?: boolean
    search_values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userSearchConfiguration"]>

  export type userSearchConfigurationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    entity_slug?: boolean
    view_name?: boolean
    is_default?: boolean
    search_values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userSearchConfiguration"]>

  export type userSearchConfigurationSelectScalar = {
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    entity_slug?: boolean
    view_name?: boolean
    is_default?: boolean
    search_values?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type userSearchConfigurationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type userSearchConfigurationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $userSearchConfigurationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "userSearchConfiguration"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      user_id: number
      entity_slug: string
      view_name: string
      is_default: boolean
      search_values: Prisma.JsonValue | null
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["userSearchConfiguration"]>
    composites: {}
  }

  type userSearchConfigurationGetPayload<S extends boolean | null | undefined | userSearchConfigurationDefaultArgs> = $Result.GetResult<Prisma.$userSearchConfigurationPayload, S>

  type userSearchConfigurationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<userSearchConfigurationFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserSearchConfigurationCountAggregateInputType | true
    }

  export interface userSearchConfigurationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['userSearchConfiguration'], meta: { name: 'userSearchConfiguration' } }
    /**
     * Find zero or one UserSearchConfiguration that matches the filter.
     * @param {userSearchConfigurationFindUniqueArgs} args - Arguments to find a UserSearchConfiguration
     * @example
     * // Get one UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends userSearchConfigurationFindUniqueArgs>(args: SelectSubset<T, userSearchConfigurationFindUniqueArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserSearchConfiguration that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {userSearchConfigurationFindUniqueOrThrowArgs} args - Arguments to find a UserSearchConfiguration
     * @example
     * // Get one UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends userSearchConfigurationFindUniqueOrThrowArgs>(args: SelectSubset<T, userSearchConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserSearchConfiguration that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationFindFirstArgs} args - Arguments to find a UserSearchConfiguration
     * @example
     * // Get one UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends userSearchConfigurationFindFirstArgs>(args?: SelectSubset<T, userSearchConfigurationFindFirstArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserSearchConfiguration that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationFindFirstOrThrowArgs} args - Arguments to find a UserSearchConfiguration
     * @example
     * // Get one UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends userSearchConfigurationFindFirstOrThrowArgs>(args?: SelectSubset<T, userSearchConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserSearchConfigurations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserSearchConfigurations
     * const userSearchConfigurations = await prisma.userSearchConfiguration.findMany()
     * 
     * // Get first 10 UserSearchConfigurations
     * const userSearchConfigurations = await prisma.userSearchConfiguration.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const userSearchConfigurationWithIdOnly = await prisma.userSearchConfiguration.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends userSearchConfigurationFindManyArgs>(args?: SelectSubset<T, userSearchConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserSearchConfiguration.
     * @param {userSearchConfigurationCreateArgs} args - Arguments to create a UserSearchConfiguration.
     * @example
     * // Create one UserSearchConfiguration
     * const UserSearchConfiguration = await prisma.userSearchConfiguration.create({
     *   data: {
     *     // ... data to create a UserSearchConfiguration
     *   }
     * })
     * 
     */
    create<T extends userSearchConfigurationCreateArgs>(args: SelectSubset<T, userSearchConfigurationCreateArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserSearchConfigurations.
     * @param {userSearchConfigurationCreateManyArgs} args - Arguments to create many UserSearchConfigurations.
     * @example
     * // Create many UserSearchConfigurations
     * const userSearchConfiguration = await prisma.userSearchConfiguration.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends userSearchConfigurationCreateManyArgs>(args?: SelectSubset<T, userSearchConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserSearchConfigurations and returns the data saved in the database.
     * @param {userSearchConfigurationCreateManyAndReturnArgs} args - Arguments to create many UserSearchConfigurations.
     * @example
     * // Create many UserSearchConfigurations
     * const userSearchConfiguration = await prisma.userSearchConfiguration.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserSearchConfigurations and only return the `id`
     * const userSearchConfigurationWithIdOnly = await prisma.userSearchConfiguration.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends userSearchConfigurationCreateManyAndReturnArgs>(args?: SelectSubset<T, userSearchConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserSearchConfiguration.
     * @param {userSearchConfigurationDeleteArgs} args - Arguments to delete one UserSearchConfiguration.
     * @example
     * // Delete one UserSearchConfiguration
     * const UserSearchConfiguration = await prisma.userSearchConfiguration.delete({
     *   where: {
     *     // ... filter to delete one UserSearchConfiguration
     *   }
     * })
     * 
     */
    delete<T extends userSearchConfigurationDeleteArgs>(args: SelectSubset<T, userSearchConfigurationDeleteArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserSearchConfiguration.
     * @param {userSearchConfigurationUpdateArgs} args - Arguments to update one UserSearchConfiguration.
     * @example
     * // Update one UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends userSearchConfigurationUpdateArgs>(args: SelectSubset<T, userSearchConfigurationUpdateArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserSearchConfigurations.
     * @param {userSearchConfigurationDeleteManyArgs} args - Arguments to filter UserSearchConfigurations to delete.
     * @example
     * // Delete a few UserSearchConfigurations
     * const { count } = await prisma.userSearchConfiguration.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends userSearchConfigurationDeleteManyArgs>(args?: SelectSubset<T, userSearchConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserSearchConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserSearchConfigurations
     * const userSearchConfiguration = await prisma.userSearchConfiguration.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends userSearchConfigurationUpdateManyArgs>(args: SelectSubset<T, userSearchConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserSearchConfiguration.
     * @param {userSearchConfigurationUpsertArgs} args - Arguments to update or create a UserSearchConfiguration.
     * @example
     * // Update or create a UserSearchConfiguration
     * const userSearchConfiguration = await prisma.userSearchConfiguration.upsert({
     *   create: {
     *     // ... data to create a UserSearchConfiguration
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserSearchConfiguration we want to update
     *   }
     * })
     */
    upsert<T extends userSearchConfigurationUpsertArgs>(args: SelectSubset<T, userSearchConfigurationUpsertArgs<ExtArgs>>): Prisma__userSearchConfigurationClient<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserSearchConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationCountArgs} args - Arguments to filter UserSearchConfigurations to count.
     * @example
     * // Count the number of UserSearchConfigurations
     * const count = await prisma.userSearchConfiguration.count({
     *   where: {
     *     // ... the filter for the UserSearchConfigurations we want to count
     *   }
     * })
    **/
    count<T extends userSearchConfigurationCountArgs>(
      args?: Subset<T, userSearchConfigurationCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserSearchConfigurationCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserSearchConfiguration.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserSearchConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserSearchConfigurationAggregateArgs>(args: Subset<T, UserSearchConfigurationAggregateArgs>): Prisma.PrismaPromise<GetUserSearchConfigurationAggregateType<T>>

    /**
     * Group by UserSearchConfiguration.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {userSearchConfigurationGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends userSearchConfigurationGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: userSearchConfigurationGroupByArgs['orderBy'] }
        : { orderBy?: userSearchConfigurationGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, userSearchConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserSearchConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the userSearchConfiguration model
   */
  readonly fields: userSearchConfigurationFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for userSearchConfiguration.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__userSearchConfigurationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the userSearchConfiguration model
   */ 
  interface userSearchConfigurationFieldRefs {
    readonly id: FieldRef<"userSearchConfiguration", 'Int'>
    readonly uuid: FieldRef<"userSearchConfiguration", 'String'>
    readonly user_id: FieldRef<"userSearchConfiguration", 'Int'>
    readonly entity_slug: FieldRef<"userSearchConfiguration", 'String'>
    readonly view_name: FieldRef<"userSearchConfiguration", 'String'>
    readonly is_default: FieldRef<"userSearchConfiguration", 'Boolean'>
    readonly search_values: FieldRef<"userSearchConfiguration", 'Json'>
    readonly status_id: FieldRef<"userSearchConfiguration", 'Int'>
    readonly company_id: FieldRef<"userSearchConfiguration", 'Int'>
    readonly created_by: FieldRef<"userSearchConfiguration", 'Int'>
    readonly created_at: FieldRef<"userSearchConfiguration", 'DateTime'>
    readonly updated_by: FieldRef<"userSearchConfiguration", 'Int'>
    readonly updated_at: FieldRef<"userSearchConfiguration", 'DateTime'>
    readonly deleted_by: FieldRef<"userSearchConfiguration", 'Int'>
    readonly deleted_at: FieldRef<"userSearchConfiguration", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * userSearchConfiguration findUnique
   */
  export type userSearchConfigurationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter, which userSearchConfiguration to fetch.
     */
    where: userSearchConfigurationWhereUniqueInput
  }

  /**
   * userSearchConfiguration findUniqueOrThrow
   */
  export type userSearchConfigurationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter, which userSearchConfiguration to fetch.
     */
    where: userSearchConfigurationWhereUniqueInput
  }

  /**
   * userSearchConfiguration findFirst
   */
  export type userSearchConfigurationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter, which userSearchConfiguration to fetch.
     */
    where?: userSearchConfigurationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of userSearchConfigurations to fetch.
     */
    orderBy?: userSearchConfigurationOrderByWithRelationInput | userSearchConfigurationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for userSearchConfigurations.
     */
    cursor?: userSearchConfigurationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` userSearchConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` userSearchConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of userSearchConfigurations.
     */
    distinct?: UserSearchConfigurationScalarFieldEnum | UserSearchConfigurationScalarFieldEnum[]
  }

  /**
   * userSearchConfiguration findFirstOrThrow
   */
  export type userSearchConfigurationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter, which userSearchConfiguration to fetch.
     */
    where?: userSearchConfigurationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of userSearchConfigurations to fetch.
     */
    orderBy?: userSearchConfigurationOrderByWithRelationInput | userSearchConfigurationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for userSearchConfigurations.
     */
    cursor?: userSearchConfigurationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` userSearchConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` userSearchConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of userSearchConfigurations.
     */
    distinct?: UserSearchConfigurationScalarFieldEnum | UserSearchConfigurationScalarFieldEnum[]
  }

  /**
   * userSearchConfiguration findMany
   */
  export type userSearchConfigurationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter, which userSearchConfigurations to fetch.
     */
    where?: userSearchConfigurationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of userSearchConfigurations to fetch.
     */
    orderBy?: userSearchConfigurationOrderByWithRelationInput | userSearchConfigurationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing userSearchConfigurations.
     */
    cursor?: userSearchConfigurationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` userSearchConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` userSearchConfigurations.
     */
    skip?: number
    distinct?: UserSearchConfigurationScalarFieldEnum | UserSearchConfigurationScalarFieldEnum[]
  }

  /**
   * userSearchConfiguration create
   */
  export type userSearchConfigurationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * The data needed to create a userSearchConfiguration.
     */
    data: XOR<userSearchConfigurationCreateInput, userSearchConfigurationUncheckedCreateInput>
  }

  /**
   * userSearchConfiguration createMany
   */
  export type userSearchConfigurationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many userSearchConfigurations.
     */
    data: userSearchConfigurationCreateManyInput | userSearchConfigurationCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * userSearchConfiguration createManyAndReturn
   */
  export type userSearchConfigurationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many userSearchConfigurations.
     */
    data: userSearchConfigurationCreateManyInput | userSearchConfigurationCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * userSearchConfiguration update
   */
  export type userSearchConfigurationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * The data needed to update a userSearchConfiguration.
     */
    data: XOR<userSearchConfigurationUpdateInput, userSearchConfigurationUncheckedUpdateInput>
    /**
     * Choose, which userSearchConfiguration to update.
     */
    where: userSearchConfigurationWhereUniqueInput
  }

  /**
   * userSearchConfiguration updateMany
   */
  export type userSearchConfigurationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update userSearchConfigurations.
     */
    data: XOR<userSearchConfigurationUpdateManyMutationInput, userSearchConfigurationUncheckedUpdateManyInput>
    /**
     * Filter which userSearchConfigurations to update
     */
    where?: userSearchConfigurationWhereInput
  }

  /**
   * userSearchConfiguration upsert
   */
  export type userSearchConfigurationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * The filter to search for the userSearchConfiguration to update in case it exists.
     */
    where: userSearchConfigurationWhereUniqueInput
    /**
     * In case the userSearchConfiguration found by the `where` argument doesn't exist, create a new userSearchConfiguration with this data.
     */
    create: XOR<userSearchConfigurationCreateInput, userSearchConfigurationUncheckedCreateInput>
    /**
     * In case the userSearchConfiguration was found with the provided `where` argument, update it with this data.
     */
    update: XOR<userSearchConfigurationUpdateInput, userSearchConfigurationUncheckedUpdateInput>
  }

  /**
   * userSearchConfiguration delete
   */
  export type userSearchConfigurationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    /**
     * Filter which userSearchConfiguration to delete.
     */
    where: userSearchConfigurationWhereUniqueInput
  }

  /**
   * userSearchConfiguration deleteMany
   */
  export type userSearchConfigurationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which userSearchConfigurations to delete
     */
    where?: userSearchConfigurationWhereInput
  }

  /**
   * userSearchConfiguration without action
   */
  export type userSearchConfigurationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
  }


  /**
   * Model MasterEntity
   */

  export type AggregateMasterEntity = {
    _count: MasterEntityCountAggregateOutputType | null
    _avg: MasterEntityAvgAggregateOutputType | null
    _sum: MasterEntitySumAggregateOutputType | null
    _min: MasterEntityMinAggregateOutputType | null
    _max: MasterEntityMaxAggregateOutputType | null
  }

  export type MasterEntityAvgAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    dashboard_wizard_group_id: number | null
    dashboard_wizard_rows: number | null
    dashboard_wizard_columns: number | null
    dashboard_wizard_order_no: Decimal | null
    reload_timeout: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MasterEntitySumAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    dashboard_wizard_group_id: number | null
    dashboard_wizard_rows: number | null
    dashboard_wizard_columns: number | null
    dashboard_wizard_order_no: Decimal | null
    reload_timeout: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MasterEntityMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    entity_name: string | null
    entity_type: string | null
    report_type: $Enums.ReportType | null
    primary_table: string | null
    is_admin_module: boolean | null
    draft_mode: boolean | null
    associated_entity_name: string | null
    static_page_content: string | null
    header_entity_id: string | null
    footer_entity_id: string | null
    export_template_id: number | null
    export_template_file_name: string | null
    dashboard_wizard_group_id: number | null
    dashboard_wizard_type: string | null
    dashboard_wizard_rows: number | null
    dashboard_wizard_columns: number | null
    dashboard_wizard_order_no: Decimal | null
    dashboard_grid: string | null
    reload_timeout: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    deleted_at: Date | null
  }

  export type MasterEntityMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    entity_name: string | null
    entity_type: string | null
    report_type: $Enums.ReportType | null
    primary_table: string | null
    is_admin_module: boolean | null
    draft_mode: boolean | null
    associated_entity_name: string | null
    static_page_content: string | null
    header_entity_id: string | null
    footer_entity_id: string | null
    export_template_id: number | null
    export_template_file_name: string | null
    dashboard_wizard_group_id: number | null
    dashboard_wizard_type: string | null
    dashboard_wizard_rows: number | null
    dashboard_wizard_columns: number | null
    dashboard_wizard_order_no: Decimal | null
    dashboard_grid: string | null
    reload_timeout: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    deleted_at: Date | null
  }

  export type MasterEntityCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    entity_name: number
    entity_type: number
    report_type: number
    primary_table: number
    is_admin_module: number
    draft_mode: number
    associated_tables: number
    associated_entity_name: number
    query_information: number
    form_information: number
    report_information: number
    add_query_information: number
    edit_query_information: number
    preset_query_information: number
    static_page_content: number
    header_entity_id: number
    footer_entity_id: number
    export_template_id: number
    export_template_file_name: number
    dashboard_wizard_group_id: number
    dashboard_wizard_type: number
    dashboard_wizard_rows: number
    dashboard_wizard_columns: number
    dashboard_wizard_order_no: number
    dashboard_wizard_options: number
    dashboard_grid: number
    reload_timeout: number
    status_id: number
    company_id: number
    created_at: number
    deleted_at: number
    _all: number
  }


  export type MasterEntityAvgAggregateInputType = {
    id?: true
    export_template_id?: true
    dashboard_wizard_group_id?: true
    dashboard_wizard_rows?: true
    dashboard_wizard_columns?: true
    dashboard_wizard_order_no?: true
    reload_timeout?: true
    status_id?: true
    company_id?: true
  }

  export type MasterEntitySumAggregateInputType = {
    id?: true
    export_template_id?: true
    dashboard_wizard_group_id?: true
    dashboard_wizard_rows?: true
    dashboard_wizard_columns?: true
    dashboard_wizard_order_no?: true
    reload_timeout?: true
    status_id?: true
    company_id?: true
  }

  export type MasterEntityMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    entity_name?: true
    entity_type?: true
    report_type?: true
    primary_table?: true
    is_admin_module?: true
    draft_mode?: true
    associated_entity_name?: true
    static_page_content?: true
    header_entity_id?: true
    footer_entity_id?: true
    export_template_id?: true
    export_template_file_name?: true
    dashboard_wizard_group_id?: true
    dashboard_wizard_type?: true
    dashboard_wizard_rows?: true
    dashboard_wizard_columns?: true
    dashboard_wizard_order_no?: true
    dashboard_grid?: true
    reload_timeout?: true
    status_id?: true
    company_id?: true
    created_at?: true
    deleted_at?: true
  }

  export type MasterEntityMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    entity_name?: true
    entity_type?: true
    report_type?: true
    primary_table?: true
    is_admin_module?: true
    draft_mode?: true
    associated_entity_name?: true
    static_page_content?: true
    header_entity_id?: true
    footer_entity_id?: true
    export_template_id?: true
    export_template_file_name?: true
    dashboard_wizard_group_id?: true
    dashboard_wizard_type?: true
    dashboard_wizard_rows?: true
    dashboard_wizard_columns?: true
    dashboard_wizard_order_no?: true
    dashboard_grid?: true
    reload_timeout?: true
    status_id?: true
    company_id?: true
    created_at?: true
    deleted_at?: true
  }

  export type MasterEntityCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    entity_name?: true
    entity_type?: true
    report_type?: true
    primary_table?: true
    is_admin_module?: true
    draft_mode?: true
    associated_tables?: true
    associated_entity_name?: true
    query_information?: true
    form_information?: true
    report_information?: true
    add_query_information?: true
    edit_query_information?: true
    preset_query_information?: true
    static_page_content?: true
    header_entity_id?: true
    footer_entity_id?: true
    export_template_id?: true
    export_template_file_name?: true
    dashboard_wizard_group_id?: true
    dashboard_wizard_type?: true
    dashboard_wizard_rows?: true
    dashboard_wizard_columns?: true
    dashboard_wizard_order_no?: true
    dashboard_wizard_options?: true
    dashboard_grid?: true
    reload_timeout?: true
    status_id?: true
    company_id?: true
    created_at?: true
    deleted_at?: true
    _all?: true
  }

  export type MasterEntityAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MasterEntity to aggregate.
     */
    where?: MasterEntityWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntities to fetch.
     */
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: MasterEntityWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntities from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntities.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned MasterEntities
    **/
    _count?: true | MasterEntityCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: MasterEntityAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: MasterEntitySumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: MasterEntityMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: MasterEntityMaxAggregateInputType
  }

  export type GetMasterEntityAggregateType<T extends MasterEntityAggregateArgs> = {
        [P in keyof T & keyof AggregateMasterEntity]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateMasterEntity[P]>
      : GetScalarType<T[P], AggregateMasterEntity[P]>
  }




  export type MasterEntityGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityWhereInput
    orderBy?: MasterEntityOrderByWithAggregationInput | MasterEntityOrderByWithAggregationInput[]
    by: MasterEntityScalarFieldEnum[] | MasterEntityScalarFieldEnum
    having?: MasterEntityScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: MasterEntityCountAggregateInputType | true
    _avg?: MasterEntityAvgAggregateInputType
    _sum?: MasterEntitySumAggregateInputType
    _min?: MasterEntityMinAggregateInputType
    _max?: MasterEntityMaxAggregateInputType
  }

  export type MasterEntityGroupByOutputType = {
    id: number
    uuid: string
    name: string
    entity_name: string
    entity_type: string
    report_type: $Enums.ReportType
    primary_table: string | null
    is_admin_module: boolean
    draft_mode: boolean
    associated_tables: JsonValue | null
    associated_entity_name: string | null
    query_information: JsonValue | null
    form_information: JsonValue | null
    report_information: JsonValue | null
    add_query_information: JsonValue | null
    edit_query_information: JsonValue | null
    preset_query_information: JsonValue | null
    static_page_content: string | null
    header_entity_id: string | null
    footer_entity_id: string | null
    export_template_id: number | null
    export_template_file_name: string | null
    dashboard_wizard_group_id: number | null
    dashboard_wizard_type: string | null
    dashboard_wizard_rows: number | null
    dashboard_wizard_columns: number | null
    dashboard_wizard_order_no: Decimal | null
    dashboard_wizard_options: JsonValue | null
    dashboard_grid: string | null
    reload_timeout: number | null
    status_id: number
    company_id: number
    created_at: Date
    deleted_at: Date | null
    _count: MasterEntityCountAggregateOutputType | null
    _avg: MasterEntityAvgAggregateOutputType | null
    _sum: MasterEntitySumAggregateOutputType | null
    _min: MasterEntityMinAggregateOutputType | null
    _max: MasterEntityMaxAggregateOutputType | null
  }

  type GetMasterEntityGroupByPayload<T extends MasterEntityGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<MasterEntityGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof MasterEntityGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], MasterEntityGroupByOutputType[P]>
            : GetScalarType<T[P], MasterEntityGroupByOutputType[P]>
        }
      >
    >


  export type MasterEntitySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    entity_name?: boolean
    entity_type?: boolean
    report_type?: boolean
    primary_table?: boolean
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: boolean
    associated_entity_name?: boolean
    query_information?: boolean
    form_information?: boolean
    report_information?: boolean
    add_query_information?: boolean
    edit_query_information?: boolean
    preset_query_information?: boolean
    static_page_content?: boolean
    header_entity_id?: boolean
    footer_entity_id?: boolean
    export_template_id?: boolean
    export_template_file_name?: boolean
    dashboard_wizard_group_id?: boolean
    dashboard_wizard_type?: boolean
    dashboard_wizard_rows?: boolean
    dashboard_wizard_columns?: boolean
    dashboard_wizard_order_no?: boolean
    dashboard_wizard_options?: boolean
    dashboard_grid?: boolean
    reload_timeout?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    deleted_at?: boolean
    associated_entity?: boolean | MasterEntity$associated_entityArgs<ExtArgs>
    children?: boolean | MasterEntity$childrenArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    permissions?: boolean | MasterEntity$permissionsArgs<ExtArgs>
    line_items?: boolean | MasterEntity$line_itemsArgs<ExtArgs>
    menus?: boolean | MasterEntity$menusArgs<ExtArgs>
    _count?: boolean | MasterEntityCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["masterEntity"]>

  export type MasterEntitySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    entity_name?: boolean
    entity_type?: boolean
    report_type?: boolean
    primary_table?: boolean
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: boolean
    associated_entity_name?: boolean
    query_information?: boolean
    form_information?: boolean
    report_information?: boolean
    add_query_information?: boolean
    edit_query_information?: boolean
    preset_query_information?: boolean
    static_page_content?: boolean
    header_entity_id?: boolean
    footer_entity_id?: boolean
    export_template_id?: boolean
    export_template_file_name?: boolean
    dashboard_wizard_group_id?: boolean
    dashboard_wizard_type?: boolean
    dashboard_wizard_rows?: boolean
    dashboard_wizard_columns?: boolean
    dashboard_wizard_order_no?: boolean
    dashboard_wizard_options?: boolean
    dashboard_grid?: boolean
    reload_timeout?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    deleted_at?: boolean
    associated_entity?: boolean | MasterEntity$associated_entityArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["masterEntity"]>

  export type MasterEntitySelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    entity_name?: boolean
    entity_type?: boolean
    report_type?: boolean
    primary_table?: boolean
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: boolean
    associated_entity_name?: boolean
    query_information?: boolean
    form_information?: boolean
    report_information?: boolean
    add_query_information?: boolean
    edit_query_information?: boolean
    preset_query_information?: boolean
    static_page_content?: boolean
    header_entity_id?: boolean
    footer_entity_id?: boolean
    export_template_id?: boolean
    export_template_file_name?: boolean
    dashboard_wizard_group_id?: boolean
    dashboard_wizard_type?: boolean
    dashboard_wizard_rows?: boolean
    dashboard_wizard_columns?: boolean
    dashboard_wizard_order_no?: boolean
    dashboard_wizard_options?: boolean
    dashboard_grid?: boolean
    reload_timeout?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    deleted_at?: boolean
  }

  export type MasterEntityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    associated_entity?: boolean | MasterEntity$associated_entityArgs<ExtArgs>
    children?: boolean | MasterEntity$childrenArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    permissions?: boolean | MasterEntity$permissionsArgs<ExtArgs>
    line_items?: boolean | MasterEntity$line_itemsArgs<ExtArgs>
    menus?: boolean | MasterEntity$menusArgs<ExtArgs>
    _count?: boolean | MasterEntityCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type MasterEntityIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    associated_entity?: boolean | MasterEntity$associated_entityArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $MasterEntityPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "MasterEntity"
    objects: {
      associated_entity: Prisma.$MasterEntityPayload<ExtArgs> | null
      children: Prisma.$MasterEntityPayload<ExtArgs>[]
      status: Prisma.$StatusPayload<ExtArgs>
      permissions: Prisma.$PermissionsPayload<ExtArgs>[]
      line_items: Prisma.$MasterEntityLineItemPayload<ExtArgs>[]
      menus: Prisma.$MenuItemsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      entity_name: string
      entity_type: string
      report_type: $Enums.ReportType
      primary_table: string | null
      is_admin_module: boolean
      draft_mode: boolean
      associated_tables: Prisma.JsonValue | null
      associated_entity_name: string | null
      query_information: Prisma.JsonValue | null
      form_information: Prisma.JsonValue | null
      report_information: Prisma.JsonValue | null
      add_query_information: Prisma.JsonValue | null
      edit_query_information: Prisma.JsonValue | null
      preset_query_information: Prisma.JsonValue | null
      static_page_content: string | null
      header_entity_id: string | null
      footer_entity_id: string | null
      export_template_id: number | null
      export_template_file_name: string | null
      dashboard_wizard_group_id: number | null
      dashboard_wizard_type: string | null
      dashboard_wizard_rows: number | null
      dashboard_wizard_columns: number | null
      dashboard_wizard_order_no: Prisma.Decimal | null
      dashboard_wizard_options: Prisma.JsonValue | null
      dashboard_grid: string | null
      reload_timeout: number | null
      status_id: number
      company_id: number
      created_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["masterEntity"]>
    composites: {}
  }

  type MasterEntityGetPayload<S extends boolean | null | undefined | MasterEntityDefaultArgs> = $Result.GetResult<Prisma.$MasterEntityPayload, S>

  type MasterEntityCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<MasterEntityFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: MasterEntityCountAggregateInputType | true
    }

  export interface MasterEntityDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MasterEntity'], meta: { name: 'MasterEntity' } }
    /**
     * Find zero or one MasterEntity that matches the filter.
     * @param {MasterEntityFindUniqueArgs} args - Arguments to find a MasterEntity
     * @example
     * // Get one MasterEntity
     * const masterEntity = await prisma.masterEntity.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends MasterEntityFindUniqueArgs>(args: SelectSubset<T, MasterEntityFindUniqueArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one MasterEntity that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {MasterEntityFindUniqueOrThrowArgs} args - Arguments to find a MasterEntity
     * @example
     * // Get one MasterEntity
     * const masterEntity = await prisma.masterEntity.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends MasterEntityFindUniqueOrThrowArgs>(args: SelectSubset<T, MasterEntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first MasterEntity that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityFindFirstArgs} args - Arguments to find a MasterEntity
     * @example
     * // Get one MasterEntity
     * const masterEntity = await prisma.masterEntity.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends MasterEntityFindFirstArgs>(args?: SelectSubset<T, MasterEntityFindFirstArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first MasterEntity that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityFindFirstOrThrowArgs} args - Arguments to find a MasterEntity
     * @example
     * // Get one MasterEntity
     * const masterEntity = await prisma.masterEntity.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends MasterEntityFindFirstOrThrowArgs>(args?: SelectSubset<T, MasterEntityFindFirstOrThrowArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more MasterEntities that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all MasterEntities
     * const masterEntities = await prisma.masterEntity.findMany()
     * 
     * // Get first 10 MasterEntities
     * const masterEntities = await prisma.masterEntity.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const masterEntityWithIdOnly = await prisma.masterEntity.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends MasterEntityFindManyArgs>(args?: SelectSubset<T, MasterEntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a MasterEntity.
     * @param {MasterEntityCreateArgs} args - Arguments to create a MasterEntity.
     * @example
     * // Create one MasterEntity
     * const MasterEntity = await prisma.masterEntity.create({
     *   data: {
     *     // ... data to create a MasterEntity
     *   }
     * })
     * 
     */
    create<T extends MasterEntityCreateArgs>(args: SelectSubset<T, MasterEntityCreateArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many MasterEntities.
     * @param {MasterEntityCreateManyArgs} args - Arguments to create many MasterEntities.
     * @example
     * // Create many MasterEntities
     * const masterEntity = await prisma.masterEntity.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends MasterEntityCreateManyArgs>(args?: SelectSubset<T, MasterEntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many MasterEntities and returns the data saved in the database.
     * @param {MasterEntityCreateManyAndReturnArgs} args - Arguments to create many MasterEntities.
     * @example
     * // Create many MasterEntities
     * const masterEntity = await prisma.masterEntity.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many MasterEntities and only return the `id`
     * const masterEntityWithIdOnly = await prisma.masterEntity.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends MasterEntityCreateManyAndReturnArgs>(args?: SelectSubset<T, MasterEntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a MasterEntity.
     * @param {MasterEntityDeleteArgs} args - Arguments to delete one MasterEntity.
     * @example
     * // Delete one MasterEntity
     * const MasterEntity = await prisma.masterEntity.delete({
     *   where: {
     *     // ... filter to delete one MasterEntity
     *   }
     * })
     * 
     */
    delete<T extends MasterEntityDeleteArgs>(args: SelectSubset<T, MasterEntityDeleteArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one MasterEntity.
     * @param {MasterEntityUpdateArgs} args - Arguments to update one MasterEntity.
     * @example
     * // Update one MasterEntity
     * const masterEntity = await prisma.masterEntity.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends MasterEntityUpdateArgs>(args: SelectSubset<T, MasterEntityUpdateArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more MasterEntities.
     * @param {MasterEntityDeleteManyArgs} args - Arguments to filter MasterEntities to delete.
     * @example
     * // Delete a few MasterEntities
     * const { count } = await prisma.masterEntity.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends MasterEntityDeleteManyArgs>(args?: SelectSubset<T, MasterEntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more MasterEntities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many MasterEntities
     * const masterEntity = await prisma.masterEntity.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends MasterEntityUpdateManyArgs>(args: SelectSubset<T, MasterEntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one MasterEntity.
     * @param {MasterEntityUpsertArgs} args - Arguments to update or create a MasterEntity.
     * @example
     * // Update or create a MasterEntity
     * const masterEntity = await prisma.masterEntity.upsert({
     *   create: {
     *     // ... data to create a MasterEntity
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the MasterEntity we want to update
     *   }
     * })
     */
    upsert<T extends MasterEntityUpsertArgs>(args: SelectSubset<T, MasterEntityUpsertArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of MasterEntities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityCountArgs} args - Arguments to filter MasterEntities to count.
     * @example
     * // Count the number of MasterEntities
     * const count = await prisma.masterEntity.count({
     *   where: {
     *     // ... the filter for the MasterEntities we want to count
     *   }
     * })
    **/
    count<T extends MasterEntityCountArgs>(
      args?: Subset<T, MasterEntityCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], MasterEntityCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a MasterEntity.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends MasterEntityAggregateArgs>(args: Subset<T, MasterEntityAggregateArgs>): Prisma.PrismaPromise<GetMasterEntityAggregateType<T>>

    /**
     * Group by MasterEntity.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends MasterEntityGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: MasterEntityGroupByArgs['orderBy'] }
        : { orderBy?: MasterEntityGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, MasterEntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMasterEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the MasterEntity model
   */
  readonly fields: MasterEntityFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for MasterEntity.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__MasterEntityClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    associated_entity<T extends MasterEntity$associated_entityArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntity$associated_entityArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    children<T extends MasterEntity$childrenArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntity$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findMany"> | Null>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    permissions<T extends MasterEntity$permissionsArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntity$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    line_items<T extends MasterEntity$line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntity$line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    menus<T extends MasterEntity$menusArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntity$menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the MasterEntity model
   */ 
  interface MasterEntityFieldRefs {
    readonly id: FieldRef<"MasterEntity", 'Int'>
    readonly uuid: FieldRef<"MasterEntity", 'String'>
    readonly name: FieldRef<"MasterEntity", 'String'>
    readonly entity_name: FieldRef<"MasterEntity", 'String'>
    readonly entity_type: FieldRef<"MasterEntity", 'String'>
    readonly report_type: FieldRef<"MasterEntity", 'ReportType'>
    readonly primary_table: FieldRef<"MasterEntity", 'String'>
    readonly is_admin_module: FieldRef<"MasterEntity", 'Boolean'>
    readonly draft_mode: FieldRef<"MasterEntity", 'Boolean'>
    readonly associated_tables: FieldRef<"MasterEntity", 'Json'>
    readonly associated_entity_name: FieldRef<"MasterEntity", 'String'>
    readonly query_information: FieldRef<"MasterEntity", 'Json'>
    readonly form_information: FieldRef<"MasterEntity", 'Json'>
    readonly report_information: FieldRef<"MasterEntity", 'Json'>
    readonly add_query_information: FieldRef<"MasterEntity", 'Json'>
    readonly edit_query_information: FieldRef<"MasterEntity", 'Json'>
    readonly preset_query_information: FieldRef<"MasterEntity", 'Json'>
    readonly static_page_content: FieldRef<"MasterEntity", 'String'>
    readonly header_entity_id: FieldRef<"MasterEntity", 'String'>
    readonly footer_entity_id: FieldRef<"MasterEntity", 'String'>
    readonly export_template_id: FieldRef<"MasterEntity", 'Int'>
    readonly export_template_file_name: FieldRef<"MasterEntity", 'String'>
    readonly dashboard_wizard_group_id: FieldRef<"MasterEntity", 'Int'>
    readonly dashboard_wizard_type: FieldRef<"MasterEntity", 'String'>
    readonly dashboard_wizard_rows: FieldRef<"MasterEntity", 'Int'>
    readonly dashboard_wizard_columns: FieldRef<"MasterEntity", 'Int'>
    readonly dashboard_wizard_order_no: FieldRef<"MasterEntity", 'Decimal'>
    readonly dashboard_wizard_options: FieldRef<"MasterEntity", 'Json'>
    readonly dashboard_grid: FieldRef<"MasterEntity", 'String'>
    readonly reload_timeout: FieldRef<"MasterEntity", 'Int'>
    readonly status_id: FieldRef<"MasterEntity", 'Int'>
    readonly company_id: FieldRef<"MasterEntity", 'Int'>
    readonly created_at: FieldRef<"MasterEntity", 'DateTime'>
    readonly deleted_at: FieldRef<"MasterEntity", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * MasterEntity findUnique
   */
  export type MasterEntityFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntity to fetch.
     */
    where: MasterEntityWhereUniqueInput
  }

  /**
   * MasterEntity findUniqueOrThrow
   */
  export type MasterEntityFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntity to fetch.
     */
    where: MasterEntityWhereUniqueInput
  }

  /**
   * MasterEntity findFirst
   */
  export type MasterEntityFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntity to fetch.
     */
    where?: MasterEntityWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntities to fetch.
     */
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MasterEntities.
     */
    cursor?: MasterEntityWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntities from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntities.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MasterEntities.
     */
    distinct?: MasterEntityScalarFieldEnum | MasterEntityScalarFieldEnum[]
  }

  /**
   * MasterEntity findFirstOrThrow
   */
  export type MasterEntityFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntity to fetch.
     */
    where?: MasterEntityWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntities to fetch.
     */
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MasterEntities.
     */
    cursor?: MasterEntityWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntities from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntities.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MasterEntities.
     */
    distinct?: MasterEntityScalarFieldEnum | MasterEntityScalarFieldEnum[]
  }

  /**
   * MasterEntity findMany
   */
  export type MasterEntityFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntities to fetch.
     */
    where?: MasterEntityWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntities to fetch.
     */
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing MasterEntities.
     */
    cursor?: MasterEntityWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntities from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntities.
     */
    skip?: number
    distinct?: MasterEntityScalarFieldEnum | MasterEntityScalarFieldEnum[]
  }

  /**
   * MasterEntity create
   */
  export type MasterEntityCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * The data needed to create a MasterEntity.
     */
    data: XOR<MasterEntityCreateInput, MasterEntityUncheckedCreateInput>
  }

  /**
   * MasterEntity createMany
   */
  export type MasterEntityCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many MasterEntities.
     */
    data: MasterEntityCreateManyInput | MasterEntityCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * MasterEntity createManyAndReturn
   */
  export type MasterEntityCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many MasterEntities.
     */
    data: MasterEntityCreateManyInput | MasterEntityCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * MasterEntity update
   */
  export type MasterEntityUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * The data needed to update a MasterEntity.
     */
    data: XOR<MasterEntityUpdateInput, MasterEntityUncheckedUpdateInput>
    /**
     * Choose, which MasterEntity to update.
     */
    where: MasterEntityWhereUniqueInput
  }

  /**
   * MasterEntity updateMany
   */
  export type MasterEntityUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update MasterEntities.
     */
    data: XOR<MasterEntityUpdateManyMutationInput, MasterEntityUncheckedUpdateManyInput>
    /**
     * Filter which MasterEntities to update
     */
    where?: MasterEntityWhereInput
  }

  /**
   * MasterEntity upsert
   */
  export type MasterEntityUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * The filter to search for the MasterEntity to update in case it exists.
     */
    where: MasterEntityWhereUniqueInput
    /**
     * In case the MasterEntity found by the `where` argument doesn't exist, create a new MasterEntity with this data.
     */
    create: XOR<MasterEntityCreateInput, MasterEntityUncheckedCreateInput>
    /**
     * In case the MasterEntity was found with the provided `where` argument, update it with this data.
     */
    update: XOR<MasterEntityUpdateInput, MasterEntityUncheckedUpdateInput>
  }

  /**
   * MasterEntity delete
   */
  export type MasterEntityDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    /**
     * Filter which MasterEntity to delete.
     */
    where: MasterEntityWhereUniqueInput
  }

  /**
   * MasterEntity deleteMany
   */
  export type MasterEntityDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MasterEntities to delete
     */
    where?: MasterEntityWhereInput
  }

  /**
   * MasterEntity.associated_entity
   */
  export type MasterEntity$associated_entityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    where?: MasterEntityWhereInput
  }

  /**
   * MasterEntity.children
   */
  export type MasterEntity$childrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    where?: MasterEntityWhereInput
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    cursor?: MasterEntityWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MasterEntityScalarFieldEnum | MasterEntityScalarFieldEnum[]
  }

  /**
   * MasterEntity.permissions
   */
  export type MasterEntity$permissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    where?: PermissionsWhereInput
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    cursor?: PermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PermissionsScalarFieldEnum | PermissionsScalarFieldEnum[]
  }

  /**
   * MasterEntity.line_items
   */
  export type MasterEntity$line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    where?: MasterEntityLineItemWhereInput
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    cursor?: MasterEntityLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * MasterEntity.menus
   */
  export type MasterEntity$menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * MasterEntity without action
   */
  export type MasterEntityDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
  }


  /**
   * Model MasterEntityLineItem
   */

  export type AggregateMasterEntityLineItem = {
    _count: MasterEntityLineItemCountAggregateOutputType | null
    _avg: MasterEntityLineItemAvgAggregateOutputType | null
    _sum: MasterEntityLineItemSumAggregateOutputType | null
    _min: MasterEntityLineItemMinAggregateOutputType | null
    _max: MasterEntityLineItemMaxAggregateOutputType | null
  }

  export type MasterEntityLineItemAvgAggregateOutputType = {
    id: number | null
    master_grid_id: number | null
    order_no: Decimal | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MasterEntityLineItemSumAggregateOutputType = {
    id: number | null
    master_grid_id: number | null
    order_no: Decimal | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MasterEntityLineItemMinAggregateOutputType = {
    id: number | null
    master_grid_id: number | null
    field_name: string | null
    display_name: string | null
    field_html_content: string | null
    order_no: Decimal | null
    is_grid_column: boolean | null
    is_searchable: boolean | null
    clause_type: $Enums.ClauseType | null
    is_sortable: boolean | null
    field_type_id: number | null
    link_type: string | null
    link_action: string | null
    link_mode: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type MasterEntityLineItemMaxAggregateOutputType = {
    id: number | null
    master_grid_id: number | null
    field_name: string | null
    display_name: string | null
    field_html_content: string | null
    order_no: Decimal | null
    is_grid_column: boolean | null
    is_searchable: boolean | null
    clause_type: $Enums.ClauseType | null
    is_sortable: boolean | null
    field_type_id: number | null
    link_type: string | null
    link_action: string | null
    link_mode: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type MasterEntityLineItemCountAggregateOutputType = {
    id: number
    master_grid_id: number
    field_name: number
    display_name: number
    field_html_content: number
    enum_values: number
    order_no: number
    is_grid_column: number
    is_searchable: number
    clause_type: number
    is_sortable: number
    field_type_id: number
    link_type: number
    link_action: number
    link_mode: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type MasterEntityLineItemAvgAggregateInputType = {
    id?: true
    master_grid_id?: true
    order_no?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type MasterEntityLineItemSumAggregateInputType = {
    id?: true
    master_grid_id?: true
    order_no?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type MasterEntityLineItemMinAggregateInputType = {
    id?: true
    master_grid_id?: true
    field_name?: true
    display_name?: true
    field_html_content?: true
    order_no?: true
    is_grid_column?: true
    is_searchable?: true
    clause_type?: true
    is_sortable?: true
    field_type_id?: true
    link_type?: true
    link_action?: true
    link_mode?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type MasterEntityLineItemMaxAggregateInputType = {
    id?: true
    master_grid_id?: true
    field_name?: true
    display_name?: true
    field_html_content?: true
    order_no?: true
    is_grid_column?: true
    is_searchable?: true
    clause_type?: true
    is_sortable?: true
    field_type_id?: true
    link_type?: true
    link_action?: true
    link_mode?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type MasterEntityLineItemCountAggregateInputType = {
    id?: true
    master_grid_id?: true
    field_name?: true
    display_name?: true
    field_html_content?: true
    enum_values?: true
    order_no?: true
    is_grid_column?: true
    is_searchable?: true
    clause_type?: true
    is_sortable?: true
    field_type_id?: true
    link_type?: true
    link_action?: true
    link_mode?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type MasterEntityLineItemAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MasterEntityLineItem to aggregate.
     */
    where?: MasterEntityLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntityLineItems to fetch.
     */
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: MasterEntityLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntityLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntityLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned MasterEntityLineItems
    **/
    _count?: true | MasterEntityLineItemCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: MasterEntityLineItemAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: MasterEntityLineItemSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: MasterEntityLineItemMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: MasterEntityLineItemMaxAggregateInputType
  }

  export type GetMasterEntityLineItemAggregateType<T extends MasterEntityLineItemAggregateArgs> = {
        [P in keyof T & keyof AggregateMasterEntityLineItem]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateMasterEntityLineItem[P]>
      : GetScalarType<T[P], AggregateMasterEntityLineItem[P]>
  }




  export type MasterEntityLineItemGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: MasterEntityLineItemWhereInput
    orderBy?: MasterEntityLineItemOrderByWithAggregationInput | MasterEntityLineItemOrderByWithAggregationInput[]
    by: MasterEntityLineItemScalarFieldEnum[] | MasterEntityLineItemScalarFieldEnum
    having?: MasterEntityLineItemScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: MasterEntityLineItemCountAggregateInputType | true
    _avg?: MasterEntityLineItemAvgAggregateInputType
    _sum?: MasterEntityLineItemSumAggregateInputType
    _min?: MasterEntityLineItemMinAggregateInputType
    _max?: MasterEntityLineItemMaxAggregateInputType
  }

  export type MasterEntityLineItemGroupByOutputType = {
    id: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content: string | null
    enum_values: JsonValue | null
    order_no: Decimal
    is_grid_column: boolean
    is_searchable: boolean
    clause_type: $Enums.ClauseType
    is_sortable: boolean
    field_type_id: number
    link_type: string
    link_action: string | null
    link_mode: string
    status_id: number
    company_id: number
    created_at: Date
    _count: MasterEntityLineItemCountAggregateOutputType | null
    _avg: MasterEntityLineItemAvgAggregateOutputType | null
    _sum: MasterEntityLineItemSumAggregateOutputType | null
    _min: MasterEntityLineItemMinAggregateOutputType | null
    _max: MasterEntityLineItemMaxAggregateOutputType | null
  }

  type GetMasterEntityLineItemGroupByPayload<T extends MasterEntityLineItemGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<MasterEntityLineItemGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof MasterEntityLineItemGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], MasterEntityLineItemGroupByOutputType[P]>
            : GetScalarType<T[P], MasterEntityLineItemGroupByOutputType[P]>
        }
      >
    >


  export type MasterEntityLineItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    master_grid_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_html_content?: boolean
    enum_values?: boolean
    order_no?: boolean
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: boolean
    is_sortable?: boolean
    field_type_id?: boolean
    link_type?: boolean
    link_action?: boolean
    link_mode?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid?: boolean | MasterEntityDefaultArgs<ExtArgs>
    field_type?: boolean | MasterEntityLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["masterEntityLineItem"]>

  export type MasterEntityLineItemSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    master_grid_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_html_content?: boolean
    enum_values?: boolean
    order_no?: boolean
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: boolean
    is_sortable?: boolean
    field_type_id?: boolean
    link_type?: boolean
    link_action?: boolean
    link_mode?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid?: boolean | MasterEntityDefaultArgs<ExtArgs>
    field_type?: boolean | MasterEntityLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["masterEntityLineItem"]>

  export type MasterEntityLineItemSelectScalar = {
    id?: boolean
    master_grid_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_html_content?: boolean
    enum_values?: boolean
    order_no?: boolean
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: boolean
    is_sortable?: boolean
    field_type_id?: boolean
    link_type?: boolean
    link_action?: boolean
    link_mode?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type MasterEntityLineItemInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid?: boolean | MasterEntityDefaultArgs<ExtArgs>
    field_type?: boolean | MasterEntityLineItem$field_typeArgs<ExtArgs>
  }
  export type MasterEntityLineItemIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid?: boolean | MasterEntityDefaultArgs<ExtArgs>
    field_type?: boolean | MasterEntityLineItem$field_typeArgs<ExtArgs>
  }

  export type $MasterEntityLineItemPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "MasterEntityLineItem"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      master_grid: Prisma.$MasterEntityPayload<ExtArgs>
      field_type: Prisma.$FieldTypePayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      master_grid_id: number
      field_name: string
      display_name: string
      field_html_content: string | null
      enum_values: Prisma.JsonValue | null
      order_no: Prisma.Decimal
      is_grid_column: boolean
      is_searchable: boolean
      clause_type: $Enums.ClauseType
      is_sortable: boolean
      field_type_id: number
      link_type: string
      link_action: string | null
      link_mode: string
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["masterEntityLineItem"]>
    composites: {}
  }

  type MasterEntityLineItemGetPayload<S extends boolean | null | undefined | MasterEntityLineItemDefaultArgs> = $Result.GetResult<Prisma.$MasterEntityLineItemPayload, S>

  type MasterEntityLineItemCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<MasterEntityLineItemFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: MasterEntityLineItemCountAggregateInputType | true
    }

  export interface MasterEntityLineItemDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MasterEntityLineItem'], meta: { name: 'MasterEntityLineItem' } }
    /**
     * Find zero or one MasterEntityLineItem that matches the filter.
     * @param {MasterEntityLineItemFindUniqueArgs} args - Arguments to find a MasterEntityLineItem
     * @example
     * // Get one MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends MasterEntityLineItemFindUniqueArgs>(args: SelectSubset<T, MasterEntityLineItemFindUniqueArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one MasterEntityLineItem that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {MasterEntityLineItemFindUniqueOrThrowArgs} args - Arguments to find a MasterEntityLineItem
     * @example
     * // Get one MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends MasterEntityLineItemFindUniqueOrThrowArgs>(args: SelectSubset<T, MasterEntityLineItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first MasterEntityLineItem that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemFindFirstArgs} args - Arguments to find a MasterEntityLineItem
     * @example
     * // Get one MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends MasterEntityLineItemFindFirstArgs>(args?: SelectSubset<T, MasterEntityLineItemFindFirstArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first MasterEntityLineItem that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemFindFirstOrThrowArgs} args - Arguments to find a MasterEntityLineItem
     * @example
     * // Get one MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends MasterEntityLineItemFindFirstOrThrowArgs>(args?: SelectSubset<T, MasterEntityLineItemFindFirstOrThrowArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more MasterEntityLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all MasterEntityLineItems
     * const masterEntityLineItems = await prisma.masterEntityLineItem.findMany()
     * 
     * // Get first 10 MasterEntityLineItems
     * const masterEntityLineItems = await prisma.masterEntityLineItem.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const masterEntityLineItemWithIdOnly = await prisma.masterEntityLineItem.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends MasterEntityLineItemFindManyArgs>(args?: SelectSubset<T, MasterEntityLineItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a MasterEntityLineItem.
     * @param {MasterEntityLineItemCreateArgs} args - Arguments to create a MasterEntityLineItem.
     * @example
     * // Create one MasterEntityLineItem
     * const MasterEntityLineItem = await prisma.masterEntityLineItem.create({
     *   data: {
     *     // ... data to create a MasterEntityLineItem
     *   }
     * })
     * 
     */
    create<T extends MasterEntityLineItemCreateArgs>(args: SelectSubset<T, MasterEntityLineItemCreateArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many MasterEntityLineItems.
     * @param {MasterEntityLineItemCreateManyArgs} args - Arguments to create many MasterEntityLineItems.
     * @example
     * // Create many MasterEntityLineItems
     * const masterEntityLineItem = await prisma.masterEntityLineItem.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends MasterEntityLineItemCreateManyArgs>(args?: SelectSubset<T, MasterEntityLineItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many MasterEntityLineItems and returns the data saved in the database.
     * @param {MasterEntityLineItemCreateManyAndReturnArgs} args - Arguments to create many MasterEntityLineItems.
     * @example
     * // Create many MasterEntityLineItems
     * const masterEntityLineItem = await prisma.masterEntityLineItem.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many MasterEntityLineItems and only return the `id`
     * const masterEntityLineItemWithIdOnly = await prisma.masterEntityLineItem.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends MasterEntityLineItemCreateManyAndReturnArgs>(args?: SelectSubset<T, MasterEntityLineItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a MasterEntityLineItem.
     * @param {MasterEntityLineItemDeleteArgs} args - Arguments to delete one MasterEntityLineItem.
     * @example
     * // Delete one MasterEntityLineItem
     * const MasterEntityLineItem = await prisma.masterEntityLineItem.delete({
     *   where: {
     *     // ... filter to delete one MasterEntityLineItem
     *   }
     * })
     * 
     */
    delete<T extends MasterEntityLineItemDeleteArgs>(args: SelectSubset<T, MasterEntityLineItemDeleteArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one MasterEntityLineItem.
     * @param {MasterEntityLineItemUpdateArgs} args - Arguments to update one MasterEntityLineItem.
     * @example
     * // Update one MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends MasterEntityLineItemUpdateArgs>(args: SelectSubset<T, MasterEntityLineItemUpdateArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more MasterEntityLineItems.
     * @param {MasterEntityLineItemDeleteManyArgs} args - Arguments to filter MasterEntityLineItems to delete.
     * @example
     * // Delete a few MasterEntityLineItems
     * const { count } = await prisma.masterEntityLineItem.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends MasterEntityLineItemDeleteManyArgs>(args?: SelectSubset<T, MasterEntityLineItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more MasterEntityLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many MasterEntityLineItems
     * const masterEntityLineItem = await prisma.masterEntityLineItem.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends MasterEntityLineItemUpdateManyArgs>(args: SelectSubset<T, MasterEntityLineItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one MasterEntityLineItem.
     * @param {MasterEntityLineItemUpsertArgs} args - Arguments to update or create a MasterEntityLineItem.
     * @example
     * // Update or create a MasterEntityLineItem
     * const masterEntityLineItem = await prisma.masterEntityLineItem.upsert({
     *   create: {
     *     // ... data to create a MasterEntityLineItem
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the MasterEntityLineItem we want to update
     *   }
     * })
     */
    upsert<T extends MasterEntityLineItemUpsertArgs>(args: SelectSubset<T, MasterEntityLineItemUpsertArgs<ExtArgs>>): Prisma__MasterEntityLineItemClient<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of MasterEntityLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemCountArgs} args - Arguments to filter MasterEntityLineItems to count.
     * @example
     * // Count the number of MasterEntityLineItems
     * const count = await prisma.masterEntityLineItem.count({
     *   where: {
     *     // ... the filter for the MasterEntityLineItems we want to count
     *   }
     * })
    **/
    count<T extends MasterEntityLineItemCountArgs>(
      args?: Subset<T, MasterEntityLineItemCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], MasterEntityLineItemCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a MasterEntityLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends MasterEntityLineItemAggregateArgs>(args: Subset<T, MasterEntityLineItemAggregateArgs>): Prisma.PrismaPromise<GetMasterEntityLineItemAggregateType<T>>

    /**
     * Group by MasterEntityLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MasterEntityLineItemGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends MasterEntityLineItemGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: MasterEntityLineItemGroupByArgs['orderBy'] }
        : { orderBy?: MasterEntityLineItemGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, MasterEntityLineItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMasterEntityLineItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the MasterEntityLineItem model
   */
  readonly fields: MasterEntityLineItemFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for MasterEntityLineItem.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__MasterEntityLineItemClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    master_grid<T extends MasterEntityDefaultArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntityDefaultArgs<ExtArgs>>): Prisma__MasterEntityClient<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    field_type<T extends MasterEntityLineItem$field_typeArgs<ExtArgs> = {}>(args?: Subset<T, MasterEntityLineItem$field_typeArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the MasterEntityLineItem model
   */ 
  interface MasterEntityLineItemFieldRefs {
    readonly id: FieldRef<"MasterEntityLineItem", 'Int'>
    readonly master_grid_id: FieldRef<"MasterEntityLineItem", 'Int'>
    readonly field_name: FieldRef<"MasterEntityLineItem", 'String'>
    readonly display_name: FieldRef<"MasterEntityLineItem", 'String'>
    readonly field_html_content: FieldRef<"MasterEntityLineItem", 'String'>
    readonly enum_values: FieldRef<"MasterEntityLineItem", 'Json'>
    readonly order_no: FieldRef<"MasterEntityLineItem", 'Decimal'>
    readonly is_grid_column: FieldRef<"MasterEntityLineItem", 'Boolean'>
    readonly is_searchable: FieldRef<"MasterEntityLineItem", 'Boolean'>
    readonly clause_type: FieldRef<"MasterEntityLineItem", 'ClauseType'>
    readonly is_sortable: FieldRef<"MasterEntityLineItem", 'Boolean'>
    readonly field_type_id: FieldRef<"MasterEntityLineItem", 'Int'>
    readonly link_type: FieldRef<"MasterEntityLineItem", 'String'>
    readonly link_action: FieldRef<"MasterEntityLineItem", 'String'>
    readonly link_mode: FieldRef<"MasterEntityLineItem", 'String'>
    readonly status_id: FieldRef<"MasterEntityLineItem", 'Int'>
    readonly company_id: FieldRef<"MasterEntityLineItem", 'Int'>
    readonly created_at: FieldRef<"MasterEntityLineItem", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * MasterEntityLineItem findUnique
   */
  export type MasterEntityLineItemFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntityLineItem to fetch.
     */
    where: MasterEntityLineItemWhereUniqueInput
  }

  /**
   * MasterEntityLineItem findUniqueOrThrow
   */
  export type MasterEntityLineItemFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntityLineItem to fetch.
     */
    where: MasterEntityLineItemWhereUniqueInput
  }

  /**
   * MasterEntityLineItem findFirst
   */
  export type MasterEntityLineItemFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntityLineItem to fetch.
     */
    where?: MasterEntityLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntityLineItems to fetch.
     */
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MasterEntityLineItems.
     */
    cursor?: MasterEntityLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntityLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntityLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MasterEntityLineItems.
     */
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * MasterEntityLineItem findFirstOrThrow
   */
  export type MasterEntityLineItemFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntityLineItem to fetch.
     */
    where?: MasterEntityLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntityLineItems to fetch.
     */
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for MasterEntityLineItems.
     */
    cursor?: MasterEntityLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntityLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntityLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of MasterEntityLineItems.
     */
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * MasterEntityLineItem findMany
   */
  export type MasterEntityLineItemFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter, which MasterEntityLineItems to fetch.
     */
    where?: MasterEntityLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of MasterEntityLineItems to fetch.
     */
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing MasterEntityLineItems.
     */
    cursor?: MasterEntityLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` MasterEntityLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` MasterEntityLineItems.
     */
    skip?: number
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * MasterEntityLineItem create
   */
  export type MasterEntityLineItemCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * The data needed to create a MasterEntityLineItem.
     */
    data: XOR<MasterEntityLineItemCreateInput, MasterEntityLineItemUncheckedCreateInput>
  }

  /**
   * MasterEntityLineItem createMany
   */
  export type MasterEntityLineItemCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many MasterEntityLineItems.
     */
    data: MasterEntityLineItemCreateManyInput | MasterEntityLineItemCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * MasterEntityLineItem createManyAndReturn
   */
  export type MasterEntityLineItemCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many MasterEntityLineItems.
     */
    data: MasterEntityLineItemCreateManyInput | MasterEntityLineItemCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * MasterEntityLineItem update
   */
  export type MasterEntityLineItemUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * The data needed to update a MasterEntityLineItem.
     */
    data: XOR<MasterEntityLineItemUpdateInput, MasterEntityLineItemUncheckedUpdateInput>
    /**
     * Choose, which MasterEntityLineItem to update.
     */
    where: MasterEntityLineItemWhereUniqueInput
  }

  /**
   * MasterEntityLineItem updateMany
   */
  export type MasterEntityLineItemUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update MasterEntityLineItems.
     */
    data: XOR<MasterEntityLineItemUpdateManyMutationInput, MasterEntityLineItemUncheckedUpdateManyInput>
    /**
     * Filter which MasterEntityLineItems to update
     */
    where?: MasterEntityLineItemWhereInput
  }

  /**
   * MasterEntityLineItem upsert
   */
  export type MasterEntityLineItemUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * The filter to search for the MasterEntityLineItem to update in case it exists.
     */
    where: MasterEntityLineItemWhereUniqueInput
    /**
     * In case the MasterEntityLineItem found by the `where` argument doesn't exist, create a new MasterEntityLineItem with this data.
     */
    create: XOR<MasterEntityLineItemCreateInput, MasterEntityLineItemUncheckedCreateInput>
    /**
     * In case the MasterEntityLineItem was found with the provided `where` argument, update it with this data.
     */
    update: XOR<MasterEntityLineItemUpdateInput, MasterEntityLineItemUncheckedUpdateInput>
  }

  /**
   * MasterEntityLineItem delete
   */
  export type MasterEntityLineItemDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    /**
     * Filter which MasterEntityLineItem to delete.
     */
    where: MasterEntityLineItemWhereUniqueInput
  }

  /**
   * MasterEntityLineItem deleteMany
   */
  export type MasterEntityLineItemDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which MasterEntityLineItems to delete
     */
    where?: MasterEntityLineItemWhereInput
  }

  /**
   * MasterEntityLineItem.field_type
   */
  export type MasterEntityLineItem$field_typeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    where?: FieldTypeWhereInput
  }

  /**
   * MasterEntityLineItem without action
   */
  export type MasterEntityLineItemDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
  }


  /**
   * Model FieldType
   */

  export type AggregateFieldType = {
    _count: FieldTypeCountAggregateOutputType | null
    _avg: FieldTypeAvgAggregateOutputType | null
    _sum: FieldTypeSumAggregateOutputType | null
    _min: FieldTypeMinAggregateOutputType | null
    _max: FieldTypeMaxAggregateOutputType | null
  }

  export type FieldTypeAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type FieldTypeSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type FieldTypeMinAggregateOutputType = {
    id: number | null
    field_type: string | null
    company_id: number | null
    status_id: number | null
    created_at: Date | null
  }

  export type FieldTypeMaxAggregateOutputType = {
    id: number | null
    field_type: string | null
    company_id: number | null
    status_id: number | null
    created_at: Date | null
  }

  export type FieldTypeCountAggregateOutputType = {
    id: number
    field_type: number
    company_id: number
    status_id: number
    created_at: number
    _all: number
  }


  export type FieldTypeAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type FieldTypeSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type FieldTypeMinAggregateInputType = {
    id?: true
    field_type?: true
    company_id?: true
    status_id?: true
    created_at?: true
  }

  export type FieldTypeMaxAggregateInputType = {
    id?: true
    field_type?: true
    company_id?: true
    status_id?: true
    created_at?: true
  }

  export type FieldTypeCountAggregateInputType = {
    id?: true
    field_type?: true
    company_id?: true
    status_id?: true
    created_at?: true
    _all?: true
  }

  export type FieldTypeAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FieldType to aggregate.
     */
    where?: FieldTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FieldTypes to fetch.
     */
    orderBy?: FieldTypeOrderByWithRelationInput | FieldTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: FieldTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FieldTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FieldTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned FieldTypes
    **/
    _count?: true | FieldTypeCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: FieldTypeAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: FieldTypeSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: FieldTypeMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: FieldTypeMaxAggregateInputType
  }

  export type GetFieldTypeAggregateType<T extends FieldTypeAggregateArgs> = {
        [P in keyof T & keyof AggregateFieldType]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateFieldType[P]>
      : GetScalarType<T[P], AggregateFieldType[P]>
  }




  export type FieldTypeGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FieldTypeWhereInput
    orderBy?: FieldTypeOrderByWithAggregationInput | FieldTypeOrderByWithAggregationInput[]
    by: FieldTypeScalarFieldEnum[] | FieldTypeScalarFieldEnum
    having?: FieldTypeScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: FieldTypeCountAggregateInputType | true
    _avg?: FieldTypeAvgAggregateInputType
    _sum?: FieldTypeSumAggregateInputType
    _min?: FieldTypeMinAggregateInputType
    _max?: FieldTypeMaxAggregateInputType
  }

  export type FieldTypeGroupByOutputType = {
    id: number
    field_type: string
    company_id: number
    status_id: number
    created_at: Date
    _count: FieldTypeCountAggregateOutputType | null
    _avg: FieldTypeAvgAggregateOutputType | null
    _sum: FieldTypeSumAggregateOutputType | null
    _min: FieldTypeMinAggregateOutputType | null
    _max: FieldTypeMaxAggregateOutputType | null
  }

  type GetFieldTypeGroupByPayload<T extends FieldTypeGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<FieldTypeGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof FieldTypeGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], FieldTypeGroupByOutputType[P]>
            : GetScalarType<T[P], FieldTypeGroupByOutputType[P]>
        }
      >
    >


  export type FieldTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    field_type?: boolean
    company_id?: boolean
    status_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid_lineitem?: boolean | FieldType$master_grid_lineitemArgs<ExtArgs>
    importTemplateLineItem?: boolean | FieldType$importTemplateLineItemArgs<ExtArgs>
    exportTemplateLineItem?: boolean | FieldType$exportTemplateLineItemArgs<ExtArgs>
    _count?: boolean | FieldTypeCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["fieldType"]>

  export type FieldTypeSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    field_type?: boolean
    company_id?: boolean
    status_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["fieldType"]>

  export type FieldTypeSelectScalar = {
    id?: boolean
    field_type?: boolean
    company_id?: boolean
    status_id?: boolean
    created_at?: boolean
  }

  export type FieldTypeInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    master_grid_lineitem?: boolean | FieldType$master_grid_lineitemArgs<ExtArgs>
    importTemplateLineItem?: boolean | FieldType$importTemplateLineItemArgs<ExtArgs>
    exportTemplateLineItem?: boolean | FieldType$exportTemplateLineItemArgs<ExtArgs>
    _count?: boolean | FieldTypeCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type FieldTypeIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $FieldTypePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "FieldType"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      master_grid_lineitem: Prisma.$MasterEntityLineItemPayload<ExtArgs>[]
      importTemplateLineItem: Prisma.$ImportTemplateLineItemPayload<ExtArgs>[]
      exportTemplateLineItem: Prisma.$ExportTemplateLineItemPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      field_type: string
      company_id: number
      status_id: number
      created_at: Date
    }, ExtArgs["result"]["fieldType"]>
    composites: {}
  }

  type FieldTypeGetPayload<S extends boolean | null | undefined | FieldTypeDefaultArgs> = $Result.GetResult<Prisma.$FieldTypePayload, S>

  type FieldTypeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<FieldTypeFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: FieldTypeCountAggregateInputType | true
    }

  export interface FieldTypeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FieldType'], meta: { name: 'FieldType' } }
    /**
     * Find zero or one FieldType that matches the filter.
     * @param {FieldTypeFindUniqueArgs} args - Arguments to find a FieldType
     * @example
     * // Get one FieldType
     * const fieldType = await prisma.fieldType.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends FieldTypeFindUniqueArgs>(args: SelectSubset<T, FieldTypeFindUniqueArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one FieldType that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {FieldTypeFindUniqueOrThrowArgs} args - Arguments to find a FieldType
     * @example
     * // Get one FieldType
     * const fieldType = await prisma.fieldType.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends FieldTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, FieldTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first FieldType that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeFindFirstArgs} args - Arguments to find a FieldType
     * @example
     * // Get one FieldType
     * const fieldType = await prisma.fieldType.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends FieldTypeFindFirstArgs>(args?: SelectSubset<T, FieldTypeFindFirstArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first FieldType that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeFindFirstOrThrowArgs} args - Arguments to find a FieldType
     * @example
     * // Get one FieldType
     * const fieldType = await prisma.fieldType.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends FieldTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, FieldTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more FieldTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all FieldTypes
     * const fieldTypes = await prisma.fieldType.findMany()
     * 
     * // Get first 10 FieldTypes
     * const fieldTypes = await prisma.fieldType.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const fieldTypeWithIdOnly = await prisma.fieldType.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends FieldTypeFindManyArgs>(args?: SelectSubset<T, FieldTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a FieldType.
     * @param {FieldTypeCreateArgs} args - Arguments to create a FieldType.
     * @example
     * // Create one FieldType
     * const FieldType = await prisma.fieldType.create({
     *   data: {
     *     // ... data to create a FieldType
     *   }
     * })
     * 
     */
    create<T extends FieldTypeCreateArgs>(args: SelectSubset<T, FieldTypeCreateArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many FieldTypes.
     * @param {FieldTypeCreateManyArgs} args - Arguments to create many FieldTypes.
     * @example
     * // Create many FieldTypes
     * const fieldType = await prisma.fieldType.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends FieldTypeCreateManyArgs>(args?: SelectSubset<T, FieldTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many FieldTypes and returns the data saved in the database.
     * @param {FieldTypeCreateManyAndReturnArgs} args - Arguments to create many FieldTypes.
     * @example
     * // Create many FieldTypes
     * const fieldType = await prisma.fieldType.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many FieldTypes and only return the `id`
     * const fieldTypeWithIdOnly = await prisma.fieldType.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends FieldTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, FieldTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a FieldType.
     * @param {FieldTypeDeleteArgs} args - Arguments to delete one FieldType.
     * @example
     * // Delete one FieldType
     * const FieldType = await prisma.fieldType.delete({
     *   where: {
     *     // ... filter to delete one FieldType
     *   }
     * })
     * 
     */
    delete<T extends FieldTypeDeleteArgs>(args: SelectSubset<T, FieldTypeDeleteArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one FieldType.
     * @param {FieldTypeUpdateArgs} args - Arguments to update one FieldType.
     * @example
     * // Update one FieldType
     * const fieldType = await prisma.fieldType.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends FieldTypeUpdateArgs>(args: SelectSubset<T, FieldTypeUpdateArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more FieldTypes.
     * @param {FieldTypeDeleteManyArgs} args - Arguments to filter FieldTypes to delete.
     * @example
     * // Delete a few FieldTypes
     * const { count } = await prisma.fieldType.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends FieldTypeDeleteManyArgs>(args?: SelectSubset<T, FieldTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more FieldTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many FieldTypes
     * const fieldType = await prisma.fieldType.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends FieldTypeUpdateManyArgs>(args: SelectSubset<T, FieldTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one FieldType.
     * @param {FieldTypeUpsertArgs} args - Arguments to update or create a FieldType.
     * @example
     * // Update or create a FieldType
     * const fieldType = await prisma.fieldType.upsert({
     *   create: {
     *     // ... data to create a FieldType
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the FieldType we want to update
     *   }
     * })
     */
    upsert<T extends FieldTypeUpsertArgs>(args: SelectSubset<T, FieldTypeUpsertArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of FieldTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeCountArgs} args - Arguments to filter FieldTypes to count.
     * @example
     * // Count the number of FieldTypes
     * const count = await prisma.fieldType.count({
     *   where: {
     *     // ... the filter for the FieldTypes we want to count
     *   }
     * })
    **/
    count<T extends FieldTypeCountArgs>(
      args?: Subset<T, FieldTypeCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], FieldTypeCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a FieldType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends FieldTypeAggregateArgs>(args: Subset<T, FieldTypeAggregateArgs>): Prisma.PrismaPromise<GetFieldTypeAggregateType<T>>

    /**
     * Group by FieldType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FieldTypeGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends FieldTypeGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: FieldTypeGroupByArgs['orderBy'] }
        : { orderBy?: FieldTypeGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, FieldTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFieldTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the FieldType model
   */
  readonly fields: FieldTypeFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for FieldType.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__FieldTypeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    master_grid_lineitem<T extends FieldType$master_grid_lineitemArgs<ExtArgs> = {}>(args?: Subset<T, FieldType$master_grid_lineitemArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    importTemplateLineItem<T extends FieldType$importTemplateLineItemArgs<ExtArgs> = {}>(args?: Subset<T, FieldType$importTemplateLineItemArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    exportTemplateLineItem<T extends FieldType$exportTemplateLineItemArgs<ExtArgs> = {}>(args?: Subset<T, FieldType$exportTemplateLineItemArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the FieldType model
   */ 
  interface FieldTypeFieldRefs {
    readonly id: FieldRef<"FieldType", 'Int'>
    readonly field_type: FieldRef<"FieldType", 'String'>
    readonly company_id: FieldRef<"FieldType", 'Int'>
    readonly status_id: FieldRef<"FieldType", 'Int'>
    readonly created_at: FieldRef<"FieldType", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * FieldType findUnique
   */
  export type FieldTypeFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter, which FieldType to fetch.
     */
    where: FieldTypeWhereUniqueInput
  }

  /**
   * FieldType findUniqueOrThrow
   */
  export type FieldTypeFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter, which FieldType to fetch.
     */
    where: FieldTypeWhereUniqueInput
  }

  /**
   * FieldType findFirst
   */
  export type FieldTypeFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter, which FieldType to fetch.
     */
    where?: FieldTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FieldTypes to fetch.
     */
    orderBy?: FieldTypeOrderByWithRelationInput | FieldTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FieldTypes.
     */
    cursor?: FieldTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FieldTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FieldTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FieldTypes.
     */
    distinct?: FieldTypeScalarFieldEnum | FieldTypeScalarFieldEnum[]
  }

  /**
   * FieldType findFirstOrThrow
   */
  export type FieldTypeFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter, which FieldType to fetch.
     */
    where?: FieldTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FieldTypes to fetch.
     */
    orderBy?: FieldTypeOrderByWithRelationInput | FieldTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FieldTypes.
     */
    cursor?: FieldTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FieldTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FieldTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FieldTypes.
     */
    distinct?: FieldTypeScalarFieldEnum | FieldTypeScalarFieldEnum[]
  }

  /**
   * FieldType findMany
   */
  export type FieldTypeFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter, which FieldTypes to fetch.
     */
    where?: FieldTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FieldTypes to fetch.
     */
    orderBy?: FieldTypeOrderByWithRelationInput | FieldTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing FieldTypes.
     */
    cursor?: FieldTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FieldTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FieldTypes.
     */
    skip?: number
    distinct?: FieldTypeScalarFieldEnum | FieldTypeScalarFieldEnum[]
  }

  /**
   * FieldType create
   */
  export type FieldTypeCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * The data needed to create a FieldType.
     */
    data: XOR<FieldTypeCreateInput, FieldTypeUncheckedCreateInput>
  }

  /**
   * FieldType createMany
   */
  export type FieldTypeCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many FieldTypes.
     */
    data: FieldTypeCreateManyInput | FieldTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * FieldType createManyAndReturn
   */
  export type FieldTypeCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many FieldTypes.
     */
    data: FieldTypeCreateManyInput | FieldTypeCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * FieldType update
   */
  export type FieldTypeUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * The data needed to update a FieldType.
     */
    data: XOR<FieldTypeUpdateInput, FieldTypeUncheckedUpdateInput>
    /**
     * Choose, which FieldType to update.
     */
    where: FieldTypeWhereUniqueInput
  }

  /**
   * FieldType updateMany
   */
  export type FieldTypeUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update FieldTypes.
     */
    data: XOR<FieldTypeUpdateManyMutationInput, FieldTypeUncheckedUpdateManyInput>
    /**
     * Filter which FieldTypes to update
     */
    where?: FieldTypeWhereInput
  }

  /**
   * FieldType upsert
   */
  export type FieldTypeUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * The filter to search for the FieldType to update in case it exists.
     */
    where: FieldTypeWhereUniqueInput
    /**
     * In case the FieldType found by the `where` argument doesn't exist, create a new FieldType with this data.
     */
    create: XOR<FieldTypeCreateInput, FieldTypeUncheckedCreateInput>
    /**
     * In case the FieldType was found with the provided `where` argument, update it with this data.
     */
    update: XOR<FieldTypeUpdateInput, FieldTypeUncheckedUpdateInput>
  }

  /**
   * FieldType delete
   */
  export type FieldTypeDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    /**
     * Filter which FieldType to delete.
     */
    where: FieldTypeWhereUniqueInput
  }

  /**
   * FieldType deleteMany
   */
  export type FieldTypeDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FieldTypes to delete
     */
    where?: FieldTypeWhereInput
  }

  /**
   * FieldType.master_grid_lineitem
   */
  export type FieldType$master_grid_lineitemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    where?: MasterEntityLineItemWhereInput
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    cursor?: MasterEntityLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * FieldType.importTemplateLineItem
   */
  export type FieldType$importTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    where?: ImportTemplateLineItemWhereInput
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ImportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * FieldType.exportTemplateLineItem
   */
  export type FieldType$exportTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    where?: ExportTemplateLineItemWhereInput
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ExportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * FieldType without action
   */
  export type FieldTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
  }


  /**
   * Model menuType
   */

  export type AggregateMenuType = {
    _count: MenuTypeCountAggregateOutputType | null
    _avg: MenuTypeAvgAggregateOutputType | null
    _sum: MenuTypeSumAggregateOutputType | null
    _min: MenuTypeMinAggregateOutputType | null
    _max: MenuTypeMaxAggregateOutputType | null
  }

  export type MenuTypeAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MenuTypeSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type MenuTypeMinAggregateOutputType = {
    id: number | null
    name: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type MenuTypeMaxAggregateOutputType = {
    id: number | null
    name: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type MenuTypeCountAggregateOutputType = {
    id: number
    name: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type MenuTypeAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type MenuTypeSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type MenuTypeMinAggregateInputType = {
    id?: true
    name?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type MenuTypeMaxAggregateInputType = {
    id?: true
    name?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type MenuTypeCountAggregateInputType = {
    id?: true
    name?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type MenuTypeAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which menuType to aggregate.
     */
    where?: menuTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of menuTypes to fetch.
     */
    orderBy?: menuTypeOrderByWithRelationInput | menuTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: menuTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` menuTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` menuTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned menuTypes
    **/
    _count?: true | MenuTypeCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: MenuTypeAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: MenuTypeSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: MenuTypeMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: MenuTypeMaxAggregateInputType
  }

  export type GetMenuTypeAggregateType<T extends MenuTypeAggregateArgs> = {
        [P in keyof T & keyof AggregateMenuType]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateMenuType[P]>
      : GetScalarType<T[P], AggregateMenuType[P]>
  }




  export type menuTypeGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: menuTypeWhereInput
    orderBy?: menuTypeOrderByWithAggregationInput | menuTypeOrderByWithAggregationInput[]
    by: MenuTypeScalarFieldEnum[] | MenuTypeScalarFieldEnum
    having?: menuTypeScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: MenuTypeCountAggregateInputType | true
    _avg?: MenuTypeAvgAggregateInputType
    _sum?: MenuTypeSumAggregateInputType
    _min?: MenuTypeMinAggregateInputType
    _max?: MenuTypeMaxAggregateInputType
  }

  export type MenuTypeGroupByOutputType = {
    id: number
    name: string | null
    status_id: number
    company_id: number
    created_at: Date
    _count: MenuTypeCountAggregateOutputType | null
    _avg: MenuTypeAvgAggregateOutputType | null
    _sum: MenuTypeSumAggregateOutputType | null
    _min: MenuTypeMinAggregateOutputType | null
    _max: MenuTypeMaxAggregateOutputType | null
  }

  type GetMenuTypeGroupByPayload<T extends menuTypeGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<MenuTypeGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof MenuTypeGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], MenuTypeGroupByOutputType[P]>
            : GetScalarType<T[P], MenuTypeGroupByOutputType[P]>
        }
      >
    >


  export type menuTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["menuType"]>

  export type menuTypeSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["menuType"]>

  export type menuTypeSelectScalar = {
    id?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type menuTypeInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type menuTypeIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $menuTypePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "menuType"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      name: string | null
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["menuType"]>
    composites: {}
  }

  type menuTypeGetPayload<S extends boolean | null | undefined | menuTypeDefaultArgs> = $Result.GetResult<Prisma.$menuTypePayload, S>

  type menuTypeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<menuTypeFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: MenuTypeCountAggregateInputType | true
    }

  export interface menuTypeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['menuType'], meta: { name: 'menuType' } }
    /**
     * Find zero or one MenuType that matches the filter.
     * @param {menuTypeFindUniqueArgs} args - Arguments to find a MenuType
     * @example
     * // Get one MenuType
     * const menuType = await prisma.menuType.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends menuTypeFindUniqueArgs>(args: SelectSubset<T, menuTypeFindUniqueArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one MenuType that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {menuTypeFindUniqueOrThrowArgs} args - Arguments to find a MenuType
     * @example
     * // Get one MenuType
     * const menuType = await prisma.menuType.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends menuTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, menuTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first MenuType that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeFindFirstArgs} args - Arguments to find a MenuType
     * @example
     * // Get one MenuType
     * const menuType = await prisma.menuType.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends menuTypeFindFirstArgs>(args?: SelectSubset<T, menuTypeFindFirstArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first MenuType that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeFindFirstOrThrowArgs} args - Arguments to find a MenuType
     * @example
     * // Get one MenuType
     * const menuType = await prisma.menuType.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends menuTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, menuTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more MenuTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all MenuTypes
     * const menuTypes = await prisma.menuType.findMany()
     * 
     * // Get first 10 MenuTypes
     * const menuTypes = await prisma.menuType.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const menuTypeWithIdOnly = await prisma.menuType.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends menuTypeFindManyArgs>(args?: SelectSubset<T, menuTypeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a MenuType.
     * @param {menuTypeCreateArgs} args - Arguments to create a MenuType.
     * @example
     * // Create one MenuType
     * const MenuType = await prisma.menuType.create({
     *   data: {
     *     // ... data to create a MenuType
     *   }
     * })
     * 
     */
    create<T extends menuTypeCreateArgs>(args: SelectSubset<T, menuTypeCreateArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many MenuTypes.
     * @param {menuTypeCreateManyArgs} args - Arguments to create many MenuTypes.
     * @example
     * // Create many MenuTypes
     * const menuType = await prisma.menuType.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends menuTypeCreateManyArgs>(args?: SelectSubset<T, menuTypeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many MenuTypes and returns the data saved in the database.
     * @param {menuTypeCreateManyAndReturnArgs} args - Arguments to create many MenuTypes.
     * @example
     * // Create many MenuTypes
     * const menuType = await prisma.menuType.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many MenuTypes and only return the `id`
     * const menuTypeWithIdOnly = await prisma.menuType.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends menuTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, menuTypeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a MenuType.
     * @param {menuTypeDeleteArgs} args - Arguments to delete one MenuType.
     * @example
     * // Delete one MenuType
     * const MenuType = await prisma.menuType.delete({
     *   where: {
     *     // ... filter to delete one MenuType
     *   }
     * })
     * 
     */
    delete<T extends menuTypeDeleteArgs>(args: SelectSubset<T, menuTypeDeleteArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one MenuType.
     * @param {menuTypeUpdateArgs} args - Arguments to update one MenuType.
     * @example
     * // Update one MenuType
     * const menuType = await prisma.menuType.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends menuTypeUpdateArgs>(args: SelectSubset<T, menuTypeUpdateArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more MenuTypes.
     * @param {menuTypeDeleteManyArgs} args - Arguments to filter MenuTypes to delete.
     * @example
     * // Delete a few MenuTypes
     * const { count } = await prisma.menuType.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends menuTypeDeleteManyArgs>(args?: SelectSubset<T, menuTypeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more MenuTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many MenuTypes
     * const menuType = await prisma.menuType.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends menuTypeUpdateManyArgs>(args: SelectSubset<T, menuTypeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one MenuType.
     * @param {menuTypeUpsertArgs} args - Arguments to update or create a MenuType.
     * @example
     * // Update or create a MenuType
     * const menuType = await prisma.menuType.upsert({
     *   create: {
     *     // ... data to create a MenuType
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the MenuType we want to update
     *   }
     * })
     */
    upsert<T extends menuTypeUpsertArgs>(args: SelectSubset<T, menuTypeUpsertArgs<ExtArgs>>): Prisma__menuTypeClient<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of MenuTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeCountArgs} args - Arguments to filter MenuTypes to count.
     * @example
     * // Count the number of MenuTypes
     * const count = await prisma.menuType.count({
     *   where: {
     *     // ... the filter for the MenuTypes we want to count
     *   }
     * })
    **/
    count<T extends menuTypeCountArgs>(
      args?: Subset<T, menuTypeCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], MenuTypeCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a MenuType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {MenuTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends MenuTypeAggregateArgs>(args: Subset<T, MenuTypeAggregateArgs>): Prisma.PrismaPromise<GetMenuTypeAggregateType<T>>

    /**
     * Group by MenuType.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {menuTypeGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends menuTypeGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: menuTypeGroupByArgs['orderBy'] }
        : { orderBy?: menuTypeGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, menuTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMenuTypeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the menuType model
   */
  readonly fields: menuTypeFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for menuType.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__menuTypeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the menuType model
   */ 
  interface menuTypeFieldRefs {
    readonly id: FieldRef<"menuType", 'Int'>
    readonly name: FieldRef<"menuType", 'String'>
    readonly status_id: FieldRef<"menuType", 'Int'>
    readonly company_id: FieldRef<"menuType", 'Int'>
    readonly created_at: FieldRef<"menuType", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * menuType findUnique
   */
  export type menuTypeFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter, which menuType to fetch.
     */
    where: menuTypeWhereUniqueInput
  }

  /**
   * menuType findUniqueOrThrow
   */
  export type menuTypeFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter, which menuType to fetch.
     */
    where: menuTypeWhereUniqueInput
  }

  /**
   * menuType findFirst
   */
  export type menuTypeFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter, which menuType to fetch.
     */
    where?: menuTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of menuTypes to fetch.
     */
    orderBy?: menuTypeOrderByWithRelationInput | menuTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for menuTypes.
     */
    cursor?: menuTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` menuTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` menuTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of menuTypes.
     */
    distinct?: MenuTypeScalarFieldEnum | MenuTypeScalarFieldEnum[]
  }

  /**
   * menuType findFirstOrThrow
   */
  export type menuTypeFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter, which menuType to fetch.
     */
    where?: menuTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of menuTypes to fetch.
     */
    orderBy?: menuTypeOrderByWithRelationInput | menuTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for menuTypes.
     */
    cursor?: menuTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` menuTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` menuTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of menuTypes.
     */
    distinct?: MenuTypeScalarFieldEnum | MenuTypeScalarFieldEnum[]
  }

  /**
   * menuType findMany
   */
  export type menuTypeFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter, which menuTypes to fetch.
     */
    where?: menuTypeWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of menuTypes to fetch.
     */
    orderBy?: menuTypeOrderByWithRelationInput | menuTypeOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing menuTypes.
     */
    cursor?: menuTypeWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` menuTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` menuTypes.
     */
    skip?: number
    distinct?: MenuTypeScalarFieldEnum | MenuTypeScalarFieldEnum[]
  }

  /**
   * menuType create
   */
  export type menuTypeCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * The data needed to create a menuType.
     */
    data: XOR<menuTypeCreateInput, menuTypeUncheckedCreateInput>
  }

  /**
   * menuType createMany
   */
  export type menuTypeCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many menuTypes.
     */
    data: menuTypeCreateManyInput | menuTypeCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * menuType createManyAndReturn
   */
  export type menuTypeCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many menuTypes.
     */
    data: menuTypeCreateManyInput | menuTypeCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * menuType update
   */
  export type menuTypeUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * The data needed to update a menuType.
     */
    data: XOR<menuTypeUpdateInput, menuTypeUncheckedUpdateInput>
    /**
     * Choose, which menuType to update.
     */
    where: menuTypeWhereUniqueInput
  }

  /**
   * menuType updateMany
   */
  export type menuTypeUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update menuTypes.
     */
    data: XOR<menuTypeUpdateManyMutationInput, menuTypeUncheckedUpdateManyInput>
    /**
     * Filter which menuTypes to update
     */
    where?: menuTypeWhereInput
  }

  /**
   * menuType upsert
   */
  export type menuTypeUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * The filter to search for the menuType to update in case it exists.
     */
    where: menuTypeWhereUniqueInput
    /**
     * In case the menuType found by the `where` argument doesn't exist, create a new menuType with this data.
     */
    create: XOR<menuTypeCreateInput, menuTypeUncheckedCreateInput>
    /**
     * In case the menuType was found with the provided `where` argument, update it with this data.
     */
    update: XOR<menuTypeUpdateInput, menuTypeUncheckedUpdateInput>
  }

  /**
   * menuType delete
   */
  export type menuTypeDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    /**
     * Filter which menuType to delete.
     */
    where: menuTypeWhereUniqueInput
  }

  /**
   * menuType deleteMany
   */
  export type menuTypeDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which menuTypes to delete
     */
    where?: menuTypeWhereInput
  }

  /**
   * menuType without action
   */
  export type menuTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplateProcess
   */

  export type AggregateNotificationTemplateProcess = {
    _count: NotificationTemplateProcessCountAggregateOutputType | null
    _avg: NotificationTemplateProcessAvgAggregateOutputType | null
    _sum: NotificationTemplateProcessSumAggregateOutputType | null
    _min: NotificationTemplateProcessMinAggregateOutputType | null
    _max: NotificationTemplateProcessMaxAggregateOutputType | null
  }

  export type NotificationTemplateProcessAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
    notification_type: $Enums.NotificationType | null
  }

  export type NotificationTemplateProcessMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
    notification_type: $Enums.NotificationType | null
  }

  export type NotificationTemplateProcessCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    query_information: number
    status_id: number
    company_id: number
    notification_type: number
    _all: number
  }


  export type NotificationTemplateProcessAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    query_information?: true
    status_id?: true
    company_id?: true
    notification_type?: true
  }

  export type NotificationTemplateProcessMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    query_information?: true
    status_id?: true
    company_id?: true
    notification_type?: true
  }

  export type NotificationTemplateProcessCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    query_information?: true
    status_id?: true
    company_id?: true
    notification_type?: true
    _all?: true
  }

  export type NotificationTemplateProcessAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateProcess to aggregate.
     */
    where?: NotificationTemplateProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcesses to fetch.
     */
    orderBy?: NotificationTemplateProcessOrderByWithRelationInput | NotificationTemplateProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplateProcesses
    **/
    _count?: true | NotificationTemplateProcessCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateProcessAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateProcessSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateProcessMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateProcessMaxAggregateInputType
  }

  export type GetNotificationTemplateProcessAggregateType<T extends NotificationTemplateProcessAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplateProcess]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplateProcess[P]>
      : GetScalarType<T[P], AggregateNotificationTemplateProcess[P]>
  }




  export type NotificationTemplateProcessGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateProcessWhereInput
    orderBy?: NotificationTemplateProcessOrderByWithAggregationInput | NotificationTemplateProcessOrderByWithAggregationInput[]
    by: NotificationTemplateProcessScalarFieldEnum[] | NotificationTemplateProcessScalarFieldEnum
    having?: NotificationTemplateProcessScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateProcessCountAggregateInputType | true
    _avg?: NotificationTemplateProcessAvgAggregateInputType
    _sum?: NotificationTemplateProcessSumAggregateInputType
    _min?: NotificationTemplateProcessMinAggregateInputType
    _max?: NotificationTemplateProcessMaxAggregateInputType
  }

  export type NotificationTemplateProcessGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string
    query_information: string | null
    status_id: number
    company_id: number
    notification_type: $Enums.NotificationType
    _count: NotificationTemplateProcessCountAggregateOutputType | null
    _avg: NotificationTemplateProcessAvgAggregateOutputType | null
    _sum: NotificationTemplateProcessSumAggregateOutputType | null
    _min: NotificationTemplateProcessMinAggregateOutputType | null
    _max: NotificationTemplateProcessMaxAggregateOutputType | null
  }

  type GetNotificationTemplateProcessGroupByPayload<T extends NotificationTemplateProcessGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateProcessGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateProcessGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateProcessGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateProcessGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateProcessSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    notification_type?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_groups?: boolean | NotificationTemplateProcess$notification_template_groupsArgs<ExtArgs>
    notification_templates?: boolean | NotificationTemplateProcess$notification_templatesArgs<ExtArgs>
    notification_template_assignments?: boolean | NotificationTemplateProcess$notification_template_assignmentsArgs<ExtArgs>
    _count?: boolean | NotificationTemplateProcessCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateProcess"]>

  export type NotificationTemplateProcessSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    notification_type?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateProcess"]>

  export type NotificationTemplateProcessSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    notification_type?: boolean
  }

  export type NotificationTemplateProcessInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_groups?: boolean | NotificationTemplateProcess$notification_template_groupsArgs<ExtArgs>
    notification_templates?: boolean | NotificationTemplateProcess$notification_templatesArgs<ExtArgs>
    notification_template_assignments?: boolean | NotificationTemplateProcess$notification_template_assignmentsArgs<ExtArgs>
    _count?: boolean | NotificationTemplateProcessCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateProcessIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $NotificationTemplateProcessPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplateProcess"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      notification_template_groups: Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>[]
      notification_templates: Prisma.$NotificationTemplatePayload<ExtArgs>[]
      notification_template_assignments: Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string
      query_information: string | null
      status_id: number
      company_id: number
      notification_type: $Enums.NotificationType
    }, ExtArgs["result"]["notificationTemplateProcess"]>
    composites: {}
  }

  type NotificationTemplateProcessGetPayload<S extends boolean | null | undefined | NotificationTemplateProcessDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplateProcessPayload, S>

  type NotificationTemplateProcessCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateProcessFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateProcessCountAggregateInputType | true
    }

  export interface NotificationTemplateProcessDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplateProcess'], meta: { name: 'NotificationTemplateProcess' } }
    /**
     * Find zero or one NotificationTemplateProcess that matches the filter.
     * @param {NotificationTemplateProcessFindUniqueArgs} args - Arguments to find a NotificationTemplateProcess
     * @example
     * // Get one NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateProcessFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateProcessFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplateProcess that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateProcessFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplateProcess
     * @example
     * // Get one NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateProcessFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateProcessFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplateProcess that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessFindFirstArgs} args - Arguments to find a NotificationTemplateProcess
     * @example
     * // Get one NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateProcessFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateProcessFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplateProcess that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplateProcess
     * @example
     * // Get one NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateProcessFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateProcessFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplateProcesses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplateProcesses
     * const notificationTemplateProcesses = await prisma.notificationTemplateProcess.findMany()
     * 
     * // Get first 10 NotificationTemplateProcesses
     * const notificationTemplateProcesses = await prisma.notificationTemplateProcess.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationTemplateProcessWithIdOnly = await prisma.notificationTemplateProcess.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationTemplateProcessFindManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplateProcess.
     * @param {NotificationTemplateProcessCreateArgs} args - Arguments to create a NotificationTemplateProcess.
     * @example
     * // Create one NotificationTemplateProcess
     * const NotificationTemplateProcess = await prisma.notificationTemplateProcess.create({
     *   data: {
     *     // ... data to create a NotificationTemplateProcess
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateProcessCreateArgs>(args: SelectSubset<T, NotificationTemplateProcessCreateArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplateProcesses.
     * @param {NotificationTemplateProcessCreateManyArgs} args - Arguments to create many NotificationTemplateProcesses.
     * @example
     * // Create many NotificationTemplateProcesses
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateProcessCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplateProcesses and returns the data saved in the database.
     * @param {NotificationTemplateProcessCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplateProcesses.
     * @example
     * // Create many NotificationTemplateProcesses
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplateProcesses and only return the `id`
     * const notificationTemplateProcessWithIdOnly = await prisma.notificationTemplateProcess.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateProcessCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateProcessCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplateProcess.
     * @param {NotificationTemplateProcessDeleteArgs} args - Arguments to delete one NotificationTemplateProcess.
     * @example
     * // Delete one NotificationTemplateProcess
     * const NotificationTemplateProcess = await prisma.notificationTemplateProcess.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplateProcess
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateProcessDeleteArgs>(args: SelectSubset<T, NotificationTemplateProcessDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplateProcess.
     * @param {NotificationTemplateProcessUpdateArgs} args - Arguments to update one NotificationTemplateProcess.
     * @example
     * // Update one NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateProcessUpdateArgs>(args: SelectSubset<T, NotificationTemplateProcessUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplateProcesses.
     * @param {NotificationTemplateProcessDeleteManyArgs} args - Arguments to filter NotificationTemplateProcesses to delete.
     * @example
     * // Delete a few NotificationTemplateProcesses
     * const { count } = await prisma.notificationTemplateProcess.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateProcessDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplateProcesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplateProcesses
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateProcessUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateProcessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplateProcess.
     * @param {NotificationTemplateProcessUpsertArgs} args - Arguments to update or create a NotificationTemplateProcess.
     * @example
     * // Update or create a NotificationTemplateProcess
     * const notificationTemplateProcess = await prisma.notificationTemplateProcess.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplateProcess
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplateProcess we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateProcessUpsertArgs>(args: SelectSubset<T, NotificationTemplateProcessUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplateProcesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessCountArgs} args - Arguments to filter NotificationTemplateProcesses to count.
     * @example
     * // Count the number of NotificationTemplateProcesses
     * const count = await prisma.notificationTemplateProcess.count({
     *   where: {
     *     // ... the filter for the NotificationTemplateProcesses we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateProcessCountArgs>(
      args?: Subset<T, NotificationTemplateProcessCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateProcessCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplateProcess.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateProcessAggregateArgs>(args: Subset<T, NotificationTemplateProcessAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateProcessAggregateType<T>>

    /**
     * Group by NotificationTemplateProcess.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateProcessGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateProcessGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateProcessGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateProcessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateProcessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplateProcess model
   */
  readonly fields: NotificationTemplateProcessFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplateProcess.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateProcessClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template_groups<T extends NotificationTemplateProcess$notification_template_groupsArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcess$notification_template_groupsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findMany"> | Null>
    notification_templates<T extends NotificationTemplateProcess$notification_templatesArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcess$notification_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    notification_template_assignments<T extends NotificationTemplateProcess$notification_template_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcess$notification_template_assignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplateProcess model
   */ 
  interface NotificationTemplateProcessFieldRefs {
    readonly id: FieldRef<"NotificationTemplateProcess", 'Int'>
    readonly uuid: FieldRef<"NotificationTemplateProcess", 'String'>
    readonly name: FieldRef<"NotificationTemplateProcess", 'String'>
    readonly slug: FieldRef<"NotificationTemplateProcess", 'String'>
    readonly query_information: FieldRef<"NotificationTemplateProcess", 'String'>
    readonly status_id: FieldRef<"NotificationTemplateProcess", 'Int'>
    readonly company_id: FieldRef<"NotificationTemplateProcess", 'Int'>
    readonly notification_type: FieldRef<"NotificationTemplateProcess", 'NotificationType'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplateProcess findUnique
   */
  export type NotificationTemplateProcessFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcess to fetch.
     */
    where: NotificationTemplateProcessWhereUniqueInput
  }

  /**
   * NotificationTemplateProcess findUniqueOrThrow
   */
  export type NotificationTemplateProcessFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcess to fetch.
     */
    where: NotificationTemplateProcessWhereUniqueInput
  }

  /**
   * NotificationTemplateProcess findFirst
   */
  export type NotificationTemplateProcessFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcess to fetch.
     */
    where?: NotificationTemplateProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcesses to fetch.
     */
    orderBy?: NotificationTemplateProcessOrderByWithRelationInput | NotificationTemplateProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateProcesses.
     */
    cursor?: NotificationTemplateProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateProcesses.
     */
    distinct?: NotificationTemplateProcessScalarFieldEnum | NotificationTemplateProcessScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess findFirstOrThrow
   */
  export type NotificationTemplateProcessFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcess to fetch.
     */
    where?: NotificationTemplateProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcesses to fetch.
     */
    orderBy?: NotificationTemplateProcessOrderByWithRelationInput | NotificationTemplateProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateProcesses.
     */
    cursor?: NotificationTemplateProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateProcesses.
     */
    distinct?: NotificationTemplateProcessScalarFieldEnum | NotificationTemplateProcessScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess findMany
   */
  export type NotificationTemplateProcessFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcesses to fetch.
     */
    where?: NotificationTemplateProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcesses to fetch.
     */
    orderBy?: NotificationTemplateProcessOrderByWithRelationInput | NotificationTemplateProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplateProcesses.
     */
    cursor?: NotificationTemplateProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcesses.
     */
    skip?: number
    distinct?: NotificationTemplateProcessScalarFieldEnum | NotificationTemplateProcessScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess create
   */
  export type NotificationTemplateProcessCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplateProcess.
     */
    data: XOR<NotificationTemplateProcessCreateInput, NotificationTemplateProcessUncheckedCreateInput>
  }

  /**
   * NotificationTemplateProcess createMany
   */
  export type NotificationTemplateProcessCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplateProcesses.
     */
    data: NotificationTemplateProcessCreateManyInput | NotificationTemplateProcessCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplateProcess createManyAndReturn
   */
  export type NotificationTemplateProcessCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplateProcesses.
     */
    data: NotificationTemplateProcessCreateManyInput | NotificationTemplateProcessCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplateProcess update
   */
  export type NotificationTemplateProcessUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplateProcess.
     */
    data: XOR<NotificationTemplateProcessUpdateInput, NotificationTemplateProcessUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplateProcess to update.
     */
    where: NotificationTemplateProcessWhereUniqueInput
  }

  /**
   * NotificationTemplateProcess updateMany
   */
  export type NotificationTemplateProcessUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplateProcesses.
     */
    data: XOR<NotificationTemplateProcessUpdateManyMutationInput, NotificationTemplateProcessUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplateProcesses to update
     */
    where?: NotificationTemplateProcessWhereInput
  }

  /**
   * NotificationTemplateProcess upsert
   */
  export type NotificationTemplateProcessUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplateProcess to update in case it exists.
     */
    where: NotificationTemplateProcessWhereUniqueInput
    /**
     * In case the NotificationTemplateProcess found by the `where` argument doesn't exist, create a new NotificationTemplateProcess with this data.
     */
    create: XOR<NotificationTemplateProcessCreateInput, NotificationTemplateProcessUncheckedCreateInput>
    /**
     * In case the NotificationTemplateProcess was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateProcessUpdateInput, NotificationTemplateProcessUncheckedUpdateInput>
  }

  /**
   * NotificationTemplateProcess delete
   */
  export type NotificationTemplateProcessDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplateProcess to delete.
     */
    where: NotificationTemplateProcessWhereUniqueInput
  }

  /**
   * NotificationTemplateProcess deleteMany
   */
  export type NotificationTemplateProcessDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateProcesses to delete
     */
    where?: NotificationTemplateProcessWhereInput
  }

  /**
   * NotificationTemplateProcess.notification_template_groups
   */
  export type NotificationTemplateProcess$notification_template_groupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    where?: NotificationTemplateProcessTagsMappingWhereInput
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateProcessTagsMappingScalarFieldEnum | NotificationTemplateProcessTagsMappingScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess.notification_templates
   */
  export type NotificationTemplateProcess$notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    cursor?: NotificationTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess.notification_template_assignments
   */
  export type NotificationTemplateProcess$notification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    where?: NotificationTemplateAssignmentWhereInput
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcess without action
   */
  export type NotificationTemplateProcessDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplateTag
   */

  export type AggregateNotificationTemplateTag = {
    _count: NotificationTemplateTagCountAggregateOutputType | null
    _avg: NotificationTemplateTagAvgAggregateOutputType | null
    _sum: NotificationTemplateTagSumAggregateOutputType | null
    _min: NotificationTemplateTagMinAggregateOutputType | null
    _max: NotificationTemplateTagMaxAggregateOutputType | null
  }

  export type NotificationTemplateTagAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateTagSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateTagMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateTagMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateTagCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    description: number
    status_id: number
    company_id: number
    _all: number
  }


  export type NotificationTemplateTagAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateTagSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateTagMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateTagMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateTagCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type NotificationTemplateTagAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateTag to aggregate.
     */
    where?: NotificationTemplateTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateTags to fetch.
     */
    orderBy?: NotificationTemplateTagOrderByWithRelationInput | NotificationTemplateTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplateTags
    **/
    _count?: true | NotificationTemplateTagCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateTagAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateTagSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateTagMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateTagMaxAggregateInputType
  }

  export type GetNotificationTemplateTagAggregateType<T extends NotificationTemplateTagAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplateTag]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplateTag[P]>
      : GetScalarType<T[P], AggregateNotificationTemplateTag[P]>
  }




  export type NotificationTemplateTagGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateTagWhereInput
    orderBy?: NotificationTemplateTagOrderByWithAggregationInput | NotificationTemplateTagOrderByWithAggregationInput[]
    by: NotificationTemplateTagScalarFieldEnum[] | NotificationTemplateTagScalarFieldEnum
    having?: NotificationTemplateTagScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateTagCountAggregateInputType | true
    _avg?: NotificationTemplateTagAvgAggregateInputType
    _sum?: NotificationTemplateTagSumAggregateInputType
    _min?: NotificationTemplateTagMinAggregateInputType
    _max?: NotificationTemplateTagMaxAggregateInputType
  }

  export type NotificationTemplateTagGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string | null
    description: string | null
    status_id: number
    company_id: number
    _count: NotificationTemplateTagCountAggregateOutputType | null
    _avg: NotificationTemplateTagAvgAggregateOutputType | null
    _sum: NotificationTemplateTagSumAggregateOutputType | null
    _min: NotificationTemplateTagMinAggregateOutputType | null
    _max: NotificationTemplateTagMaxAggregateOutputType | null
  }

  type GetNotificationTemplateTagGroupByPayload<T extends NotificationTemplateTagGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateTagGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateTagGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateTagGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateTagGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateTagSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_groups?: boolean | NotificationTemplateTag$notification_template_groupsArgs<ExtArgs>
    _count?: boolean | NotificationTemplateTagCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateTag"]>

  export type NotificationTemplateTagSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateTag"]>

  export type NotificationTemplateTagSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type NotificationTemplateTagInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_groups?: boolean | NotificationTemplateTag$notification_template_groupsArgs<ExtArgs>
    _count?: boolean | NotificationTemplateTagCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateTagIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $NotificationTemplateTagPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplateTag"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      notification_template_groups: Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string | null
      description: string | null
      status_id: number
      company_id: number
    }, ExtArgs["result"]["notificationTemplateTag"]>
    composites: {}
  }

  type NotificationTemplateTagGetPayload<S extends boolean | null | undefined | NotificationTemplateTagDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplateTagPayload, S>

  type NotificationTemplateTagCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateTagFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateTagCountAggregateInputType | true
    }

  export interface NotificationTemplateTagDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplateTag'], meta: { name: 'NotificationTemplateTag' } }
    /**
     * Find zero or one NotificationTemplateTag that matches the filter.
     * @param {NotificationTemplateTagFindUniqueArgs} args - Arguments to find a NotificationTemplateTag
     * @example
     * // Get one NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateTagFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateTagFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplateTag that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateTagFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplateTag
     * @example
     * // Get one NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateTagFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplateTag that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagFindFirstArgs} args - Arguments to find a NotificationTemplateTag
     * @example
     * // Get one NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateTagFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateTagFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplateTag that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplateTag
     * @example
     * // Get one NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateTagFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateTagFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplateTags that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplateTags
     * const notificationTemplateTags = await prisma.notificationTemplateTag.findMany()
     * 
     * // Get first 10 NotificationTemplateTags
     * const notificationTemplateTags = await prisma.notificationTemplateTag.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationTemplateTagWithIdOnly = await prisma.notificationTemplateTag.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationTemplateTagFindManyArgs>(args?: SelectSubset<T, NotificationTemplateTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplateTag.
     * @param {NotificationTemplateTagCreateArgs} args - Arguments to create a NotificationTemplateTag.
     * @example
     * // Create one NotificationTemplateTag
     * const NotificationTemplateTag = await prisma.notificationTemplateTag.create({
     *   data: {
     *     // ... data to create a NotificationTemplateTag
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateTagCreateArgs>(args: SelectSubset<T, NotificationTemplateTagCreateArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplateTags.
     * @param {NotificationTemplateTagCreateManyArgs} args - Arguments to create many NotificationTemplateTags.
     * @example
     * // Create many NotificationTemplateTags
     * const notificationTemplateTag = await prisma.notificationTemplateTag.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateTagCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplateTags and returns the data saved in the database.
     * @param {NotificationTemplateTagCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplateTags.
     * @example
     * // Create many NotificationTemplateTags
     * const notificationTemplateTag = await prisma.notificationTemplateTag.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplateTags and only return the `id`
     * const notificationTemplateTagWithIdOnly = await prisma.notificationTemplateTag.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateTagCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplateTag.
     * @param {NotificationTemplateTagDeleteArgs} args - Arguments to delete one NotificationTemplateTag.
     * @example
     * // Delete one NotificationTemplateTag
     * const NotificationTemplateTag = await prisma.notificationTemplateTag.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplateTag
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateTagDeleteArgs>(args: SelectSubset<T, NotificationTemplateTagDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplateTag.
     * @param {NotificationTemplateTagUpdateArgs} args - Arguments to update one NotificationTemplateTag.
     * @example
     * // Update one NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateTagUpdateArgs>(args: SelectSubset<T, NotificationTemplateTagUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplateTags.
     * @param {NotificationTemplateTagDeleteManyArgs} args - Arguments to filter NotificationTemplateTags to delete.
     * @example
     * // Delete a few NotificationTemplateTags
     * const { count } = await prisma.notificationTemplateTag.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateTagDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplateTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplateTags
     * const notificationTemplateTag = await prisma.notificationTemplateTag.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateTagUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplateTag.
     * @param {NotificationTemplateTagUpsertArgs} args - Arguments to update or create a NotificationTemplateTag.
     * @example
     * // Update or create a NotificationTemplateTag
     * const notificationTemplateTag = await prisma.notificationTemplateTag.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplateTag
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplateTag we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateTagUpsertArgs>(args: SelectSubset<T, NotificationTemplateTagUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplateTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagCountArgs} args - Arguments to filter NotificationTemplateTags to count.
     * @example
     * // Count the number of NotificationTemplateTags
     * const count = await prisma.notificationTemplateTag.count({
     *   where: {
     *     // ... the filter for the NotificationTemplateTags we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateTagCountArgs>(
      args?: Subset<T, NotificationTemplateTagCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateTagCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplateTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateTagAggregateArgs>(args: Subset<T, NotificationTemplateTagAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateTagAggregateType<T>>

    /**
     * Group by NotificationTemplateTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateTagGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateTagGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateTagGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateTagGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplateTag model
   */
  readonly fields: NotificationTemplateTagFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplateTag.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateTagClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template_groups<T extends NotificationTemplateTag$notification_template_groupsArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateTag$notification_template_groupsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplateTag model
   */ 
  interface NotificationTemplateTagFieldRefs {
    readonly id: FieldRef<"NotificationTemplateTag", 'Int'>
    readonly uuid: FieldRef<"NotificationTemplateTag", 'String'>
    readonly slug: FieldRef<"NotificationTemplateTag", 'String'>
    readonly name: FieldRef<"NotificationTemplateTag", 'String'>
    readonly description: FieldRef<"NotificationTemplateTag", 'String'>
    readonly status_id: FieldRef<"NotificationTemplateTag", 'Int'>
    readonly company_id: FieldRef<"NotificationTemplateTag", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplateTag findUnique
   */
  export type NotificationTemplateTagFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateTag to fetch.
     */
    where: NotificationTemplateTagWhereUniqueInput
  }

  /**
   * NotificationTemplateTag findUniqueOrThrow
   */
  export type NotificationTemplateTagFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateTag to fetch.
     */
    where: NotificationTemplateTagWhereUniqueInput
  }

  /**
   * NotificationTemplateTag findFirst
   */
  export type NotificationTemplateTagFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateTag to fetch.
     */
    where?: NotificationTemplateTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateTags to fetch.
     */
    orderBy?: NotificationTemplateTagOrderByWithRelationInput | NotificationTemplateTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateTags.
     */
    cursor?: NotificationTemplateTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateTags.
     */
    distinct?: NotificationTemplateTagScalarFieldEnum | NotificationTemplateTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateTag findFirstOrThrow
   */
  export type NotificationTemplateTagFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateTag to fetch.
     */
    where?: NotificationTemplateTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateTags to fetch.
     */
    orderBy?: NotificationTemplateTagOrderByWithRelationInput | NotificationTemplateTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateTags.
     */
    cursor?: NotificationTemplateTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateTags.
     */
    distinct?: NotificationTemplateTagScalarFieldEnum | NotificationTemplateTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateTag findMany
   */
  export type NotificationTemplateTagFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateTags to fetch.
     */
    where?: NotificationTemplateTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateTags to fetch.
     */
    orderBy?: NotificationTemplateTagOrderByWithRelationInput | NotificationTemplateTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplateTags.
     */
    cursor?: NotificationTemplateTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateTags.
     */
    skip?: number
    distinct?: NotificationTemplateTagScalarFieldEnum | NotificationTemplateTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateTag create
   */
  export type NotificationTemplateTagCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplateTag.
     */
    data: XOR<NotificationTemplateTagCreateInput, NotificationTemplateTagUncheckedCreateInput>
  }

  /**
   * NotificationTemplateTag createMany
   */
  export type NotificationTemplateTagCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplateTags.
     */
    data: NotificationTemplateTagCreateManyInput | NotificationTemplateTagCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplateTag createManyAndReturn
   */
  export type NotificationTemplateTagCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplateTags.
     */
    data: NotificationTemplateTagCreateManyInput | NotificationTemplateTagCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplateTag update
   */
  export type NotificationTemplateTagUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplateTag.
     */
    data: XOR<NotificationTemplateTagUpdateInput, NotificationTemplateTagUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplateTag to update.
     */
    where: NotificationTemplateTagWhereUniqueInput
  }

  /**
   * NotificationTemplateTag updateMany
   */
  export type NotificationTemplateTagUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplateTags.
     */
    data: XOR<NotificationTemplateTagUpdateManyMutationInput, NotificationTemplateTagUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplateTags to update
     */
    where?: NotificationTemplateTagWhereInput
  }

  /**
   * NotificationTemplateTag upsert
   */
  export type NotificationTemplateTagUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplateTag to update in case it exists.
     */
    where: NotificationTemplateTagWhereUniqueInput
    /**
     * In case the NotificationTemplateTag found by the `where` argument doesn't exist, create a new NotificationTemplateTag with this data.
     */
    create: XOR<NotificationTemplateTagCreateInput, NotificationTemplateTagUncheckedCreateInput>
    /**
     * In case the NotificationTemplateTag was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateTagUpdateInput, NotificationTemplateTagUncheckedUpdateInput>
  }

  /**
   * NotificationTemplateTag delete
   */
  export type NotificationTemplateTagDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplateTag to delete.
     */
    where: NotificationTemplateTagWhereUniqueInput
  }

  /**
   * NotificationTemplateTag deleteMany
   */
  export type NotificationTemplateTagDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateTags to delete
     */
    where?: NotificationTemplateTagWhereInput
  }

  /**
   * NotificationTemplateTag.notification_template_groups
   */
  export type NotificationTemplateTag$notification_template_groupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    where?: NotificationTemplateProcessTagsMappingWhereInput
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateProcessTagsMappingScalarFieldEnum | NotificationTemplateProcessTagsMappingScalarFieldEnum[]
  }

  /**
   * NotificationTemplateTag without action
   */
  export type NotificationTemplateTagDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplateRecipientTag
   */

  export type AggregateNotificationTemplateRecipientTag = {
    _count: NotificationTemplateRecipientTagCountAggregateOutputType | null
    _avg: NotificationTemplateRecipientTagAvgAggregateOutputType | null
    _sum: NotificationTemplateRecipientTagSumAggregateOutputType | null
    _min: NotificationTemplateRecipientTagMinAggregateOutputType | null
    _max: NotificationTemplateRecipientTagMaxAggregateOutputType | null
  }

  export type NotificationTemplateRecipientTagAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateRecipientTagSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateRecipientTagMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    notification_type: $Enums.NotificationType | null
    description: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateRecipientTagMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    notification_type: $Enums.NotificationType | null
    description: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateRecipientTagCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    notification_type: number
    description: number
    query_information: number
    status_id: number
    company_id: number
    _all: number
  }


  export type NotificationTemplateRecipientTagAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateRecipientTagSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateRecipientTagMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    notification_type?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateRecipientTagMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    notification_type?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
  }

  export type NotificationTemplateRecipientTagCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    notification_type?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type NotificationTemplateRecipientTagAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateRecipientTag to aggregate.
     */
    where?: NotificationTemplateRecipientTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateRecipientTags to fetch.
     */
    orderBy?: NotificationTemplateRecipientTagOrderByWithRelationInput | NotificationTemplateRecipientTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateRecipientTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateRecipientTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateRecipientTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplateRecipientTags
    **/
    _count?: true | NotificationTemplateRecipientTagCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateRecipientTagAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateRecipientTagSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateRecipientTagMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateRecipientTagMaxAggregateInputType
  }

  export type GetNotificationTemplateRecipientTagAggregateType<T extends NotificationTemplateRecipientTagAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplateRecipientTag]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplateRecipientTag[P]>
      : GetScalarType<T[P], AggregateNotificationTemplateRecipientTag[P]>
  }




  export type NotificationTemplateRecipientTagGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateRecipientTagWhereInput
    orderBy?: NotificationTemplateRecipientTagOrderByWithAggregationInput | NotificationTemplateRecipientTagOrderByWithAggregationInput[]
    by: NotificationTemplateRecipientTagScalarFieldEnum[] | NotificationTemplateRecipientTagScalarFieldEnum
    having?: NotificationTemplateRecipientTagScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateRecipientTagCountAggregateInputType | true
    _avg?: NotificationTemplateRecipientTagAvgAggregateInputType
    _sum?: NotificationTemplateRecipientTagSumAggregateInputType
    _min?: NotificationTemplateRecipientTagMinAggregateInputType
    _max?: NotificationTemplateRecipientTagMaxAggregateInputType
  }

  export type NotificationTemplateRecipientTagGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string | null
    notification_type: $Enums.NotificationType
    description: string | null
    query_information: string | null
    status_id: number
    company_id: number
    _count: NotificationTemplateRecipientTagCountAggregateOutputType | null
    _avg: NotificationTemplateRecipientTagAvgAggregateOutputType | null
    _sum: NotificationTemplateRecipientTagSumAggregateOutputType | null
    _min: NotificationTemplateRecipientTagMinAggregateOutputType | null
    _max: NotificationTemplateRecipientTagMaxAggregateOutputType | null
  }

  type GetNotificationTemplateRecipientTagGroupByPayload<T extends NotificationTemplateRecipientTagGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateRecipientTagGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateRecipientTagGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateRecipientTagGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateRecipientTagGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateRecipientTagSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    notification_type?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateRecipientTag"]>

  export type NotificationTemplateRecipientTagSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    notification_type?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateRecipientTag"]>

  export type NotificationTemplateRecipientTagSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    notification_type?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type NotificationTemplateRecipientTagInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateRecipientTagIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $NotificationTemplateRecipientTagPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplateRecipientTag"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string | null
      notification_type: $Enums.NotificationType
      description: string | null
      query_information: string | null
      status_id: number
      company_id: number
    }, ExtArgs["result"]["notificationTemplateRecipientTag"]>
    composites: {}
  }

  type NotificationTemplateRecipientTagGetPayload<S extends boolean | null | undefined | NotificationTemplateRecipientTagDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload, S>

  type NotificationTemplateRecipientTagCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateRecipientTagFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateRecipientTagCountAggregateInputType | true
    }

  export interface NotificationTemplateRecipientTagDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplateRecipientTag'], meta: { name: 'NotificationTemplateRecipientTag' } }
    /**
     * Find zero or one NotificationTemplateRecipientTag that matches the filter.
     * @param {NotificationTemplateRecipientTagFindUniqueArgs} args - Arguments to find a NotificationTemplateRecipientTag
     * @example
     * // Get one NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateRecipientTagFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplateRecipientTag that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateRecipientTagFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplateRecipientTag
     * @example
     * // Get one NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateRecipientTagFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplateRecipientTag that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagFindFirstArgs} args - Arguments to find a NotificationTemplateRecipientTag
     * @example
     * // Get one NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateRecipientTagFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplateRecipientTag that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplateRecipientTag
     * @example
     * // Get one NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateRecipientTagFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplateRecipientTags that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplateRecipientTags
     * const notificationTemplateRecipientTags = await prisma.notificationTemplateRecipientTag.findMany()
     * 
     * // Get first 10 NotificationTemplateRecipientTags
     * const notificationTemplateRecipientTags = await prisma.notificationTemplateRecipientTag.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationTemplateRecipientTagWithIdOnly = await prisma.notificationTemplateRecipientTag.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationTemplateRecipientTagFindManyArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplateRecipientTag.
     * @param {NotificationTemplateRecipientTagCreateArgs} args - Arguments to create a NotificationTemplateRecipientTag.
     * @example
     * // Create one NotificationTemplateRecipientTag
     * const NotificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.create({
     *   data: {
     *     // ... data to create a NotificationTemplateRecipientTag
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateRecipientTagCreateArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagCreateArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplateRecipientTags.
     * @param {NotificationTemplateRecipientTagCreateManyArgs} args - Arguments to create many NotificationTemplateRecipientTags.
     * @example
     * // Create many NotificationTemplateRecipientTags
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateRecipientTagCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplateRecipientTags and returns the data saved in the database.
     * @param {NotificationTemplateRecipientTagCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplateRecipientTags.
     * @example
     * // Create many NotificationTemplateRecipientTags
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplateRecipientTags and only return the `id`
     * const notificationTemplateRecipientTagWithIdOnly = await prisma.notificationTemplateRecipientTag.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateRecipientTagCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplateRecipientTag.
     * @param {NotificationTemplateRecipientTagDeleteArgs} args - Arguments to delete one NotificationTemplateRecipientTag.
     * @example
     * // Delete one NotificationTemplateRecipientTag
     * const NotificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplateRecipientTag
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateRecipientTagDeleteArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplateRecipientTag.
     * @param {NotificationTemplateRecipientTagUpdateArgs} args - Arguments to update one NotificationTemplateRecipientTag.
     * @example
     * // Update one NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateRecipientTagUpdateArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplateRecipientTags.
     * @param {NotificationTemplateRecipientTagDeleteManyArgs} args - Arguments to filter NotificationTemplateRecipientTags to delete.
     * @example
     * // Delete a few NotificationTemplateRecipientTags
     * const { count } = await prisma.notificationTemplateRecipientTag.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateRecipientTagDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateRecipientTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplateRecipientTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplateRecipientTags
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateRecipientTagUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplateRecipientTag.
     * @param {NotificationTemplateRecipientTagUpsertArgs} args - Arguments to update or create a NotificationTemplateRecipientTag.
     * @example
     * // Update or create a NotificationTemplateRecipientTag
     * const notificationTemplateRecipientTag = await prisma.notificationTemplateRecipientTag.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplateRecipientTag
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplateRecipientTag we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateRecipientTagUpsertArgs>(args: SelectSubset<T, NotificationTemplateRecipientTagUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateRecipientTagClient<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplateRecipientTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagCountArgs} args - Arguments to filter NotificationTemplateRecipientTags to count.
     * @example
     * // Count the number of NotificationTemplateRecipientTags
     * const count = await prisma.notificationTemplateRecipientTag.count({
     *   where: {
     *     // ... the filter for the NotificationTemplateRecipientTags we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateRecipientTagCountArgs>(
      args?: Subset<T, NotificationTemplateRecipientTagCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateRecipientTagCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplateRecipientTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateRecipientTagAggregateArgs>(args: Subset<T, NotificationTemplateRecipientTagAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateRecipientTagAggregateType<T>>

    /**
     * Group by NotificationTemplateRecipientTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateRecipientTagGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateRecipientTagGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateRecipientTagGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateRecipientTagGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateRecipientTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateRecipientTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplateRecipientTag model
   */
  readonly fields: NotificationTemplateRecipientTagFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplateRecipientTag.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateRecipientTagClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplateRecipientTag model
   */ 
  interface NotificationTemplateRecipientTagFieldRefs {
    readonly id: FieldRef<"NotificationTemplateRecipientTag", 'Int'>
    readonly uuid: FieldRef<"NotificationTemplateRecipientTag", 'String'>
    readonly slug: FieldRef<"NotificationTemplateRecipientTag", 'String'>
    readonly name: FieldRef<"NotificationTemplateRecipientTag", 'String'>
    readonly notification_type: FieldRef<"NotificationTemplateRecipientTag", 'NotificationType'>
    readonly description: FieldRef<"NotificationTemplateRecipientTag", 'String'>
    readonly query_information: FieldRef<"NotificationTemplateRecipientTag", 'String'>
    readonly status_id: FieldRef<"NotificationTemplateRecipientTag", 'Int'>
    readonly company_id: FieldRef<"NotificationTemplateRecipientTag", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplateRecipientTag findUnique
   */
  export type NotificationTemplateRecipientTagFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateRecipientTag to fetch.
     */
    where: NotificationTemplateRecipientTagWhereUniqueInput
  }

  /**
   * NotificationTemplateRecipientTag findUniqueOrThrow
   */
  export type NotificationTemplateRecipientTagFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateRecipientTag to fetch.
     */
    where: NotificationTemplateRecipientTagWhereUniqueInput
  }

  /**
   * NotificationTemplateRecipientTag findFirst
   */
  export type NotificationTemplateRecipientTagFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateRecipientTag to fetch.
     */
    where?: NotificationTemplateRecipientTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateRecipientTags to fetch.
     */
    orderBy?: NotificationTemplateRecipientTagOrderByWithRelationInput | NotificationTemplateRecipientTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateRecipientTags.
     */
    cursor?: NotificationTemplateRecipientTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateRecipientTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateRecipientTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateRecipientTags.
     */
    distinct?: NotificationTemplateRecipientTagScalarFieldEnum | NotificationTemplateRecipientTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateRecipientTag findFirstOrThrow
   */
  export type NotificationTemplateRecipientTagFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateRecipientTag to fetch.
     */
    where?: NotificationTemplateRecipientTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateRecipientTags to fetch.
     */
    orderBy?: NotificationTemplateRecipientTagOrderByWithRelationInput | NotificationTemplateRecipientTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateRecipientTags.
     */
    cursor?: NotificationTemplateRecipientTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateRecipientTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateRecipientTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateRecipientTags.
     */
    distinct?: NotificationTemplateRecipientTagScalarFieldEnum | NotificationTemplateRecipientTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateRecipientTag findMany
   */
  export type NotificationTemplateRecipientTagFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateRecipientTags to fetch.
     */
    where?: NotificationTemplateRecipientTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateRecipientTags to fetch.
     */
    orderBy?: NotificationTemplateRecipientTagOrderByWithRelationInput | NotificationTemplateRecipientTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplateRecipientTags.
     */
    cursor?: NotificationTemplateRecipientTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateRecipientTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateRecipientTags.
     */
    skip?: number
    distinct?: NotificationTemplateRecipientTagScalarFieldEnum | NotificationTemplateRecipientTagScalarFieldEnum[]
  }

  /**
   * NotificationTemplateRecipientTag create
   */
  export type NotificationTemplateRecipientTagCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplateRecipientTag.
     */
    data: XOR<NotificationTemplateRecipientTagCreateInput, NotificationTemplateRecipientTagUncheckedCreateInput>
  }

  /**
   * NotificationTemplateRecipientTag createMany
   */
  export type NotificationTemplateRecipientTagCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplateRecipientTags.
     */
    data: NotificationTemplateRecipientTagCreateManyInput | NotificationTemplateRecipientTagCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplateRecipientTag createManyAndReturn
   */
  export type NotificationTemplateRecipientTagCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplateRecipientTags.
     */
    data: NotificationTemplateRecipientTagCreateManyInput | NotificationTemplateRecipientTagCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplateRecipientTag update
   */
  export type NotificationTemplateRecipientTagUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplateRecipientTag.
     */
    data: XOR<NotificationTemplateRecipientTagUpdateInput, NotificationTemplateRecipientTagUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplateRecipientTag to update.
     */
    where: NotificationTemplateRecipientTagWhereUniqueInput
  }

  /**
   * NotificationTemplateRecipientTag updateMany
   */
  export type NotificationTemplateRecipientTagUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplateRecipientTags.
     */
    data: XOR<NotificationTemplateRecipientTagUpdateManyMutationInput, NotificationTemplateRecipientTagUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplateRecipientTags to update
     */
    where?: NotificationTemplateRecipientTagWhereInput
  }

  /**
   * NotificationTemplateRecipientTag upsert
   */
  export type NotificationTemplateRecipientTagUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplateRecipientTag to update in case it exists.
     */
    where: NotificationTemplateRecipientTagWhereUniqueInput
    /**
     * In case the NotificationTemplateRecipientTag found by the `where` argument doesn't exist, create a new NotificationTemplateRecipientTag with this data.
     */
    create: XOR<NotificationTemplateRecipientTagCreateInput, NotificationTemplateRecipientTagUncheckedCreateInput>
    /**
     * In case the NotificationTemplateRecipientTag was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateRecipientTagUpdateInput, NotificationTemplateRecipientTagUncheckedUpdateInput>
  }

  /**
   * NotificationTemplateRecipientTag delete
   */
  export type NotificationTemplateRecipientTagDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplateRecipientTag to delete.
     */
    where: NotificationTemplateRecipientTagWhereUniqueInput
  }

  /**
   * NotificationTemplateRecipientTag deleteMany
   */
  export type NotificationTemplateRecipientTagDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateRecipientTags to delete
     */
    where?: NotificationTemplateRecipientTagWhereInput
  }

  /**
   * NotificationTemplateRecipientTag without action
   */
  export type NotificationTemplateRecipientTagDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplateProcessTagsMapping
   */

  export type AggregateNotificationTemplateProcessTagsMapping = {
    _count: NotificationTemplateProcessTagsMappingCountAggregateOutputType | null
    _avg: NotificationTemplateProcessTagsMappingAvgAggregateOutputType | null
    _sum: NotificationTemplateProcessTagsMappingSumAggregateOutputType | null
    _min: NotificationTemplateProcessTagsMappingMinAggregateOutputType | null
    _max: NotificationTemplateProcessTagsMappingMaxAggregateOutputType | null
  }

  export type NotificationTemplateProcessTagsMappingAvgAggregateOutputType = {
    notification_template_process_id: number | null
    notification_template_tag_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessTagsMappingSumAggregateOutputType = {
    notification_template_process_id: number | null
    notification_template_tag_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessTagsMappingMinAggregateOutputType = {
    notification_template_process_id: number | null
    notification_template_tag_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessTagsMappingMaxAggregateOutputType = {
    notification_template_process_id: number | null
    notification_template_tag_id: number | null
    company_id: number | null
  }

  export type NotificationTemplateProcessTagsMappingCountAggregateOutputType = {
    notification_template_process_id: number
    notification_template_tag_id: number
    company_id: number
    _all: number
  }


  export type NotificationTemplateProcessTagsMappingAvgAggregateInputType = {
    notification_template_process_id?: true
    notification_template_tag_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessTagsMappingSumAggregateInputType = {
    notification_template_process_id?: true
    notification_template_tag_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessTagsMappingMinAggregateInputType = {
    notification_template_process_id?: true
    notification_template_tag_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessTagsMappingMaxAggregateInputType = {
    notification_template_process_id?: true
    notification_template_tag_id?: true
    company_id?: true
  }

  export type NotificationTemplateProcessTagsMappingCountAggregateInputType = {
    notification_template_process_id?: true
    notification_template_tag_id?: true
    company_id?: true
    _all?: true
  }

  export type NotificationTemplateProcessTagsMappingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateProcessTagsMapping to aggregate.
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcessTagsMappings to fetch.
     */
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcessTagsMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcessTagsMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplateProcessTagsMappings
    **/
    _count?: true | NotificationTemplateProcessTagsMappingCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateProcessTagsMappingAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateProcessTagsMappingSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateProcessTagsMappingMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateProcessTagsMappingMaxAggregateInputType
  }

  export type GetNotificationTemplateProcessTagsMappingAggregateType<T extends NotificationTemplateProcessTagsMappingAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplateProcessTagsMapping]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplateProcessTagsMapping[P]>
      : GetScalarType<T[P], AggregateNotificationTemplateProcessTagsMapping[P]>
  }




  export type NotificationTemplateProcessTagsMappingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateProcessTagsMappingWhereInput
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithAggregationInput | NotificationTemplateProcessTagsMappingOrderByWithAggregationInput[]
    by: NotificationTemplateProcessTagsMappingScalarFieldEnum[] | NotificationTemplateProcessTagsMappingScalarFieldEnum
    having?: NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateProcessTagsMappingCountAggregateInputType | true
    _avg?: NotificationTemplateProcessTagsMappingAvgAggregateInputType
    _sum?: NotificationTemplateProcessTagsMappingSumAggregateInputType
    _min?: NotificationTemplateProcessTagsMappingMinAggregateInputType
    _max?: NotificationTemplateProcessTagsMappingMaxAggregateInputType
  }

  export type NotificationTemplateProcessTagsMappingGroupByOutputType = {
    notification_template_process_id: number
    notification_template_tag_id: number
    company_id: number
    _count: NotificationTemplateProcessTagsMappingCountAggregateOutputType | null
    _avg: NotificationTemplateProcessTagsMappingAvgAggregateOutputType | null
    _sum: NotificationTemplateProcessTagsMappingSumAggregateOutputType | null
    _min: NotificationTemplateProcessTagsMappingMinAggregateOutputType | null
    _max: NotificationTemplateProcessTagsMappingMaxAggregateOutputType | null
  }

  type GetNotificationTemplateProcessTagsMappingGroupByPayload<T extends NotificationTemplateProcessTagsMappingGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateProcessTagsMappingGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateProcessTagsMappingGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateProcessTagsMappingGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateProcessTagsMappingGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateProcessTagsMappingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    notification_template_process_id?: boolean
    notification_template_tag_id?: boolean
    company_id?: boolean
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_tag?: boolean | NotificationTemplateTagDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateProcessTagsMapping"]>

  export type NotificationTemplateProcessTagsMappingSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    notification_template_process_id?: boolean
    notification_template_tag_id?: boolean
    company_id?: boolean
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_tag?: boolean | NotificationTemplateTagDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateProcessTagsMapping"]>

  export type NotificationTemplateProcessTagsMappingSelectScalar = {
    notification_template_process_id?: boolean
    notification_template_tag_id?: boolean
    company_id?: boolean
  }

  export type NotificationTemplateProcessTagsMappingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_tag?: boolean | NotificationTemplateTagDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateProcessTagsMappingIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_tag?: boolean | NotificationTemplateTagDefaultArgs<ExtArgs>
  }

  export type $NotificationTemplateProcessTagsMappingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplateProcessTagsMapping"
    objects: {
      notification_template_process: Prisma.$NotificationTemplateProcessPayload<ExtArgs>
      notification_template_tag: Prisma.$NotificationTemplateTagPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      notification_template_process_id: number
      notification_template_tag_id: number
      company_id: number
    }, ExtArgs["result"]["notificationTemplateProcessTagsMapping"]>
    composites: {}
  }

  type NotificationTemplateProcessTagsMappingGetPayload<S extends boolean | null | undefined | NotificationTemplateProcessTagsMappingDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload, S>

  type NotificationTemplateProcessTagsMappingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateProcessTagsMappingFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateProcessTagsMappingCountAggregateInputType | true
    }

  export interface NotificationTemplateProcessTagsMappingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplateProcessTagsMapping'], meta: { name: 'NotificationTemplateProcessTagsMapping' } }
    /**
     * Find zero or one NotificationTemplateProcessTagsMapping that matches the filter.
     * @param {NotificationTemplateProcessTagsMappingFindUniqueArgs} args - Arguments to find a NotificationTemplateProcessTagsMapping
     * @example
     * // Get one NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateProcessTagsMappingFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplateProcessTagsMapping that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateProcessTagsMappingFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplateProcessTagsMapping
     * @example
     * // Get one NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateProcessTagsMappingFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplateProcessTagsMapping that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingFindFirstArgs} args - Arguments to find a NotificationTemplateProcessTagsMapping
     * @example
     * // Get one NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateProcessTagsMappingFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplateProcessTagsMapping that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplateProcessTagsMapping
     * @example
     * // Get one NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateProcessTagsMappingFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplateProcessTagsMappings that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplateProcessTagsMappings
     * const notificationTemplateProcessTagsMappings = await prisma.notificationTemplateProcessTagsMapping.findMany()
     * 
     * // Get first 10 NotificationTemplateProcessTagsMappings
     * const notificationTemplateProcessTagsMappings = await prisma.notificationTemplateProcessTagsMapping.findMany({ take: 10 })
     * 
     * // Only select the `notification_template_process_id`
     * const notificationTemplateProcessTagsMappingWithNotification_template_process_idOnly = await prisma.notificationTemplateProcessTagsMapping.findMany({ select: { notification_template_process_id: true } })
     * 
     */
    findMany<T extends NotificationTemplateProcessTagsMappingFindManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplateProcessTagsMapping.
     * @param {NotificationTemplateProcessTagsMappingCreateArgs} args - Arguments to create a NotificationTemplateProcessTagsMapping.
     * @example
     * // Create one NotificationTemplateProcessTagsMapping
     * const NotificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.create({
     *   data: {
     *     // ... data to create a NotificationTemplateProcessTagsMapping
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateProcessTagsMappingCreateArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingCreateArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplateProcessTagsMappings.
     * @param {NotificationTemplateProcessTagsMappingCreateManyArgs} args - Arguments to create many NotificationTemplateProcessTagsMappings.
     * @example
     * // Create many NotificationTemplateProcessTagsMappings
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateProcessTagsMappingCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplateProcessTagsMappings and returns the data saved in the database.
     * @param {NotificationTemplateProcessTagsMappingCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplateProcessTagsMappings.
     * @example
     * // Create many NotificationTemplateProcessTagsMappings
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplateProcessTagsMappings and only return the `notification_template_process_id`
     * const notificationTemplateProcessTagsMappingWithNotification_template_process_idOnly = await prisma.notificationTemplateProcessTagsMapping.createManyAndReturn({ 
     *   select: { notification_template_process_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateProcessTagsMappingCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplateProcessTagsMapping.
     * @param {NotificationTemplateProcessTagsMappingDeleteArgs} args - Arguments to delete one NotificationTemplateProcessTagsMapping.
     * @example
     * // Delete one NotificationTemplateProcessTagsMapping
     * const NotificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplateProcessTagsMapping
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateProcessTagsMappingDeleteArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplateProcessTagsMapping.
     * @param {NotificationTemplateProcessTagsMappingUpdateArgs} args - Arguments to update one NotificationTemplateProcessTagsMapping.
     * @example
     * // Update one NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateProcessTagsMappingUpdateArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplateProcessTagsMappings.
     * @param {NotificationTemplateProcessTagsMappingDeleteManyArgs} args - Arguments to filter NotificationTemplateProcessTagsMappings to delete.
     * @example
     * // Delete a few NotificationTemplateProcessTagsMappings
     * const { count } = await prisma.notificationTemplateProcessTagsMapping.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateProcessTagsMappingDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateProcessTagsMappingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplateProcessTagsMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplateProcessTagsMappings
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateProcessTagsMappingUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplateProcessTagsMapping.
     * @param {NotificationTemplateProcessTagsMappingUpsertArgs} args - Arguments to update or create a NotificationTemplateProcessTagsMapping.
     * @example
     * // Update or create a NotificationTemplateProcessTagsMapping
     * const notificationTemplateProcessTagsMapping = await prisma.notificationTemplateProcessTagsMapping.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplateProcessTagsMapping
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplateProcessTagsMapping we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateProcessTagsMappingUpsertArgs>(args: SelectSubset<T, NotificationTemplateProcessTagsMappingUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateProcessTagsMappingClient<$Result.GetResult<Prisma.$NotificationTemplateProcessTagsMappingPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplateProcessTagsMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingCountArgs} args - Arguments to filter NotificationTemplateProcessTagsMappings to count.
     * @example
     * // Count the number of NotificationTemplateProcessTagsMappings
     * const count = await prisma.notificationTemplateProcessTagsMapping.count({
     *   where: {
     *     // ... the filter for the NotificationTemplateProcessTagsMappings we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateProcessTagsMappingCountArgs>(
      args?: Subset<T, NotificationTemplateProcessTagsMappingCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateProcessTagsMappingCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplateProcessTagsMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateProcessTagsMappingAggregateArgs>(args: Subset<T, NotificationTemplateProcessTagsMappingAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateProcessTagsMappingAggregateType<T>>

    /**
     * Group by NotificationTemplateProcessTagsMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateProcessTagsMappingGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateProcessTagsMappingGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateProcessTagsMappingGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateProcessTagsMappingGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateProcessTagsMappingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateProcessTagsMappingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplateProcessTagsMapping model
   */
  readonly fields: NotificationTemplateProcessTagsMappingFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplateProcessTagsMapping.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateProcessTagsMappingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    notification_template_process<T extends NotificationTemplateProcessDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcessDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template_tag<T extends NotificationTemplateTagDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateTagDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateTagClient<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplateProcessTagsMapping model
   */ 
  interface NotificationTemplateProcessTagsMappingFieldRefs {
    readonly notification_template_process_id: FieldRef<"NotificationTemplateProcessTagsMapping", 'Int'>
    readonly notification_template_tag_id: FieldRef<"NotificationTemplateProcessTagsMapping", 'Int'>
    readonly company_id: FieldRef<"NotificationTemplateProcessTagsMapping", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplateProcessTagsMapping findUnique
   */
  export type NotificationTemplateProcessTagsMappingFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcessTagsMapping to fetch.
     */
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
  }

  /**
   * NotificationTemplateProcessTagsMapping findUniqueOrThrow
   */
  export type NotificationTemplateProcessTagsMappingFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcessTagsMapping to fetch.
     */
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
  }

  /**
   * NotificationTemplateProcessTagsMapping findFirst
   */
  export type NotificationTemplateProcessTagsMappingFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcessTagsMapping to fetch.
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcessTagsMappings to fetch.
     */
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateProcessTagsMappings.
     */
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcessTagsMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcessTagsMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateProcessTagsMappings.
     */
    distinct?: NotificationTemplateProcessTagsMappingScalarFieldEnum | NotificationTemplateProcessTagsMappingScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcessTagsMapping findFirstOrThrow
   */
  export type NotificationTemplateProcessTagsMappingFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcessTagsMapping to fetch.
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcessTagsMappings to fetch.
     */
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateProcessTagsMappings.
     */
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcessTagsMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcessTagsMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateProcessTagsMappings.
     */
    distinct?: NotificationTemplateProcessTagsMappingScalarFieldEnum | NotificationTemplateProcessTagsMappingScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcessTagsMapping findMany
   */
  export type NotificationTemplateProcessTagsMappingFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateProcessTagsMappings to fetch.
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateProcessTagsMappings to fetch.
     */
    orderBy?: NotificationTemplateProcessTagsMappingOrderByWithRelationInput | NotificationTemplateProcessTagsMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplateProcessTagsMappings.
     */
    cursor?: NotificationTemplateProcessTagsMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateProcessTagsMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateProcessTagsMappings.
     */
    skip?: number
    distinct?: NotificationTemplateProcessTagsMappingScalarFieldEnum | NotificationTemplateProcessTagsMappingScalarFieldEnum[]
  }

  /**
   * NotificationTemplateProcessTagsMapping create
   */
  export type NotificationTemplateProcessTagsMappingCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplateProcessTagsMapping.
     */
    data: XOR<NotificationTemplateProcessTagsMappingCreateInput, NotificationTemplateProcessTagsMappingUncheckedCreateInput>
  }

  /**
   * NotificationTemplateProcessTagsMapping createMany
   */
  export type NotificationTemplateProcessTagsMappingCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplateProcessTagsMappings.
     */
    data: NotificationTemplateProcessTagsMappingCreateManyInput | NotificationTemplateProcessTagsMappingCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplateProcessTagsMapping createManyAndReturn
   */
  export type NotificationTemplateProcessTagsMappingCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplateProcessTagsMappings.
     */
    data: NotificationTemplateProcessTagsMappingCreateManyInput | NotificationTemplateProcessTagsMappingCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplateProcessTagsMapping update
   */
  export type NotificationTemplateProcessTagsMappingUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplateProcessTagsMapping.
     */
    data: XOR<NotificationTemplateProcessTagsMappingUpdateInput, NotificationTemplateProcessTagsMappingUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplateProcessTagsMapping to update.
     */
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
  }

  /**
   * NotificationTemplateProcessTagsMapping updateMany
   */
  export type NotificationTemplateProcessTagsMappingUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplateProcessTagsMappings.
     */
    data: XOR<NotificationTemplateProcessTagsMappingUpdateManyMutationInput, NotificationTemplateProcessTagsMappingUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplateProcessTagsMappings to update
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
  }

  /**
   * NotificationTemplateProcessTagsMapping upsert
   */
  export type NotificationTemplateProcessTagsMappingUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplateProcessTagsMapping to update in case it exists.
     */
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    /**
     * In case the NotificationTemplateProcessTagsMapping found by the `where` argument doesn't exist, create a new NotificationTemplateProcessTagsMapping with this data.
     */
    create: XOR<NotificationTemplateProcessTagsMappingCreateInput, NotificationTemplateProcessTagsMappingUncheckedCreateInput>
    /**
     * In case the NotificationTemplateProcessTagsMapping was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateProcessTagsMappingUpdateInput, NotificationTemplateProcessTagsMappingUncheckedUpdateInput>
  }

  /**
   * NotificationTemplateProcessTagsMapping delete
   */
  export type NotificationTemplateProcessTagsMappingDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplateProcessTagsMapping to delete.
     */
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
  }

  /**
   * NotificationTemplateProcessTagsMapping deleteMany
   */
  export type NotificationTemplateProcessTagsMappingDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateProcessTagsMappings to delete
     */
    where?: NotificationTemplateProcessTagsMappingWhereInput
  }

  /**
   * NotificationTemplateProcessTagsMapping without action
   */
  export type NotificationTemplateProcessTagsMappingDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcessTagsMapping
     */
    select?: NotificationTemplateProcessTagsMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessTagsMappingInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplate
   */

  export type AggregateNotificationTemplate = {
    _count: NotificationTemplateCountAggregateOutputType | null
    _avg: NotificationTemplateAvgAggregateOutputType | null
    _sum: NotificationTemplateSumAggregateOutputType | null
    _min: NotificationTemplateMinAggregateOutputType | null
    _max: NotificationTemplateMaxAggregateOutputType | null
  }

  export type NotificationTemplateAvgAggregateOutputType = {
    id: number | null
    notification_template_process_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type NotificationTemplateSumAggregateOutputType = {
    id: number | null
    notification_template_process_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type NotificationTemplateMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    email_subject: string | null
    message: string | null
    parameter_format: string | null
    category: string | null
    language: string | null
    email_body: string | null
    notification_template_process_id: number | null
    notification_type: $Enums.NotificationType | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_at: Date | null
    updated_by: number | null
    deleted_at: Date | null
    deleted_by: number | null
    company_id: number | null
  }

  export type NotificationTemplateMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    email_subject: string | null
    message: string | null
    parameter_format: string | null
    category: string | null
    language: string | null
    email_body: string | null
    notification_template_process_id: number | null
    notification_type: $Enums.NotificationType | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_at: Date | null
    updated_by: number | null
    deleted_at: Date | null
    deleted_by: number | null
    company_id: number | null
  }

  export type NotificationTemplateCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    email_subject: number
    message: number
    components: number
    parameter_format: number
    category: number
    language: number
    email_body: number
    notification_template_process_id: number
    notification_type: number
    status_id: number
    created_at: number
    created_by: number
    updated_at: number
    updated_by: number
    deleted_at: number
    deleted_by: number
    company_id: number
    _all: number
  }


  export type NotificationTemplateAvgAggregateInputType = {
    id?: true
    notification_template_process_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type NotificationTemplateSumAggregateInputType = {
    id?: true
    notification_template_process_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type NotificationTemplateMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    email_subject?: true
    message?: true
    parameter_format?: true
    category?: true
    language?: true
    email_body?: true
    notification_template_process_id?: true
    notification_type?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_at?: true
    updated_by?: true
    deleted_at?: true
    deleted_by?: true
    company_id?: true
  }

  export type NotificationTemplateMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    email_subject?: true
    message?: true
    parameter_format?: true
    category?: true
    language?: true
    email_body?: true
    notification_template_process_id?: true
    notification_type?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_at?: true
    updated_by?: true
    deleted_at?: true
    deleted_by?: true
    company_id?: true
  }

  export type NotificationTemplateCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    email_subject?: true
    message?: true
    components?: true
    parameter_format?: true
    category?: true
    language?: true
    email_body?: true
    notification_template_process_id?: true
    notification_type?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_at?: true
    updated_by?: true
    deleted_at?: true
    deleted_by?: true
    company_id?: true
    _all?: true
  }

  export type NotificationTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplate to aggregate.
     */
    where?: NotificationTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplates to fetch.
     */
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplates
    **/
    _count?: true | NotificationTemplateCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateMaxAggregateInputType
  }

  export type GetNotificationTemplateAggregateType<T extends NotificationTemplateAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplate]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplate[P]>
      : GetScalarType<T[P], AggregateNotificationTemplate[P]>
  }




  export type NotificationTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithAggregationInput | NotificationTemplateOrderByWithAggregationInput[]
    by: NotificationTemplateScalarFieldEnum[] | NotificationTemplateScalarFieldEnum
    having?: NotificationTemplateScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateCountAggregateInputType | true
    _avg?: NotificationTemplateAvgAggregateInputType
    _sum?: NotificationTemplateSumAggregateInputType
    _min?: NotificationTemplateMinAggregateInputType
    _max?: NotificationTemplateMaxAggregateInputType
  }

  export type NotificationTemplateGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string
    email_subject: string | null
    message: string | null
    components: JsonValue | null
    parameter_format: string | null
    category: string | null
    language: string | null
    email_body: string | null
    notification_template_process_id: number
    notification_type: $Enums.NotificationType
    status_id: number
    created_at: Date
    created_by: number | null
    updated_at: Date
    updated_by: number | null
    deleted_at: Date | null
    deleted_by: number | null
    company_id: number
    _count: NotificationTemplateCountAggregateOutputType | null
    _avg: NotificationTemplateAvgAggregateOutputType | null
    _sum: NotificationTemplateSumAggregateOutputType | null
    _min: NotificationTemplateMinAggregateOutputType | null
    _max: NotificationTemplateMaxAggregateOutputType | null
  }

  type GetNotificationTemplateGroupByPayload<T extends NotificationTemplateGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    email_subject?: boolean
    message?: boolean
    components?: boolean
    parameter_format?: boolean
    category?: boolean
    language?: boolean
    email_body?: boolean
    notification_template_process_id?: boolean
    notification_type?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_at?: boolean
    updated_by?: boolean
    deleted_at?: boolean
    deleted_by?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_assignments?: boolean | NotificationTemplate$notification_template_assignmentsArgs<ExtArgs>
    created?: boolean | NotificationTemplate$createdArgs<ExtArgs>
    updated?: boolean | NotificationTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | NotificationTemplate$deletedArgs<ExtArgs>
    approval_workflow_assignments_approve?: boolean | NotificationTemplate$approval_workflow_assignments_approveArgs<ExtArgs>
    approval_workflow_assignments_approve_wa?: boolean | NotificationTemplate$approval_workflow_assignments_approve_waArgs<ExtArgs>
    approval_workflow_assignments_reject?: boolean | NotificationTemplate$approval_workflow_assignments_rejectArgs<ExtArgs>
    approval_workflow_assignments_reject_wa?: boolean | NotificationTemplate$approval_workflow_assignments_reject_waArgs<ExtArgs>
    _count?: boolean | NotificationTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplate"]>

  export type NotificationTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    email_subject?: boolean
    message?: boolean
    components?: boolean
    parameter_format?: boolean
    category?: boolean
    language?: boolean
    email_body?: boolean
    notification_template_process_id?: boolean
    notification_type?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_at?: boolean
    updated_by?: boolean
    deleted_at?: boolean
    deleted_by?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    created?: boolean | NotificationTemplate$createdArgs<ExtArgs>
    updated?: boolean | NotificationTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | NotificationTemplate$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplate"]>

  export type NotificationTemplateSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    email_subject?: boolean
    message?: boolean
    components?: boolean
    parameter_format?: boolean
    category?: boolean
    language?: boolean
    email_body?: boolean
    notification_template_process_id?: boolean
    notification_type?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_at?: boolean
    updated_by?: boolean
    deleted_at?: boolean
    deleted_by?: boolean
    company_id?: boolean
  }

  export type NotificationTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template_assignments?: boolean | NotificationTemplate$notification_template_assignmentsArgs<ExtArgs>
    created?: boolean | NotificationTemplate$createdArgs<ExtArgs>
    updated?: boolean | NotificationTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | NotificationTemplate$deletedArgs<ExtArgs>
    approval_workflow_assignments_approve?: boolean | NotificationTemplate$approval_workflow_assignments_approveArgs<ExtArgs>
    approval_workflow_assignments_approve_wa?: boolean | NotificationTemplate$approval_workflow_assignments_approve_waArgs<ExtArgs>
    approval_workflow_assignments_reject?: boolean | NotificationTemplate$approval_workflow_assignments_rejectArgs<ExtArgs>
    approval_workflow_assignments_reject_wa?: boolean | NotificationTemplate$approval_workflow_assignments_reject_waArgs<ExtArgs>
    _count?: boolean | NotificationTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    created?: boolean | NotificationTemplate$createdArgs<ExtArgs>
    updated?: boolean | NotificationTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | NotificationTemplate$deletedArgs<ExtArgs>
  }

  export type $NotificationTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplate"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      notification_template_process: Prisma.$NotificationTemplateProcessPayload<ExtArgs>
      notification_template_assignments: Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>[]
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      approval_workflow_assignments_approve: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
      approval_workflow_assignments_approve_wa: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
      approval_workflow_assignments_reject: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
      approval_workflow_assignments_reject_wa: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string
      email_subject: string | null
      message: string | null
      components: Prisma.JsonValue | null
      parameter_format: string | null
      category: string | null
      language: string | null
      email_body: string | null
      notification_template_process_id: number
      notification_type: $Enums.NotificationType
      status_id: number
      created_at: Date
      created_by: number | null
      updated_at: Date
      updated_by: number | null
      deleted_at: Date | null
      deleted_by: number | null
      company_id: number
    }, ExtArgs["result"]["notificationTemplate"]>
    composites: {}
  }

  type NotificationTemplateGetPayload<S extends boolean | null | undefined | NotificationTemplateDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplatePayload, S>

  type NotificationTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateCountAggregateInputType | true
    }

  export interface NotificationTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplate'], meta: { name: 'NotificationTemplate' } }
    /**
     * Find zero or one NotificationTemplate that matches the filter.
     * @param {NotificationTemplateFindUniqueArgs} args - Arguments to find a NotificationTemplate
     * @example
     * // Get one NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplate that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplate
     * @example
     * // Get one NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplate that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateFindFirstArgs} args - Arguments to find a NotificationTemplate
     * @example
     * // Get one NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplate that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplate
     * @example
     * // Get one NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplates
     * const notificationTemplates = await prisma.notificationTemplate.findMany()
     * 
     * // Get first 10 NotificationTemplates
     * const notificationTemplates = await prisma.notificationTemplate.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationTemplateWithIdOnly = await prisma.notificationTemplate.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationTemplateFindManyArgs>(args?: SelectSubset<T, NotificationTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplate.
     * @param {NotificationTemplateCreateArgs} args - Arguments to create a NotificationTemplate.
     * @example
     * // Create one NotificationTemplate
     * const NotificationTemplate = await prisma.notificationTemplate.create({
     *   data: {
     *     // ... data to create a NotificationTemplate
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateCreateArgs>(args: SelectSubset<T, NotificationTemplateCreateArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplates.
     * @param {NotificationTemplateCreateManyArgs} args - Arguments to create many NotificationTemplates.
     * @example
     * // Create many NotificationTemplates
     * const notificationTemplate = await prisma.notificationTemplate.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplates and returns the data saved in the database.
     * @param {NotificationTemplateCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplates.
     * @example
     * // Create many NotificationTemplates
     * const notificationTemplate = await prisma.notificationTemplate.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplates and only return the `id`
     * const notificationTemplateWithIdOnly = await prisma.notificationTemplate.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplate.
     * @param {NotificationTemplateDeleteArgs} args - Arguments to delete one NotificationTemplate.
     * @example
     * // Delete one NotificationTemplate
     * const NotificationTemplate = await prisma.notificationTemplate.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplate
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateDeleteArgs>(args: SelectSubset<T, NotificationTemplateDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplate.
     * @param {NotificationTemplateUpdateArgs} args - Arguments to update one NotificationTemplate.
     * @example
     * // Update one NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateUpdateArgs>(args: SelectSubset<T, NotificationTemplateUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplates.
     * @param {NotificationTemplateDeleteManyArgs} args - Arguments to filter NotificationTemplates to delete.
     * @example
     * // Delete a few NotificationTemplates
     * const { count } = await prisma.notificationTemplate.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplates
     * const notificationTemplate = await prisma.notificationTemplate.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplate.
     * @param {NotificationTemplateUpsertArgs} args - Arguments to update or create a NotificationTemplate.
     * @example
     * // Update or create a NotificationTemplate
     * const notificationTemplate = await prisma.notificationTemplate.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplate
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplate we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateUpsertArgs>(args: SelectSubset<T, NotificationTemplateUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateCountArgs} args - Arguments to filter NotificationTemplates to count.
     * @example
     * // Count the number of NotificationTemplates
     * const count = await prisma.notificationTemplate.count({
     *   where: {
     *     // ... the filter for the NotificationTemplates we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateCountArgs>(
      args?: Subset<T, NotificationTemplateCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateAggregateArgs>(args: Subset<T, NotificationTemplateAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateAggregateType<T>>

    /**
     * Group by NotificationTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplate model
   */
  readonly fields: NotificationTemplateFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplate.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template_process<T extends NotificationTemplateProcessDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcessDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template_assignments<T extends NotificationTemplate$notification_template_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$notification_template_assignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    created<T extends NotificationTemplate$createdArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends NotificationTemplate$updatedArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends NotificationTemplate$deletedArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    approval_workflow_assignments_approve<T extends NotificationTemplate$approval_workflow_assignments_approveArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$approval_workflow_assignments_approveArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflow_assignments_approve_wa<T extends NotificationTemplate$approval_workflow_assignments_approve_waArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$approval_workflow_assignments_approve_waArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflow_assignments_reject<T extends NotificationTemplate$approval_workflow_assignments_rejectArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$approval_workflow_assignments_rejectArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflow_assignments_reject_wa<T extends NotificationTemplate$approval_workflow_assignments_reject_waArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplate$approval_workflow_assignments_reject_waArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplate model
   */ 
  interface NotificationTemplateFieldRefs {
    readonly id: FieldRef<"NotificationTemplate", 'Int'>
    readonly uuid: FieldRef<"NotificationTemplate", 'String'>
    readonly slug: FieldRef<"NotificationTemplate", 'String'>
    readonly name: FieldRef<"NotificationTemplate", 'String'>
    readonly email_subject: FieldRef<"NotificationTemplate", 'String'>
    readonly message: FieldRef<"NotificationTemplate", 'String'>
    readonly components: FieldRef<"NotificationTemplate", 'Json'>
    readonly parameter_format: FieldRef<"NotificationTemplate", 'String'>
    readonly category: FieldRef<"NotificationTemplate", 'String'>
    readonly language: FieldRef<"NotificationTemplate", 'String'>
    readonly email_body: FieldRef<"NotificationTemplate", 'String'>
    readonly notification_template_process_id: FieldRef<"NotificationTemplate", 'Int'>
    readonly notification_type: FieldRef<"NotificationTemplate", 'NotificationType'>
    readonly status_id: FieldRef<"NotificationTemplate", 'Int'>
    readonly created_at: FieldRef<"NotificationTemplate", 'DateTime'>
    readonly created_by: FieldRef<"NotificationTemplate", 'Int'>
    readonly updated_at: FieldRef<"NotificationTemplate", 'DateTime'>
    readonly updated_by: FieldRef<"NotificationTemplate", 'Int'>
    readonly deleted_at: FieldRef<"NotificationTemplate", 'DateTime'>
    readonly deleted_by: FieldRef<"NotificationTemplate", 'Int'>
    readonly company_id: FieldRef<"NotificationTemplate", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplate findUnique
   */
  export type NotificationTemplateFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplate to fetch.
     */
    where: NotificationTemplateWhereUniqueInput
  }

  /**
   * NotificationTemplate findUniqueOrThrow
   */
  export type NotificationTemplateFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplate to fetch.
     */
    where: NotificationTemplateWhereUniqueInput
  }

  /**
   * NotificationTemplate findFirst
   */
  export type NotificationTemplateFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplate to fetch.
     */
    where?: NotificationTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplates to fetch.
     */
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplates.
     */
    cursor?: NotificationTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplates.
     */
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * NotificationTemplate findFirstOrThrow
   */
  export type NotificationTemplateFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplate to fetch.
     */
    where?: NotificationTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplates to fetch.
     */
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplates.
     */
    cursor?: NotificationTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplates.
     */
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * NotificationTemplate findMany
   */
  export type NotificationTemplateFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplates to fetch.
     */
    where?: NotificationTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplates to fetch.
     */
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplates.
     */
    cursor?: NotificationTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplates.
     */
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * NotificationTemplate create
   */
  export type NotificationTemplateCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplate.
     */
    data: XOR<NotificationTemplateCreateInput, NotificationTemplateUncheckedCreateInput>
  }

  /**
   * NotificationTemplate createMany
   */
  export type NotificationTemplateCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplates.
     */
    data: NotificationTemplateCreateManyInput | NotificationTemplateCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplate createManyAndReturn
   */
  export type NotificationTemplateCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplates.
     */
    data: NotificationTemplateCreateManyInput | NotificationTemplateCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplate update
   */
  export type NotificationTemplateUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplate.
     */
    data: XOR<NotificationTemplateUpdateInput, NotificationTemplateUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplate to update.
     */
    where: NotificationTemplateWhereUniqueInput
  }

  /**
   * NotificationTemplate updateMany
   */
  export type NotificationTemplateUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplates.
     */
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplates to update
     */
    where?: NotificationTemplateWhereInput
  }

  /**
   * NotificationTemplate upsert
   */
  export type NotificationTemplateUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplate to update in case it exists.
     */
    where: NotificationTemplateWhereUniqueInput
    /**
     * In case the NotificationTemplate found by the `where` argument doesn't exist, create a new NotificationTemplate with this data.
     */
    create: XOR<NotificationTemplateCreateInput, NotificationTemplateUncheckedCreateInput>
    /**
     * In case the NotificationTemplate was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateUpdateInput, NotificationTemplateUncheckedUpdateInput>
  }

  /**
   * NotificationTemplate delete
   */
  export type NotificationTemplateDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplate to delete.
     */
    where: NotificationTemplateWhereUniqueInput
  }

  /**
   * NotificationTemplate deleteMany
   */
  export type NotificationTemplateDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplates to delete
     */
    where?: NotificationTemplateWhereInput
  }

  /**
   * NotificationTemplate.notification_template_assignments
   */
  export type NotificationTemplate$notification_template_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    where?: NotificationTemplateAssignmentWhereInput
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplate.created
   */
  export type NotificationTemplate$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * NotificationTemplate.updated
   */
  export type NotificationTemplate$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * NotificationTemplate.deleted
   */
  export type NotificationTemplate$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * NotificationTemplate.approval_workflow_assignments_approve
   */
  export type NotificationTemplate$approval_workflow_assignments_approveArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplate.approval_workflow_assignments_approve_wa
   */
  export type NotificationTemplate$approval_workflow_assignments_approve_waArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplate.approval_workflow_assignments_reject
   */
  export type NotificationTemplate$approval_workflow_assignments_rejectArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplate.approval_workflow_assignments_reject_wa
   */
  export type NotificationTemplate$approval_workflow_assignments_reject_waArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplate without action
   */
  export type NotificationTemplateDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
  }


  /**
   * Model NotificationTemplateAssignment
   */

  export type AggregateNotificationTemplateAssignment = {
    _count: NotificationTemplateAssignmentCountAggregateOutputType | null
    _avg: NotificationTemplateAssignmentAvgAggregateOutputType | null
    _sum: NotificationTemplateAssignmentSumAggregateOutputType | null
    _min: NotificationTemplateAssignmentMinAggregateOutputType | null
    _max: NotificationTemplateAssignmentMaxAggregateOutputType | null
  }

  export type NotificationTemplateAssignmentAvgAggregateOutputType = {
    id: number | null
    notification_template_process_id: number | null
    template_id: number | null
    company_id: number | null
    created_by: number | null
  }

  export type NotificationTemplateAssignmentSumAggregateOutputType = {
    id: number | null
    notification_template_process_id: number | null
    template_id: number | null
    company_id: number | null
    created_by: number | null
  }

  export type NotificationTemplateAssignmentMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    notification_template_process_id: number | null
    template_id: number | null
    recipient_type: $Enums.RecipientType | null
    notification_to: string | null
    notification_type: $Enums.NotificationType | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
  }

  export type NotificationTemplateAssignmentMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    notification_template_process_id: number | null
    template_id: number | null
    recipient_type: $Enums.RecipientType | null
    notification_to: string | null
    notification_type: $Enums.NotificationType | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
  }

  export type NotificationTemplateAssignmentCountAggregateOutputType = {
    id: number
    uuid: number
    notification_template_process_id: number
    template_id: number
    recipient_type: number
    notification_to: number
    notification_type: number
    company_id: number
    created_at: number
    created_by: number
    _all: number
  }


  export type NotificationTemplateAssignmentAvgAggregateInputType = {
    id?: true
    notification_template_process_id?: true
    template_id?: true
    company_id?: true
    created_by?: true
  }

  export type NotificationTemplateAssignmentSumAggregateInputType = {
    id?: true
    notification_template_process_id?: true
    template_id?: true
    company_id?: true
    created_by?: true
  }

  export type NotificationTemplateAssignmentMinAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_id?: true
    template_id?: true
    recipient_type?: true
    notification_to?: true
    notification_type?: true
    company_id?: true
    created_at?: true
    created_by?: true
  }

  export type NotificationTemplateAssignmentMaxAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_id?: true
    template_id?: true
    recipient_type?: true
    notification_to?: true
    notification_type?: true
    company_id?: true
    created_at?: true
    created_by?: true
  }

  export type NotificationTemplateAssignmentCountAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_id?: true
    template_id?: true
    recipient_type?: true
    notification_to?: true
    notification_type?: true
    company_id?: true
    created_at?: true
    created_by?: true
    _all?: true
  }

  export type NotificationTemplateAssignmentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateAssignment to aggregate.
     */
    where?: NotificationTemplateAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateAssignments to fetch.
     */
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationTemplateAssignments
    **/
    _count?: true | NotificationTemplateAssignmentCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationTemplateAssignmentAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationTemplateAssignmentSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationTemplateAssignmentMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationTemplateAssignmentMaxAggregateInputType
  }

  export type GetNotificationTemplateAssignmentAggregateType<T extends NotificationTemplateAssignmentAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationTemplateAssignment]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationTemplateAssignment[P]>
      : GetScalarType<T[P], AggregateNotificationTemplateAssignment[P]>
  }




  export type NotificationTemplateAssignmentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationTemplateAssignmentWhereInput
    orderBy?: NotificationTemplateAssignmentOrderByWithAggregationInput | NotificationTemplateAssignmentOrderByWithAggregationInput[]
    by: NotificationTemplateAssignmentScalarFieldEnum[] | NotificationTemplateAssignmentScalarFieldEnum
    having?: NotificationTemplateAssignmentScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationTemplateAssignmentCountAggregateInputType | true
    _avg?: NotificationTemplateAssignmentAvgAggregateInputType
    _sum?: NotificationTemplateAssignmentSumAggregateInputType
    _min?: NotificationTemplateAssignmentMinAggregateInputType
    _max?: NotificationTemplateAssignmentMaxAggregateInputType
  }

  export type NotificationTemplateAssignmentGroupByOutputType = {
    id: number
    uuid: string
    notification_template_process_id: number
    template_id: number
    recipient_type: $Enums.RecipientType
    notification_to: string | null
    notification_type: $Enums.NotificationType
    company_id: number
    created_at: Date
    created_by: number
    _count: NotificationTemplateAssignmentCountAggregateOutputType | null
    _avg: NotificationTemplateAssignmentAvgAggregateOutputType | null
    _sum: NotificationTemplateAssignmentSumAggregateOutputType | null
    _min: NotificationTemplateAssignmentMinAggregateOutputType | null
    _max: NotificationTemplateAssignmentMaxAggregateOutputType | null
  }

  type GetNotificationTemplateAssignmentGroupByPayload<T extends NotificationTemplateAssignmentGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationTemplateAssignmentGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationTemplateAssignmentGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationTemplateAssignmentGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationTemplateAssignmentGroupByOutputType[P]>
        }
      >
    >


  export type NotificationTemplateAssignmentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    notification_template_process_id?: boolean
    template_id?: boolean
    recipient_type?: boolean
    notification_to?: boolean
    notification_type?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template?: boolean | NotificationTemplateDefaultArgs<ExtArgs>
    created?: boolean | UserDefaultArgs<ExtArgs>
    email_template_cc_bcc?: boolean | NotificationTemplateAssignment$email_template_cc_bccArgs<ExtArgs>
    _count?: boolean | NotificationTemplateAssignmentCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateAssignment"]>

  export type NotificationTemplateAssignmentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    notification_template_process_id?: boolean
    template_id?: boolean
    recipient_type?: boolean
    notification_to?: boolean
    notification_type?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template?: boolean | NotificationTemplateDefaultArgs<ExtArgs>
    created?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["notificationTemplateAssignment"]>

  export type NotificationTemplateAssignmentSelectScalar = {
    id?: boolean
    uuid?: boolean
    notification_template_process_id?: boolean
    template_id?: boolean
    recipient_type?: boolean
    notification_to?: boolean
    notification_type?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
  }

  export type NotificationTemplateAssignmentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template?: boolean | NotificationTemplateDefaultArgs<ExtArgs>
    created?: boolean | UserDefaultArgs<ExtArgs>
    email_template_cc_bcc?: boolean | NotificationTemplateAssignment$email_template_cc_bccArgs<ExtArgs>
    _count?: boolean | NotificationTemplateAssignmentCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type NotificationTemplateAssignmentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    notification_template_process?: boolean | NotificationTemplateProcessDefaultArgs<ExtArgs>
    notification_template?: boolean | NotificationTemplateDefaultArgs<ExtArgs>
    created?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $NotificationTemplateAssignmentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationTemplateAssignment"
    objects: {
      notification_template_process: Prisma.$NotificationTemplateProcessPayload<ExtArgs>
      notification_template: Prisma.$NotificationTemplatePayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs>
      email_template_cc_bcc: Prisma.$EmailTemplateCcBccPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      notification_template_process_id: number
      template_id: number
      recipient_type: $Enums.RecipientType
      notification_to: string | null
      notification_type: $Enums.NotificationType
      company_id: number
      created_at: Date
      created_by: number
    }, ExtArgs["result"]["notificationTemplateAssignment"]>
    composites: {}
  }

  type NotificationTemplateAssignmentGetPayload<S extends boolean | null | undefined | NotificationTemplateAssignmentDefaultArgs> = $Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload, S>

  type NotificationTemplateAssignmentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationTemplateAssignmentFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationTemplateAssignmentCountAggregateInputType | true
    }

  export interface NotificationTemplateAssignmentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationTemplateAssignment'], meta: { name: 'NotificationTemplateAssignment' } }
    /**
     * Find zero or one NotificationTemplateAssignment that matches the filter.
     * @param {NotificationTemplateAssignmentFindUniqueArgs} args - Arguments to find a NotificationTemplateAssignment
     * @example
     * // Get one NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationTemplateAssignmentFindUniqueArgs>(args: SelectSubset<T, NotificationTemplateAssignmentFindUniqueArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationTemplateAssignment that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationTemplateAssignmentFindUniqueOrThrowArgs} args - Arguments to find a NotificationTemplateAssignment
     * @example
     * // Get one NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationTemplateAssignmentFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationTemplateAssignmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationTemplateAssignment that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentFindFirstArgs} args - Arguments to find a NotificationTemplateAssignment
     * @example
     * // Get one NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationTemplateAssignmentFindFirstArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentFindFirstArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationTemplateAssignment that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentFindFirstOrThrowArgs} args - Arguments to find a NotificationTemplateAssignment
     * @example
     * // Get one NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationTemplateAssignmentFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationTemplateAssignments that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationTemplateAssignments
     * const notificationTemplateAssignments = await prisma.notificationTemplateAssignment.findMany()
     * 
     * // Get first 10 NotificationTemplateAssignments
     * const notificationTemplateAssignments = await prisma.notificationTemplateAssignment.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationTemplateAssignmentWithIdOnly = await prisma.notificationTemplateAssignment.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationTemplateAssignmentFindManyArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationTemplateAssignment.
     * @param {NotificationTemplateAssignmentCreateArgs} args - Arguments to create a NotificationTemplateAssignment.
     * @example
     * // Create one NotificationTemplateAssignment
     * const NotificationTemplateAssignment = await prisma.notificationTemplateAssignment.create({
     *   data: {
     *     // ... data to create a NotificationTemplateAssignment
     *   }
     * })
     * 
     */
    create<T extends NotificationTemplateAssignmentCreateArgs>(args: SelectSubset<T, NotificationTemplateAssignmentCreateArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationTemplateAssignments.
     * @param {NotificationTemplateAssignmentCreateManyArgs} args - Arguments to create many NotificationTemplateAssignments.
     * @example
     * // Create many NotificationTemplateAssignments
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationTemplateAssignmentCreateManyArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationTemplateAssignments and returns the data saved in the database.
     * @param {NotificationTemplateAssignmentCreateManyAndReturnArgs} args - Arguments to create many NotificationTemplateAssignments.
     * @example
     * // Create many NotificationTemplateAssignments
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationTemplateAssignments and only return the `id`
     * const notificationTemplateAssignmentWithIdOnly = await prisma.notificationTemplateAssignment.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationTemplateAssignmentCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationTemplateAssignment.
     * @param {NotificationTemplateAssignmentDeleteArgs} args - Arguments to delete one NotificationTemplateAssignment.
     * @example
     * // Delete one NotificationTemplateAssignment
     * const NotificationTemplateAssignment = await prisma.notificationTemplateAssignment.delete({
     *   where: {
     *     // ... filter to delete one NotificationTemplateAssignment
     *   }
     * })
     * 
     */
    delete<T extends NotificationTemplateAssignmentDeleteArgs>(args: SelectSubset<T, NotificationTemplateAssignmentDeleteArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationTemplateAssignment.
     * @param {NotificationTemplateAssignmentUpdateArgs} args - Arguments to update one NotificationTemplateAssignment.
     * @example
     * // Update one NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationTemplateAssignmentUpdateArgs>(args: SelectSubset<T, NotificationTemplateAssignmentUpdateArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationTemplateAssignments.
     * @param {NotificationTemplateAssignmentDeleteManyArgs} args - Arguments to filter NotificationTemplateAssignments to delete.
     * @example
     * // Delete a few NotificationTemplateAssignments
     * const { count } = await prisma.notificationTemplateAssignment.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationTemplateAssignmentDeleteManyArgs>(args?: SelectSubset<T, NotificationTemplateAssignmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationTemplateAssignments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationTemplateAssignments
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationTemplateAssignmentUpdateManyArgs>(args: SelectSubset<T, NotificationTemplateAssignmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationTemplateAssignment.
     * @param {NotificationTemplateAssignmentUpsertArgs} args - Arguments to update or create a NotificationTemplateAssignment.
     * @example
     * // Update or create a NotificationTemplateAssignment
     * const notificationTemplateAssignment = await prisma.notificationTemplateAssignment.upsert({
     *   create: {
     *     // ... data to create a NotificationTemplateAssignment
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationTemplateAssignment we want to update
     *   }
     * })
     */
    upsert<T extends NotificationTemplateAssignmentUpsertArgs>(args: SelectSubset<T, NotificationTemplateAssignmentUpsertArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationTemplateAssignments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentCountArgs} args - Arguments to filter NotificationTemplateAssignments to count.
     * @example
     * // Count the number of NotificationTemplateAssignments
     * const count = await prisma.notificationTemplateAssignment.count({
     *   where: {
     *     // ... the filter for the NotificationTemplateAssignments we want to count
     *   }
     * })
    **/
    count<T extends NotificationTemplateAssignmentCountArgs>(
      args?: Subset<T, NotificationTemplateAssignmentCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationTemplateAssignmentCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationTemplateAssignment.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationTemplateAssignmentAggregateArgs>(args: Subset<T, NotificationTemplateAssignmentAggregateArgs>): Prisma.PrismaPromise<GetNotificationTemplateAssignmentAggregateType<T>>

    /**
     * Group by NotificationTemplateAssignment.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationTemplateAssignmentGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationTemplateAssignmentGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationTemplateAssignmentGroupByArgs['orderBy'] }
        : { orderBy?: NotificationTemplateAssignmentGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationTemplateAssignmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationTemplateAssignmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationTemplateAssignment model
   */
  readonly fields: NotificationTemplateAssignmentFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationTemplateAssignment.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationTemplateAssignmentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    notification_template_process<T extends NotificationTemplateProcessDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateProcessDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateProcessClient<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    notification_template<T extends NotificationTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    email_template_cc_bcc<T extends NotificationTemplateAssignment$email_template_cc_bccArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateAssignment$email_template_cc_bccArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationTemplateAssignment model
   */ 
  interface NotificationTemplateAssignmentFieldRefs {
    readonly id: FieldRef<"NotificationTemplateAssignment", 'Int'>
    readonly uuid: FieldRef<"NotificationTemplateAssignment", 'String'>
    readonly notification_template_process_id: FieldRef<"NotificationTemplateAssignment", 'Int'>
    readonly template_id: FieldRef<"NotificationTemplateAssignment", 'Int'>
    readonly recipient_type: FieldRef<"NotificationTemplateAssignment", 'RecipientType'>
    readonly notification_to: FieldRef<"NotificationTemplateAssignment", 'String'>
    readonly notification_type: FieldRef<"NotificationTemplateAssignment", 'NotificationType'>
    readonly company_id: FieldRef<"NotificationTemplateAssignment", 'Int'>
    readonly created_at: FieldRef<"NotificationTemplateAssignment", 'DateTime'>
    readonly created_by: FieldRef<"NotificationTemplateAssignment", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationTemplateAssignment findUnique
   */
  export type NotificationTemplateAssignmentFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateAssignment to fetch.
     */
    where: NotificationTemplateAssignmentWhereUniqueInput
  }

  /**
   * NotificationTemplateAssignment findUniqueOrThrow
   */
  export type NotificationTemplateAssignmentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateAssignment to fetch.
     */
    where: NotificationTemplateAssignmentWhereUniqueInput
  }

  /**
   * NotificationTemplateAssignment findFirst
   */
  export type NotificationTemplateAssignmentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateAssignment to fetch.
     */
    where?: NotificationTemplateAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateAssignments to fetch.
     */
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateAssignments.
     */
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateAssignments.
     */
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplateAssignment findFirstOrThrow
   */
  export type NotificationTemplateAssignmentFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateAssignment to fetch.
     */
    where?: NotificationTemplateAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateAssignments to fetch.
     */
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationTemplateAssignments.
     */
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationTemplateAssignments.
     */
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplateAssignment findMany
   */
  export type NotificationTemplateAssignmentFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which NotificationTemplateAssignments to fetch.
     */
    where?: NotificationTemplateAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationTemplateAssignments to fetch.
     */
    orderBy?: NotificationTemplateAssignmentOrderByWithRelationInput | NotificationTemplateAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationTemplateAssignments.
     */
    cursor?: NotificationTemplateAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationTemplateAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationTemplateAssignments.
     */
    skip?: number
    distinct?: NotificationTemplateAssignmentScalarFieldEnum | NotificationTemplateAssignmentScalarFieldEnum[]
  }

  /**
   * NotificationTemplateAssignment create
   */
  export type NotificationTemplateAssignmentCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationTemplateAssignment.
     */
    data: XOR<NotificationTemplateAssignmentCreateInput, NotificationTemplateAssignmentUncheckedCreateInput>
  }

  /**
   * NotificationTemplateAssignment createMany
   */
  export type NotificationTemplateAssignmentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationTemplateAssignments.
     */
    data: NotificationTemplateAssignmentCreateManyInput | NotificationTemplateAssignmentCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationTemplateAssignment createManyAndReturn
   */
  export type NotificationTemplateAssignmentCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationTemplateAssignments.
     */
    data: NotificationTemplateAssignmentCreateManyInput | NotificationTemplateAssignmentCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationTemplateAssignment update
   */
  export type NotificationTemplateAssignmentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationTemplateAssignment.
     */
    data: XOR<NotificationTemplateAssignmentUpdateInput, NotificationTemplateAssignmentUncheckedUpdateInput>
    /**
     * Choose, which NotificationTemplateAssignment to update.
     */
    where: NotificationTemplateAssignmentWhereUniqueInput
  }

  /**
   * NotificationTemplateAssignment updateMany
   */
  export type NotificationTemplateAssignmentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationTemplateAssignments.
     */
    data: XOR<NotificationTemplateAssignmentUpdateManyMutationInput, NotificationTemplateAssignmentUncheckedUpdateManyInput>
    /**
     * Filter which NotificationTemplateAssignments to update
     */
    where?: NotificationTemplateAssignmentWhereInput
  }

  /**
   * NotificationTemplateAssignment upsert
   */
  export type NotificationTemplateAssignmentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationTemplateAssignment to update in case it exists.
     */
    where: NotificationTemplateAssignmentWhereUniqueInput
    /**
     * In case the NotificationTemplateAssignment found by the `where` argument doesn't exist, create a new NotificationTemplateAssignment with this data.
     */
    create: XOR<NotificationTemplateAssignmentCreateInput, NotificationTemplateAssignmentUncheckedCreateInput>
    /**
     * In case the NotificationTemplateAssignment was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationTemplateAssignmentUpdateInput, NotificationTemplateAssignmentUncheckedUpdateInput>
  }

  /**
   * NotificationTemplateAssignment delete
   */
  export type NotificationTemplateAssignmentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
    /**
     * Filter which NotificationTemplateAssignment to delete.
     */
    where: NotificationTemplateAssignmentWhereUniqueInput
  }

  /**
   * NotificationTemplateAssignment deleteMany
   */
  export type NotificationTemplateAssignmentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationTemplateAssignments to delete
     */
    where?: NotificationTemplateAssignmentWhereInput
  }

  /**
   * NotificationTemplateAssignment.email_template_cc_bcc
   */
  export type NotificationTemplateAssignment$email_template_cc_bccArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    where?: EmailTemplateCcBccWhereInput
    orderBy?: EmailTemplateCcBccOrderByWithRelationInput | EmailTemplateCcBccOrderByWithRelationInput[]
    cursor?: EmailTemplateCcBccWhereUniqueInput
    take?: number
    skip?: number
    distinct?: EmailTemplateCcBccScalarFieldEnum | EmailTemplateCcBccScalarFieldEnum[]
  }

  /**
   * NotificationTemplateAssignment without action
   */
  export type NotificationTemplateAssignmentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateAssignment
     */
    select?: NotificationTemplateAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateAssignmentInclude<ExtArgs> | null
  }


  /**
   * Model EmailTemplateCcBcc
   */

  export type AggregateEmailTemplateCcBcc = {
    _count: EmailTemplateCcBccCountAggregateOutputType | null
    _avg: EmailTemplateCcBccAvgAggregateOutputType | null
    _sum: EmailTemplateCcBccSumAggregateOutputType | null
    _min: EmailTemplateCcBccMinAggregateOutputType | null
    _max: EmailTemplateCcBccMaxAggregateOutputType | null
  }

  export type EmailTemplateCcBccAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    email_template_assignment_id: number | null
  }

  export type EmailTemplateCcBccSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    email_template_assignment_id: number | null
  }

  export type EmailTemplateCcBccMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    send_type: $Enums.sendMailType | null
    recipient_type: $Enums.RecipientType | null
    email_to: string | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
    email_template_assignment_id: number | null
  }

  export type EmailTemplateCcBccMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    send_type: $Enums.sendMailType | null
    recipient_type: $Enums.RecipientType | null
    email_to: string | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
    email_template_assignment_id: number | null
  }

  export type EmailTemplateCcBccCountAggregateOutputType = {
    id: number
    uuid: number
    send_type: number
    recipient_type: number
    email_to: number
    company_id: number
    created_at: number
    created_by: number
    email_template_assignment_id: number
    _all: number
  }


  export type EmailTemplateCcBccAvgAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    email_template_assignment_id?: true
  }

  export type EmailTemplateCcBccSumAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    email_template_assignment_id?: true
  }

  export type EmailTemplateCcBccMinAggregateInputType = {
    id?: true
    uuid?: true
    send_type?: true
    recipient_type?: true
    email_to?: true
    company_id?: true
    created_at?: true
    created_by?: true
    email_template_assignment_id?: true
  }

  export type EmailTemplateCcBccMaxAggregateInputType = {
    id?: true
    uuid?: true
    send_type?: true
    recipient_type?: true
    email_to?: true
    company_id?: true
    created_at?: true
    created_by?: true
    email_template_assignment_id?: true
  }

  export type EmailTemplateCcBccCountAggregateInputType = {
    id?: true
    uuid?: true
    send_type?: true
    recipient_type?: true
    email_to?: true
    company_id?: true
    created_at?: true
    created_by?: true
    email_template_assignment_id?: true
    _all?: true
  }

  export type EmailTemplateCcBccAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EmailTemplateCcBcc to aggregate.
     */
    where?: EmailTemplateCcBccWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmailTemplateCcBccs to fetch.
     */
    orderBy?: EmailTemplateCcBccOrderByWithRelationInput | EmailTemplateCcBccOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: EmailTemplateCcBccWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmailTemplateCcBccs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmailTemplateCcBccs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned EmailTemplateCcBccs
    **/
    _count?: true | EmailTemplateCcBccCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: EmailTemplateCcBccAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: EmailTemplateCcBccSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: EmailTemplateCcBccMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: EmailTemplateCcBccMaxAggregateInputType
  }

  export type GetEmailTemplateCcBccAggregateType<T extends EmailTemplateCcBccAggregateArgs> = {
        [P in keyof T & keyof AggregateEmailTemplateCcBcc]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateEmailTemplateCcBcc[P]>
      : GetScalarType<T[P], AggregateEmailTemplateCcBcc[P]>
  }




  export type EmailTemplateCcBccGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: EmailTemplateCcBccWhereInput
    orderBy?: EmailTemplateCcBccOrderByWithAggregationInput | EmailTemplateCcBccOrderByWithAggregationInput[]
    by: EmailTemplateCcBccScalarFieldEnum[] | EmailTemplateCcBccScalarFieldEnum
    having?: EmailTemplateCcBccScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: EmailTemplateCcBccCountAggregateInputType | true
    _avg?: EmailTemplateCcBccAvgAggregateInputType
    _sum?: EmailTemplateCcBccSumAggregateInputType
    _min?: EmailTemplateCcBccMinAggregateInputType
    _max?: EmailTemplateCcBccMaxAggregateInputType
  }

  export type EmailTemplateCcBccGroupByOutputType = {
    id: number
    uuid: string
    send_type: $Enums.sendMailType
    recipient_type: $Enums.RecipientType
    email_to: string | null
    company_id: number
    created_at: Date
    created_by: number
    email_template_assignment_id: number
    _count: EmailTemplateCcBccCountAggregateOutputType | null
    _avg: EmailTemplateCcBccAvgAggregateOutputType | null
    _sum: EmailTemplateCcBccSumAggregateOutputType | null
    _min: EmailTemplateCcBccMinAggregateOutputType | null
    _max: EmailTemplateCcBccMaxAggregateOutputType | null
  }

  type GetEmailTemplateCcBccGroupByPayload<T extends EmailTemplateCcBccGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<EmailTemplateCcBccGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof EmailTemplateCcBccGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], EmailTemplateCcBccGroupByOutputType[P]>
            : GetScalarType<T[P], EmailTemplateCcBccGroupByOutputType[P]>
        }
      >
    >


  export type EmailTemplateCcBccSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    send_type?: boolean
    recipient_type?: boolean
    email_to?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    email_template_assignment_id?: boolean
    email_template_assignment?: boolean | NotificationTemplateAssignmentDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["emailTemplateCcBcc"]>

  export type EmailTemplateCcBccSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    send_type?: boolean
    recipient_type?: boolean
    email_to?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    email_template_assignment_id?: boolean
    email_template_assignment?: boolean | NotificationTemplateAssignmentDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["emailTemplateCcBcc"]>

  export type EmailTemplateCcBccSelectScalar = {
    id?: boolean
    uuid?: boolean
    send_type?: boolean
    recipient_type?: boolean
    email_to?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    email_template_assignment_id?: boolean
  }

  export type EmailTemplateCcBccInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    email_template_assignment?: boolean | NotificationTemplateAssignmentDefaultArgs<ExtArgs>
  }
  export type EmailTemplateCcBccIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    email_template_assignment?: boolean | NotificationTemplateAssignmentDefaultArgs<ExtArgs>
  }

  export type $EmailTemplateCcBccPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "EmailTemplateCcBcc"
    objects: {
      email_template_assignment: Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      send_type: $Enums.sendMailType
      recipient_type: $Enums.RecipientType
      email_to: string | null
      company_id: number
      created_at: Date
      created_by: number
      email_template_assignment_id: number
    }, ExtArgs["result"]["emailTemplateCcBcc"]>
    composites: {}
  }

  type EmailTemplateCcBccGetPayload<S extends boolean | null | undefined | EmailTemplateCcBccDefaultArgs> = $Result.GetResult<Prisma.$EmailTemplateCcBccPayload, S>

  type EmailTemplateCcBccCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<EmailTemplateCcBccFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: EmailTemplateCcBccCountAggregateInputType | true
    }

  export interface EmailTemplateCcBccDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmailTemplateCcBcc'], meta: { name: 'EmailTemplateCcBcc' } }
    /**
     * Find zero or one EmailTemplateCcBcc that matches the filter.
     * @param {EmailTemplateCcBccFindUniqueArgs} args - Arguments to find a EmailTemplateCcBcc
     * @example
     * // Get one EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends EmailTemplateCcBccFindUniqueArgs>(args: SelectSubset<T, EmailTemplateCcBccFindUniqueArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one EmailTemplateCcBcc that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {EmailTemplateCcBccFindUniqueOrThrowArgs} args - Arguments to find a EmailTemplateCcBcc
     * @example
     * // Get one EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends EmailTemplateCcBccFindUniqueOrThrowArgs>(args: SelectSubset<T, EmailTemplateCcBccFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first EmailTemplateCcBcc that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccFindFirstArgs} args - Arguments to find a EmailTemplateCcBcc
     * @example
     * // Get one EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends EmailTemplateCcBccFindFirstArgs>(args?: SelectSubset<T, EmailTemplateCcBccFindFirstArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first EmailTemplateCcBcc that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccFindFirstOrThrowArgs} args - Arguments to find a EmailTemplateCcBcc
     * @example
     * // Get one EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends EmailTemplateCcBccFindFirstOrThrowArgs>(args?: SelectSubset<T, EmailTemplateCcBccFindFirstOrThrowArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more EmailTemplateCcBccs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all EmailTemplateCcBccs
     * const emailTemplateCcBccs = await prisma.emailTemplateCcBcc.findMany()
     * 
     * // Get first 10 EmailTemplateCcBccs
     * const emailTemplateCcBccs = await prisma.emailTemplateCcBcc.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const emailTemplateCcBccWithIdOnly = await prisma.emailTemplateCcBcc.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends EmailTemplateCcBccFindManyArgs>(args?: SelectSubset<T, EmailTemplateCcBccFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a EmailTemplateCcBcc.
     * @param {EmailTemplateCcBccCreateArgs} args - Arguments to create a EmailTemplateCcBcc.
     * @example
     * // Create one EmailTemplateCcBcc
     * const EmailTemplateCcBcc = await prisma.emailTemplateCcBcc.create({
     *   data: {
     *     // ... data to create a EmailTemplateCcBcc
     *   }
     * })
     * 
     */
    create<T extends EmailTemplateCcBccCreateArgs>(args: SelectSubset<T, EmailTemplateCcBccCreateArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many EmailTemplateCcBccs.
     * @param {EmailTemplateCcBccCreateManyArgs} args - Arguments to create many EmailTemplateCcBccs.
     * @example
     * // Create many EmailTemplateCcBccs
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends EmailTemplateCcBccCreateManyArgs>(args?: SelectSubset<T, EmailTemplateCcBccCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many EmailTemplateCcBccs and returns the data saved in the database.
     * @param {EmailTemplateCcBccCreateManyAndReturnArgs} args - Arguments to create many EmailTemplateCcBccs.
     * @example
     * // Create many EmailTemplateCcBccs
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many EmailTemplateCcBccs and only return the `id`
     * const emailTemplateCcBccWithIdOnly = await prisma.emailTemplateCcBcc.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends EmailTemplateCcBccCreateManyAndReturnArgs>(args?: SelectSubset<T, EmailTemplateCcBccCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a EmailTemplateCcBcc.
     * @param {EmailTemplateCcBccDeleteArgs} args - Arguments to delete one EmailTemplateCcBcc.
     * @example
     * // Delete one EmailTemplateCcBcc
     * const EmailTemplateCcBcc = await prisma.emailTemplateCcBcc.delete({
     *   where: {
     *     // ... filter to delete one EmailTemplateCcBcc
     *   }
     * })
     * 
     */
    delete<T extends EmailTemplateCcBccDeleteArgs>(args: SelectSubset<T, EmailTemplateCcBccDeleteArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one EmailTemplateCcBcc.
     * @param {EmailTemplateCcBccUpdateArgs} args - Arguments to update one EmailTemplateCcBcc.
     * @example
     * // Update one EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends EmailTemplateCcBccUpdateArgs>(args: SelectSubset<T, EmailTemplateCcBccUpdateArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more EmailTemplateCcBccs.
     * @param {EmailTemplateCcBccDeleteManyArgs} args - Arguments to filter EmailTemplateCcBccs to delete.
     * @example
     * // Delete a few EmailTemplateCcBccs
     * const { count } = await prisma.emailTemplateCcBcc.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends EmailTemplateCcBccDeleteManyArgs>(args?: SelectSubset<T, EmailTemplateCcBccDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more EmailTemplateCcBccs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many EmailTemplateCcBccs
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends EmailTemplateCcBccUpdateManyArgs>(args: SelectSubset<T, EmailTemplateCcBccUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one EmailTemplateCcBcc.
     * @param {EmailTemplateCcBccUpsertArgs} args - Arguments to update or create a EmailTemplateCcBcc.
     * @example
     * // Update or create a EmailTemplateCcBcc
     * const emailTemplateCcBcc = await prisma.emailTemplateCcBcc.upsert({
     *   create: {
     *     // ... data to create a EmailTemplateCcBcc
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the EmailTemplateCcBcc we want to update
     *   }
     * })
     */
    upsert<T extends EmailTemplateCcBccUpsertArgs>(args: SelectSubset<T, EmailTemplateCcBccUpsertArgs<ExtArgs>>): Prisma__EmailTemplateCcBccClient<$Result.GetResult<Prisma.$EmailTemplateCcBccPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of EmailTemplateCcBccs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccCountArgs} args - Arguments to filter EmailTemplateCcBccs to count.
     * @example
     * // Count the number of EmailTemplateCcBccs
     * const count = await prisma.emailTemplateCcBcc.count({
     *   where: {
     *     // ... the filter for the EmailTemplateCcBccs we want to count
     *   }
     * })
    **/
    count<T extends EmailTemplateCcBccCountArgs>(
      args?: Subset<T, EmailTemplateCcBccCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], EmailTemplateCcBccCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a EmailTemplateCcBcc.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends EmailTemplateCcBccAggregateArgs>(args: Subset<T, EmailTemplateCcBccAggregateArgs>): Prisma.PrismaPromise<GetEmailTemplateCcBccAggregateType<T>>

    /**
     * Group by EmailTemplateCcBcc.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmailTemplateCcBccGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends EmailTemplateCcBccGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: EmailTemplateCcBccGroupByArgs['orderBy'] }
        : { orderBy?: EmailTemplateCcBccGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, EmailTemplateCcBccGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmailTemplateCcBccGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the EmailTemplateCcBcc model
   */
  readonly fields: EmailTemplateCcBccFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for EmailTemplateCcBcc.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__EmailTemplateCcBccClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    email_template_assignment<T extends NotificationTemplateAssignmentDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NotificationTemplateAssignmentDefaultArgs<ExtArgs>>): Prisma__NotificationTemplateAssignmentClient<$Result.GetResult<Prisma.$NotificationTemplateAssignmentPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the EmailTemplateCcBcc model
   */ 
  interface EmailTemplateCcBccFieldRefs {
    readonly id: FieldRef<"EmailTemplateCcBcc", 'Int'>
    readonly uuid: FieldRef<"EmailTemplateCcBcc", 'String'>
    readonly send_type: FieldRef<"EmailTemplateCcBcc", 'sendMailType'>
    readonly recipient_type: FieldRef<"EmailTemplateCcBcc", 'RecipientType'>
    readonly email_to: FieldRef<"EmailTemplateCcBcc", 'String'>
    readonly company_id: FieldRef<"EmailTemplateCcBcc", 'Int'>
    readonly created_at: FieldRef<"EmailTemplateCcBcc", 'DateTime'>
    readonly created_by: FieldRef<"EmailTemplateCcBcc", 'Int'>
    readonly email_template_assignment_id: FieldRef<"EmailTemplateCcBcc", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * EmailTemplateCcBcc findUnique
   */
  export type EmailTemplateCcBccFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter, which EmailTemplateCcBcc to fetch.
     */
    where: EmailTemplateCcBccWhereUniqueInput
  }

  /**
   * EmailTemplateCcBcc findUniqueOrThrow
   */
  export type EmailTemplateCcBccFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter, which EmailTemplateCcBcc to fetch.
     */
    where: EmailTemplateCcBccWhereUniqueInput
  }

  /**
   * EmailTemplateCcBcc findFirst
   */
  export type EmailTemplateCcBccFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter, which EmailTemplateCcBcc to fetch.
     */
    where?: EmailTemplateCcBccWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmailTemplateCcBccs to fetch.
     */
    orderBy?: EmailTemplateCcBccOrderByWithRelationInput | EmailTemplateCcBccOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EmailTemplateCcBccs.
     */
    cursor?: EmailTemplateCcBccWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmailTemplateCcBccs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmailTemplateCcBccs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EmailTemplateCcBccs.
     */
    distinct?: EmailTemplateCcBccScalarFieldEnum | EmailTemplateCcBccScalarFieldEnum[]
  }

  /**
   * EmailTemplateCcBcc findFirstOrThrow
   */
  export type EmailTemplateCcBccFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter, which EmailTemplateCcBcc to fetch.
     */
    where?: EmailTemplateCcBccWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmailTemplateCcBccs to fetch.
     */
    orderBy?: EmailTemplateCcBccOrderByWithRelationInput | EmailTemplateCcBccOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EmailTemplateCcBccs.
     */
    cursor?: EmailTemplateCcBccWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmailTemplateCcBccs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmailTemplateCcBccs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EmailTemplateCcBccs.
     */
    distinct?: EmailTemplateCcBccScalarFieldEnum | EmailTemplateCcBccScalarFieldEnum[]
  }

  /**
   * EmailTemplateCcBcc findMany
   */
  export type EmailTemplateCcBccFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter, which EmailTemplateCcBccs to fetch.
     */
    where?: EmailTemplateCcBccWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmailTemplateCcBccs to fetch.
     */
    orderBy?: EmailTemplateCcBccOrderByWithRelationInput | EmailTemplateCcBccOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing EmailTemplateCcBccs.
     */
    cursor?: EmailTemplateCcBccWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmailTemplateCcBccs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmailTemplateCcBccs.
     */
    skip?: number
    distinct?: EmailTemplateCcBccScalarFieldEnum | EmailTemplateCcBccScalarFieldEnum[]
  }

  /**
   * EmailTemplateCcBcc create
   */
  export type EmailTemplateCcBccCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * The data needed to create a EmailTemplateCcBcc.
     */
    data: XOR<EmailTemplateCcBccCreateInput, EmailTemplateCcBccUncheckedCreateInput>
  }

  /**
   * EmailTemplateCcBcc createMany
   */
  export type EmailTemplateCcBccCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many EmailTemplateCcBccs.
     */
    data: EmailTemplateCcBccCreateManyInput | EmailTemplateCcBccCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * EmailTemplateCcBcc createManyAndReturn
   */
  export type EmailTemplateCcBccCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many EmailTemplateCcBccs.
     */
    data: EmailTemplateCcBccCreateManyInput | EmailTemplateCcBccCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * EmailTemplateCcBcc update
   */
  export type EmailTemplateCcBccUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * The data needed to update a EmailTemplateCcBcc.
     */
    data: XOR<EmailTemplateCcBccUpdateInput, EmailTemplateCcBccUncheckedUpdateInput>
    /**
     * Choose, which EmailTemplateCcBcc to update.
     */
    where: EmailTemplateCcBccWhereUniqueInput
  }

  /**
   * EmailTemplateCcBcc updateMany
   */
  export type EmailTemplateCcBccUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update EmailTemplateCcBccs.
     */
    data: XOR<EmailTemplateCcBccUpdateManyMutationInput, EmailTemplateCcBccUncheckedUpdateManyInput>
    /**
     * Filter which EmailTemplateCcBccs to update
     */
    where?: EmailTemplateCcBccWhereInput
  }

  /**
   * EmailTemplateCcBcc upsert
   */
  export type EmailTemplateCcBccUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * The filter to search for the EmailTemplateCcBcc to update in case it exists.
     */
    where: EmailTemplateCcBccWhereUniqueInput
    /**
     * In case the EmailTemplateCcBcc found by the `where` argument doesn't exist, create a new EmailTemplateCcBcc with this data.
     */
    create: XOR<EmailTemplateCcBccCreateInput, EmailTemplateCcBccUncheckedCreateInput>
    /**
     * In case the EmailTemplateCcBcc was found with the provided `where` argument, update it with this data.
     */
    update: XOR<EmailTemplateCcBccUpdateInput, EmailTemplateCcBccUncheckedUpdateInput>
  }

  /**
   * EmailTemplateCcBcc delete
   */
  export type EmailTemplateCcBccDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
    /**
     * Filter which EmailTemplateCcBcc to delete.
     */
    where: EmailTemplateCcBccWhereUniqueInput
  }

  /**
   * EmailTemplateCcBcc deleteMany
   */
  export type EmailTemplateCcBccDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EmailTemplateCcBccs to delete
     */
    where?: EmailTemplateCcBccWhereInput
  }

  /**
   * EmailTemplateCcBcc without action
   */
  export type EmailTemplateCcBccDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmailTemplateCcBcc
     */
    select?: EmailTemplateCcBccSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmailTemplateCcBccInclude<ExtArgs> | null
  }


  /**
   * Model NotificationProcessJob
   */

  export type AggregateNotificationProcessJob = {
    _count: NotificationProcessJobCountAggregateOutputType | null
    _avg: NotificationProcessJobAvgAggregateOutputType | null
    _sum: NotificationProcessJobSumAggregateOutputType | null
    _min: NotificationProcessJobMinAggregateOutputType | null
    _max: NotificationProcessJobMaxAggregateOutputType | null
  }

  export type NotificationProcessJobAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
  }

  export type NotificationProcessJobSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
  }

  export type NotificationProcessJobMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    notification_template_process_slug: string | null
    unique_id: string | null
    user_id: number | null
    prefill_data: string | null
    attachments_path: string | null
    attachments_name: string | null
    company_id: number | null
    status_id: number | null
    notification_type: $Enums.NotificationType | null
    created_at: Date | null
    created_by: number | null
  }

  export type NotificationProcessJobMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    notification_template_process_slug: string | null
    unique_id: string | null
    user_id: number | null
    prefill_data: string | null
    attachments_path: string | null
    attachments_name: string | null
    company_id: number | null
    status_id: number | null
    notification_type: $Enums.NotificationType | null
    created_at: Date | null
    created_by: number | null
  }

  export type NotificationProcessJobCountAggregateOutputType = {
    id: number
    uuid: number
    notification_template_process_slug: number
    unique_id: number
    user_id: number
    prefill_data: number
    attachments_path: number
    attachments_name: number
    company_id: number
    status_id: number
    notification_type: number
    created_at: number
    created_by: number
    _all: number
  }


  export type NotificationProcessJobAvgAggregateInputType = {
    id?: true
    user_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
  }

  export type NotificationProcessJobSumAggregateInputType = {
    id?: true
    user_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
  }

  export type NotificationProcessJobMinAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_slug?: true
    unique_id?: true
    user_id?: true
    prefill_data?: true
    attachments_path?: true
    attachments_name?: true
    company_id?: true
    status_id?: true
    notification_type?: true
    created_at?: true
    created_by?: true
  }

  export type NotificationProcessJobMaxAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_slug?: true
    unique_id?: true
    user_id?: true
    prefill_data?: true
    attachments_path?: true
    attachments_name?: true
    company_id?: true
    status_id?: true
    notification_type?: true
    created_at?: true
    created_by?: true
  }

  export type NotificationProcessJobCountAggregateInputType = {
    id?: true
    uuid?: true
    notification_template_process_slug?: true
    unique_id?: true
    user_id?: true
    prefill_data?: true
    attachments_path?: true
    attachments_name?: true
    company_id?: true
    status_id?: true
    notification_type?: true
    created_at?: true
    created_by?: true
    _all?: true
  }

  export type NotificationProcessJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationProcessJob to aggregate.
     */
    where?: NotificationProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationProcessJobs to fetch.
     */
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationProcessJobs
    **/
    _count?: true | NotificationProcessJobCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationProcessJobAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationProcessJobSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationProcessJobMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationProcessJobMaxAggregateInputType
  }

  export type GetNotificationProcessJobAggregateType<T extends NotificationProcessJobAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationProcessJob]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationProcessJob[P]>
      : GetScalarType<T[P], AggregateNotificationProcessJob[P]>
  }




  export type NotificationProcessJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationProcessJobWhereInput
    orderBy?: NotificationProcessJobOrderByWithAggregationInput | NotificationProcessJobOrderByWithAggregationInput[]
    by: NotificationProcessJobScalarFieldEnum[] | NotificationProcessJobScalarFieldEnum
    having?: NotificationProcessJobScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationProcessJobCountAggregateInputType | true
    _avg?: NotificationProcessJobAvgAggregateInputType
    _sum?: NotificationProcessJobSumAggregateInputType
    _min?: NotificationProcessJobMinAggregateInputType
    _max?: NotificationProcessJobMaxAggregateInputType
  }

  export type NotificationProcessJobGroupByOutputType = {
    id: number
    uuid: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data: string | null
    attachments_path: string | null
    attachments_name: string | null
    company_id: number
    status_id: number
    notification_type: $Enums.NotificationType
    created_at: Date
    created_by: number | null
    _count: NotificationProcessJobCountAggregateOutputType | null
    _avg: NotificationProcessJobAvgAggregateOutputType | null
    _sum: NotificationProcessJobSumAggregateOutputType | null
    _min: NotificationProcessJobMinAggregateOutputType | null
    _max: NotificationProcessJobMaxAggregateOutputType | null
  }

  type GetNotificationProcessJobGroupByPayload<T extends NotificationProcessJobGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationProcessJobGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationProcessJobGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationProcessJobGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationProcessJobGroupByOutputType[P]>
        }
      >
    >


  export type NotificationProcessJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    notification_template_process_slug?: boolean
    unique_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    company_id?: boolean
    status_id?: boolean
    notification_type?: boolean
    created_at?: boolean
    created_by?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationProcessJob$createdArgs<ExtArgs>
  }, ExtArgs["result"]["notificationProcessJob"]>

  export type NotificationProcessJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    notification_template_process_slug?: boolean
    unique_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    company_id?: boolean
    status_id?: boolean
    notification_type?: boolean
    created_at?: boolean
    created_by?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationProcessJob$createdArgs<ExtArgs>
  }, ExtArgs["result"]["notificationProcessJob"]>

  export type NotificationProcessJobSelectScalar = {
    id?: boolean
    uuid?: boolean
    notification_template_process_slug?: boolean
    unique_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    company_id?: boolean
    status_id?: boolean
    notification_type?: boolean
    created_at?: boolean
    created_by?: boolean
  }

  export type NotificationProcessJobInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationProcessJob$createdArgs<ExtArgs>
  }
  export type NotificationProcessJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationProcessJob$createdArgs<ExtArgs>
  }

  export type $NotificationProcessJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationProcessJob"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      notification_template_process_slug: string
      unique_id: string
      user_id: number
      prefill_data: string | null
      attachments_path: string | null
      attachments_name: string | null
      company_id: number
      status_id: number
      notification_type: $Enums.NotificationType
      created_at: Date
      created_by: number | null
    }, ExtArgs["result"]["notificationProcessJob"]>
    composites: {}
  }

  type NotificationProcessJobGetPayload<S extends boolean | null | undefined | NotificationProcessJobDefaultArgs> = $Result.GetResult<Prisma.$NotificationProcessJobPayload, S>

  type NotificationProcessJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationProcessJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationProcessJobCountAggregateInputType | true
    }

  export interface NotificationProcessJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationProcessJob'], meta: { name: 'NotificationProcessJob' } }
    /**
     * Find zero or one NotificationProcessJob that matches the filter.
     * @param {NotificationProcessJobFindUniqueArgs} args - Arguments to find a NotificationProcessJob
     * @example
     * // Get one NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationProcessJobFindUniqueArgs>(args: SelectSubset<T, NotificationProcessJobFindUniqueArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationProcessJob that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationProcessJobFindUniqueOrThrowArgs} args - Arguments to find a NotificationProcessJob
     * @example
     * // Get one NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationProcessJobFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationProcessJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationProcessJob that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobFindFirstArgs} args - Arguments to find a NotificationProcessJob
     * @example
     * // Get one NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationProcessJobFindFirstArgs>(args?: SelectSubset<T, NotificationProcessJobFindFirstArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationProcessJob that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobFindFirstOrThrowArgs} args - Arguments to find a NotificationProcessJob
     * @example
     * // Get one NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationProcessJobFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationProcessJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationProcessJobs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationProcessJobs
     * const notificationProcessJobs = await prisma.notificationProcessJob.findMany()
     * 
     * // Get first 10 NotificationProcessJobs
     * const notificationProcessJobs = await prisma.notificationProcessJob.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationProcessJobWithIdOnly = await prisma.notificationProcessJob.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationProcessJobFindManyArgs>(args?: SelectSubset<T, NotificationProcessJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationProcessJob.
     * @param {NotificationProcessJobCreateArgs} args - Arguments to create a NotificationProcessJob.
     * @example
     * // Create one NotificationProcessJob
     * const NotificationProcessJob = await prisma.notificationProcessJob.create({
     *   data: {
     *     // ... data to create a NotificationProcessJob
     *   }
     * })
     * 
     */
    create<T extends NotificationProcessJobCreateArgs>(args: SelectSubset<T, NotificationProcessJobCreateArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationProcessJobs.
     * @param {NotificationProcessJobCreateManyArgs} args - Arguments to create many NotificationProcessJobs.
     * @example
     * // Create many NotificationProcessJobs
     * const notificationProcessJob = await prisma.notificationProcessJob.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationProcessJobCreateManyArgs>(args?: SelectSubset<T, NotificationProcessJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationProcessJobs and returns the data saved in the database.
     * @param {NotificationProcessJobCreateManyAndReturnArgs} args - Arguments to create many NotificationProcessJobs.
     * @example
     * // Create many NotificationProcessJobs
     * const notificationProcessJob = await prisma.notificationProcessJob.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationProcessJobs and only return the `id`
     * const notificationProcessJobWithIdOnly = await prisma.notificationProcessJob.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationProcessJobCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationProcessJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationProcessJob.
     * @param {NotificationProcessJobDeleteArgs} args - Arguments to delete one NotificationProcessJob.
     * @example
     * // Delete one NotificationProcessJob
     * const NotificationProcessJob = await prisma.notificationProcessJob.delete({
     *   where: {
     *     // ... filter to delete one NotificationProcessJob
     *   }
     * })
     * 
     */
    delete<T extends NotificationProcessJobDeleteArgs>(args: SelectSubset<T, NotificationProcessJobDeleteArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationProcessJob.
     * @param {NotificationProcessJobUpdateArgs} args - Arguments to update one NotificationProcessJob.
     * @example
     * // Update one NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationProcessJobUpdateArgs>(args: SelectSubset<T, NotificationProcessJobUpdateArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationProcessJobs.
     * @param {NotificationProcessJobDeleteManyArgs} args - Arguments to filter NotificationProcessJobs to delete.
     * @example
     * // Delete a few NotificationProcessJobs
     * const { count } = await prisma.notificationProcessJob.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationProcessJobDeleteManyArgs>(args?: SelectSubset<T, NotificationProcessJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationProcessJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationProcessJobs
     * const notificationProcessJob = await prisma.notificationProcessJob.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationProcessJobUpdateManyArgs>(args: SelectSubset<T, NotificationProcessJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationProcessJob.
     * @param {NotificationProcessJobUpsertArgs} args - Arguments to update or create a NotificationProcessJob.
     * @example
     * // Update or create a NotificationProcessJob
     * const notificationProcessJob = await prisma.notificationProcessJob.upsert({
     *   create: {
     *     // ... data to create a NotificationProcessJob
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationProcessJob we want to update
     *   }
     * })
     */
    upsert<T extends NotificationProcessJobUpsertArgs>(args: SelectSubset<T, NotificationProcessJobUpsertArgs<ExtArgs>>): Prisma__NotificationProcessJobClient<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationProcessJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobCountArgs} args - Arguments to filter NotificationProcessJobs to count.
     * @example
     * // Count the number of NotificationProcessJobs
     * const count = await prisma.notificationProcessJob.count({
     *   where: {
     *     // ... the filter for the NotificationProcessJobs we want to count
     *   }
     * })
    **/
    count<T extends NotificationProcessJobCountArgs>(
      args?: Subset<T, NotificationProcessJobCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationProcessJobCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationProcessJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationProcessJobAggregateArgs>(args: Subset<T, NotificationProcessJobAggregateArgs>): Prisma.PrismaPromise<GetNotificationProcessJobAggregateType<T>>

    /**
     * Group by NotificationProcessJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationProcessJobGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationProcessJobGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationProcessJobGroupByArgs['orderBy'] }
        : { orderBy?: NotificationProcessJobGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationProcessJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationProcessJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationProcessJob model
   */
  readonly fields: NotificationProcessJobFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationProcessJob.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationProcessJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends NotificationProcessJob$createdArgs<ExtArgs> = {}>(args?: Subset<T, NotificationProcessJob$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationProcessJob model
   */ 
  interface NotificationProcessJobFieldRefs {
    readonly id: FieldRef<"NotificationProcessJob", 'Int'>
    readonly uuid: FieldRef<"NotificationProcessJob", 'String'>
    readonly notification_template_process_slug: FieldRef<"NotificationProcessJob", 'String'>
    readonly unique_id: FieldRef<"NotificationProcessJob", 'String'>
    readonly user_id: FieldRef<"NotificationProcessJob", 'Int'>
    readonly prefill_data: FieldRef<"NotificationProcessJob", 'String'>
    readonly attachments_path: FieldRef<"NotificationProcessJob", 'String'>
    readonly attachments_name: FieldRef<"NotificationProcessJob", 'String'>
    readonly company_id: FieldRef<"NotificationProcessJob", 'Int'>
    readonly status_id: FieldRef<"NotificationProcessJob", 'Int'>
    readonly notification_type: FieldRef<"NotificationProcessJob", 'NotificationType'>
    readonly created_at: FieldRef<"NotificationProcessJob", 'DateTime'>
    readonly created_by: FieldRef<"NotificationProcessJob", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * NotificationProcessJob findUnique
   */
  export type NotificationProcessJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationProcessJob to fetch.
     */
    where: NotificationProcessJobWhereUniqueInput
  }

  /**
   * NotificationProcessJob findUniqueOrThrow
   */
  export type NotificationProcessJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationProcessJob to fetch.
     */
    where: NotificationProcessJobWhereUniqueInput
  }

  /**
   * NotificationProcessJob findFirst
   */
  export type NotificationProcessJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationProcessJob to fetch.
     */
    where?: NotificationProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationProcessJobs to fetch.
     */
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationProcessJobs.
     */
    cursor?: NotificationProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationProcessJobs.
     */
    distinct?: NotificationProcessJobScalarFieldEnum | NotificationProcessJobScalarFieldEnum[]
  }

  /**
   * NotificationProcessJob findFirstOrThrow
   */
  export type NotificationProcessJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationProcessJob to fetch.
     */
    where?: NotificationProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationProcessJobs to fetch.
     */
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationProcessJobs.
     */
    cursor?: NotificationProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationProcessJobs.
     */
    distinct?: NotificationProcessJobScalarFieldEnum | NotificationProcessJobScalarFieldEnum[]
  }

  /**
   * NotificationProcessJob findMany
   */
  export type NotificationProcessJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationProcessJobs to fetch.
     */
    where?: NotificationProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationProcessJobs to fetch.
     */
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationProcessJobs.
     */
    cursor?: NotificationProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationProcessJobs.
     */
    skip?: number
    distinct?: NotificationProcessJobScalarFieldEnum | NotificationProcessJobScalarFieldEnum[]
  }

  /**
   * NotificationProcessJob create
   */
  export type NotificationProcessJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationProcessJob.
     */
    data: XOR<NotificationProcessJobCreateInput, NotificationProcessJobUncheckedCreateInput>
  }

  /**
   * NotificationProcessJob createMany
   */
  export type NotificationProcessJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationProcessJobs.
     */
    data: NotificationProcessJobCreateManyInput | NotificationProcessJobCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationProcessJob createManyAndReturn
   */
  export type NotificationProcessJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationProcessJobs.
     */
    data: NotificationProcessJobCreateManyInput | NotificationProcessJobCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationProcessJob update
   */
  export type NotificationProcessJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationProcessJob.
     */
    data: XOR<NotificationProcessJobUpdateInput, NotificationProcessJobUncheckedUpdateInput>
    /**
     * Choose, which NotificationProcessJob to update.
     */
    where: NotificationProcessJobWhereUniqueInput
  }

  /**
   * NotificationProcessJob updateMany
   */
  export type NotificationProcessJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationProcessJobs.
     */
    data: XOR<NotificationProcessJobUpdateManyMutationInput, NotificationProcessJobUncheckedUpdateManyInput>
    /**
     * Filter which NotificationProcessJobs to update
     */
    where?: NotificationProcessJobWhereInput
  }

  /**
   * NotificationProcessJob upsert
   */
  export type NotificationProcessJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationProcessJob to update in case it exists.
     */
    where: NotificationProcessJobWhereUniqueInput
    /**
     * In case the NotificationProcessJob found by the `where` argument doesn't exist, create a new NotificationProcessJob with this data.
     */
    create: XOR<NotificationProcessJobCreateInput, NotificationProcessJobUncheckedCreateInput>
    /**
     * In case the NotificationProcessJob was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationProcessJobUpdateInput, NotificationProcessJobUncheckedUpdateInput>
  }

  /**
   * NotificationProcessJob delete
   */
  export type NotificationProcessJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    /**
     * Filter which NotificationProcessJob to delete.
     */
    where: NotificationProcessJobWhereUniqueInput
  }

  /**
   * NotificationProcessJob deleteMany
   */
  export type NotificationProcessJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationProcessJobs to delete
     */
    where?: NotificationProcessJobWhereInput
  }

  /**
   * NotificationProcessJob.created
   */
  export type NotificationProcessJob$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * NotificationProcessJob without action
   */
  export type NotificationProcessJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
  }


  /**
   * Model NotificationJob
   */

  export type AggregateNotificationJob = {
    _count: NotificationJobCountAggregateOutputType | null
    _avg: NotificationJobAvgAggregateOutputType | null
    _sum: NotificationJobSumAggregateOutputType | null
    _min: NotificationJobMinAggregateOutputType | null
    _max: NotificationJobMaxAggregateOutputType | null
  }

  export type NotificationJobAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    no_of_attempts: number | null
    created_by: number | null
  }

  export type NotificationJobSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    no_of_attempts: number | null
    created_by: number | null
  }

  export type NotificationJobMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    process_slug: string | null
    notification_to: string | null
    notification_subject: string | null
    notification_content: string | null
    attachments_path: string | null
    attachments_name: string | null
    notification_cc: string | null
    notification_bcc: string | null
    notification_type_id: string | null
    notification_status_id: string | null
    notification_type: $Enums.NotificationType | null
    last_attempt_message: string | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    no_of_attempts: number | null
    created_at: Date | null
    updated_at: Date | null
    created_by: number | null
    sent_at: Date | null
    read_at: Date | null
  }

  export type NotificationJobMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    process_slug: string | null
    notification_to: string | null
    notification_subject: string | null
    notification_content: string | null
    attachments_path: string | null
    attachments_name: string | null
    notification_cc: string | null
    notification_bcc: string | null
    notification_type_id: string | null
    notification_status_id: string | null
    notification_type: $Enums.NotificationType | null
    last_attempt_message: string | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    no_of_attempts: number | null
    created_at: Date | null
    updated_at: Date | null
    created_by: number | null
    sent_at: Date | null
    read_at: Date | null
  }

  export type NotificationJobCountAggregateOutputType = {
    id: number
    uuid: number
    process_slug: number
    notification_to: number
    notification_subject: number
    notification_content: number
    attachments_path: number
    attachments_name: number
    notification_cc: number
    notification_bcc: number
    notification_type_id: number
    notification_status_id: number
    notification_type: number
    whatsapp_notification_data: number
    last_attempt_message: number
    company_id: number
    status_id: number
    parent_id: number
    no_of_attempts: number
    created_at: number
    updated_at: number
    created_by: number
    sent_at: number
    read_at: number
    _all: number
  }


  export type NotificationJobAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    no_of_attempts?: true
    created_by?: true
  }

  export type NotificationJobSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    no_of_attempts?: true
    created_by?: true
  }

  export type NotificationJobMinAggregateInputType = {
    id?: true
    uuid?: true
    process_slug?: true
    notification_to?: true
    notification_subject?: true
    notification_content?: true
    attachments_path?: true
    attachments_name?: true
    notification_cc?: true
    notification_bcc?: true
    notification_type_id?: true
    notification_status_id?: true
    notification_type?: true
    last_attempt_message?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    no_of_attempts?: true
    created_at?: true
    updated_at?: true
    created_by?: true
    sent_at?: true
    read_at?: true
  }

  export type NotificationJobMaxAggregateInputType = {
    id?: true
    uuid?: true
    process_slug?: true
    notification_to?: true
    notification_subject?: true
    notification_content?: true
    attachments_path?: true
    attachments_name?: true
    notification_cc?: true
    notification_bcc?: true
    notification_type_id?: true
    notification_status_id?: true
    notification_type?: true
    last_attempt_message?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    no_of_attempts?: true
    created_at?: true
    updated_at?: true
    created_by?: true
    sent_at?: true
    read_at?: true
  }

  export type NotificationJobCountAggregateInputType = {
    id?: true
    uuid?: true
    process_slug?: true
    notification_to?: true
    notification_subject?: true
    notification_content?: true
    attachments_path?: true
    attachments_name?: true
    notification_cc?: true
    notification_bcc?: true
    notification_type_id?: true
    notification_status_id?: true
    notification_type?: true
    whatsapp_notification_data?: true
    last_attempt_message?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    no_of_attempts?: true
    created_at?: true
    updated_at?: true
    created_by?: true
    sent_at?: true
    read_at?: true
    _all?: true
  }

  export type NotificationJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationJob to aggregate.
     */
    where?: NotificationJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationJobs to fetch.
     */
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: NotificationJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned NotificationJobs
    **/
    _count?: true | NotificationJobCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: NotificationJobAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: NotificationJobSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: NotificationJobMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: NotificationJobMaxAggregateInputType
  }

  export type GetNotificationJobAggregateType<T extends NotificationJobAggregateArgs> = {
        [P in keyof T & keyof AggregateNotificationJob]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateNotificationJob[P]>
      : GetScalarType<T[P], AggregateNotificationJob[P]>
  }




  export type NotificationJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: NotificationJobWhereInput
    orderBy?: NotificationJobOrderByWithAggregationInput | NotificationJobOrderByWithAggregationInput[]
    by: NotificationJobScalarFieldEnum[] | NotificationJobScalarFieldEnum
    having?: NotificationJobScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: NotificationJobCountAggregateInputType | true
    _avg?: NotificationJobAvgAggregateInputType
    _sum?: NotificationJobSumAggregateInputType
    _min?: NotificationJobMinAggregateInputType
    _max?: NotificationJobMaxAggregateInputType
  }

  export type NotificationJobGroupByOutputType = {
    id: number
    uuid: string
    process_slug: string
    notification_to: string | null
    notification_subject: string | null
    notification_content: string | null
    attachments_path: string | null
    attachments_name: string | null
    notification_cc: string | null
    notification_bcc: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type: $Enums.NotificationType
    whatsapp_notification_data: JsonValue | null
    last_attempt_message: string | null
    company_id: number
    status_id: number
    parent_id: number
    no_of_attempts: number
    created_at: Date
    updated_at: Date
    created_by: number | null
    sent_at: Date | null
    read_at: Date | null
    _count: NotificationJobCountAggregateOutputType | null
    _avg: NotificationJobAvgAggregateOutputType | null
    _sum: NotificationJobSumAggregateOutputType | null
    _min: NotificationJobMinAggregateOutputType | null
    _max: NotificationJobMaxAggregateOutputType | null
  }

  type GetNotificationJobGroupByPayload<T extends NotificationJobGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<NotificationJobGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof NotificationJobGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], NotificationJobGroupByOutputType[P]>
            : GetScalarType<T[P], NotificationJobGroupByOutputType[P]>
        }
      >
    >


  export type NotificationJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    process_slug?: boolean
    notification_to?: boolean
    notification_subject?: boolean
    notification_content?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    notification_cc?: boolean
    notification_bcc?: boolean
    notification_type_id?: boolean
    notification_status_id?: boolean
    notification_type?: boolean
    whatsapp_notification_data?: boolean
    last_attempt_message?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    no_of_attempts?: boolean
    created_at?: boolean
    updated_at?: boolean
    created_by?: boolean
    sent_at?: boolean
    read_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationJob$createdArgs<ExtArgs>
  }, ExtArgs["result"]["notificationJob"]>

  export type NotificationJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    process_slug?: boolean
    notification_to?: boolean
    notification_subject?: boolean
    notification_content?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    notification_cc?: boolean
    notification_bcc?: boolean
    notification_type_id?: boolean
    notification_status_id?: boolean
    notification_type?: boolean
    whatsapp_notification_data?: boolean
    last_attempt_message?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    no_of_attempts?: boolean
    created_at?: boolean
    updated_at?: boolean
    created_by?: boolean
    sent_at?: boolean
    read_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationJob$createdArgs<ExtArgs>
  }, ExtArgs["result"]["notificationJob"]>

  export type NotificationJobSelectScalar = {
    id?: boolean
    uuid?: boolean
    process_slug?: boolean
    notification_to?: boolean
    notification_subject?: boolean
    notification_content?: boolean
    attachments_path?: boolean
    attachments_name?: boolean
    notification_cc?: boolean
    notification_bcc?: boolean
    notification_type_id?: boolean
    notification_status_id?: boolean
    notification_type?: boolean
    whatsapp_notification_data?: boolean
    last_attempt_message?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    no_of_attempts?: boolean
    created_at?: boolean
    updated_at?: boolean
    created_by?: boolean
    sent_at?: boolean
    read_at?: boolean
  }

  export type NotificationJobInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationJob$createdArgs<ExtArgs>
  }
  export type NotificationJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | NotificationJob$createdArgs<ExtArgs>
  }

  export type $NotificationJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "NotificationJob"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      process_slug: string
      notification_to: string | null
      notification_subject: string | null
      notification_content: string | null
      attachments_path: string | null
      attachments_name: string | null
      notification_cc: string | null
      notification_bcc: string | null
      notification_type_id: string
      notification_status_id: string
      notification_type: $Enums.NotificationType
      whatsapp_notification_data: Prisma.JsonValue | null
      last_attempt_message: string | null
      company_id: number
      status_id: number
      parent_id: number
      no_of_attempts: number
      created_at: Date
      updated_at: Date
      created_by: number | null
      sent_at: Date | null
      read_at: Date | null
    }, ExtArgs["result"]["notificationJob"]>
    composites: {}
  }

  type NotificationJobGetPayload<S extends boolean | null | undefined | NotificationJobDefaultArgs> = $Result.GetResult<Prisma.$NotificationJobPayload, S>

  type NotificationJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<NotificationJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: NotificationJobCountAggregateInputType | true
    }

  export interface NotificationJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationJob'], meta: { name: 'NotificationJob' } }
    /**
     * Find zero or one NotificationJob that matches the filter.
     * @param {NotificationJobFindUniqueArgs} args - Arguments to find a NotificationJob
     * @example
     * // Get one NotificationJob
     * const notificationJob = await prisma.notificationJob.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends NotificationJobFindUniqueArgs>(args: SelectSubset<T, NotificationJobFindUniqueArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one NotificationJob that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {NotificationJobFindUniqueOrThrowArgs} args - Arguments to find a NotificationJob
     * @example
     * // Get one NotificationJob
     * const notificationJob = await prisma.notificationJob.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends NotificationJobFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first NotificationJob that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobFindFirstArgs} args - Arguments to find a NotificationJob
     * @example
     * // Get one NotificationJob
     * const notificationJob = await prisma.notificationJob.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends NotificationJobFindFirstArgs>(args?: SelectSubset<T, NotificationJobFindFirstArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first NotificationJob that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobFindFirstOrThrowArgs} args - Arguments to find a NotificationJob
     * @example
     * // Get one NotificationJob
     * const notificationJob = await prisma.notificationJob.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends NotificationJobFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more NotificationJobs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all NotificationJobs
     * const notificationJobs = await prisma.notificationJob.findMany()
     * 
     * // Get first 10 NotificationJobs
     * const notificationJobs = await prisma.notificationJob.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const notificationJobWithIdOnly = await prisma.notificationJob.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends NotificationJobFindManyArgs>(args?: SelectSubset<T, NotificationJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a NotificationJob.
     * @param {NotificationJobCreateArgs} args - Arguments to create a NotificationJob.
     * @example
     * // Create one NotificationJob
     * const NotificationJob = await prisma.notificationJob.create({
     *   data: {
     *     // ... data to create a NotificationJob
     *   }
     * })
     * 
     */
    create<T extends NotificationJobCreateArgs>(args: SelectSubset<T, NotificationJobCreateArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many NotificationJobs.
     * @param {NotificationJobCreateManyArgs} args - Arguments to create many NotificationJobs.
     * @example
     * // Create many NotificationJobs
     * const notificationJob = await prisma.notificationJob.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends NotificationJobCreateManyArgs>(args?: SelectSubset<T, NotificationJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many NotificationJobs and returns the data saved in the database.
     * @param {NotificationJobCreateManyAndReturnArgs} args - Arguments to create many NotificationJobs.
     * @example
     * // Create many NotificationJobs
     * const notificationJob = await prisma.notificationJob.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many NotificationJobs and only return the `id`
     * const notificationJobWithIdOnly = await prisma.notificationJob.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends NotificationJobCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a NotificationJob.
     * @param {NotificationJobDeleteArgs} args - Arguments to delete one NotificationJob.
     * @example
     * // Delete one NotificationJob
     * const NotificationJob = await prisma.notificationJob.delete({
     *   where: {
     *     // ... filter to delete one NotificationJob
     *   }
     * })
     * 
     */
    delete<T extends NotificationJobDeleteArgs>(args: SelectSubset<T, NotificationJobDeleteArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one NotificationJob.
     * @param {NotificationJobUpdateArgs} args - Arguments to update one NotificationJob.
     * @example
     * // Update one NotificationJob
     * const notificationJob = await prisma.notificationJob.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends NotificationJobUpdateArgs>(args: SelectSubset<T, NotificationJobUpdateArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more NotificationJobs.
     * @param {NotificationJobDeleteManyArgs} args - Arguments to filter NotificationJobs to delete.
     * @example
     * // Delete a few NotificationJobs
     * const { count } = await prisma.notificationJob.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends NotificationJobDeleteManyArgs>(args?: SelectSubset<T, NotificationJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more NotificationJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many NotificationJobs
     * const notificationJob = await prisma.notificationJob.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends NotificationJobUpdateManyArgs>(args: SelectSubset<T, NotificationJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one NotificationJob.
     * @param {NotificationJobUpsertArgs} args - Arguments to update or create a NotificationJob.
     * @example
     * // Update or create a NotificationJob
     * const notificationJob = await prisma.notificationJob.upsert({
     *   create: {
     *     // ... data to create a NotificationJob
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the NotificationJob we want to update
     *   }
     * })
     */
    upsert<T extends NotificationJobUpsertArgs>(args: SelectSubset<T, NotificationJobUpsertArgs<ExtArgs>>): Prisma__NotificationJobClient<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of NotificationJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobCountArgs} args - Arguments to filter NotificationJobs to count.
     * @example
     * // Count the number of NotificationJobs
     * const count = await prisma.notificationJob.count({
     *   where: {
     *     // ... the filter for the NotificationJobs we want to count
     *   }
     * })
    **/
    count<T extends NotificationJobCountArgs>(
      args?: Subset<T, NotificationJobCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], NotificationJobCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a NotificationJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends NotificationJobAggregateArgs>(args: Subset<T, NotificationJobAggregateArgs>): Prisma.PrismaPromise<GetNotificationJobAggregateType<T>>

    /**
     * Group by NotificationJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {NotificationJobGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends NotificationJobGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: NotificationJobGroupByArgs['orderBy'] }
        : { orderBy?: NotificationJobGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, NotificationJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the NotificationJob model
   */
  readonly fields: NotificationJobFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for NotificationJob.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__NotificationJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends NotificationJob$createdArgs<ExtArgs> = {}>(args?: Subset<T, NotificationJob$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the NotificationJob model
   */ 
  interface NotificationJobFieldRefs {
    readonly id: FieldRef<"NotificationJob", 'Int'>
    readonly uuid: FieldRef<"NotificationJob", 'String'>
    readonly process_slug: FieldRef<"NotificationJob", 'String'>
    readonly notification_to: FieldRef<"NotificationJob", 'String'>
    readonly notification_subject: FieldRef<"NotificationJob", 'String'>
    readonly notification_content: FieldRef<"NotificationJob", 'String'>
    readonly attachments_path: FieldRef<"NotificationJob", 'String'>
    readonly attachments_name: FieldRef<"NotificationJob", 'String'>
    readonly notification_cc: FieldRef<"NotificationJob", 'String'>
    readonly notification_bcc: FieldRef<"NotificationJob", 'String'>
    readonly notification_type_id: FieldRef<"NotificationJob", 'String'>
    readonly notification_status_id: FieldRef<"NotificationJob", 'String'>
    readonly notification_type: FieldRef<"NotificationJob", 'NotificationType'>
    readonly whatsapp_notification_data: FieldRef<"NotificationJob", 'Json'>
    readonly last_attempt_message: FieldRef<"NotificationJob", 'String'>
    readonly company_id: FieldRef<"NotificationJob", 'Int'>
    readonly status_id: FieldRef<"NotificationJob", 'Int'>
    readonly parent_id: FieldRef<"NotificationJob", 'Int'>
    readonly no_of_attempts: FieldRef<"NotificationJob", 'Int'>
    readonly created_at: FieldRef<"NotificationJob", 'DateTime'>
    readonly updated_at: FieldRef<"NotificationJob", 'DateTime'>
    readonly created_by: FieldRef<"NotificationJob", 'Int'>
    readonly sent_at: FieldRef<"NotificationJob", 'DateTime'>
    readonly read_at: FieldRef<"NotificationJob", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * NotificationJob findUnique
   */
  export type NotificationJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationJob to fetch.
     */
    where: NotificationJobWhereUniqueInput
  }

  /**
   * NotificationJob findUniqueOrThrow
   */
  export type NotificationJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationJob to fetch.
     */
    where: NotificationJobWhereUniqueInput
  }

  /**
   * NotificationJob findFirst
   */
  export type NotificationJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationJob to fetch.
     */
    where?: NotificationJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationJobs to fetch.
     */
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationJobs.
     */
    cursor?: NotificationJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationJobs.
     */
    distinct?: NotificationJobScalarFieldEnum | NotificationJobScalarFieldEnum[]
  }

  /**
   * NotificationJob findFirstOrThrow
   */
  export type NotificationJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationJob to fetch.
     */
    where?: NotificationJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationJobs to fetch.
     */
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for NotificationJobs.
     */
    cursor?: NotificationJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of NotificationJobs.
     */
    distinct?: NotificationJobScalarFieldEnum | NotificationJobScalarFieldEnum[]
  }

  /**
   * NotificationJob findMany
   */
  export type NotificationJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter, which NotificationJobs to fetch.
     */
    where?: NotificationJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of NotificationJobs to fetch.
     */
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing NotificationJobs.
     */
    cursor?: NotificationJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` NotificationJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` NotificationJobs.
     */
    skip?: number
    distinct?: NotificationJobScalarFieldEnum | NotificationJobScalarFieldEnum[]
  }

  /**
   * NotificationJob create
   */
  export type NotificationJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * The data needed to create a NotificationJob.
     */
    data: XOR<NotificationJobCreateInput, NotificationJobUncheckedCreateInput>
  }

  /**
   * NotificationJob createMany
   */
  export type NotificationJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many NotificationJobs.
     */
    data: NotificationJobCreateManyInput | NotificationJobCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * NotificationJob createManyAndReturn
   */
  export type NotificationJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many NotificationJobs.
     */
    data: NotificationJobCreateManyInput | NotificationJobCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * NotificationJob update
   */
  export type NotificationJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * The data needed to update a NotificationJob.
     */
    data: XOR<NotificationJobUpdateInput, NotificationJobUncheckedUpdateInput>
    /**
     * Choose, which NotificationJob to update.
     */
    where: NotificationJobWhereUniqueInput
  }

  /**
   * NotificationJob updateMany
   */
  export type NotificationJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update NotificationJobs.
     */
    data: XOR<NotificationJobUpdateManyMutationInput, NotificationJobUncheckedUpdateManyInput>
    /**
     * Filter which NotificationJobs to update
     */
    where?: NotificationJobWhereInput
  }

  /**
   * NotificationJob upsert
   */
  export type NotificationJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * The filter to search for the NotificationJob to update in case it exists.
     */
    where: NotificationJobWhereUniqueInput
    /**
     * In case the NotificationJob found by the `where` argument doesn't exist, create a new NotificationJob with this data.
     */
    create: XOR<NotificationJobCreateInput, NotificationJobUncheckedCreateInput>
    /**
     * In case the NotificationJob was found with the provided `where` argument, update it with this data.
     */
    update: XOR<NotificationJobUpdateInput, NotificationJobUncheckedUpdateInput>
  }

  /**
   * NotificationJob delete
   */
  export type NotificationJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    /**
     * Filter which NotificationJob to delete.
     */
    where: NotificationJobWhereUniqueInput
  }

  /**
   * NotificationJob deleteMany
   */
  export type NotificationJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which NotificationJobs to delete
     */
    where?: NotificationJobWhereInput
  }

  /**
   * NotificationJob.created
   */
  export type NotificationJob$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * NotificationJob without action
   */
  export type NotificationJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
  }


  /**
   * Model CarouselTemplate
   */

  export type AggregateCarouselTemplate = {
    _count: CarouselTemplateCountAggregateOutputType | null
    _avg: CarouselTemplateAvgAggregateOutputType | null
    _sum: CarouselTemplateSumAggregateOutputType | null
    _min: CarouselTemplateMinAggregateOutputType | null
    _max: CarouselTemplateMaxAggregateOutputType | null
  }

  export type CarouselTemplateAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CarouselTemplateSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CarouselTemplateMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type CarouselTemplateMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type CarouselTemplateCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type CarouselTemplateAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CarouselTemplateSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CarouselTemplateMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type CarouselTemplateMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type CarouselTemplateCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type CarouselTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CarouselTemplate to aggregate.
     */
    where?: CarouselTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplates to fetch.
     */
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CarouselTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned CarouselTemplates
    **/
    _count?: true | CarouselTemplateCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CarouselTemplateAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CarouselTemplateSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CarouselTemplateMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CarouselTemplateMaxAggregateInputType
  }

  export type GetCarouselTemplateAggregateType<T extends CarouselTemplateAggregateArgs> = {
        [P in keyof T & keyof AggregateCarouselTemplate]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCarouselTemplate[P]>
      : GetScalarType<T[P], AggregateCarouselTemplate[P]>
  }




  export type CarouselTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateWhereInput
    orderBy?: CarouselTemplateOrderByWithAggregationInput | CarouselTemplateOrderByWithAggregationInput[]
    by: CarouselTemplateScalarFieldEnum[] | CarouselTemplateScalarFieldEnum
    having?: CarouselTemplateScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CarouselTemplateCountAggregateInputType | true
    _avg?: CarouselTemplateAvgAggregateInputType
    _sum?: CarouselTemplateSumAggregateInputType
    _min?: CarouselTemplateMinAggregateInputType
    _max?: CarouselTemplateMaxAggregateInputType
  }

  export type CarouselTemplateGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: CarouselTemplateCountAggregateOutputType | null
    _avg: CarouselTemplateAvgAggregateOutputType | null
    _sum: CarouselTemplateSumAggregateOutputType | null
    _min: CarouselTemplateMinAggregateOutputType | null
    _max: CarouselTemplateMaxAggregateOutputType | null
  }

  type GetCarouselTemplateGroupByPayload<T extends CarouselTemplateGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CarouselTemplateGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CarouselTemplateGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CarouselTemplateGroupByOutputType[P]>
            : GetScalarType<T[P], CarouselTemplateGroupByOutputType[P]>
        }
      >
    >


  export type CarouselTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | CarouselTemplate$createdArgs<ExtArgs>
    updated?: boolean | CarouselTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | CarouselTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | CarouselTemplate$line_itemsArgs<ExtArgs>
    _count?: boolean | CarouselTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["carouselTemplate"]>

  export type CarouselTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | CarouselTemplate$createdArgs<ExtArgs>
    updated?: boolean | CarouselTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | CarouselTemplate$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["carouselTemplate"]>

  export type CarouselTemplateSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type CarouselTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | CarouselTemplate$createdArgs<ExtArgs>
    updated?: boolean | CarouselTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | CarouselTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | CarouselTemplate$line_itemsArgs<ExtArgs>
    _count?: boolean | CarouselTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type CarouselTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | CarouselTemplate$createdArgs<ExtArgs>
    updated?: boolean | CarouselTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | CarouselTemplate$deletedArgs<ExtArgs>
  }

  export type $CarouselTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "CarouselTemplate"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      line_items: Prisma.$CarouselTemplateLineItemPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["carouselTemplate"]>
    composites: {}
  }

  type CarouselTemplateGetPayload<S extends boolean | null | undefined | CarouselTemplateDefaultArgs> = $Result.GetResult<Prisma.$CarouselTemplatePayload, S>

  type CarouselTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CarouselTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CarouselTemplateCountAggregateInputType | true
    }

  export interface CarouselTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CarouselTemplate'], meta: { name: 'CarouselTemplate' } }
    /**
     * Find zero or one CarouselTemplate that matches the filter.
     * @param {CarouselTemplateFindUniqueArgs} args - Arguments to find a CarouselTemplate
     * @example
     * // Get one CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CarouselTemplateFindUniqueArgs>(args: SelectSubset<T, CarouselTemplateFindUniqueArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one CarouselTemplate that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CarouselTemplateFindUniqueOrThrowArgs} args - Arguments to find a CarouselTemplate
     * @example
     * // Get one CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CarouselTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, CarouselTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first CarouselTemplate that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateFindFirstArgs} args - Arguments to find a CarouselTemplate
     * @example
     * // Get one CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CarouselTemplateFindFirstArgs>(args?: SelectSubset<T, CarouselTemplateFindFirstArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first CarouselTemplate that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateFindFirstOrThrowArgs} args - Arguments to find a CarouselTemplate
     * @example
     * // Get one CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CarouselTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, CarouselTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more CarouselTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all CarouselTemplates
     * const carouselTemplates = await prisma.carouselTemplate.findMany()
     * 
     * // Get first 10 CarouselTemplates
     * const carouselTemplates = await prisma.carouselTemplate.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const carouselTemplateWithIdOnly = await prisma.carouselTemplate.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CarouselTemplateFindManyArgs>(args?: SelectSubset<T, CarouselTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a CarouselTemplate.
     * @param {CarouselTemplateCreateArgs} args - Arguments to create a CarouselTemplate.
     * @example
     * // Create one CarouselTemplate
     * const CarouselTemplate = await prisma.carouselTemplate.create({
     *   data: {
     *     // ... data to create a CarouselTemplate
     *   }
     * })
     * 
     */
    create<T extends CarouselTemplateCreateArgs>(args: SelectSubset<T, CarouselTemplateCreateArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many CarouselTemplates.
     * @param {CarouselTemplateCreateManyArgs} args - Arguments to create many CarouselTemplates.
     * @example
     * // Create many CarouselTemplates
     * const carouselTemplate = await prisma.carouselTemplate.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CarouselTemplateCreateManyArgs>(args?: SelectSubset<T, CarouselTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many CarouselTemplates and returns the data saved in the database.
     * @param {CarouselTemplateCreateManyAndReturnArgs} args - Arguments to create many CarouselTemplates.
     * @example
     * // Create many CarouselTemplates
     * const carouselTemplate = await prisma.carouselTemplate.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many CarouselTemplates and only return the `id`
     * const carouselTemplateWithIdOnly = await prisma.carouselTemplate.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CarouselTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, CarouselTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a CarouselTemplate.
     * @param {CarouselTemplateDeleteArgs} args - Arguments to delete one CarouselTemplate.
     * @example
     * // Delete one CarouselTemplate
     * const CarouselTemplate = await prisma.carouselTemplate.delete({
     *   where: {
     *     // ... filter to delete one CarouselTemplate
     *   }
     * })
     * 
     */
    delete<T extends CarouselTemplateDeleteArgs>(args: SelectSubset<T, CarouselTemplateDeleteArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one CarouselTemplate.
     * @param {CarouselTemplateUpdateArgs} args - Arguments to update one CarouselTemplate.
     * @example
     * // Update one CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CarouselTemplateUpdateArgs>(args: SelectSubset<T, CarouselTemplateUpdateArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more CarouselTemplates.
     * @param {CarouselTemplateDeleteManyArgs} args - Arguments to filter CarouselTemplates to delete.
     * @example
     * // Delete a few CarouselTemplates
     * const { count } = await prisma.carouselTemplate.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CarouselTemplateDeleteManyArgs>(args?: SelectSubset<T, CarouselTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more CarouselTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many CarouselTemplates
     * const carouselTemplate = await prisma.carouselTemplate.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CarouselTemplateUpdateManyArgs>(args: SelectSubset<T, CarouselTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one CarouselTemplate.
     * @param {CarouselTemplateUpsertArgs} args - Arguments to update or create a CarouselTemplate.
     * @example
     * // Update or create a CarouselTemplate
     * const carouselTemplate = await prisma.carouselTemplate.upsert({
     *   create: {
     *     // ... data to create a CarouselTemplate
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the CarouselTemplate we want to update
     *   }
     * })
     */
    upsert<T extends CarouselTemplateUpsertArgs>(args: SelectSubset<T, CarouselTemplateUpsertArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of CarouselTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateCountArgs} args - Arguments to filter CarouselTemplates to count.
     * @example
     * // Count the number of CarouselTemplates
     * const count = await prisma.carouselTemplate.count({
     *   where: {
     *     // ... the filter for the CarouselTemplates we want to count
     *   }
     * })
    **/
    count<T extends CarouselTemplateCountArgs>(
      args?: Subset<T, CarouselTemplateCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CarouselTemplateCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a CarouselTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CarouselTemplateAggregateArgs>(args: Subset<T, CarouselTemplateAggregateArgs>): Prisma.PrismaPromise<GetCarouselTemplateAggregateType<T>>

    /**
     * Group by CarouselTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CarouselTemplateGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CarouselTemplateGroupByArgs['orderBy'] }
        : { orderBy?: CarouselTemplateGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CarouselTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCarouselTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the CarouselTemplate model
   */
  readonly fields: CarouselTemplateFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for CarouselTemplate.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CarouselTemplateClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends CarouselTemplate$createdArgs<ExtArgs> = {}>(args?: Subset<T, CarouselTemplate$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends CarouselTemplate$updatedArgs<ExtArgs> = {}>(args?: Subset<T, CarouselTemplate$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends CarouselTemplate$deletedArgs<ExtArgs> = {}>(args?: Subset<T, CarouselTemplate$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    line_items<T extends CarouselTemplate$line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, CarouselTemplate$line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the CarouselTemplate model
   */ 
  interface CarouselTemplateFieldRefs {
    readonly id: FieldRef<"CarouselTemplate", 'Int'>
    readonly uuid: FieldRef<"CarouselTemplate", 'String'>
    readonly name: FieldRef<"CarouselTemplate", 'String'>
    readonly slug: FieldRef<"CarouselTemplate", 'String'>
    readonly description: FieldRef<"CarouselTemplate", 'String'>
    readonly status_id: FieldRef<"CarouselTemplate", 'Int'>
    readonly company_id: FieldRef<"CarouselTemplate", 'Int'>
    readonly created_by: FieldRef<"CarouselTemplate", 'Int'>
    readonly created_at: FieldRef<"CarouselTemplate", 'DateTime'>
    readonly updated_by: FieldRef<"CarouselTemplate", 'Int'>
    readonly updated_at: FieldRef<"CarouselTemplate", 'DateTime'>
    readonly deleted_by: FieldRef<"CarouselTemplate", 'Int'>
    readonly deleted_at: FieldRef<"CarouselTemplate", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * CarouselTemplate findUnique
   */
  export type CarouselTemplateFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplate to fetch.
     */
    where: CarouselTemplateWhereUniqueInput
  }

  /**
   * CarouselTemplate findUniqueOrThrow
   */
  export type CarouselTemplateFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplate to fetch.
     */
    where: CarouselTemplateWhereUniqueInput
  }

  /**
   * CarouselTemplate findFirst
   */
  export type CarouselTemplateFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplate to fetch.
     */
    where?: CarouselTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplates to fetch.
     */
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CarouselTemplates.
     */
    cursor?: CarouselTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CarouselTemplates.
     */
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * CarouselTemplate findFirstOrThrow
   */
  export type CarouselTemplateFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplate to fetch.
     */
    where?: CarouselTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplates to fetch.
     */
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CarouselTemplates.
     */
    cursor?: CarouselTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CarouselTemplates.
     */
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * CarouselTemplate findMany
   */
  export type CarouselTemplateFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplates to fetch.
     */
    where?: CarouselTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplates to fetch.
     */
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing CarouselTemplates.
     */
    cursor?: CarouselTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplates.
     */
    skip?: number
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * CarouselTemplate create
   */
  export type CarouselTemplateCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * The data needed to create a CarouselTemplate.
     */
    data: XOR<CarouselTemplateCreateInput, CarouselTemplateUncheckedCreateInput>
  }

  /**
   * CarouselTemplate createMany
   */
  export type CarouselTemplateCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many CarouselTemplates.
     */
    data: CarouselTemplateCreateManyInput | CarouselTemplateCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * CarouselTemplate createManyAndReturn
   */
  export type CarouselTemplateCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many CarouselTemplates.
     */
    data: CarouselTemplateCreateManyInput | CarouselTemplateCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * CarouselTemplate update
   */
  export type CarouselTemplateUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * The data needed to update a CarouselTemplate.
     */
    data: XOR<CarouselTemplateUpdateInput, CarouselTemplateUncheckedUpdateInput>
    /**
     * Choose, which CarouselTemplate to update.
     */
    where: CarouselTemplateWhereUniqueInput
  }

  /**
   * CarouselTemplate updateMany
   */
  export type CarouselTemplateUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update CarouselTemplates.
     */
    data: XOR<CarouselTemplateUpdateManyMutationInput, CarouselTemplateUncheckedUpdateManyInput>
    /**
     * Filter which CarouselTemplates to update
     */
    where?: CarouselTemplateWhereInput
  }

  /**
   * CarouselTemplate upsert
   */
  export type CarouselTemplateUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * The filter to search for the CarouselTemplate to update in case it exists.
     */
    where: CarouselTemplateWhereUniqueInput
    /**
     * In case the CarouselTemplate found by the `where` argument doesn't exist, create a new CarouselTemplate with this data.
     */
    create: XOR<CarouselTemplateCreateInput, CarouselTemplateUncheckedCreateInput>
    /**
     * In case the CarouselTemplate was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CarouselTemplateUpdateInput, CarouselTemplateUncheckedUpdateInput>
  }

  /**
   * CarouselTemplate delete
   */
  export type CarouselTemplateDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    /**
     * Filter which CarouselTemplate to delete.
     */
    where: CarouselTemplateWhereUniqueInput
  }

  /**
   * CarouselTemplate deleteMany
   */
  export type CarouselTemplateDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CarouselTemplates to delete
     */
    where?: CarouselTemplateWhereInput
  }

  /**
   * CarouselTemplate.created
   */
  export type CarouselTemplate$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CarouselTemplate.updated
   */
  export type CarouselTemplate$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CarouselTemplate.deleted
   */
  export type CarouselTemplate$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CarouselTemplate.line_items
   */
  export type CarouselTemplate$line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    where?: CarouselTemplateLineItemWhereInput
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateLineItemScalarFieldEnum | CarouselTemplateLineItemScalarFieldEnum[]
  }

  /**
   * CarouselTemplate without action
   */
  export type CarouselTemplateDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
  }


  /**
   * Model CarouselTemplateLineItem
   */

  export type AggregateCarouselTemplateLineItem = {
    _count: CarouselTemplateLineItemCountAggregateOutputType | null
    _avg: CarouselTemplateLineItemAvgAggregateOutputType | null
    _sum: CarouselTemplateLineItemSumAggregateOutputType | null
    _min: CarouselTemplateLineItemMinAggregateOutputType | null
    _max: CarouselTemplateLineItemMaxAggregateOutputType | null
  }

  export type CarouselTemplateLineItemAvgAggregateOutputType = {
    id: number | null
    carousel_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type CarouselTemplateLineItemSumAggregateOutputType = {
    id: number | null
    carousel_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type CarouselTemplateLineItemMinAggregateOutputType = {
    id: number | null
    carousel_template_id: number | null
    name: string | null
    slug: string | null
    description: string | null
    image_url: string | null
    video_url: string | null
    clickable_link: string | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type CarouselTemplateLineItemMaxAggregateOutputType = {
    id: number | null
    carousel_template_id: number | null
    name: string | null
    slug: string | null
    description: string | null
    image_url: string | null
    video_url: string | null
    clickable_link: string | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type CarouselTemplateLineItemCountAggregateOutputType = {
    id: number
    carousel_template_id: number
    name: number
    slug: number
    description: number
    image_url: number
    video_url: number
    clickable_link: number
    order_no: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type CarouselTemplateLineItemAvgAggregateInputType = {
    id?: true
    carousel_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type CarouselTemplateLineItemSumAggregateInputType = {
    id?: true
    carousel_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type CarouselTemplateLineItemMinAggregateInputType = {
    id?: true
    carousel_template_id?: true
    name?: true
    slug?: true
    description?: true
    image_url?: true
    video_url?: true
    clickable_link?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type CarouselTemplateLineItemMaxAggregateInputType = {
    id?: true
    carousel_template_id?: true
    name?: true
    slug?: true
    description?: true
    image_url?: true
    video_url?: true
    clickable_link?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type CarouselTemplateLineItemCountAggregateInputType = {
    id?: true
    carousel_template_id?: true
    name?: true
    slug?: true
    description?: true
    image_url?: true
    video_url?: true
    clickable_link?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type CarouselTemplateLineItemAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CarouselTemplateLineItem to aggregate.
     */
    where?: CarouselTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplateLineItems to fetch.
     */
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned CarouselTemplateLineItems
    **/
    _count?: true | CarouselTemplateLineItemCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CarouselTemplateLineItemAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CarouselTemplateLineItemSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CarouselTemplateLineItemMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CarouselTemplateLineItemMaxAggregateInputType
  }

  export type GetCarouselTemplateLineItemAggregateType<T extends CarouselTemplateLineItemAggregateArgs> = {
        [P in keyof T & keyof AggregateCarouselTemplateLineItem]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCarouselTemplateLineItem[P]>
      : GetScalarType<T[P], AggregateCarouselTemplateLineItem[P]>
  }




  export type CarouselTemplateLineItemGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CarouselTemplateLineItemWhereInput
    orderBy?: CarouselTemplateLineItemOrderByWithAggregationInput | CarouselTemplateLineItemOrderByWithAggregationInput[]
    by: CarouselTemplateLineItemScalarFieldEnum[] | CarouselTemplateLineItemScalarFieldEnum
    having?: CarouselTemplateLineItemScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CarouselTemplateLineItemCountAggregateInputType | true
    _avg?: CarouselTemplateLineItemAvgAggregateInputType
    _sum?: CarouselTemplateLineItemSumAggregateInputType
    _min?: CarouselTemplateLineItemMinAggregateInputType
    _max?: CarouselTemplateLineItemMaxAggregateInputType
  }

  export type CarouselTemplateLineItemGroupByOutputType = {
    id: number
    carousel_template_id: number
    name: string
    slug: string
    description: string | null
    image_url: string | null
    video_url: string | null
    clickable_link: string | null
    order_no: Decimal
    status_id: number
    company_id: number
    created_at: Date
    _count: CarouselTemplateLineItemCountAggregateOutputType | null
    _avg: CarouselTemplateLineItemAvgAggregateOutputType | null
    _sum: CarouselTemplateLineItemSumAggregateOutputType | null
    _min: CarouselTemplateLineItemMinAggregateOutputType | null
    _max: CarouselTemplateLineItemMaxAggregateOutputType | null
  }

  type GetCarouselTemplateLineItemGroupByPayload<T extends CarouselTemplateLineItemGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CarouselTemplateLineItemGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CarouselTemplateLineItemGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CarouselTemplateLineItemGroupByOutputType[P]>
            : GetScalarType<T[P], CarouselTemplateLineItemGroupByOutputType[P]>
        }
      >
    >


  export type CarouselTemplateLineItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    carousel_template_id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    image_url?: boolean
    video_url?: boolean
    clickable_link?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    carousel_template?: boolean | CarouselTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["carouselTemplateLineItem"]>

  export type CarouselTemplateLineItemSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    carousel_template_id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    image_url?: boolean
    video_url?: boolean
    clickable_link?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    carousel_template?: boolean | CarouselTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["carouselTemplateLineItem"]>

  export type CarouselTemplateLineItemSelectScalar = {
    id?: boolean
    carousel_template_id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    image_url?: boolean
    video_url?: boolean
    clickable_link?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type CarouselTemplateLineItemInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    carousel_template?: boolean | CarouselTemplateDefaultArgs<ExtArgs>
  }
  export type CarouselTemplateLineItemIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    carousel_template?: boolean | CarouselTemplateDefaultArgs<ExtArgs>
  }

  export type $CarouselTemplateLineItemPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "CarouselTemplateLineItem"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      carousel_template: Prisma.$CarouselTemplatePayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      carousel_template_id: number
      name: string
      slug: string
      description: string | null
      image_url: string | null
      video_url: string | null
      clickable_link: string | null
      order_no: Prisma.Decimal
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["carouselTemplateLineItem"]>
    composites: {}
  }

  type CarouselTemplateLineItemGetPayload<S extends boolean | null | undefined | CarouselTemplateLineItemDefaultArgs> = $Result.GetResult<Prisma.$CarouselTemplateLineItemPayload, S>

  type CarouselTemplateLineItemCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CarouselTemplateLineItemFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CarouselTemplateLineItemCountAggregateInputType | true
    }

  export interface CarouselTemplateLineItemDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CarouselTemplateLineItem'], meta: { name: 'CarouselTemplateLineItem' } }
    /**
     * Find zero or one CarouselTemplateLineItem that matches the filter.
     * @param {CarouselTemplateLineItemFindUniqueArgs} args - Arguments to find a CarouselTemplateLineItem
     * @example
     * // Get one CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CarouselTemplateLineItemFindUniqueArgs>(args: SelectSubset<T, CarouselTemplateLineItemFindUniqueArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one CarouselTemplateLineItem that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CarouselTemplateLineItemFindUniqueOrThrowArgs} args - Arguments to find a CarouselTemplateLineItem
     * @example
     * // Get one CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CarouselTemplateLineItemFindUniqueOrThrowArgs>(args: SelectSubset<T, CarouselTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first CarouselTemplateLineItem that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemFindFirstArgs} args - Arguments to find a CarouselTemplateLineItem
     * @example
     * // Get one CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CarouselTemplateLineItemFindFirstArgs>(args?: SelectSubset<T, CarouselTemplateLineItemFindFirstArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first CarouselTemplateLineItem that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemFindFirstOrThrowArgs} args - Arguments to find a CarouselTemplateLineItem
     * @example
     * // Get one CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CarouselTemplateLineItemFindFirstOrThrowArgs>(args?: SelectSubset<T, CarouselTemplateLineItemFindFirstOrThrowArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more CarouselTemplateLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all CarouselTemplateLineItems
     * const carouselTemplateLineItems = await prisma.carouselTemplateLineItem.findMany()
     * 
     * // Get first 10 CarouselTemplateLineItems
     * const carouselTemplateLineItems = await prisma.carouselTemplateLineItem.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const carouselTemplateLineItemWithIdOnly = await prisma.carouselTemplateLineItem.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CarouselTemplateLineItemFindManyArgs>(args?: SelectSubset<T, CarouselTemplateLineItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a CarouselTemplateLineItem.
     * @param {CarouselTemplateLineItemCreateArgs} args - Arguments to create a CarouselTemplateLineItem.
     * @example
     * // Create one CarouselTemplateLineItem
     * const CarouselTemplateLineItem = await prisma.carouselTemplateLineItem.create({
     *   data: {
     *     // ... data to create a CarouselTemplateLineItem
     *   }
     * })
     * 
     */
    create<T extends CarouselTemplateLineItemCreateArgs>(args: SelectSubset<T, CarouselTemplateLineItemCreateArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many CarouselTemplateLineItems.
     * @param {CarouselTemplateLineItemCreateManyArgs} args - Arguments to create many CarouselTemplateLineItems.
     * @example
     * // Create many CarouselTemplateLineItems
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CarouselTemplateLineItemCreateManyArgs>(args?: SelectSubset<T, CarouselTemplateLineItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many CarouselTemplateLineItems and returns the data saved in the database.
     * @param {CarouselTemplateLineItemCreateManyAndReturnArgs} args - Arguments to create many CarouselTemplateLineItems.
     * @example
     * // Create many CarouselTemplateLineItems
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many CarouselTemplateLineItems and only return the `id`
     * const carouselTemplateLineItemWithIdOnly = await prisma.carouselTemplateLineItem.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CarouselTemplateLineItemCreateManyAndReturnArgs>(args?: SelectSubset<T, CarouselTemplateLineItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a CarouselTemplateLineItem.
     * @param {CarouselTemplateLineItemDeleteArgs} args - Arguments to delete one CarouselTemplateLineItem.
     * @example
     * // Delete one CarouselTemplateLineItem
     * const CarouselTemplateLineItem = await prisma.carouselTemplateLineItem.delete({
     *   where: {
     *     // ... filter to delete one CarouselTemplateLineItem
     *   }
     * })
     * 
     */
    delete<T extends CarouselTemplateLineItemDeleteArgs>(args: SelectSubset<T, CarouselTemplateLineItemDeleteArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one CarouselTemplateLineItem.
     * @param {CarouselTemplateLineItemUpdateArgs} args - Arguments to update one CarouselTemplateLineItem.
     * @example
     * // Update one CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CarouselTemplateLineItemUpdateArgs>(args: SelectSubset<T, CarouselTemplateLineItemUpdateArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more CarouselTemplateLineItems.
     * @param {CarouselTemplateLineItemDeleteManyArgs} args - Arguments to filter CarouselTemplateLineItems to delete.
     * @example
     * // Delete a few CarouselTemplateLineItems
     * const { count } = await prisma.carouselTemplateLineItem.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CarouselTemplateLineItemDeleteManyArgs>(args?: SelectSubset<T, CarouselTemplateLineItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more CarouselTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many CarouselTemplateLineItems
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CarouselTemplateLineItemUpdateManyArgs>(args: SelectSubset<T, CarouselTemplateLineItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one CarouselTemplateLineItem.
     * @param {CarouselTemplateLineItemUpsertArgs} args - Arguments to update or create a CarouselTemplateLineItem.
     * @example
     * // Update or create a CarouselTemplateLineItem
     * const carouselTemplateLineItem = await prisma.carouselTemplateLineItem.upsert({
     *   create: {
     *     // ... data to create a CarouselTemplateLineItem
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the CarouselTemplateLineItem we want to update
     *   }
     * })
     */
    upsert<T extends CarouselTemplateLineItemUpsertArgs>(args: SelectSubset<T, CarouselTemplateLineItemUpsertArgs<ExtArgs>>): Prisma__CarouselTemplateLineItemClient<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of CarouselTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemCountArgs} args - Arguments to filter CarouselTemplateLineItems to count.
     * @example
     * // Count the number of CarouselTemplateLineItems
     * const count = await prisma.carouselTemplateLineItem.count({
     *   where: {
     *     // ... the filter for the CarouselTemplateLineItems we want to count
     *   }
     * })
    **/
    count<T extends CarouselTemplateLineItemCountArgs>(
      args?: Subset<T, CarouselTemplateLineItemCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CarouselTemplateLineItemCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a CarouselTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CarouselTemplateLineItemAggregateArgs>(args: Subset<T, CarouselTemplateLineItemAggregateArgs>): Prisma.PrismaPromise<GetCarouselTemplateLineItemAggregateType<T>>

    /**
     * Group by CarouselTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CarouselTemplateLineItemGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CarouselTemplateLineItemGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CarouselTemplateLineItemGroupByArgs['orderBy'] }
        : { orderBy?: CarouselTemplateLineItemGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CarouselTemplateLineItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCarouselTemplateLineItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the CarouselTemplateLineItem model
   */
  readonly fields: CarouselTemplateLineItemFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for CarouselTemplateLineItem.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CarouselTemplateLineItemClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    carousel_template<T extends CarouselTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CarouselTemplateDefaultArgs<ExtArgs>>): Prisma__CarouselTemplateClient<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the CarouselTemplateLineItem model
   */ 
  interface CarouselTemplateLineItemFieldRefs {
    readonly id: FieldRef<"CarouselTemplateLineItem", 'Int'>
    readonly carousel_template_id: FieldRef<"CarouselTemplateLineItem", 'Int'>
    readonly name: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly slug: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly description: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly image_url: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly video_url: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly clickable_link: FieldRef<"CarouselTemplateLineItem", 'String'>
    readonly order_no: FieldRef<"CarouselTemplateLineItem", 'Decimal'>
    readonly status_id: FieldRef<"CarouselTemplateLineItem", 'Int'>
    readonly company_id: FieldRef<"CarouselTemplateLineItem", 'Int'>
    readonly created_at: FieldRef<"CarouselTemplateLineItem", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * CarouselTemplateLineItem findUnique
   */
  export type CarouselTemplateLineItemFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplateLineItem to fetch.
     */
    where: CarouselTemplateLineItemWhereUniqueInput
  }

  /**
   * CarouselTemplateLineItem findUniqueOrThrow
   */
  export type CarouselTemplateLineItemFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplateLineItem to fetch.
     */
    where: CarouselTemplateLineItemWhereUniqueInput
  }

  /**
   * CarouselTemplateLineItem findFirst
   */
  export type CarouselTemplateLineItemFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplateLineItem to fetch.
     */
    where?: CarouselTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplateLineItems to fetch.
     */
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CarouselTemplateLineItems.
     */
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CarouselTemplateLineItems.
     */
    distinct?: CarouselTemplateLineItemScalarFieldEnum | CarouselTemplateLineItemScalarFieldEnum[]
  }

  /**
   * CarouselTemplateLineItem findFirstOrThrow
   */
  export type CarouselTemplateLineItemFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplateLineItem to fetch.
     */
    where?: CarouselTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplateLineItems to fetch.
     */
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CarouselTemplateLineItems.
     */
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CarouselTemplateLineItems.
     */
    distinct?: CarouselTemplateLineItemScalarFieldEnum | CarouselTemplateLineItemScalarFieldEnum[]
  }

  /**
   * CarouselTemplateLineItem findMany
   */
  export type CarouselTemplateLineItemFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which CarouselTemplateLineItems to fetch.
     */
    where?: CarouselTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CarouselTemplateLineItems to fetch.
     */
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing CarouselTemplateLineItems.
     */
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CarouselTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CarouselTemplateLineItems.
     */
    skip?: number
    distinct?: CarouselTemplateLineItemScalarFieldEnum | CarouselTemplateLineItemScalarFieldEnum[]
  }

  /**
   * CarouselTemplateLineItem create
   */
  export type CarouselTemplateLineItemCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to create a CarouselTemplateLineItem.
     */
    data: XOR<CarouselTemplateLineItemCreateInput, CarouselTemplateLineItemUncheckedCreateInput>
  }

  /**
   * CarouselTemplateLineItem createMany
   */
  export type CarouselTemplateLineItemCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many CarouselTemplateLineItems.
     */
    data: CarouselTemplateLineItemCreateManyInput | CarouselTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * CarouselTemplateLineItem createManyAndReturn
   */
  export type CarouselTemplateLineItemCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many CarouselTemplateLineItems.
     */
    data: CarouselTemplateLineItemCreateManyInput | CarouselTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * CarouselTemplateLineItem update
   */
  export type CarouselTemplateLineItemUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to update a CarouselTemplateLineItem.
     */
    data: XOR<CarouselTemplateLineItemUpdateInput, CarouselTemplateLineItemUncheckedUpdateInput>
    /**
     * Choose, which CarouselTemplateLineItem to update.
     */
    where: CarouselTemplateLineItemWhereUniqueInput
  }

  /**
   * CarouselTemplateLineItem updateMany
   */
  export type CarouselTemplateLineItemUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update CarouselTemplateLineItems.
     */
    data: XOR<CarouselTemplateLineItemUpdateManyMutationInput, CarouselTemplateLineItemUncheckedUpdateManyInput>
    /**
     * Filter which CarouselTemplateLineItems to update
     */
    where?: CarouselTemplateLineItemWhereInput
  }

  /**
   * CarouselTemplateLineItem upsert
   */
  export type CarouselTemplateLineItemUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * The filter to search for the CarouselTemplateLineItem to update in case it exists.
     */
    where: CarouselTemplateLineItemWhereUniqueInput
    /**
     * In case the CarouselTemplateLineItem found by the `where` argument doesn't exist, create a new CarouselTemplateLineItem with this data.
     */
    create: XOR<CarouselTemplateLineItemCreateInput, CarouselTemplateLineItemUncheckedCreateInput>
    /**
     * In case the CarouselTemplateLineItem was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CarouselTemplateLineItemUpdateInput, CarouselTemplateLineItemUncheckedUpdateInput>
  }

  /**
   * CarouselTemplateLineItem delete
   */
  export type CarouselTemplateLineItemDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter which CarouselTemplateLineItem to delete.
     */
    where: CarouselTemplateLineItemWhereUniqueInput
  }

  /**
   * CarouselTemplateLineItem deleteMany
   */
  export type CarouselTemplateLineItemDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CarouselTemplateLineItems to delete
     */
    where?: CarouselTemplateLineItemWhereInput
  }

  /**
   * CarouselTemplateLineItem without action
   */
  export type CarouselTemplateLineItemDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
  }


  /**
   * Model ImportTemplate
   */

  export type AggregateImportTemplate = {
    _count: ImportTemplateCountAggregateOutputType | null
    _avg: ImportTemplateAvgAggregateOutputType | null
    _sum: ImportTemplateSumAggregateOutputType | null
    _min: ImportTemplateMinAggregateOutputType | null
    _max: ImportTemplateMaxAggregateOutputType | null
  }

  export type ImportTemplateAvgAggregateOutputType = {
    id: number | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    batch_process_count: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ImportTemplateSumAggregateOutputType = {
    id: number | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    batch_process_count: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ImportTemplateMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    ignore_error_rows: boolean | null
    is_admin_module: boolean | null
    is_send_mail: boolean | null
    email_process_slug: string | null
    job_type: string | null
    batch_process_count: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ImportTemplateMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    ignore_error_rows: boolean | null
    is_admin_module: boolean | null
    is_send_mail: boolean | null
    email_process_slug: string | null
    job_type: string | null
    batch_process_count: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ImportTemplateCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    max_row_count: number
    header_row: number
    data_start_row: number
    data_end_row: number
    ignore_error_rows: number
    is_admin_module: number
    is_send_mail: number
    email_process_slug: number
    job_type: number
    batch_process_count: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ImportTemplateAvgAggregateInputType = {
    id?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    batch_process_count?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ImportTemplateSumAggregateInputType = {
    id?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    batch_process_count?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ImportTemplateMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    ignore_error_rows?: true
    is_admin_module?: true
    is_send_mail?: true
    email_process_slug?: true
    job_type?: true
    batch_process_count?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ImportTemplateMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    ignore_error_rows?: true
    is_admin_module?: true
    is_send_mail?: true
    email_process_slug?: true
    job_type?: true
    batch_process_count?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ImportTemplateCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    ignore_error_rows?: true
    is_admin_module?: true
    is_send_mail?: true
    email_process_slug?: true
    job_type?: true
    batch_process_count?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ImportTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplate to aggregate.
     */
    where?: ImportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplates to fetch.
     */
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ImportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ImportTemplates
    **/
    _count?: true | ImportTemplateCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ImportTemplateAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ImportTemplateSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ImportTemplateMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ImportTemplateMaxAggregateInputType
  }

  export type GetImportTemplateAggregateType<T extends ImportTemplateAggregateArgs> = {
        [P in keyof T & keyof AggregateImportTemplate]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateImportTemplate[P]>
      : GetScalarType<T[P], AggregateImportTemplate[P]>
  }




  export type ImportTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateWhereInput
    orderBy?: ImportTemplateOrderByWithAggregationInput | ImportTemplateOrderByWithAggregationInput[]
    by: ImportTemplateScalarFieldEnum[] | ImportTemplateScalarFieldEnum
    having?: ImportTemplateScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ImportTemplateCountAggregateInputType | true
    _avg?: ImportTemplateAvgAggregateInputType
    _sum?: ImportTemplateSumAggregateInputType
    _min?: ImportTemplateMinAggregateInputType
    _max?: ImportTemplateMaxAggregateInputType
  }

  export type ImportTemplateGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string
    description: string | null
    max_row_count: number
    header_row: number
    data_start_row: number
    data_end_row: number
    ignore_error_rows: boolean
    is_admin_module: boolean
    is_send_mail: boolean
    email_process_slug: string | null
    job_type: string | null
    batch_process_count: number | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ImportTemplateCountAggregateOutputType | null
    _avg: ImportTemplateAvgAggregateOutputType | null
    _sum: ImportTemplateSumAggregateOutputType | null
    _min: ImportTemplateMinAggregateOutputType | null
    _max: ImportTemplateMaxAggregateOutputType | null
  }

  type GetImportTemplateGroupByPayload<T extends ImportTemplateGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ImportTemplateGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ImportTemplateGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ImportTemplateGroupByOutputType[P]>
            : GetScalarType<T[P], ImportTemplateGroupByOutputType[P]>
        }
      >
    >


  export type ImportTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: boolean
    job_type?: boolean
    batch_process_count?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ImportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ImportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ImportTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | ImportTemplate$line_itemsArgs<ExtArgs>
    queries?: boolean | ImportTemplate$queriesArgs<ExtArgs>
    import_jobs?: boolean | ImportTemplate$import_jobsArgs<ExtArgs>
    direct_import_details?: boolean | ImportTemplate$direct_import_detailsArgs<ExtArgs>
    _count?: boolean | ImportTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplate"]>

  export type ImportTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: boolean
    job_type?: boolean
    batch_process_count?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ImportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ImportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ImportTemplate$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplate"]>

  export type ImportTemplateSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: boolean
    job_type?: boolean
    batch_process_count?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ImportTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ImportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ImportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ImportTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | ImportTemplate$line_itemsArgs<ExtArgs>
    queries?: boolean | ImportTemplate$queriesArgs<ExtArgs>
    import_jobs?: boolean | ImportTemplate$import_jobsArgs<ExtArgs>
    direct_import_details?: boolean | ImportTemplate$direct_import_detailsArgs<ExtArgs>
    _count?: boolean | ImportTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ImportTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ImportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ImportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ImportTemplate$deletedArgs<ExtArgs>
  }

  export type $ImportTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ImportTemplate"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      line_items: Prisma.$ImportTemplateLineItemPayload<ExtArgs>[]
      queries: Prisma.$ImportTemplateQueriesPayload<ExtArgs>[]
      import_jobs: Prisma.$ImportJobPayload<ExtArgs>[]
      direct_import_details: Prisma.$DirectImportDetailsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string
      description: string | null
      max_row_count: number
      header_row: number
      data_start_row: number
      data_end_row: number
      ignore_error_rows: boolean
      is_admin_module: boolean
      is_send_mail: boolean
      email_process_slug: string | null
      job_type: string | null
      batch_process_count: number | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["importTemplate"]>
    composites: {}
  }

  type ImportTemplateGetPayload<S extends boolean | null | undefined | ImportTemplateDefaultArgs> = $Result.GetResult<Prisma.$ImportTemplatePayload, S>

  type ImportTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ImportTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ImportTemplateCountAggregateInputType | true
    }

  export interface ImportTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ImportTemplate'], meta: { name: 'ImportTemplate' } }
    /**
     * Find zero or one ImportTemplate that matches the filter.
     * @param {ImportTemplateFindUniqueArgs} args - Arguments to find a ImportTemplate
     * @example
     * // Get one ImportTemplate
     * const importTemplate = await prisma.importTemplate.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ImportTemplateFindUniqueArgs>(args: SelectSubset<T, ImportTemplateFindUniqueArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ImportTemplate that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ImportTemplateFindUniqueOrThrowArgs} args - Arguments to find a ImportTemplate
     * @example
     * // Get one ImportTemplate
     * const importTemplate = await prisma.importTemplate.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ImportTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, ImportTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ImportTemplate that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateFindFirstArgs} args - Arguments to find a ImportTemplate
     * @example
     * // Get one ImportTemplate
     * const importTemplate = await prisma.importTemplate.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ImportTemplateFindFirstArgs>(args?: SelectSubset<T, ImportTemplateFindFirstArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ImportTemplate that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateFindFirstOrThrowArgs} args - Arguments to find a ImportTemplate
     * @example
     * // Get one ImportTemplate
     * const importTemplate = await prisma.importTemplate.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ImportTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, ImportTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ImportTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ImportTemplates
     * const importTemplates = await prisma.importTemplate.findMany()
     * 
     * // Get first 10 ImportTemplates
     * const importTemplates = await prisma.importTemplate.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const importTemplateWithIdOnly = await prisma.importTemplate.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ImportTemplateFindManyArgs>(args?: SelectSubset<T, ImportTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ImportTemplate.
     * @param {ImportTemplateCreateArgs} args - Arguments to create a ImportTemplate.
     * @example
     * // Create one ImportTemplate
     * const ImportTemplate = await prisma.importTemplate.create({
     *   data: {
     *     // ... data to create a ImportTemplate
     *   }
     * })
     * 
     */
    create<T extends ImportTemplateCreateArgs>(args: SelectSubset<T, ImportTemplateCreateArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ImportTemplates.
     * @param {ImportTemplateCreateManyArgs} args - Arguments to create many ImportTemplates.
     * @example
     * // Create many ImportTemplates
     * const importTemplate = await prisma.importTemplate.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ImportTemplateCreateManyArgs>(args?: SelectSubset<T, ImportTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ImportTemplates and returns the data saved in the database.
     * @param {ImportTemplateCreateManyAndReturnArgs} args - Arguments to create many ImportTemplates.
     * @example
     * // Create many ImportTemplates
     * const importTemplate = await prisma.importTemplate.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ImportTemplates and only return the `id`
     * const importTemplateWithIdOnly = await prisma.importTemplate.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ImportTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, ImportTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ImportTemplate.
     * @param {ImportTemplateDeleteArgs} args - Arguments to delete one ImportTemplate.
     * @example
     * // Delete one ImportTemplate
     * const ImportTemplate = await prisma.importTemplate.delete({
     *   where: {
     *     // ... filter to delete one ImportTemplate
     *   }
     * })
     * 
     */
    delete<T extends ImportTemplateDeleteArgs>(args: SelectSubset<T, ImportTemplateDeleteArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ImportTemplate.
     * @param {ImportTemplateUpdateArgs} args - Arguments to update one ImportTemplate.
     * @example
     * // Update one ImportTemplate
     * const importTemplate = await prisma.importTemplate.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ImportTemplateUpdateArgs>(args: SelectSubset<T, ImportTemplateUpdateArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ImportTemplates.
     * @param {ImportTemplateDeleteManyArgs} args - Arguments to filter ImportTemplates to delete.
     * @example
     * // Delete a few ImportTemplates
     * const { count } = await prisma.importTemplate.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ImportTemplateDeleteManyArgs>(args?: SelectSubset<T, ImportTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ImportTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ImportTemplates
     * const importTemplate = await prisma.importTemplate.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ImportTemplateUpdateManyArgs>(args: SelectSubset<T, ImportTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ImportTemplate.
     * @param {ImportTemplateUpsertArgs} args - Arguments to update or create a ImportTemplate.
     * @example
     * // Update or create a ImportTemplate
     * const importTemplate = await prisma.importTemplate.upsert({
     *   create: {
     *     // ... data to create a ImportTemplate
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ImportTemplate we want to update
     *   }
     * })
     */
    upsert<T extends ImportTemplateUpsertArgs>(args: SelectSubset<T, ImportTemplateUpsertArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ImportTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateCountArgs} args - Arguments to filter ImportTemplates to count.
     * @example
     * // Count the number of ImportTemplates
     * const count = await prisma.importTemplate.count({
     *   where: {
     *     // ... the filter for the ImportTemplates we want to count
     *   }
     * })
    **/
    count<T extends ImportTemplateCountArgs>(
      args?: Subset<T, ImportTemplateCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ImportTemplateCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ImportTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ImportTemplateAggregateArgs>(args: Subset<T, ImportTemplateAggregateArgs>): Prisma.PrismaPromise<GetImportTemplateAggregateType<T>>

    /**
     * Group by ImportTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ImportTemplateGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ImportTemplateGroupByArgs['orderBy'] }
        : { orderBy?: ImportTemplateGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ImportTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetImportTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ImportTemplate model
   */
  readonly fields: ImportTemplateFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ImportTemplate.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ImportTemplateClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends ImportTemplate$createdArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends ImportTemplate$updatedArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends ImportTemplate$deletedArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    line_items<T extends ImportTemplate$line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    queries<T extends ImportTemplate$queriesArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$queriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findMany"> | Null>
    import_jobs<T extends ImportTemplate$import_jobsArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$import_jobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany"> | Null>
    direct_import_details<T extends ImportTemplate$direct_import_detailsArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplate$direct_import_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ImportTemplate model
   */ 
  interface ImportTemplateFieldRefs {
    readonly id: FieldRef<"ImportTemplate", 'Int'>
    readonly uuid: FieldRef<"ImportTemplate", 'String'>
    readonly name: FieldRef<"ImportTemplate", 'String'>
    readonly slug: FieldRef<"ImportTemplate", 'String'>
    readonly description: FieldRef<"ImportTemplate", 'String'>
    readonly max_row_count: FieldRef<"ImportTemplate", 'Int'>
    readonly header_row: FieldRef<"ImportTemplate", 'Int'>
    readonly data_start_row: FieldRef<"ImportTemplate", 'Int'>
    readonly data_end_row: FieldRef<"ImportTemplate", 'Int'>
    readonly ignore_error_rows: FieldRef<"ImportTemplate", 'Boolean'>
    readonly is_admin_module: FieldRef<"ImportTemplate", 'Boolean'>
    readonly is_send_mail: FieldRef<"ImportTemplate", 'Boolean'>
    readonly email_process_slug: FieldRef<"ImportTemplate", 'String'>
    readonly job_type: FieldRef<"ImportTemplate", 'String'>
    readonly batch_process_count: FieldRef<"ImportTemplate", 'Int'>
    readonly status_id: FieldRef<"ImportTemplate", 'Int'>
    readonly company_id: FieldRef<"ImportTemplate", 'Int'>
    readonly created_by: FieldRef<"ImportTemplate", 'Int'>
    readonly created_at: FieldRef<"ImportTemplate", 'DateTime'>
    readonly updated_by: FieldRef<"ImportTemplate", 'Int'>
    readonly updated_at: FieldRef<"ImportTemplate", 'DateTime'>
    readonly deleted_by: FieldRef<"ImportTemplate", 'Int'>
    readonly deleted_at: FieldRef<"ImportTemplate", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ImportTemplate findUnique
   */
  export type ImportTemplateFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplate to fetch.
     */
    where: ImportTemplateWhereUniqueInput
  }

  /**
   * ImportTemplate findUniqueOrThrow
   */
  export type ImportTemplateFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplate to fetch.
     */
    where: ImportTemplateWhereUniqueInput
  }

  /**
   * ImportTemplate findFirst
   */
  export type ImportTemplateFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplate to fetch.
     */
    where?: ImportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplates to fetch.
     */
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplates.
     */
    cursor?: ImportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplates.
     */
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * ImportTemplate findFirstOrThrow
   */
  export type ImportTemplateFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplate to fetch.
     */
    where?: ImportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplates to fetch.
     */
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplates.
     */
    cursor?: ImportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplates.
     */
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * ImportTemplate findMany
   */
  export type ImportTemplateFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplates to fetch.
     */
    where?: ImportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplates to fetch.
     */
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ImportTemplates.
     */
    cursor?: ImportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplates.
     */
    skip?: number
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * ImportTemplate create
   */
  export type ImportTemplateCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * The data needed to create a ImportTemplate.
     */
    data: XOR<ImportTemplateCreateInput, ImportTemplateUncheckedCreateInput>
  }

  /**
   * ImportTemplate createMany
   */
  export type ImportTemplateCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ImportTemplates.
     */
    data: ImportTemplateCreateManyInput | ImportTemplateCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ImportTemplate createManyAndReturn
   */
  export type ImportTemplateCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ImportTemplates.
     */
    data: ImportTemplateCreateManyInput | ImportTemplateCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ImportTemplate update
   */
  export type ImportTemplateUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * The data needed to update a ImportTemplate.
     */
    data: XOR<ImportTemplateUpdateInput, ImportTemplateUncheckedUpdateInput>
    /**
     * Choose, which ImportTemplate to update.
     */
    where: ImportTemplateWhereUniqueInput
  }

  /**
   * ImportTemplate updateMany
   */
  export type ImportTemplateUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ImportTemplates.
     */
    data: XOR<ImportTemplateUpdateManyMutationInput, ImportTemplateUncheckedUpdateManyInput>
    /**
     * Filter which ImportTemplates to update
     */
    where?: ImportTemplateWhereInput
  }

  /**
   * ImportTemplate upsert
   */
  export type ImportTemplateUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * The filter to search for the ImportTemplate to update in case it exists.
     */
    where: ImportTemplateWhereUniqueInput
    /**
     * In case the ImportTemplate found by the `where` argument doesn't exist, create a new ImportTemplate with this data.
     */
    create: XOR<ImportTemplateCreateInput, ImportTemplateUncheckedCreateInput>
    /**
     * In case the ImportTemplate was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ImportTemplateUpdateInput, ImportTemplateUncheckedUpdateInput>
  }

  /**
   * ImportTemplate delete
   */
  export type ImportTemplateDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    /**
     * Filter which ImportTemplate to delete.
     */
    where: ImportTemplateWhereUniqueInput
  }

  /**
   * ImportTemplate deleteMany
   */
  export type ImportTemplateDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplates to delete
     */
    where?: ImportTemplateWhereInput
  }

  /**
   * ImportTemplate.created
   */
  export type ImportTemplate$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportTemplate.updated
   */
  export type ImportTemplate$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportTemplate.deleted
   */
  export type ImportTemplate$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportTemplate.line_items
   */
  export type ImportTemplate$line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    where?: ImportTemplateLineItemWhereInput
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ImportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ImportTemplate.queries
   */
  export type ImportTemplate$queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    where?: ImportTemplateQueriesWhereInput
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    cursor?: ImportTemplateQueriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateQueriesScalarFieldEnum | ImportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ImportTemplate.import_jobs
   */
  export type ImportTemplate$import_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    cursor?: ImportJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * ImportTemplate.direct_import_details
   */
  export type ImportTemplate$direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    cursor?: DirectImportDetailsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * ImportTemplate without action
   */
  export type ImportTemplateDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
  }


  /**
   * Model ImportTemplateLineItem
   */

  export type AggregateImportTemplateLineItem = {
    _count: ImportTemplateLineItemCountAggregateOutputType | null
    _avg: ImportTemplateLineItemAvgAggregateOutputType | null
    _sum: ImportTemplateLineItemSumAggregateOutputType | null
    _min: ImportTemplateLineItemMinAggregateOutputType | null
    _max: ImportTemplateLineItemMaxAggregateOutputType | null
  }

  export type ImportTemplateLineItemAvgAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    order_no: Decimal | null
    width: number | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportTemplateLineItemSumAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    order_no: Decimal | null
    width: number | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportTemplateLineItemMinAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    field_name: string | null
    display_name: string | null
    field_table: string | null
    order_no: Decimal | null
    width: number | null
    default_value: string | null
    check_reg_exp: string | null
    is_nullable: boolean | null
    is_unique: boolean | null
    is_foreign: boolean | null
    unique_query: string | null
    foreign_query: string | null
    is_enum: boolean | null
    is_multiple: boolean | null
    enum_values: string | null
    foreign_table: string | null
    foreign_column: string | null
    foreign_can_create: boolean | null
    is_individual: boolean | null
    individual_column: string | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ImportTemplateLineItemMaxAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    field_name: string | null
    display_name: string | null
    field_table: string | null
    order_no: Decimal | null
    width: number | null
    default_value: string | null
    check_reg_exp: string | null
    is_nullable: boolean | null
    is_unique: boolean | null
    is_foreign: boolean | null
    unique_query: string | null
    foreign_query: string | null
    is_enum: boolean | null
    is_multiple: boolean | null
    enum_values: string | null
    foreign_table: string | null
    foreign_column: string | null
    foreign_can_create: boolean | null
    is_individual: boolean | null
    individual_column: string | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ImportTemplateLineItemCountAggregateOutputType = {
    id: number
    import_template_id: number
    field_name: number
    display_name: number
    field_table: number
    order_no: number
    width: number
    default_value: number
    check_reg_exp: number
    is_nullable: number
    is_unique: number
    is_foreign: number
    unique_query: number
    foreign_query: number
    is_enum: number
    is_multiple: number
    enum_values: number
    expression_rules: number
    query_rules: number
    foreign_table: number
    foreign_column: number
    foreign_can_create: number
    is_individual: number
    individual_column: number
    field_type_id: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type ImportTemplateLineItemAvgAggregateInputType = {
    id?: true
    import_template_id?: true
    order_no?: true
    width?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type ImportTemplateLineItemSumAggregateInputType = {
    id?: true
    import_template_id?: true
    order_no?: true
    width?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type ImportTemplateLineItemMinAggregateInputType = {
    id?: true
    import_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    width?: true
    default_value?: true
    check_reg_exp?: true
    is_nullable?: true
    is_unique?: true
    is_foreign?: true
    unique_query?: true
    foreign_query?: true
    is_enum?: true
    is_multiple?: true
    enum_values?: true
    foreign_table?: true
    foreign_column?: true
    foreign_can_create?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ImportTemplateLineItemMaxAggregateInputType = {
    id?: true
    import_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    width?: true
    default_value?: true
    check_reg_exp?: true
    is_nullable?: true
    is_unique?: true
    is_foreign?: true
    unique_query?: true
    foreign_query?: true
    is_enum?: true
    is_multiple?: true
    enum_values?: true
    foreign_table?: true
    foreign_column?: true
    foreign_can_create?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ImportTemplateLineItemCountAggregateInputType = {
    id?: true
    import_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    width?: true
    default_value?: true
    check_reg_exp?: true
    is_nullable?: true
    is_unique?: true
    is_foreign?: true
    unique_query?: true
    foreign_query?: true
    is_enum?: true
    is_multiple?: true
    enum_values?: true
    expression_rules?: true
    query_rules?: true
    foreign_table?: true
    foreign_column?: true
    foreign_can_create?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type ImportTemplateLineItemAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplateLineItem to aggregate.
     */
    where?: ImportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateLineItems to fetch.
     */
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ImportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ImportTemplateLineItems
    **/
    _count?: true | ImportTemplateLineItemCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ImportTemplateLineItemAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ImportTemplateLineItemSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ImportTemplateLineItemMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ImportTemplateLineItemMaxAggregateInputType
  }

  export type GetImportTemplateLineItemAggregateType<T extends ImportTemplateLineItemAggregateArgs> = {
        [P in keyof T & keyof AggregateImportTemplateLineItem]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateImportTemplateLineItem[P]>
      : GetScalarType<T[P], AggregateImportTemplateLineItem[P]>
  }




  export type ImportTemplateLineItemGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateLineItemWhereInput
    orderBy?: ImportTemplateLineItemOrderByWithAggregationInput | ImportTemplateLineItemOrderByWithAggregationInput[]
    by: ImportTemplateLineItemScalarFieldEnum[] | ImportTemplateLineItemScalarFieldEnum
    having?: ImportTemplateLineItemScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ImportTemplateLineItemCountAggregateInputType | true
    _avg?: ImportTemplateLineItemAvgAggregateInputType
    _sum?: ImportTemplateLineItemSumAggregateInputType
    _min?: ImportTemplateLineItemMinAggregateInputType
    _max?: ImportTemplateLineItemMaxAggregateInputType
  }

  export type ImportTemplateLineItemGroupByOutputType = {
    id: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no: Decimal
    width: number | null
    default_value: string | null
    check_reg_exp: string | null
    is_nullable: boolean
    is_unique: boolean
    is_foreign: boolean
    unique_query: string | null
    foreign_query: string | null
    is_enum: boolean
    is_multiple: boolean
    enum_values: string | null
    expression_rules: JsonValue | null
    query_rules: JsonValue | null
    foreign_table: string | null
    foreign_column: string | null
    foreign_can_create: boolean
    is_individual: boolean
    individual_column: string | null
    field_type_id: number | null
    status_id: number
    company_id: number
    created_at: Date
    _count: ImportTemplateLineItemCountAggregateOutputType | null
    _avg: ImportTemplateLineItemAvgAggregateOutputType | null
    _sum: ImportTemplateLineItemSumAggregateOutputType | null
    _min: ImportTemplateLineItemMinAggregateOutputType | null
    _max: ImportTemplateLineItemMaxAggregateOutputType | null
  }

  type GetImportTemplateLineItemGroupByPayload<T extends ImportTemplateLineItemGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ImportTemplateLineItemGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ImportTemplateLineItemGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ImportTemplateLineItemGroupByOutputType[P]>
            : GetScalarType<T[P], ImportTemplateLineItemGroupByOutputType[P]>
        }
      >
    >


  export type ImportTemplateLineItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    width?: boolean
    default_value?: boolean
    check_reg_exp?: boolean
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: boolean
    foreign_query?: boolean
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: boolean
    expression_rules?: boolean
    query_rules?: boolean
    foreign_table?: boolean
    foreign_column?: boolean
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ImportTemplateLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplateLineItem"]>

  export type ImportTemplateLineItemSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    width?: boolean
    default_value?: boolean
    check_reg_exp?: boolean
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: boolean
    foreign_query?: boolean
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: boolean
    expression_rules?: boolean
    query_rules?: boolean
    foreign_table?: boolean
    foreign_column?: boolean
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ImportTemplateLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplateLineItem"]>

  export type ImportTemplateLineItemSelectScalar = {
    id?: boolean
    import_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    width?: boolean
    default_value?: boolean
    check_reg_exp?: boolean
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: boolean
    foreign_query?: boolean
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: boolean
    expression_rules?: boolean
    query_rules?: boolean
    foreign_table?: boolean
    foreign_column?: boolean
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type ImportTemplateLineItemInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ImportTemplateLineItem$field_typeArgs<ExtArgs>
  }
  export type ImportTemplateLineItemIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ImportTemplateLineItem$field_typeArgs<ExtArgs>
  }

  export type $ImportTemplateLineItemPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ImportTemplateLineItem"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      import_template: Prisma.$ImportTemplatePayload<ExtArgs>
      field_type: Prisma.$FieldTypePayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      import_template_id: number
      field_name: string
      display_name: string
      field_table: string
      order_no: Prisma.Decimal
      width: number | null
      default_value: string | null
      check_reg_exp: string | null
      is_nullable: boolean
      is_unique: boolean
      is_foreign: boolean
      unique_query: string | null
      foreign_query: string | null
      is_enum: boolean
      is_multiple: boolean
      enum_values: string | null
      expression_rules: Prisma.JsonValue | null
      query_rules: Prisma.JsonValue | null
      foreign_table: string | null
      foreign_column: string | null
      foreign_can_create: boolean
      is_individual: boolean
      individual_column: string | null
      field_type_id: number | null
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["importTemplateLineItem"]>
    composites: {}
  }

  type ImportTemplateLineItemGetPayload<S extends boolean | null | undefined | ImportTemplateLineItemDefaultArgs> = $Result.GetResult<Prisma.$ImportTemplateLineItemPayload, S>

  type ImportTemplateLineItemCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ImportTemplateLineItemFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ImportTemplateLineItemCountAggregateInputType | true
    }

  export interface ImportTemplateLineItemDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ImportTemplateLineItem'], meta: { name: 'ImportTemplateLineItem' } }
    /**
     * Find zero or one ImportTemplateLineItem that matches the filter.
     * @param {ImportTemplateLineItemFindUniqueArgs} args - Arguments to find a ImportTemplateLineItem
     * @example
     * // Get one ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ImportTemplateLineItemFindUniqueArgs>(args: SelectSubset<T, ImportTemplateLineItemFindUniqueArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ImportTemplateLineItem that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ImportTemplateLineItemFindUniqueOrThrowArgs} args - Arguments to find a ImportTemplateLineItem
     * @example
     * // Get one ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ImportTemplateLineItemFindUniqueOrThrowArgs>(args: SelectSubset<T, ImportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ImportTemplateLineItem that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemFindFirstArgs} args - Arguments to find a ImportTemplateLineItem
     * @example
     * // Get one ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ImportTemplateLineItemFindFirstArgs>(args?: SelectSubset<T, ImportTemplateLineItemFindFirstArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ImportTemplateLineItem that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemFindFirstOrThrowArgs} args - Arguments to find a ImportTemplateLineItem
     * @example
     * // Get one ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ImportTemplateLineItemFindFirstOrThrowArgs>(args?: SelectSubset<T, ImportTemplateLineItemFindFirstOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ImportTemplateLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ImportTemplateLineItems
     * const importTemplateLineItems = await prisma.importTemplateLineItem.findMany()
     * 
     * // Get first 10 ImportTemplateLineItems
     * const importTemplateLineItems = await prisma.importTemplateLineItem.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const importTemplateLineItemWithIdOnly = await prisma.importTemplateLineItem.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ImportTemplateLineItemFindManyArgs>(args?: SelectSubset<T, ImportTemplateLineItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ImportTemplateLineItem.
     * @param {ImportTemplateLineItemCreateArgs} args - Arguments to create a ImportTemplateLineItem.
     * @example
     * // Create one ImportTemplateLineItem
     * const ImportTemplateLineItem = await prisma.importTemplateLineItem.create({
     *   data: {
     *     // ... data to create a ImportTemplateLineItem
     *   }
     * })
     * 
     */
    create<T extends ImportTemplateLineItemCreateArgs>(args: SelectSubset<T, ImportTemplateLineItemCreateArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ImportTemplateLineItems.
     * @param {ImportTemplateLineItemCreateManyArgs} args - Arguments to create many ImportTemplateLineItems.
     * @example
     * // Create many ImportTemplateLineItems
     * const importTemplateLineItem = await prisma.importTemplateLineItem.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ImportTemplateLineItemCreateManyArgs>(args?: SelectSubset<T, ImportTemplateLineItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ImportTemplateLineItems and returns the data saved in the database.
     * @param {ImportTemplateLineItemCreateManyAndReturnArgs} args - Arguments to create many ImportTemplateLineItems.
     * @example
     * // Create many ImportTemplateLineItems
     * const importTemplateLineItem = await prisma.importTemplateLineItem.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ImportTemplateLineItems and only return the `id`
     * const importTemplateLineItemWithIdOnly = await prisma.importTemplateLineItem.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ImportTemplateLineItemCreateManyAndReturnArgs>(args?: SelectSubset<T, ImportTemplateLineItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ImportTemplateLineItem.
     * @param {ImportTemplateLineItemDeleteArgs} args - Arguments to delete one ImportTemplateLineItem.
     * @example
     * // Delete one ImportTemplateLineItem
     * const ImportTemplateLineItem = await prisma.importTemplateLineItem.delete({
     *   where: {
     *     // ... filter to delete one ImportTemplateLineItem
     *   }
     * })
     * 
     */
    delete<T extends ImportTemplateLineItemDeleteArgs>(args: SelectSubset<T, ImportTemplateLineItemDeleteArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ImportTemplateLineItem.
     * @param {ImportTemplateLineItemUpdateArgs} args - Arguments to update one ImportTemplateLineItem.
     * @example
     * // Update one ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ImportTemplateLineItemUpdateArgs>(args: SelectSubset<T, ImportTemplateLineItemUpdateArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ImportTemplateLineItems.
     * @param {ImportTemplateLineItemDeleteManyArgs} args - Arguments to filter ImportTemplateLineItems to delete.
     * @example
     * // Delete a few ImportTemplateLineItems
     * const { count } = await prisma.importTemplateLineItem.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ImportTemplateLineItemDeleteManyArgs>(args?: SelectSubset<T, ImportTemplateLineItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ImportTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ImportTemplateLineItems
     * const importTemplateLineItem = await prisma.importTemplateLineItem.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ImportTemplateLineItemUpdateManyArgs>(args: SelectSubset<T, ImportTemplateLineItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ImportTemplateLineItem.
     * @param {ImportTemplateLineItemUpsertArgs} args - Arguments to update or create a ImportTemplateLineItem.
     * @example
     * // Update or create a ImportTemplateLineItem
     * const importTemplateLineItem = await prisma.importTemplateLineItem.upsert({
     *   create: {
     *     // ... data to create a ImportTemplateLineItem
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ImportTemplateLineItem we want to update
     *   }
     * })
     */
    upsert<T extends ImportTemplateLineItemUpsertArgs>(args: SelectSubset<T, ImportTemplateLineItemUpsertArgs<ExtArgs>>): Prisma__ImportTemplateLineItemClient<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ImportTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemCountArgs} args - Arguments to filter ImportTemplateLineItems to count.
     * @example
     * // Count the number of ImportTemplateLineItems
     * const count = await prisma.importTemplateLineItem.count({
     *   where: {
     *     // ... the filter for the ImportTemplateLineItems we want to count
     *   }
     * })
    **/
    count<T extends ImportTemplateLineItemCountArgs>(
      args?: Subset<T, ImportTemplateLineItemCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ImportTemplateLineItemCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ImportTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ImportTemplateLineItemAggregateArgs>(args: Subset<T, ImportTemplateLineItemAggregateArgs>): Prisma.PrismaPromise<GetImportTemplateLineItemAggregateType<T>>

    /**
     * Group by ImportTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateLineItemGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ImportTemplateLineItemGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ImportTemplateLineItemGroupByArgs['orderBy'] }
        : { orderBy?: ImportTemplateLineItemGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ImportTemplateLineItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetImportTemplateLineItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ImportTemplateLineItem model
   */
  readonly fields: ImportTemplateLineItemFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ImportTemplateLineItem.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ImportTemplateLineItemClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    import_template<T extends ImportTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplateDefaultArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    field_type<T extends ImportTemplateLineItem$field_typeArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplateLineItem$field_typeArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ImportTemplateLineItem model
   */ 
  interface ImportTemplateLineItemFieldRefs {
    readonly id: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly import_template_id: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly field_name: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly display_name: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly field_table: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly order_no: FieldRef<"ImportTemplateLineItem", 'Decimal'>
    readonly width: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly default_value: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly check_reg_exp: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly is_nullable: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly is_unique: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly is_foreign: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly unique_query: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly foreign_query: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly is_enum: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly is_multiple: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly enum_values: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly expression_rules: FieldRef<"ImportTemplateLineItem", 'Json'>
    readonly query_rules: FieldRef<"ImportTemplateLineItem", 'Json'>
    readonly foreign_table: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly foreign_column: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly foreign_can_create: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly is_individual: FieldRef<"ImportTemplateLineItem", 'Boolean'>
    readonly individual_column: FieldRef<"ImportTemplateLineItem", 'String'>
    readonly field_type_id: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly status_id: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly company_id: FieldRef<"ImportTemplateLineItem", 'Int'>
    readonly created_at: FieldRef<"ImportTemplateLineItem", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ImportTemplateLineItem findUnique
   */
  export type ImportTemplateLineItemFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateLineItem to fetch.
     */
    where: ImportTemplateLineItemWhereUniqueInput
  }

  /**
   * ImportTemplateLineItem findUniqueOrThrow
   */
  export type ImportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateLineItem to fetch.
     */
    where: ImportTemplateLineItemWhereUniqueInput
  }

  /**
   * ImportTemplateLineItem findFirst
   */
  export type ImportTemplateLineItemFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateLineItem to fetch.
     */
    where?: ImportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateLineItems to fetch.
     */
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplateLineItems.
     */
    cursor?: ImportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplateLineItems.
     */
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ImportTemplateLineItem findFirstOrThrow
   */
  export type ImportTemplateLineItemFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateLineItem to fetch.
     */
    where?: ImportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateLineItems to fetch.
     */
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplateLineItems.
     */
    cursor?: ImportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplateLineItems.
     */
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ImportTemplateLineItem findMany
   */
  export type ImportTemplateLineItemFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateLineItems to fetch.
     */
    where?: ImportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateLineItems to fetch.
     */
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ImportTemplateLineItems.
     */
    cursor?: ImportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateLineItems.
     */
    skip?: number
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ImportTemplateLineItem create
   */
  export type ImportTemplateLineItemCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to create a ImportTemplateLineItem.
     */
    data: XOR<ImportTemplateLineItemCreateInput, ImportTemplateLineItemUncheckedCreateInput>
  }

  /**
   * ImportTemplateLineItem createMany
   */
  export type ImportTemplateLineItemCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ImportTemplateLineItems.
     */
    data: ImportTemplateLineItemCreateManyInput | ImportTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ImportTemplateLineItem createManyAndReturn
   */
  export type ImportTemplateLineItemCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ImportTemplateLineItems.
     */
    data: ImportTemplateLineItemCreateManyInput | ImportTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ImportTemplateLineItem update
   */
  export type ImportTemplateLineItemUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to update a ImportTemplateLineItem.
     */
    data: XOR<ImportTemplateLineItemUpdateInput, ImportTemplateLineItemUncheckedUpdateInput>
    /**
     * Choose, which ImportTemplateLineItem to update.
     */
    where: ImportTemplateLineItemWhereUniqueInput
  }

  /**
   * ImportTemplateLineItem updateMany
   */
  export type ImportTemplateLineItemUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ImportTemplateLineItems.
     */
    data: XOR<ImportTemplateLineItemUpdateManyMutationInput, ImportTemplateLineItemUncheckedUpdateManyInput>
    /**
     * Filter which ImportTemplateLineItems to update
     */
    where?: ImportTemplateLineItemWhereInput
  }

  /**
   * ImportTemplateLineItem upsert
   */
  export type ImportTemplateLineItemUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The filter to search for the ImportTemplateLineItem to update in case it exists.
     */
    where: ImportTemplateLineItemWhereUniqueInput
    /**
     * In case the ImportTemplateLineItem found by the `where` argument doesn't exist, create a new ImportTemplateLineItem with this data.
     */
    create: XOR<ImportTemplateLineItemCreateInput, ImportTemplateLineItemUncheckedCreateInput>
    /**
     * In case the ImportTemplateLineItem was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ImportTemplateLineItemUpdateInput, ImportTemplateLineItemUncheckedUpdateInput>
  }

  /**
   * ImportTemplateLineItem delete
   */
  export type ImportTemplateLineItemDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter which ImportTemplateLineItem to delete.
     */
    where: ImportTemplateLineItemWhereUniqueInput
  }

  /**
   * ImportTemplateLineItem deleteMany
   */
  export type ImportTemplateLineItemDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplateLineItems to delete
     */
    where?: ImportTemplateLineItemWhereInput
  }

  /**
   * ImportTemplateLineItem.field_type
   */
  export type ImportTemplateLineItem$field_typeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    where?: FieldTypeWhereInput
  }

  /**
   * ImportTemplateLineItem without action
   */
  export type ImportTemplateLineItemDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
  }


  /**
   * Model ImportTemplateQueries
   */

  export type AggregateImportTemplateQueries = {
    _count: ImportTemplateQueriesCountAggregateOutputType | null
    _avg: ImportTemplateQueriesAvgAggregateOutputType | null
    _sum: ImportTemplateQueriesSumAggregateOutputType | null
    _min: ImportTemplateQueriesMinAggregateOutputType | null
    _max: ImportTemplateQueriesMaxAggregateOutputType | null
  }

  export type ImportTemplateQueriesAvgAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportTemplateQueriesSumAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportTemplateQueriesMinAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    query_string: string | null
    query_name: string | null
    allow_multiple: boolean | null
    is_individual: boolean | null
    before_lineitems: boolean | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ImportTemplateQueriesMaxAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    query_string: string | null
    query_name: string | null
    allow_multiple: boolean | null
    is_individual: boolean | null
    before_lineitems: boolean | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ImportTemplateQueriesCountAggregateOutputType = {
    id: number
    import_template_id: number
    query_string: number
    query_name: number
    allow_multiple: number
    is_individual: number
    before_lineitems: number
    order_no: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type ImportTemplateQueriesAvgAggregateInputType = {
    id?: true
    import_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type ImportTemplateQueriesSumAggregateInputType = {
    id?: true
    import_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type ImportTemplateQueriesMinAggregateInputType = {
    id?: true
    import_template_id?: true
    query_string?: true
    query_name?: true
    allow_multiple?: true
    is_individual?: true
    before_lineitems?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ImportTemplateQueriesMaxAggregateInputType = {
    id?: true
    import_template_id?: true
    query_string?: true
    query_name?: true
    allow_multiple?: true
    is_individual?: true
    before_lineitems?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ImportTemplateQueriesCountAggregateInputType = {
    id?: true
    import_template_id?: true
    query_string?: true
    query_name?: true
    allow_multiple?: true
    is_individual?: true
    before_lineitems?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type ImportTemplateQueriesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplateQueries to aggregate.
     */
    where?: ImportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateQueries to fetch.
     */
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ImportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ImportTemplateQueries
    **/
    _count?: true | ImportTemplateQueriesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ImportTemplateQueriesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ImportTemplateQueriesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ImportTemplateQueriesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ImportTemplateQueriesMaxAggregateInputType
  }

  export type GetImportTemplateQueriesAggregateType<T extends ImportTemplateQueriesAggregateArgs> = {
        [P in keyof T & keyof AggregateImportTemplateQueries]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateImportTemplateQueries[P]>
      : GetScalarType<T[P], AggregateImportTemplateQueries[P]>
  }




  export type ImportTemplateQueriesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportTemplateQueriesWhereInput
    orderBy?: ImportTemplateQueriesOrderByWithAggregationInput | ImportTemplateQueriesOrderByWithAggregationInput[]
    by: ImportTemplateQueriesScalarFieldEnum[] | ImportTemplateQueriesScalarFieldEnum
    having?: ImportTemplateQueriesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ImportTemplateQueriesCountAggregateInputType | true
    _avg?: ImportTemplateQueriesAvgAggregateInputType
    _sum?: ImportTemplateQueriesSumAggregateInputType
    _min?: ImportTemplateQueriesMinAggregateInputType
    _max?: ImportTemplateQueriesMaxAggregateInputType
  }

  export type ImportTemplateQueriesGroupByOutputType = {
    id: number
    import_template_id: number
    query_string: string | null
    query_name: string
    allow_multiple: boolean
    is_individual: boolean
    before_lineitems: boolean
    order_no: Decimal
    status_id: number
    company_id: number
    created_at: Date
    _count: ImportTemplateQueriesCountAggregateOutputType | null
    _avg: ImportTemplateQueriesAvgAggregateOutputType | null
    _sum: ImportTemplateQueriesSumAggregateOutputType | null
    _min: ImportTemplateQueriesMinAggregateOutputType | null
    _max: ImportTemplateQueriesMaxAggregateOutputType | null
  }

  type GetImportTemplateQueriesGroupByPayload<T extends ImportTemplateQueriesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ImportTemplateQueriesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ImportTemplateQueriesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ImportTemplateQueriesGroupByOutputType[P]>
            : GetScalarType<T[P], ImportTemplateQueriesGroupByOutputType[P]>
        }
      >
    >


  export type ImportTemplateQueriesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplateQueries"]>

  export type ImportTemplateQueriesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importTemplateQueries"]>

  export type ImportTemplateQueriesSelectScalar = {
    id?: boolean
    import_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type ImportTemplateQueriesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
  }
  export type ImportTemplateQueriesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportTemplateDefaultArgs<ExtArgs>
  }

  export type $ImportTemplateQueriesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ImportTemplateQueries"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      import_template: Prisma.$ImportTemplatePayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      import_template_id: number
      query_string: string | null
      query_name: string
      allow_multiple: boolean
      is_individual: boolean
      before_lineitems: boolean
      order_no: Prisma.Decimal
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["importTemplateQueries"]>
    composites: {}
  }

  type ImportTemplateQueriesGetPayload<S extends boolean | null | undefined | ImportTemplateQueriesDefaultArgs> = $Result.GetResult<Prisma.$ImportTemplateQueriesPayload, S>

  type ImportTemplateQueriesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ImportTemplateQueriesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ImportTemplateQueriesCountAggregateInputType | true
    }

  export interface ImportTemplateQueriesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ImportTemplateQueries'], meta: { name: 'ImportTemplateQueries' } }
    /**
     * Find zero or one ImportTemplateQueries that matches the filter.
     * @param {ImportTemplateQueriesFindUniqueArgs} args - Arguments to find a ImportTemplateQueries
     * @example
     * // Get one ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ImportTemplateQueriesFindUniqueArgs>(args: SelectSubset<T, ImportTemplateQueriesFindUniqueArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ImportTemplateQueries that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ImportTemplateQueriesFindUniqueOrThrowArgs} args - Arguments to find a ImportTemplateQueries
     * @example
     * // Get one ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ImportTemplateQueriesFindUniqueOrThrowArgs>(args: SelectSubset<T, ImportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ImportTemplateQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesFindFirstArgs} args - Arguments to find a ImportTemplateQueries
     * @example
     * // Get one ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ImportTemplateQueriesFindFirstArgs>(args?: SelectSubset<T, ImportTemplateQueriesFindFirstArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ImportTemplateQueries that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesFindFirstOrThrowArgs} args - Arguments to find a ImportTemplateQueries
     * @example
     * // Get one ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ImportTemplateQueriesFindFirstOrThrowArgs>(args?: SelectSubset<T, ImportTemplateQueriesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ImportTemplateQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findMany()
     * 
     * // Get first 10 ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const importTemplateQueriesWithIdOnly = await prisma.importTemplateQueries.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ImportTemplateQueriesFindManyArgs>(args?: SelectSubset<T, ImportTemplateQueriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ImportTemplateQueries.
     * @param {ImportTemplateQueriesCreateArgs} args - Arguments to create a ImportTemplateQueries.
     * @example
     * // Create one ImportTemplateQueries
     * const ImportTemplateQueries = await prisma.importTemplateQueries.create({
     *   data: {
     *     // ... data to create a ImportTemplateQueries
     *   }
     * })
     * 
     */
    create<T extends ImportTemplateQueriesCreateArgs>(args: SelectSubset<T, ImportTemplateQueriesCreateArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ImportTemplateQueries.
     * @param {ImportTemplateQueriesCreateManyArgs} args - Arguments to create many ImportTemplateQueries.
     * @example
     * // Create many ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ImportTemplateQueriesCreateManyArgs>(args?: SelectSubset<T, ImportTemplateQueriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ImportTemplateQueries and returns the data saved in the database.
     * @param {ImportTemplateQueriesCreateManyAndReturnArgs} args - Arguments to create many ImportTemplateQueries.
     * @example
     * // Create many ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ImportTemplateQueries and only return the `id`
     * const importTemplateQueriesWithIdOnly = await prisma.importTemplateQueries.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ImportTemplateQueriesCreateManyAndReturnArgs>(args?: SelectSubset<T, ImportTemplateQueriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ImportTemplateQueries.
     * @param {ImportTemplateQueriesDeleteArgs} args - Arguments to delete one ImportTemplateQueries.
     * @example
     * // Delete one ImportTemplateQueries
     * const ImportTemplateQueries = await prisma.importTemplateQueries.delete({
     *   where: {
     *     // ... filter to delete one ImportTemplateQueries
     *   }
     * })
     * 
     */
    delete<T extends ImportTemplateQueriesDeleteArgs>(args: SelectSubset<T, ImportTemplateQueriesDeleteArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ImportTemplateQueries.
     * @param {ImportTemplateQueriesUpdateArgs} args - Arguments to update one ImportTemplateQueries.
     * @example
     * // Update one ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ImportTemplateQueriesUpdateArgs>(args: SelectSubset<T, ImportTemplateQueriesUpdateArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ImportTemplateQueries.
     * @param {ImportTemplateQueriesDeleteManyArgs} args - Arguments to filter ImportTemplateQueries to delete.
     * @example
     * // Delete a few ImportTemplateQueries
     * const { count } = await prisma.importTemplateQueries.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ImportTemplateQueriesDeleteManyArgs>(args?: SelectSubset<T, ImportTemplateQueriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ImportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ImportTemplateQueriesUpdateManyArgs>(args: SelectSubset<T, ImportTemplateQueriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ImportTemplateQueries.
     * @param {ImportTemplateQueriesUpsertArgs} args - Arguments to update or create a ImportTemplateQueries.
     * @example
     * // Update or create a ImportTemplateQueries
     * const importTemplateQueries = await prisma.importTemplateQueries.upsert({
     *   create: {
     *     // ... data to create a ImportTemplateQueries
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ImportTemplateQueries we want to update
     *   }
     * })
     */
    upsert<T extends ImportTemplateQueriesUpsertArgs>(args: SelectSubset<T, ImportTemplateQueriesUpsertArgs<ExtArgs>>): Prisma__ImportTemplateQueriesClient<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ImportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesCountArgs} args - Arguments to filter ImportTemplateQueries to count.
     * @example
     * // Count the number of ImportTemplateQueries
     * const count = await prisma.importTemplateQueries.count({
     *   where: {
     *     // ... the filter for the ImportTemplateQueries we want to count
     *   }
     * })
    **/
    count<T extends ImportTemplateQueriesCountArgs>(
      args?: Subset<T, ImportTemplateQueriesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ImportTemplateQueriesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ImportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ImportTemplateQueriesAggregateArgs>(args: Subset<T, ImportTemplateQueriesAggregateArgs>): Prisma.PrismaPromise<GetImportTemplateQueriesAggregateType<T>>

    /**
     * Group by ImportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportTemplateQueriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ImportTemplateQueriesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ImportTemplateQueriesGroupByArgs['orderBy'] }
        : { orderBy?: ImportTemplateQueriesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ImportTemplateQueriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetImportTemplateQueriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ImportTemplateQueries model
   */
  readonly fields: ImportTemplateQueriesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ImportTemplateQueries.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ImportTemplateQueriesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    import_template<T extends ImportTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ImportTemplateDefaultArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ImportTemplateQueries model
   */ 
  interface ImportTemplateQueriesFieldRefs {
    readonly id: FieldRef<"ImportTemplateQueries", 'Int'>
    readonly import_template_id: FieldRef<"ImportTemplateQueries", 'Int'>
    readonly query_string: FieldRef<"ImportTemplateQueries", 'String'>
    readonly query_name: FieldRef<"ImportTemplateQueries", 'String'>
    readonly allow_multiple: FieldRef<"ImportTemplateQueries", 'Boolean'>
    readonly is_individual: FieldRef<"ImportTemplateQueries", 'Boolean'>
    readonly before_lineitems: FieldRef<"ImportTemplateQueries", 'Boolean'>
    readonly order_no: FieldRef<"ImportTemplateQueries", 'Decimal'>
    readonly status_id: FieldRef<"ImportTemplateQueries", 'Int'>
    readonly company_id: FieldRef<"ImportTemplateQueries", 'Int'>
    readonly created_at: FieldRef<"ImportTemplateQueries", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ImportTemplateQueries findUnique
   */
  export type ImportTemplateQueriesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateQueries to fetch.
     */
    where: ImportTemplateQueriesWhereUniqueInput
  }

  /**
   * ImportTemplateQueries findUniqueOrThrow
   */
  export type ImportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateQueries to fetch.
     */
    where: ImportTemplateQueriesWhereUniqueInput
  }

  /**
   * ImportTemplateQueries findFirst
   */
  export type ImportTemplateQueriesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateQueries to fetch.
     */
    where?: ImportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateQueries to fetch.
     */
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplateQueries.
     */
    cursor?: ImportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplateQueries.
     */
    distinct?: ImportTemplateQueriesScalarFieldEnum | ImportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ImportTemplateQueries findFirstOrThrow
   */
  export type ImportTemplateQueriesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateQueries to fetch.
     */
    where?: ImportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateQueries to fetch.
     */
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportTemplateQueries.
     */
    cursor?: ImportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportTemplateQueries.
     */
    distinct?: ImportTemplateQueriesScalarFieldEnum | ImportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ImportTemplateQueries findMany
   */
  export type ImportTemplateQueriesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ImportTemplateQueries to fetch.
     */
    where?: ImportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportTemplateQueries to fetch.
     */
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ImportTemplateQueries.
     */
    cursor?: ImportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportTemplateQueries.
     */
    skip?: number
    distinct?: ImportTemplateQueriesScalarFieldEnum | ImportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ImportTemplateQueries create
   */
  export type ImportTemplateQueriesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The data needed to create a ImportTemplateQueries.
     */
    data: XOR<ImportTemplateQueriesCreateInput, ImportTemplateQueriesUncheckedCreateInput>
  }

  /**
   * ImportTemplateQueries createMany
   */
  export type ImportTemplateQueriesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ImportTemplateQueries.
     */
    data: ImportTemplateQueriesCreateManyInput | ImportTemplateQueriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ImportTemplateQueries createManyAndReturn
   */
  export type ImportTemplateQueriesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ImportTemplateQueries.
     */
    data: ImportTemplateQueriesCreateManyInput | ImportTemplateQueriesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ImportTemplateQueries update
   */
  export type ImportTemplateQueriesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The data needed to update a ImportTemplateQueries.
     */
    data: XOR<ImportTemplateQueriesUpdateInput, ImportTemplateQueriesUncheckedUpdateInput>
    /**
     * Choose, which ImportTemplateQueries to update.
     */
    where: ImportTemplateQueriesWhereUniqueInput
  }

  /**
   * ImportTemplateQueries updateMany
   */
  export type ImportTemplateQueriesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ImportTemplateQueries.
     */
    data: XOR<ImportTemplateQueriesUpdateManyMutationInput, ImportTemplateQueriesUncheckedUpdateManyInput>
    /**
     * Filter which ImportTemplateQueries to update
     */
    where?: ImportTemplateQueriesWhereInput
  }

  /**
   * ImportTemplateQueries upsert
   */
  export type ImportTemplateQueriesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The filter to search for the ImportTemplateQueries to update in case it exists.
     */
    where: ImportTemplateQueriesWhereUniqueInput
    /**
     * In case the ImportTemplateQueries found by the `where` argument doesn't exist, create a new ImportTemplateQueries with this data.
     */
    create: XOR<ImportTemplateQueriesCreateInput, ImportTemplateQueriesUncheckedCreateInput>
    /**
     * In case the ImportTemplateQueries was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ImportTemplateQueriesUpdateInput, ImportTemplateQueriesUncheckedUpdateInput>
  }

  /**
   * ImportTemplateQueries delete
   */
  export type ImportTemplateQueriesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter which ImportTemplateQueries to delete.
     */
    where: ImportTemplateQueriesWhereUniqueInput
  }

  /**
   * ImportTemplateQueries deleteMany
   */
  export type ImportTemplateQueriesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportTemplateQueries to delete
     */
    where?: ImportTemplateQueriesWhereInput
  }

  /**
   * ImportTemplateQueries without action
   */
  export type ImportTemplateQueriesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
  }


  /**
   * Model DirectImportDetails
   */

  export type AggregateDirectImportDetails = {
    _count: DirectImportDetailsCountAggregateOutputType | null
    _avg: DirectImportDetailsAvgAggregateOutputType | null
    _sum: DirectImportDetailsSumAggregateOutputType | null
    _min: DirectImportDetailsMinAggregateOutputType | null
    _max: DirectImportDetailsMaxAggregateOutputType | null
  }

  export type DirectImportDetailsAvgAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DirectImportDetailsSumAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DirectImportDetailsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    import_template_id: number | null
    file_path: string | null
    file_name: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DirectImportDetailsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    import_template_id: number | null
    file_path: string | null
    file_name: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DirectImportDetailsCountAggregateOutputType = {
    id: number
    uuid: number
    import_template_id: number
    file_path: number
    file_name: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type DirectImportDetailsAvgAggregateInputType = {
    id?: true
    import_template_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DirectImportDetailsSumAggregateInputType = {
    id?: true
    import_template_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DirectImportDetailsMinAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    file_path?: true
    file_name?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DirectImportDetailsMaxAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    file_path?: true
    file_name?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DirectImportDetailsCountAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    file_path?: true
    file_name?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type DirectImportDetailsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DirectImportDetails to aggregate.
     */
    where?: DirectImportDetailsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DirectImportDetails to fetch.
     */
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DirectImportDetailsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DirectImportDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DirectImportDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DirectImportDetails
    **/
    _count?: true | DirectImportDetailsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DirectImportDetailsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DirectImportDetailsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DirectImportDetailsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DirectImportDetailsMaxAggregateInputType
  }

  export type GetDirectImportDetailsAggregateType<T extends DirectImportDetailsAggregateArgs> = {
        [P in keyof T & keyof AggregateDirectImportDetails]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDirectImportDetails[P]>
      : GetScalarType<T[P], AggregateDirectImportDetails[P]>
  }




  export type DirectImportDetailsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithAggregationInput | DirectImportDetailsOrderByWithAggregationInput[]
    by: DirectImportDetailsScalarFieldEnum[] | DirectImportDetailsScalarFieldEnum
    having?: DirectImportDetailsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DirectImportDetailsCountAggregateInputType | true
    _avg?: DirectImportDetailsAvgAggregateInputType
    _sum?: DirectImportDetailsSumAggregateInputType
    _min?: DirectImportDetailsMinAggregateInputType
    _max?: DirectImportDetailsMaxAggregateInputType
  }

  export type DirectImportDetailsGroupByOutputType = {
    id: number
    uuid: string
    import_template_id: number | null
    file_path: string | null
    file_name: string | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: DirectImportDetailsCountAggregateOutputType | null
    _avg: DirectImportDetailsAvgAggregateOutputType | null
    _sum: DirectImportDetailsSumAggregateOutputType | null
    _min: DirectImportDetailsMinAggregateOutputType | null
    _max: DirectImportDetailsMaxAggregateOutputType | null
  }

  type GetDirectImportDetailsGroupByPayload<T extends DirectImportDetailsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DirectImportDetailsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DirectImportDetailsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DirectImportDetailsGroupByOutputType[P]>
            : GetScalarType<T[P], DirectImportDetailsGroupByOutputType[P]>
        }
      >
    >


  export type DirectImportDetailsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    file_path?: boolean
    file_name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | DirectImportDetails$import_templateArgs<ExtArgs>
    created?: boolean | DirectImportDetails$createdArgs<ExtArgs>
    updated?: boolean | DirectImportDetails$updatedArgs<ExtArgs>
    deleted?: boolean | DirectImportDetails$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["directImportDetails"]>

  export type DirectImportDetailsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    file_path?: boolean
    file_name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | DirectImportDetails$import_templateArgs<ExtArgs>
    created?: boolean | DirectImportDetails$createdArgs<ExtArgs>
    updated?: boolean | DirectImportDetails$updatedArgs<ExtArgs>
    deleted?: boolean | DirectImportDetails$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["directImportDetails"]>

  export type DirectImportDetailsSelectScalar = {
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    file_path?: boolean
    file_name?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type DirectImportDetailsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | DirectImportDetails$import_templateArgs<ExtArgs>
    created?: boolean | DirectImportDetails$createdArgs<ExtArgs>
    updated?: boolean | DirectImportDetails$updatedArgs<ExtArgs>
    deleted?: boolean | DirectImportDetails$deletedArgs<ExtArgs>
  }
  export type DirectImportDetailsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | DirectImportDetails$import_templateArgs<ExtArgs>
    created?: boolean | DirectImportDetails$createdArgs<ExtArgs>
    updated?: boolean | DirectImportDetails$updatedArgs<ExtArgs>
    deleted?: boolean | DirectImportDetails$deletedArgs<ExtArgs>
  }

  export type $DirectImportDetailsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DirectImportDetails"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      import_template: Prisma.$ImportTemplatePayload<ExtArgs> | null
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      import_template_id: number | null
      file_path: string | null
      file_name: string | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["directImportDetails"]>
    composites: {}
  }

  type DirectImportDetailsGetPayload<S extends boolean | null | undefined | DirectImportDetailsDefaultArgs> = $Result.GetResult<Prisma.$DirectImportDetailsPayload, S>

  type DirectImportDetailsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DirectImportDetailsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DirectImportDetailsCountAggregateInputType | true
    }

  export interface DirectImportDetailsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DirectImportDetails'], meta: { name: 'DirectImportDetails' } }
    /**
     * Find zero or one DirectImportDetails that matches the filter.
     * @param {DirectImportDetailsFindUniqueArgs} args - Arguments to find a DirectImportDetails
     * @example
     * // Get one DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DirectImportDetailsFindUniqueArgs>(args: SelectSubset<T, DirectImportDetailsFindUniqueArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DirectImportDetails that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DirectImportDetailsFindUniqueOrThrowArgs} args - Arguments to find a DirectImportDetails
     * @example
     * // Get one DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DirectImportDetailsFindUniqueOrThrowArgs>(args: SelectSubset<T, DirectImportDetailsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DirectImportDetails that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsFindFirstArgs} args - Arguments to find a DirectImportDetails
     * @example
     * // Get one DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DirectImportDetailsFindFirstArgs>(args?: SelectSubset<T, DirectImportDetailsFindFirstArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DirectImportDetails that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsFindFirstOrThrowArgs} args - Arguments to find a DirectImportDetails
     * @example
     * // Get one DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DirectImportDetailsFindFirstOrThrowArgs>(args?: SelectSubset<T, DirectImportDetailsFindFirstOrThrowArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DirectImportDetails that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findMany()
     * 
     * // Get first 10 DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const directImportDetailsWithIdOnly = await prisma.directImportDetails.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DirectImportDetailsFindManyArgs>(args?: SelectSubset<T, DirectImportDetailsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DirectImportDetails.
     * @param {DirectImportDetailsCreateArgs} args - Arguments to create a DirectImportDetails.
     * @example
     * // Create one DirectImportDetails
     * const DirectImportDetails = await prisma.directImportDetails.create({
     *   data: {
     *     // ... data to create a DirectImportDetails
     *   }
     * })
     * 
     */
    create<T extends DirectImportDetailsCreateArgs>(args: SelectSubset<T, DirectImportDetailsCreateArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DirectImportDetails.
     * @param {DirectImportDetailsCreateManyArgs} args - Arguments to create many DirectImportDetails.
     * @example
     * // Create many DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DirectImportDetailsCreateManyArgs>(args?: SelectSubset<T, DirectImportDetailsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DirectImportDetails and returns the data saved in the database.
     * @param {DirectImportDetailsCreateManyAndReturnArgs} args - Arguments to create many DirectImportDetails.
     * @example
     * // Create many DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DirectImportDetails and only return the `id`
     * const directImportDetailsWithIdOnly = await prisma.directImportDetails.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DirectImportDetailsCreateManyAndReturnArgs>(args?: SelectSubset<T, DirectImportDetailsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DirectImportDetails.
     * @param {DirectImportDetailsDeleteArgs} args - Arguments to delete one DirectImportDetails.
     * @example
     * // Delete one DirectImportDetails
     * const DirectImportDetails = await prisma.directImportDetails.delete({
     *   where: {
     *     // ... filter to delete one DirectImportDetails
     *   }
     * })
     * 
     */
    delete<T extends DirectImportDetailsDeleteArgs>(args: SelectSubset<T, DirectImportDetailsDeleteArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DirectImportDetails.
     * @param {DirectImportDetailsUpdateArgs} args - Arguments to update one DirectImportDetails.
     * @example
     * // Update one DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DirectImportDetailsUpdateArgs>(args: SelectSubset<T, DirectImportDetailsUpdateArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DirectImportDetails.
     * @param {DirectImportDetailsDeleteManyArgs} args - Arguments to filter DirectImportDetails to delete.
     * @example
     * // Delete a few DirectImportDetails
     * const { count } = await prisma.directImportDetails.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DirectImportDetailsDeleteManyArgs>(args?: SelectSubset<T, DirectImportDetailsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DirectImportDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DirectImportDetailsUpdateManyArgs>(args: SelectSubset<T, DirectImportDetailsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DirectImportDetails.
     * @param {DirectImportDetailsUpsertArgs} args - Arguments to update or create a DirectImportDetails.
     * @example
     * // Update or create a DirectImportDetails
     * const directImportDetails = await prisma.directImportDetails.upsert({
     *   create: {
     *     // ... data to create a DirectImportDetails
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DirectImportDetails we want to update
     *   }
     * })
     */
    upsert<T extends DirectImportDetailsUpsertArgs>(args: SelectSubset<T, DirectImportDetailsUpsertArgs<ExtArgs>>): Prisma__DirectImportDetailsClient<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DirectImportDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsCountArgs} args - Arguments to filter DirectImportDetails to count.
     * @example
     * // Count the number of DirectImportDetails
     * const count = await prisma.directImportDetails.count({
     *   where: {
     *     // ... the filter for the DirectImportDetails we want to count
     *   }
     * })
    **/
    count<T extends DirectImportDetailsCountArgs>(
      args?: Subset<T, DirectImportDetailsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DirectImportDetailsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DirectImportDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DirectImportDetailsAggregateArgs>(args: Subset<T, DirectImportDetailsAggregateArgs>): Prisma.PrismaPromise<GetDirectImportDetailsAggregateType<T>>

    /**
     * Group by DirectImportDetails.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DirectImportDetailsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DirectImportDetailsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DirectImportDetailsGroupByArgs['orderBy'] }
        : { orderBy?: DirectImportDetailsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DirectImportDetailsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectImportDetailsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DirectImportDetails model
   */
  readonly fields: DirectImportDetailsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DirectImportDetails.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DirectImportDetailsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    import_template<T extends DirectImportDetails$import_templateArgs<ExtArgs> = {}>(args?: Subset<T, DirectImportDetails$import_templateArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created<T extends DirectImportDetails$createdArgs<ExtArgs> = {}>(args?: Subset<T, DirectImportDetails$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends DirectImportDetails$updatedArgs<ExtArgs> = {}>(args?: Subset<T, DirectImportDetails$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends DirectImportDetails$deletedArgs<ExtArgs> = {}>(args?: Subset<T, DirectImportDetails$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DirectImportDetails model
   */ 
  interface DirectImportDetailsFieldRefs {
    readonly id: FieldRef<"DirectImportDetails", 'Int'>
    readonly uuid: FieldRef<"DirectImportDetails", 'String'>
    readonly import_template_id: FieldRef<"DirectImportDetails", 'Int'>
    readonly file_path: FieldRef<"DirectImportDetails", 'String'>
    readonly file_name: FieldRef<"DirectImportDetails", 'String'>
    readonly status_id: FieldRef<"DirectImportDetails", 'Int'>
    readonly company_id: FieldRef<"DirectImportDetails", 'Int'>
    readonly created_by: FieldRef<"DirectImportDetails", 'Int'>
    readonly created_at: FieldRef<"DirectImportDetails", 'DateTime'>
    readonly updated_by: FieldRef<"DirectImportDetails", 'Int'>
    readonly updated_at: FieldRef<"DirectImportDetails", 'DateTime'>
    readonly deleted_by: FieldRef<"DirectImportDetails", 'Int'>
    readonly deleted_at: FieldRef<"DirectImportDetails", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * DirectImportDetails findUnique
   */
  export type DirectImportDetailsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter, which DirectImportDetails to fetch.
     */
    where: DirectImportDetailsWhereUniqueInput
  }

  /**
   * DirectImportDetails findUniqueOrThrow
   */
  export type DirectImportDetailsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter, which DirectImportDetails to fetch.
     */
    where: DirectImportDetailsWhereUniqueInput
  }

  /**
   * DirectImportDetails findFirst
   */
  export type DirectImportDetailsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter, which DirectImportDetails to fetch.
     */
    where?: DirectImportDetailsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DirectImportDetails to fetch.
     */
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DirectImportDetails.
     */
    cursor?: DirectImportDetailsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DirectImportDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DirectImportDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DirectImportDetails.
     */
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * DirectImportDetails findFirstOrThrow
   */
  export type DirectImportDetailsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter, which DirectImportDetails to fetch.
     */
    where?: DirectImportDetailsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DirectImportDetails to fetch.
     */
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DirectImportDetails.
     */
    cursor?: DirectImportDetailsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DirectImportDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DirectImportDetails.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DirectImportDetails.
     */
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * DirectImportDetails findMany
   */
  export type DirectImportDetailsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter, which DirectImportDetails to fetch.
     */
    where?: DirectImportDetailsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DirectImportDetails to fetch.
     */
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DirectImportDetails.
     */
    cursor?: DirectImportDetailsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DirectImportDetails from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DirectImportDetails.
     */
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * DirectImportDetails create
   */
  export type DirectImportDetailsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * The data needed to create a DirectImportDetails.
     */
    data: XOR<DirectImportDetailsCreateInput, DirectImportDetailsUncheckedCreateInput>
  }

  /**
   * DirectImportDetails createMany
   */
  export type DirectImportDetailsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DirectImportDetails.
     */
    data: DirectImportDetailsCreateManyInput | DirectImportDetailsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DirectImportDetails createManyAndReturn
   */
  export type DirectImportDetailsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DirectImportDetails.
     */
    data: DirectImportDetailsCreateManyInput | DirectImportDetailsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DirectImportDetails update
   */
  export type DirectImportDetailsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * The data needed to update a DirectImportDetails.
     */
    data: XOR<DirectImportDetailsUpdateInput, DirectImportDetailsUncheckedUpdateInput>
    /**
     * Choose, which DirectImportDetails to update.
     */
    where: DirectImportDetailsWhereUniqueInput
  }

  /**
   * DirectImportDetails updateMany
   */
  export type DirectImportDetailsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DirectImportDetails.
     */
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyInput>
    /**
     * Filter which DirectImportDetails to update
     */
    where?: DirectImportDetailsWhereInput
  }

  /**
   * DirectImportDetails upsert
   */
  export type DirectImportDetailsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * The filter to search for the DirectImportDetails to update in case it exists.
     */
    where: DirectImportDetailsWhereUniqueInput
    /**
     * In case the DirectImportDetails found by the `where` argument doesn't exist, create a new DirectImportDetails with this data.
     */
    create: XOR<DirectImportDetailsCreateInput, DirectImportDetailsUncheckedCreateInput>
    /**
     * In case the DirectImportDetails was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DirectImportDetailsUpdateInput, DirectImportDetailsUncheckedUpdateInput>
  }

  /**
   * DirectImportDetails delete
   */
  export type DirectImportDetailsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    /**
     * Filter which DirectImportDetails to delete.
     */
    where: DirectImportDetailsWhereUniqueInput
  }

  /**
   * DirectImportDetails deleteMany
   */
  export type DirectImportDetailsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DirectImportDetails to delete
     */
    where?: DirectImportDetailsWhereInput
  }

  /**
   * DirectImportDetails.import_template
   */
  export type DirectImportDetails$import_templateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
  }

  /**
   * DirectImportDetails.created
   */
  export type DirectImportDetails$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DirectImportDetails.updated
   */
  export type DirectImportDetails$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DirectImportDetails.deleted
   */
  export type DirectImportDetails$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DirectImportDetails without action
   */
  export type DirectImportDetailsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
  }


  /**
   * Model ImportJob
   */

  export type AggregateImportJob = {
    _count: ImportJobCountAggregateOutputType | null
    _avg: ImportJobAvgAggregateOutputType | null
    _sum: ImportJobSumAggregateOutputType | null
    _min: ImportJobMinAggregateOutputType | null
    _max: ImportJobMaxAggregateOutputType | null
  }

  export type ImportJobAvgAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    total_rows: number | null
    completed_rows: number | null
    error_rows: number | null
    batch_process_count: number | null
    last_processed_row_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ImportJobSumAggregateOutputType = {
    id: number | null
    import_template_id: number | null
    total_rows: number | null
    completed_rows: number | null
    error_rows: number | null
    batch_process_count: number | null
    last_processed_row_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ImportJobMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    import_template_id: number | null
    name: string | null
    description: string | null
    sequence_number: string | null
    ignore_error_rows: boolean | null
    total_rows: number | null
    completed_rows: number | null
    error_rows: number | null
    batch_process_count: number | null
    job_status: string | null
    last_processed_row_id: number | null
    file_path: string | null
    file_name: string | null
    validation_started_at: Date | null
    validation_completed_at: Date | null
    processing_started_at: Date | null
    processing_completed_at: Date | null
    expected_completion_time: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ImportJobMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    import_template_id: number | null
    name: string | null
    description: string | null
    sequence_number: string | null
    ignore_error_rows: boolean | null
    total_rows: number | null
    completed_rows: number | null
    error_rows: number | null
    batch_process_count: number | null
    job_status: string | null
    last_processed_row_id: number | null
    file_path: string | null
    file_name: string | null
    validation_started_at: Date | null
    validation_completed_at: Date | null
    processing_started_at: Date | null
    processing_completed_at: Date | null
    expected_completion_time: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ImportJobCountAggregateOutputType = {
    id: number
    uuid: number
    import_template_id: number
    name: number
    description: number
    sequence_number: number
    ignore_error_rows: number
    header_details: number
    table_config: number
    total_rows: number
    completed_rows: number
    error_rows: number
    batch_process_count: number
    job_status: number
    last_processed_row_id: number
    file_path: number
    file_name: number
    validation_started_at: number
    validation_completed_at: number
    processing_started_at: number
    processing_completed_at: number
    expected_completion_time: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ImportJobAvgAggregateInputType = {
    id?: true
    import_template_id?: true
    total_rows?: true
    completed_rows?: true
    error_rows?: true
    batch_process_count?: true
    last_processed_row_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ImportJobSumAggregateInputType = {
    id?: true
    import_template_id?: true
    total_rows?: true
    completed_rows?: true
    error_rows?: true
    batch_process_count?: true
    last_processed_row_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ImportJobMinAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    name?: true
    description?: true
    sequence_number?: true
    ignore_error_rows?: true
    total_rows?: true
    completed_rows?: true
    error_rows?: true
    batch_process_count?: true
    job_status?: true
    last_processed_row_id?: true
    file_path?: true
    file_name?: true
    validation_started_at?: true
    validation_completed_at?: true
    processing_started_at?: true
    processing_completed_at?: true
    expected_completion_time?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ImportJobMaxAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    name?: true
    description?: true
    sequence_number?: true
    ignore_error_rows?: true
    total_rows?: true
    completed_rows?: true
    error_rows?: true
    batch_process_count?: true
    job_status?: true
    last_processed_row_id?: true
    file_path?: true
    file_name?: true
    validation_started_at?: true
    validation_completed_at?: true
    processing_started_at?: true
    processing_completed_at?: true
    expected_completion_time?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ImportJobCountAggregateInputType = {
    id?: true
    uuid?: true
    import_template_id?: true
    name?: true
    description?: true
    sequence_number?: true
    ignore_error_rows?: true
    header_details?: true
    table_config?: true
    total_rows?: true
    completed_rows?: true
    error_rows?: true
    batch_process_count?: true
    job_status?: true
    last_processed_row_id?: true
    file_path?: true
    file_name?: true
    validation_started_at?: true
    validation_completed_at?: true
    processing_started_at?: true
    processing_completed_at?: true
    expected_completion_time?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ImportJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportJob to aggregate.
     */
    where?: ImportJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobs to fetch.
     */
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ImportJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ImportJobs
    **/
    _count?: true | ImportJobCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ImportJobAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ImportJobSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ImportJobMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ImportJobMaxAggregateInputType
  }

  export type GetImportJobAggregateType<T extends ImportJobAggregateArgs> = {
        [P in keyof T & keyof AggregateImportJob]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateImportJob[P]>
      : GetScalarType<T[P], AggregateImportJob[P]>
  }




  export type ImportJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithAggregationInput | ImportJobOrderByWithAggregationInput[]
    by: ImportJobScalarFieldEnum[] | ImportJobScalarFieldEnum
    having?: ImportJobScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ImportJobCountAggregateInputType | true
    _avg?: ImportJobAvgAggregateInputType
    _sum?: ImportJobSumAggregateInputType
    _min?: ImportJobMinAggregateInputType
    _max?: ImportJobMaxAggregateInputType
  }

  export type ImportJobGroupByOutputType = {
    id: number
    uuid: string
    import_template_id: number | null
    name: string
    description: string | null
    sequence_number: string | null
    ignore_error_rows: boolean
    header_details: JsonValue | null
    table_config: JsonValue | null
    total_rows: number
    completed_rows: number
    error_rows: number
    batch_process_count: number | null
    job_status: string | null
    last_processed_row_id: number | null
    file_path: string | null
    file_name: string | null
    validation_started_at: Date | null
    validation_completed_at: Date | null
    processing_started_at: Date | null
    processing_completed_at: Date | null
    expected_completion_time: Date | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ImportJobCountAggregateOutputType | null
    _avg: ImportJobAvgAggregateOutputType | null
    _sum: ImportJobSumAggregateOutputType | null
    _min: ImportJobMinAggregateOutputType | null
    _max: ImportJobMaxAggregateOutputType | null
  }

  type GetImportJobGroupByPayload<T extends ImportJobGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ImportJobGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ImportJobGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ImportJobGroupByOutputType[P]>
            : GetScalarType<T[P], ImportJobGroupByOutputType[P]>
        }
      >
    >


  export type ImportJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    name?: boolean
    description?: boolean
    sequence_number?: boolean
    ignore_error_rows?: boolean
    header_details?: boolean
    table_config?: boolean
    total_rows?: boolean
    completed_rows?: boolean
    error_rows?: boolean
    batch_process_count?: boolean
    job_status?: boolean
    last_processed_row_id?: boolean
    file_path?: boolean
    file_name?: boolean
    validation_started_at?: boolean
    validation_completed_at?: boolean
    processing_started_at?: boolean
    processing_completed_at?: boolean
    expected_completion_time?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportJob$import_templateArgs<ExtArgs>
    created?: boolean | ImportJob$createdArgs<ExtArgs>
    updated?: boolean | ImportJob$updatedArgs<ExtArgs>
    deleted?: boolean | ImportJob$deletedArgs<ExtArgs>
    line_items?: boolean | ImportJob$line_itemsArgs<ExtArgs>
    _count?: boolean | ImportJobCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importJob"]>

  export type ImportJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    name?: boolean
    description?: boolean
    sequence_number?: boolean
    ignore_error_rows?: boolean
    header_details?: boolean
    table_config?: boolean
    total_rows?: boolean
    completed_rows?: boolean
    error_rows?: boolean
    batch_process_count?: boolean
    job_status?: boolean
    last_processed_row_id?: boolean
    file_path?: boolean
    file_name?: boolean
    validation_started_at?: boolean
    validation_completed_at?: boolean
    processing_started_at?: boolean
    processing_completed_at?: boolean
    expected_completion_time?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportJob$import_templateArgs<ExtArgs>
    created?: boolean | ImportJob$createdArgs<ExtArgs>
    updated?: boolean | ImportJob$updatedArgs<ExtArgs>
    deleted?: boolean | ImportJob$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["importJob"]>

  export type ImportJobSelectScalar = {
    id?: boolean
    uuid?: boolean
    import_template_id?: boolean
    name?: boolean
    description?: boolean
    sequence_number?: boolean
    ignore_error_rows?: boolean
    header_details?: boolean
    table_config?: boolean
    total_rows?: boolean
    completed_rows?: boolean
    error_rows?: boolean
    batch_process_count?: boolean
    job_status?: boolean
    last_processed_row_id?: boolean
    file_path?: boolean
    file_name?: boolean
    validation_started_at?: boolean
    validation_completed_at?: boolean
    processing_started_at?: boolean
    processing_completed_at?: boolean
    expected_completion_time?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ImportJobInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportJob$import_templateArgs<ExtArgs>
    created?: boolean | ImportJob$createdArgs<ExtArgs>
    updated?: boolean | ImportJob$updatedArgs<ExtArgs>
    deleted?: boolean | ImportJob$deletedArgs<ExtArgs>
    line_items?: boolean | ImportJob$line_itemsArgs<ExtArgs>
    _count?: boolean | ImportJobCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ImportJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_template?: boolean | ImportJob$import_templateArgs<ExtArgs>
    created?: boolean | ImportJob$createdArgs<ExtArgs>
    updated?: boolean | ImportJob$updatedArgs<ExtArgs>
    deleted?: boolean | ImportJob$deletedArgs<ExtArgs>
  }

  export type $ImportJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ImportJob"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      import_template: Prisma.$ImportTemplatePayload<ExtArgs> | null
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      line_items: Prisma.$ImportJobLineItemPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      import_template_id: number | null
      name: string
      description: string | null
      sequence_number: string | null
      ignore_error_rows: boolean
      header_details: Prisma.JsonValue | null
      table_config: Prisma.JsonValue | null
      total_rows: number
      completed_rows: number
      error_rows: number
      batch_process_count: number | null
      job_status: string | null
      last_processed_row_id: number | null
      file_path: string | null
      file_name: string | null
      validation_started_at: Date | null
      validation_completed_at: Date | null
      processing_started_at: Date | null
      processing_completed_at: Date | null
      expected_completion_time: Date | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["importJob"]>
    composites: {}
  }

  type ImportJobGetPayload<S extends boolean | null | undefined | ImportJobDefaultArgs> = $Result.GetResult<Prisma.$ImportJobPayload, S>

  type ImportJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ImportJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ImportJobCountAggregateInputType | true
    }

  export interface ImportJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ImportJob'], meta: { name: 'ImportJob' } }
    /**
     * Find zero or one ImportJob that matches the filter.
     * @param {ImportJobFindUniqueArgs} args - Arguments to find a ImportJob
     * @example
     * // Get one ImportJob
     * const importJob = await prisma.importJob.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ImportJobFindUniqueArgs>(args: SelectSubset<T, ImportJobFindUniqueArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ImportJob that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ImportJobFindUniqueOrThrowArgs} args - Arguments to find a ImportJob
     * @example
     * // Get one ImportJob
     * const importJob = await prisma.importJob.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ImportJobFindUniqueOrThrowArgs>(args: SelectSubset<T, ImportJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ImportJob that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobFindFirstArgs} args - Arguments to find a ImportJob
     * @example
     * // Get one ImportJob
     * const importJob = await prisma.importJob.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ImportJobFindFirstArgs>(args?: SelectSubset<T, ImportJobFindFirstArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ImportJob that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobFindFirstOrThrowArgs} args - Arguments to find a ImportJob
     * @example
     * // Get one ImportJob
     * const importJob = await prisma.importJob.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ImportJobFindFirstOrThrowArgs>(args?: SelectSubset<T, ImportJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ImportJobs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ImportJobs
     * const importJobs = await prisma.importJob.findMany()
     * 
     * // Get first 10 ImportJobs
     * const importJobs = await prisma.importJob.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const importJobWithIdOnly = await prisma.importJob.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ImportJobFindManyArgs>(args?: SelectSubset<T, ImportJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ImportJob.
     * @param {ImportJobCreateArgs} args - Arguments to create a ImportJob.
     * @example
     * // Create one ImportJob
     * const ImportJob = await prisma.importJob.create({
     *   data: {
     *     // ... data to create a ImportJob
     *   }
     * })
     * 
     */
    create<T extends ImportJobCreateArgs>(args: SelectSubset<T, ImportJobCreateArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ImportJobs.
     * @param {ImportJobCreateManyArgs} args - Arguments to create many ImportJobs.
     * @example
     * // Create many ImportJobs
     * const importJob = await prisma.importJob.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ImportJobCreateManyArgs>(args?: SelectSubset<T, ImportJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ImportJobs and returns the data saved in the database.
     * @param {ImportJobCreateManyAndReturnArgs} args - Arguments to create many ImportJobs.
     * @example
     * // Create many ImportJobs
     * const importJob = await prisma.importJob.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ImportJobs and only return the `id`
     * const importJobWithIdOnly = await prisma.importJob.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ImportJobCreateManyAndReturnArgs>(args?: SelectSubset<T, ImportJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ImportJob.
     * @param {ImportJobDeleteArgs} args - Arguments to delete one ImportJob.
     * @example
     * // Delete one ImportJob
     * const ImportJob = await prisma.importJob.delete({
     *   where: {
     *     // ... filter to delete one ImportJob
     *   }
     * })
     * 
     */
    delete<T extends ImportJobDeleteArgs>(args: SelectSubset<T, ImportJobDeleteArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ImportJob.
     * @param {ImportJobUpdateArgs} args - Arguments to update one ImportJob.
     * @example
     * // Update one ImportJob
     * const importJob = await prisma.importJob.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ImportJobUpdateArgs>(args: SelectSubset<T, ImportJobUpdateArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ImportJobs.
     * @param {ImportJobDeleteManyArgs} args - Arguments to filter ImportJobs to delete.
     * @example
     * // Delete a few ImportJobs
     * const { count } = await prisma.importJob.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ImportJobDeleteManyArgs>(args?: SelectSubset<T, ImportJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ImportJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ImportJobs
     * const importJob = await prisma.importJob.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ImportJobUpdateManyArgs>(args: SelectSubset<T, ImportJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ImportJob.
     * @param {ImportJobUpsertArgs} args - Arguments to update or create a ImportJob.
     * @example
     * // Update or create a ImportJob
     * const importJob = await prisma.importJob.upsert({
     *   create: {
     *     // ... data to create a ImportJob
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ImportJob we want to update
     *   }
     * })
     */
    upsert<T extends ImportJobUpsertArgs>(args: SelectSubset<T, ImportJobUpsertArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ImportJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobCountArgs} args - Arguments to filter ImportJobs to count.
     * @example
     * // Count the number of ImportJobs
     * const count = await prisma.importJob.count({
     *   where: {
     *     // ... the filter for the ImportJobs we want to count
     *   }
     * })
    **/
    count<T extends ImportJobCountArgs>(
      args?: Subset<T, ImportJobCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ImportJobCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ImportJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ImportJobAggregateArgs>(args: Subset<T, ImportJobAggregateArgs>): Prisma.PrismaPromise<GetImportJobAggregateType<T>>

    /**
     * Group by ImportJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ImportJobGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ImportJobGroupByArgs['orderBy'] }
        : { orderBy?: ImportJobGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ImportJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetImportJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ImportJob model
   */
  readonly fields: ImportJobFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ImportJob.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ImportJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    import_template<T extends ImportJob$import_templateArgs<ExtArgs> = {}>(args?: Subset<T, ImportJob$import_templateArgs<ExtArgs>>): Prisma__ImportTemplateClient<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created<T extends ImportJob$createdArgs<ExtArgs> = {}>(args?: Subset<T, ImportJob$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends ImportJob$updatedArgs<ExtArgs> = {}>(args?: Subset<T, ImportJob$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends ImportJob$deletedArgs<ExtArgs> = {}>(args?: Subset<T, ImportJob$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    line_items<T extends ImportJob$line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, ImportJob$line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ImportJob model
   */ 
  interface ImportJobFieldRefs {
    readonly id: FieldRef<"ImportJob", 'Int'>
    readonly uuid: FieldRef<"ImportJob", 'String'>
    readonly import_template_id: FieldRef<"ImportJob", 'Int'>
    readonly name: FieldRef<"ImportJob", 'String'>
    readonly description: FieldRef<"ImportJob", 'String'>
    readonly sequence_number: FieldRef<"ImportJob", 'String'>
    readonly ignore_error_rows: FieldRef<"ImportJob", 'Boolean'>
    readonly header_details: FieldRef<"ImportJob", 'Json'>
    readonly table_config: FieldRef<"ImportJob", 'Json'>
    readonly total_rows: FieldRef<"ImportJob", 'Int'>
    readonly completed_rows: FieldRef<"ImportJob", 'Int'>
    readonly error_rows: FieldRef<"ImportJob", 'Int'>
    readonly batch_process_count: FieldRef<"ImportJob", 'Int'>
    readonly job_status: FieldRef<"ImportJob", 'String'>
    readonly last_processed_row_id: FieldRef<"ImportJob", 'Int'>
    readonly file_path: FieldRef<"ImportJob", 'String'>
    readonly file_name: FieldRef<"ImportJob", 'String'>
    readonly validation_started_at: FieldRef<"ImportJob", 'DateTime'>
    readonly validation_completed_at: FieldRef<"ImportJob", 'DateTime'>
    readonly processing_started_at: FieldRef<"ImportJob", 'DateTime'>
    readonly processing_completed_at: FieldRef<"ImportJob", 'DateTime'>
    readonly expected_completion_time: FieldRef<"ImportJob", 'DateTime'>
    readonly status_id: FieldRef<"ImportJob", 'Int'>
    readonly company_id: FieldRef<"ImportJob", 'Int'>
    readonly created_by: FieldRef<"ImportJob", 'Int'>
    readonly created_at: FieldRef<"ImportJob", 'DateTime'>
    readonly updated_by: FieldRef<"ImportJob", 'Int'>
    readonly updated_at: FieldRef<"ImportJob", 'DateTime'>
    readonly deleted_by: FieldRef<"ImportJob", 'Int'>
    readonly deleted_at: FieldRef<"ImportJob", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ImportJob findUnique
   */
  export type ImportJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter, which ImportJob to fetch.
     */
    where: ImportJobWhereUniqueInput
  }

  /**
   * ImportJob findUniqueOrThrow
   */
  export type ImportJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter, which ImportJob to fetch.
     */
    where: ImportJobWhereUniqueInput
  }

  /**
   * ImportJob findFirst
   */
  export type ImportJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter, which ImportJob to fetch.
     */
    where?: ImportJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobs to fetch.
     */
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportJobs.
     */
    cursor?: ImportJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportJobs.
     */
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * ImportJob findFirstOrThrow
   */
  export type ImportJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter, which ImportJob to fetch.
     */
    where?: ImportJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobs to fetch.
     */
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportJobs.
     */
    cursor?: ImportJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportJobs.
     */
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * ImportJob findMany
   */
  export type ImportJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobs to fetch.
     */
    where?: ImportJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobs to fetch.
     */
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ImportJobs.
     */
    cursor?: ImportJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobs.
     */
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * ImportJob create
   */
  export type ImportJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * The data needed to create a ImportJob.
     */
    data: XOR<ImportJobCreateInput, ImportJobUncheckedCreateInput>
  }

  /**
   * ImportJob createMany
   */
  export type ImportJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ImportJobs.
     */
    data: ImportJobCreateManyInput | ImportJobCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ImportJob createManyAndReturn
   */
  export type ImportJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ImportJobs.
     */
    data: ImportJobCreateManyInput | ImportJobCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ImportJob update
   */
  export type ImportJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * The data needed to update a ImportJob.
     */
    data: XOR<ImportJobUpdateInput, ImportJobUncheckedUpdateInput>
    /**
     * Choose, which ImportJob to update.
     */
    where: ImportJobWhereUniqueInput
  }

  /**
   * ImportJob updateMany
   */
  export type ImportJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ImportJobs.
     */
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyInput>
    /**
     * Filter which ImportJobs to update
     */
    where?: ImportJobWhereInput
  }

  /**
   * ImportJob upsert
   */
  export type ImportJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * The filter to search for the ImportJob to update in case it exists.
     */
    where: ImportJobWhereUniqueInput
    /**
     * In case the ImportJob found by the `where` argument doesn't exist, create a new ImportJob with this data.
     */
    create: XOR<ImportJobCreateInput, ImportJobUncheckedCreateInput>
    /**
     * In case the ImportJob was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ImportJobUpdateInput, ImportJobUncheckedUpdateInput>
  }

  /**
   * ImportJob delete
   */
  export type ImportJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    /**
     * Filter which ImportJob to delete.
     */
    where: ImportJobWhereUniqueInput
  }

  /**
   * ImportJob deleteMany
   */
  export type ImportJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportJobs to delete
     */
    where?: ImportJobWhereInput
  }

  /**
   * ImportJob.import_template
   */
  export type ImportJob$import_templateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
  }

  /**
   * ImportJob.created
   */
  export type ImportJob$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportJob.updated
   */
  export type ImportJob$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportJob.deleted
   */
  export type ImportJob$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ImportJob.line_items
   */
  export type ImportJob$line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    where?: ImportJobLineItemWhereInput
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    cursor?: ImportJobLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobLineItemScalarFieldEnum | ImportJobLineItemScalarFieldEnum[]
  }

  /**
   * ImportJob without action
   */
  export type ImportJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
  }


  /**
   * Model ImportJobLineItem
   */

  export type AggregateImportJobLineItem = {
    _count: ImportJobLineItemCountAggregateOutputType | null
    _avg: ImportJobLineItemAvgAggregateOutputType | null
    _sum: ImportJobLineItemSumAggregateOutputType | null
    _min: ImportJobLineItemMinAggregateOutputType | null
    _max: ImportJobLineItemMaxAggregateOutputType | null
  }

  export type ImportJobLineItemAvgAggregateOutputType = {
    id: number | null
    import_job_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportJobLineItemSumAggregateOutputType = {
    id: number | null
    import_job_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ImportJobLineItemMinAggregateOutputType = {
    id: number | null
    import_job_id: number | null
    job_status: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    validated_at: Date | null
    processed_at: Date | null
  }

  export type ImportJobLineItemMaxAggregateOutputType = {
    id: number | null
    import_job_id: number | null
    job_status: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    validated_at: Date | null
    processed_at: Date | null
  }

  export type ImportJobLineItemCountAggregateOutputType = {
    id: number
    import_job_id: number
    row_object: number
    job_status: number
    status_id: number
    company_id: number
    created_at: number
    validated_at: number
    processed_at: number
    _all: number
  }


  export type ImportJobLineItemAvgAggregateInputType = {
    id?: true
    import_job_id?: true
    status_id?: true
    company_id?: true
  }

  export type ImportJobLineItemSumAggregateInputType = {
    id?: true
    import_job_id?: true
    status_id?: true
    company_id?: true
  }

  export type ImportJobLineItemMinAggregateInputType = {
    id?: true
    import_job_id?: true
    job_status?: true
    status_id?: true
    company_id?: true
    created_at?: true
    validated_at?: true
    processed_at?: true
  }

  export type ImportJobLineItemMaxAggregateInputType = {
    id?: true
    import_job_id?: true
    job_status?: true
    status_id?: true
    company_id?: true
    created_at?: true
    validated_at?: true
    processed_at?: true
  }

  export type ImportJobLineItemCountAggregateInputType = {
    id?: true
    import_job_id?: true
    row_object?: true
    job_status?: true
    status_id?: true
    company_id?: true
    created_at?: true
    validated_at?: true
    processed_at?: true
    _all?: true
  }

  export type ImportJobLineItemAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportJobLineItem to aggregate.
     */
    where?: ImportJobLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobLineItems to fetch.
     */
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ImportJobLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ImportJobLineItems
    **/
    _count?: true | ImportJobLineItemCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ImportJobLineItemAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ImportJobLineItemSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ImportJobLineItemMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ImportJobLineItemMaxAggregateInputType
  }

  export type GetImportJobLineItemAggregateType<T extends ImportJobLineItemAggregateArgs> = {
        [P in keyof T & keyof AggregateImportJobLineItem]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateImportJobLineItem[P]>
      : GetScalarType<T[P], AggregateImportJobLineItem[P]>
  }




  export type ImportJobLineItemGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ImportJobLineItemWhereInput
    orderBy?: ImportJobLineItemOrderByWithAggregationInput | ImportJobLineItemOrderByWithAggregationInput[]
    by: ImportJobLineItemScalarFieldEnum[] | ImportJobLineItemScalarFieldEnum
    having?: ImportJobLineItemScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ImportJobLineItemCountAggregateInputType | true
    _avg?: ImportJobLineItemAvgAggregateInputType
    _sum?: ImportJobLineItemSumAggregateInputType
    _min?: ImportJobLineItemMinAggregateInputType
    _max?: ImportJobLineItemMaxAggregateInputType
  }

  export type ImportJobLineItemGroupByOutputType = {
    id: number
    import_job_id: number
    row_object: JsonValue | null
    job_status: string | null
    status_id: number
    company_id: number
    created_at: Date
    validated_at: Date | null
    processed_at: Date | null
    _count: ImportJobLineItemCountAggregateOutputType | null
    _avg: ImportJobLineItemAvgAggregateOutputType | null
    _sum: ImportJobLineItemSumAggregateOutputType | null
    _min: ImportJobLineItemMinAggregateOutputType | null
    _max: ImportJobLineItemMaxAggregateOutputType | null
  }

  type GetImportJobLineItemGroupByPayload<T extends ImportJobLineItemGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ImportJobLineItemGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ImportJobLineItemGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ImportJobLineItemGroupByOutputType[P]>
            : GetScalarType<T[P], ImportJobLineItemGroupByOutputType[P]>
        }
      >
    >


  export type ImportJobLineItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_job_id?: boolean
    row_object?: boolean
    job_status?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    validated_at?: boolean
    processed_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_job?: boolean | ImportJobDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importJobLineItem"]>

  export type ImportJobLineItemSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    import_job_id?: boolean
    row_object?: boolean
    job_status?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    validated_at?: boolean
    processed_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_job?: boolean | ImportJobDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["importJobLineItem"]>

  export type ImportJobLineItemSelectScalar = {
    id?: boolean
    import_job_id?: boolean
    row_object?: boolean
    job_status?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    validated_at?: boolean
    processed_at?: boolean
  }

  export type ImportJobLineItemInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_job?: boolean | ImportJobDefaultArgs<ExtArgs>
  }
  export type ImportJobLineItemIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    import_job?: boolean | ImportJobDefaultArgs<ExtArgs>
  }

  export type $ImportJobLineItemPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ImportJobLineItem"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      import_job: Prisma.$ImportJobPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      import_job_id: number
      row_object: Prisma.JsonValue | null
      job_status: string | null
      status_id: number
      company_id: number
      created_at: Date
      validated_at: Date | null
      processed_at: Date | null
    }, ExtArgs["result"]["importJobLineItem"]>
    composites: {}
  }

  type ImportJobLineItemGetPayload<S extends boolean | null | undefined | ImportJobLineItemDefaultArgs> = $Result.GetResult<Prisma.$ImportJobLineItemPayload, S>

  type ImportJobLineItemCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ImportJobLineItemFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ImportJobLineItemCountAggregateInputType | true
    }

  export interface ImportJobLineItemDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ImportJobLineItem'], meta: { name: 'ImportJobLineItem' } }
    /**
     * Find zero or one ImportJobLineItem that matches the filter.
     * @param {ImportJobLineItemFindUniqueArgs} args - Arguments to find a ImportJobLineItem
     * @example
     * // Get one ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ImportJobLineItemFindUniqueArgs>(args: SelectSubset<T, ImportJobLineItemFindUniqueArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ImportJobLineItem that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ImportJobLineItemFindUniqueOrThrowArgs} args - Arguments to find a ImportJobLineItem
     * @example
     * // Get one ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ImportJobLineItemFindUniqueOrThrowArgs>(args: SelectSubset<T, ImportJobLineItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ImportJobLineItem that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemFindFirstArgs} args - Arguments to find a ImportJobLineItem
     * @example
     * // Get one ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ImportJobLineItemFindFirstArgs>(args?: SelectSubset<T, ImportJobLineItemFindFirstArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ImportJobLineItem that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemFindFirstOrThrowArgs} args - Arguments to find a ImportJobLineItem
     * @example
     * // Get one ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ImportJobLineItemFindFirstOrThrowArgs>(args?: SelectSubset<T, ImportJobLineItemFindFirstOrThrowArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ImportJobLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ImportJobLineItems
     * const importJobLineItems = await prisma.importJobLineItem.findMany()
     * 
     * // Get first 10 ImportJobLineItems
     * const importJobLineItems = await prisma.importJobLineItem.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const importJobLineItemWithIdOnly = await prisma.importJobLineItem.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ImportJobLineItemFindManyArgs>(args?: SelectSubset<T, ImportJobLineItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ImportJobLineItem.
     * @param {ImportJobLineItemCreateArgs} args - Arguments to create a ImportJobLineItem.
     * @example
     * // Create one ImportJobLineItem
     * const ImportJobLineItem = await prisma.importJobLineItem.create({
     *   data: {
     *     // ... data to create a ImportJobLineItem
     *   }
     * })
     * 
     */
    create<T extends ImportJobLineItemCreateArgs>(args: SelectSubset<T, ImportJobLineItemCreateArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ImportJobLineItems.
     * @param {ImportJobLineItemCreateManyArgs} args - Arguments to create many ImportJobLineItems.
     * @example
     * // Create many ImportJobLineItems
     * const importJobLineItem = await prisma.importJobLineItem.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ImportJobLineItemCreateManyArgs>(args?: SelectSubset<T, ImportJobLineItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ImportJobLineItems and returns the data saved in the database.
     * @param {ImportJobLineItemCreateManyAndReturnArgs} args - Arguments to create many ImportJobLineItems.
     * @example
     * // Create many ImportJobLineItems
     * const importJobLineItem = await prisma.importJobLineItem.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ImportJobLineItems and only return the `id`
     * const importJobLineItemWithIdOnly = await prisma.importJobLineItem.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ImportJobLineItemCreateManyAndReturnArgs>(args?: SelectSubset<T, ImportJobLineItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ImportJobLineItem.
     * @param {ImportJobLineItemDeleteArgs} args - Arguments to delete one ImportJobLineItem.
     * @example
     * // Delete one ImportJobLineItem
     * const ImportJobLineItem = await prisma.importJobLineItem.delete({
     *   where: {
     *     // ... filter to delete one ImportJobLineItem
     *   }
     * })
     * 
     */
    delete<T extends ImportJobLineItemDeleteArgs>(args: SelectSubset<T, ImportJobLineItemDeleteArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ImportJobLineItem.
     * @param {ImportJobLineItemUpdateArgs} args - Arguments to update one ImportJobLineItem.
     * @example
     * // Update one ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ImportJobLineItemUpdateArgs>(args: SelectSubset<T, ImportJobLineItemUpdateArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ImportJobLineItems.
     * @param {ImportJobLineItemDeleteManyArgs} args - Arguments to filter ImportJobLineItems to delete.
     * @example
     * // Delete a few ImportJobLineItems
     * const { count } = await prisma.importJobLineItem.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ImportJobLineItemDeleteManyArgs>(args?: SelectSubset<T, ImportJobLineItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ImportJobLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ImportJobLineItems
     * const importJobLineItem = await prisma.importJobLineItem.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ImportJobLineItemUpdateManyArgs>(args: SelectSubset<T, ImportJobLineItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ImportJobLineItem.
     * @param {ImportJobLineItemUpsertArgs} args - Arguments to update or create a ImportJobLineItem.
     * @example
     * // Update or create a ImportJobLineItem
     * const importJobLineItem = await prisma.importJobLineItem.upsert({
     *   create: {
     *     // ... data to create a ImportJobLineItem
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ImportJobLineItem we want to update
     *   }
     * })
     */
    upsert<T extends ImportJobLineItemUpsertArgs>(args: SelectSubset<T, ImportJobLineItemUpsertArgs<ExtArgs>>): Prisma__ImportJobLineItemClient<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ImportJobLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemCountArgs} args - Arguments to filter ImportJobLineItems to count.
     * @example
     * // Count the number of ImportJobLineItems
     * const count = await prisma.importJobLineItem.count({
     *   where: {
     *     // ... the filter for the ImportJobLineItems we want to count
     *   }
     * })
    **/
    count<T extends ImportJobLineItemCountArgs>(
      args?: Subset<T, ImportJobLineItemCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ImportJobLineItemCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ImportJobLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ImportJobLineItemAggregateArgs>(args: Subset<T, ImportJobLineItemAggregateArgs>): Prisma.PrismaPromise<GetImportJobLineItemAggregateType<T>>

    /**
     * Group by ImportJobLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ImportJobLineItemGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ImportJobLineItemGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ImportJobLineItemGroupByArgs['orderBy'] }
        : { orderBy?: ImportJobLineItemGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ImportJobLineItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetImportJobLineItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ImportJobLineItem model
   */
  readonly fields: ImportJobLineItemFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ImportJobLineItem.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ImportJobLineItemClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    import_job<T extends ImportJobDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ImportJobDefaultArgs<ExtArgs>>): Prisma__ImportJobClient<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ImportJobLineItem model
   */ 
  interface ImportJobLineItemFieldRefs {
    readonly id: FieldRef<"ImportJobLineItem", 'Int'>
    readonly import_job_id: FieldRef<"ImportJobLineItem", 'Int'>
    readonly row_object: FieldRef<"ImportJobLineItem", 'Json'>
    readonly job_status: FieldRef<"ImportJobLineItem", 'String'>
    readonly status_id: FieldRef<"ImportJobLineItem", 'Int'>
    readonly company_id: FieldRef<"ImportJobLineItem", 'Int'>
    readonly created_at: FieldRef<"ImportJobLineItem", 'DateTime'>
    readonly validated_at: FieldRef<"ImportJobLineItem", 'DateTime'>
    readonly processed_at: FieldRef<"ImportJobLineItem", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ImportJobLineItem findUnique
   */
  export type ImportJobLineItemFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobLineItem to fetch.
     */
    where: ImportJobLineItemWhereUniqueInput
  }

  /**
   * ImportJobLineItem findUniqueOrThrow
   */
  export type ImportJobLineItemFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobLineItem to fetch.
     */
    where: ImportJobLineItemWhereUniqueInput
  }

  /**
   * ImportJobLineItem findFirst
   */
  export type ImportJobLineItemFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobLineItem to fetch.
     */
    where?: ImportJobLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobLineItems to fetch.
     */
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportJobLineItems.
     */
    cursor?: ImportJobLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportJobLineItems.
     */
    distinct?: ImportJobLineItemScalarFieldEnum | ImportJobLineItemScalarFieldEnum[]
  }

  /**
   * ImportJobLineItem findFirstOrThrow
   */
  export type ImportJobLineItemFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobLineItem to fetch.
     */
    where?: ImportJobLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobLineItems to fetch.
     */
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ImportJobLineItems.
     */
    cursor?: ImportJobLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ImportJobLineItems.
     */
    distinct?: ImportJobLineItemScalarFieldEnum | ImportJobLineItemScalarFieldEnum[]
  }

  /**
   * ImportJobLineItem findMany
   */
  export type ImportJobLineItemFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ImportJobLineItems to fetch.
     */
    where?: ImportJobLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ImportJobLineItems to fetch.
     */
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ImportJobLineItems.
     */
    cursor?: ImportJobLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ImportJobLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ImportJobLineItems.
     */
    skip?: number
    distinct?: ImportJobLineItemScalarFieldEnum | ImportJobLineItemScalarFieldEnum[]
  }

  /**
   * ImportJobLineItem create
   */
  export type ImportJobLineItemCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * The data needed to create a ImportJobLineItem.
     */
    data: XOR<ImportJobLineItemCreateInput, ImportJobLineItemUncheckedCreateInput>
  }

  /**
   * ImportJobLineItem createMany
   */
  export type ImportJobLineItemCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ImportJobLineItems.
     */
    data: ImportJobLineItemCreateManyInput | ImportJobLineItemCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ImportJobLineItem createManyAndReturn
   */
  export type ImportJobLineItemCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ImportJobLineItems.
     */
    data: ImportJobLineItemCreateManyInput | ImportJobLineItemCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ImportJobLineItem update
   */
  export type ImportJobLineItemUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * The data needed to update a ImportJobLineItem.
     */
    data: XOR<ImportJobLineItemUpdateInput, ImportJobLineItemUncheckedUpdateInput>
    /**
     * Choose, which ImportJobLineItem to update.
     */
    where: ImportJobLineItemWhereUniqueInput
  }

  /**
   * ImportJobLineItem updateMany
   */
  export type ImportJobLineItemUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ImportJobLineItems.
     */
    data: XOR<ImportJobLineItemUpdateManyMutationInput, ImportJobLineItemUncheckedUpdateManyInput>
    /**
     * Filter which ImportJobLineItems to update
     */
    where?: ImportJobLineItemWhereInput
  }

  /**
   * ImportJobLineItem upsert
   */
  export type ImportJobLineItemUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * The filter to search for the ImportJobLineItem to update in case it exists.
     */
    where: ImportJobLineItemWhereUniqueInput
    /**
     * In case the ImportJobLineItem found by the `where` argument doesn't exist, create a new ImportJobLineItem with this data.
     */
    create: XOR<ImportJobLineItemCreateInput, ImportJobLineItemUncheckedCreateInput>
    /**
     * In case the ImportJobLineItem was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ImportJobLineItemUpdateInput, ImportJobLineItemUncheckedUpdateInput>
  }

  /**
   * ImportJobLineItem delete
   */
  export type ImportJobLineItemDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    /**
     * Filter which ImportJobLineItem to delete.
     */
    where: ImportJobLineItemWhereUniqueInput
  }

  /**
   * ImportJobLineItem deleteMany
   */
  export type ImportJobLineItemDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ImportJobLineItems to delete
     */
    where?: ImportJobLineItemWhereInput
  }

  /**
   * ImportJobLineItem without action
   */
  export type ImportJobLineItemDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
  }


  /**
   * Model ExportTemplate
   */

  export type AggregateExportTemplate = {
    _count: ExportTemplateCountAggregateOutputType | null
    _avg: ExportTemplateAvgAggregateOutputType | null
    _sum: ExportTemplateSumAggregateOutputType | null
    _min: ExportTemplateMinAggregateOutputType | null
    _max: ExportTemplateMaxAggregateOutputType | null
  }

  export type ExportTemplateAvgAggregateOutputType = {
    id: number | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ExportTemplateSumAggregateOutputType = {
    id: number | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ExportTemplateMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    data_filepath: string | null
    template_type: $Enums.TemplateType | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ExportTemplateMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    max_row_count: number | null
    header_row: number | null
    data_start_row: number | null
    data_end_row: number | null
    data_filepath: string | null
    template_type: $Enums.TemplateType | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ExportTemplateCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    max_row_count: number
    header_row: number
    data_start_row: number
    data_end_row: number
    data_filepath: number
    template_type: number
    pdf_configurations: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ExportTemplateAvgAggregateInputType = {
    id?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ExportTemplateSumAggregateInputType = {
    id?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ExportTemplateMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    data_filepath?: true
    template_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ExportTemplateMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    data_filepath?: true
    template_type?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ExportTemplateCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    max_row_count?: true
    header_row?: true
    data_start_row?: true
    data_end_row?: true
    data_filepath?: true
    template_type?: true
    pdf_configurations?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ExportTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplate to aggregate.
     */
    where?: ExportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplates to fetch.
     */
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ExportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ExportTemplates
    **/
    _count?: true | ExportTemplateCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ExportTemplateAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ExportTemplateSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ExportTemplateMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ExportTemplateMaxAggregateInputType
  }

  export type GetExportTemplateAggregateType<T extends ExportTemplateAggregateArgs> = {
        [P in keyof T & keyof AggregateExportTemplate]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateExportTemplate[P]>
      : GetScalarType<T[P], AggregateExportTemplate[P]>
  }




  export type ExportTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateWhereInput
    orderBy?: ExportTemplateOrderByWithAggregationInput | ExportTemplateOrderByWithAggregationInput[]
    by: ExportTemplateScalarFieldEnum[] | ExportTemplateScalarFieldEnum
    having?: ExportTemplateScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ExportTemplateCountAggregateInputType | true
    _avg?: ExportTemplateAvgAggregateInputType
    _sum?: ExportTemplateSumAggregateInputType
    _min?: ExportTemplateMinAggregateInputType
    _max?: ExportTemplateMaxAggregateInputType
  }

  export type ExportTemplateGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string
    description: string | null
    max_row_count: number
    header_row: number
    data_start_row: number
    data_end_row: number
    data_filepath: string | null
    template_type: $Enums.TemplateType
    pdf_configurations: JsonValue | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ExportTemplateCountAggregateOutputType | null
    _avg: ExportTemplateAvgAggregateOutputType | null
    _sum: ExportTemplateSumAggregateOutputType | null
    _min: ExportTemplateMinAggregateOutputType | null
    _max: ExportTemplateMaxAggregateOutputType | null
  }

  type GetExportTemplateGroupByPayload<T extends ExportTemplateGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ExportTemplateGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ExportTemplateGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ExportTemplateGroupByOutputType[P]>
            : GetScalarType<T[P], ExportTemplateGroupByOutputType[P]>
        }
      >
    >


  export type ExportTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    data_filepath?: boolean
    template_type?: boolean
    pdf_configurations?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ExportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ExportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ExportTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | ExportTemplate$line_itemsArgs<ExtArgs>
    queries?: boolean | ExportTemplate$queriesArgs<ExtArgs>
    _count?: boolean | ExportTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplate"]>

  export type ExportTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    data_filepath?: boolean
    template_type?: boolean
    pdf_configurations?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ExportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ExportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ExportTemplate$deletedArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplate"]>

  export type ExportTemplateSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    max_row_count?: boolean
    header_row?: boolean
    data_start_row?: boolean
    data_end_row?: boolean
    data_filepath?: boolean
    template_type?: boolean
    pdf_configurations?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ExportTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ExportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ExportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ExportTemplate$deletedArgs<ExtArgs>
    line_items?: boolean | ExportTemplate$line_itemsArgs<ExtArgs>
    queries?: boolean | ExportTemplate$queriesArgs<ExtArgs>
    _count?: boolean | ExportTemplateCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ExportTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created?: boolean | ExportTemplate$createdArgs<ExtArgs>
    updated?: boolean | ExportTemplate$updatedArgs<ExtArgs>
    deleted?: boolean | ExportTemplate$deletedArgs<ExtArgs>
  }

  export type $ExportTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ExportTemplate"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created: Prisma.$UserPayload<ExtArgs> | null
      updated: Prisma.$UserPayload<ExtArgs> | null
      deleted: Prisma.$UserPayload<ExtArgs> | null
      line_items: Prisma.$ExportTemplateLineItemPayload<ExtArgs>[]
      queries: Prisma.$ExportTemplateQueriesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string
      description: string | null
      max_row_count: number
      header_row: number
      data_start_row: number
      data_end_row: number
      data_filepath: string | null
      template_type: $Enums.TemplateType
      pdf_configurations: Prisma.JsonValue | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["exportTemplate"]>
    composites: {}
  }

  type ExportTemplateGetPayload<S extends boolean | null | undefined | ExportTemplateDefaultArgs> = $Result.GetResult<Prisma.$ExportTemplatePayload, S>

  type ExportTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ExportTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ExportTemplateCountAggregateInputType | true
    }

  export interface ExportTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ExportTemplate'], meta: { name: 'ExportTemplate' } }
    /**
     * Find zero or one ExportTemplate that matches the filter.
     * @param {ExportTemplateFindUniqueArgs} args - Arguments to find a ExportTemplate
     * @example
     * // Get one ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ExportTemplateFindUniqueArgs>(args: SelectSubset<T, ExportTemplateFindUniqueArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ExportTemplate that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ExportTemplateFindUniqueOrThrowArgs} args - Arguments to find a ExportTemplate
     * @example
     * // Get one ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ExportTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, ExportTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ExportTemplate that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateFindFirstArgs} args - Arguments to find a ExportTemplate
     * @example
     * // Get one ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ExportTemplateFindFirstArgs>(args?: SelectSubset<T, ExportTemplateFindFirstArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ExportTemplate that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateFindFirstOrThrowArgs} args - Arguments to find a ExportTemplate
     * @example
     * // Get one ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ExportTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, ExportTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ExportTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ExportTemplates
     * const exportTemplates = await prisma.exportTemplate.findMany()
     * 
     * // Get first 10 ExportTemplates
     * const exportTemplates = await prisma.exportTemplate.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const exportTemplateWithIdOnly = await prisma.exportTemplate.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ExportTemplateFindManyArgs>(args?: SelectSubset<T, ExportTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ExportTemplate.
     * @param {ExportTemplateCreateArgs} args - Arguments to create a ExportTemplate.
     * @example
     * // Create one ExportTemplate
     * const ExportTemplate = await prisma.exportTemplate.create({
     *   data: {
     *     // ... data to create a ExportTemplate
     *   }
     * })
     * 
     */
    create<T extends ExportTemplateCreateArgs>(args: SelectSubset<T, ExportTemplateCreateArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ExportTemplates.
     * @param {ExportTemplateCreateManyArgs} args - Arguments to create many ExportTemplates.
     * @example
     * // Create many ExportTemplates
     * const exportTemplate = await prisma.exportTemplate.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ExportTemplateCreateManyArgs>(args?: SelectSubset<T, ExportTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ExportTemplates and returns the data saved in the database.
     * @param {ExportTemplateCreateManyAndReturnArgs} args - Arguments to create many ExportTemplates.
     * @example
     * // Create many ExportTemplates
     * const exportTemplate = await prisma.exportTemplate.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ExportTemplates and only return the `id`
     * const exportTemplateWithIdOnly = await prisma.exportTemplate.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ExportTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, ExportTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ExportTemplate.
     * @param {ExportTemplateDeleteArgs} args - Arguments to delete one ExportTemplate.
     * @example
     * // Delete one ExportTemplate
     * const ExportTemplate = await prisma.exportTemplate.delete({
     *   where: {
     *     // ... filter to delete one ExportTemplate
     *   }
     * })
     * 
     */
    delete<T extends ExportTemplateDeleteArgs>(args: SelectSubset<T, ExportTemplateDeleteArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ExportTemplate.
     * @param {ExportTemplateUpdateArgs} args - Arguments to update one ExportTemplate.
     * @example
     * // Update one ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ExportTemplateUpdateArgs>(args: SelectSubset<T, ExportTemplateUpdateArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ExportTemplates.
     * @param {ExportTemplateDeleteManyArgs} args - Arguments to filter ExportTemplates to delete.
     * @example
     * // Delete a few ExportTemplates
     * const { count } = await prisma.exportTemplate.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ExportTemplateDeleteManyArgs>(args?: SelectSubset<T, ExportTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ExportTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ExportTemplates
     * const exportTemplate = await prisma.exportTemplate.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ExportTemplateUpdateManyArgs>(args: SelectSubset<T, ExportTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ExportTemplate.
     * @param {ExportTemplateUpsertArgs} args - Arguments to update or create a ExportTemplate.
     * @example
     * // Update or create a ExportTemplate
     * const exportTemplate = await prisma.exportTemplate.upsert({
     *   create: {
     *     // ... data to create a ExportTemplate
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ExportTemplate we want to update
     *   }
     * })
     */
    upsert<T extends ExportTemplateUpsertArgs>(args: SelectSubset<T, ExportTemplateUpsertArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ExportTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateCountArgs} args - Arguments to filter ExportTemplates to count.
     * @example
     * // Count the number of ExportTemplates
     * const count = await prisma.exportTemplate.count({
     *   where: {
     *     // ... the filter for the ExportTemplates we want to count
     *   }
     * })
    **/
    count<T extends ExportTemplateCountArgs>(
      args?: Subset<T, ExportTemplateCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ExportTemplateCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ExportTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ExportTemplateAggregateArgs>(args: Subset<T, ExportTemplateAggregateArgs>): Prisma.PrismaPromise<GetExportTemplateAggregateType<T>>

    /**
     * Group by ExportTemplate.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ExportTemplateGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ExportTemplateGroupByArgs['orderBy'] }
        : { orderBy?: ExportTemplateGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ExportTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetExportTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ExportTemplate model
   */
  readonly fields: ExportTemplateFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ExportTemplate.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ExportTemplateClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created<T extends ExportTemplate$createdArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplate$createdArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated<T extends ExportTemplate$updatedArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplate$updatedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted<T extends ExportTemplate$deletedArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplate$deletedArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    line_items<T extends ExportTemplate$line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplate$line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    queries<T extends ExportTemplate$queriesArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplate$queriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ExportTemplate model
   */ 
  interface ExportTemplateFieldRefs {
    readonly id: FieldRef<"ExportTemplate", 'Int'>
    readonly uuid: FieldRef<"ExportTemplate", 'String'>
    readonly name: FieldRef<"ExportTemplate", 'String'>
    readonly slug: FieldRef<"ExportTemplate", 'String'>
    readonly description: FieldRef<"ExportTemplate", 'String'>
    readonly max_row_count: FieldRef<"ExportTemplate", 'Int'>
    readonly header_row: FieldRef<"ExportTemplate", 'Int'>
    readonly data_start_row: FieldRef<"ExportTemplate", 'Int'>
    readonly data_end_row: FieldRef<"ExportTemplate", 'Int'>
    readonly data_filepath: FieldRef<"ExportTemplate", 'String'>
    readonly template_type: FieldRef<"ExportTemplate", 'TemplateType'>
    readonly pdf_configurations: FieldRef<"ExportTemplate", 'Json'>
    readonly status_id: FieldRef<"ExportTemplate", 'Int'>
    readonly company_id: FieldRef<"ExportTemplate", 'Int'>
    readonly created_by: FieldRef<"ExportTemplate", 'Int'>
    readonly created_at: FieldRef<"ExportTemplate", 'DateTime'>
    readonly updated_by: FieldRef<"ExportTemplate", 'Int'>
    readonly updated_at: FieldRef<"ExportTemplate", 'DateTime'>
    readonly deleted_by: FieldRef<"ExportTemplate", 'Int'>
    readonly deleted_at: FieldRef<"ExportTemplate", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ExportTemplate findUnique
   */
  export type ExportTemplateFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplate to fetch.
     */
    where: ExportTemplateWhereUniqueInput
  }

  /**
   * ExportTemplate findUniqueOrThrow
   */
  export type ExportTemplateFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplate to fetch.
     */
    where: ExportTemplateWhereUniqueInput
  }

  /**
   * ExportTemplate findFirst
   */
  export type ExportTemplateFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplate to fetch.
     */
    where?: ExportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplates to fetch.
     */
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplates.
     */
    cursor?: ExportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplates.
     */
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * ExportTemplate findFirstOrThrow
   */
  export type ExportTemplateFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplate to fetch.
     */
    where?: ExportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplates to fetch.
     */
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplates.
     */
    cursor?: ExportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplates.
     */
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * ExportTemplate findMany
   */
  export type ExportTemplateFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplates to fetch.
     */
    where?: ExportTemplateWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplates to fetch.
     */
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ExportTemplates.
     */
    cursor?: ExportTemplateWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplates.
     */
    skip?: number
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * ExportTemplate create
   */
  export type ExportTemplateCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * The data needed to create a ExportTemplate.
     */
    data: XOR<ExportTemplateCreateInput, ExportTemplateUncheckedCreateInput>
  }

  /**
   * ExportTemplate createMany
   */
  export type ExportTemplateCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ExportTemplates.
     */
    data: ExportTemplateCreateManyInput | ExportTemplateCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ExportTemplate createManyAndReturn
   */
  export type ExportTemplateCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ExportTemplates.
     */
    data: ExportTemplateCreateManyInput | ExportTemplateCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ExportTemplate update
   */
  export type ExportTemplateUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * The data needed to update a ExportTemplate.
     */
    data: XOR<ExportTemplateUpdateInput, ExportTemplateUncheckedUpdateInput>
    /**
     * Choose, which ExportTemplate to update.
     */
    where: ExportTemplateWhereUniqueInput
  }

  /**
   * ExportTemplate updateMany
   */
  export type ExportTemplateUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ExportTemplates.
     */
    data: XOR<ExportTemplateUpdateManyMutationInput, ExportTemplateUncheckedUpdateManyInput>
    /**
     * Filter which ExportTemplates to update
     */
    where?: ExportTemplateWhereInput
  }

  /**
   * ExportTemplate upsert
   */
  export type ExportTemplateUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * The filter to search for the ExportTemplate to update in case it exists.
     */
    where: ExportTemplateWhereUniqueInput
    /**
     * In case the ExportTemplate found by the `where` argument doesn't exist, create a new ExportTemplate with this data.
     */
    create: XOR<ExportTemplateCreateInput, ExportTemplateUncheckedCreateInput>
    /**
     * In case the ExportTemplate was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ExportTemplateUpdateInput, ExportTemplateUncheckedUpdateInput>
  }

  /**
   * ExportTemplate delete
   */
  export type ExportTemplateDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    /**
     * Filter which ExportTemplate to delete.
     */
    where: ExportTemplateWhereUniqueInput
  }

  /**
   * ExportTemplate deleteMany
   */
  export type ExportTemplateDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplates to delete
     */
    where?: ExportTemplateWhereInput
  }

  /**
   * ExportTemplate.created
   */
  export type ExportTemplate$createdArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ExportTemplate.updated
   */
  export type ExportTemplate$updatedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ExportTemplate.deleted
   */
  export type ExportTemplate$deletedArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ExportTemplate.line_items
   */
  export type ExportTemplate$line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    where?: ExportTemplateLineItemWhereInput
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ExportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ExportTemplate.queries
   */
  export type ExportTemplate$queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    where?: ExportTemplateQueriesWhereInput
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    cursor?: ExportTemplateQueriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateQueriesScalarFieldEnum | ExportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ExportTemplate without action
   */
  export type ExportTemplateDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
  }


  /**
   * Model ExportTemplateLineItem
   */

  export type AggregateExportTemplateLineItem = {
    _count: ExportTemplateLineItemCountAggregateOutputType | null
    _avg: ExportTemplateLineItemAvgAggregateOutputType | null
    _sum: ExportTemplateLineItemSumAggregateOutputType | null
    _min: ExportTemplateLineItemMinAggregateOutputType | null
    _max: ExportTemplateLineItemMaxAggregateOutputType | null
  }

  export type ExportTemplateLineItemAvgAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    order_no: Decimal | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ExportTemplateLineItemSumAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    order_no: Decimal | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ExportTemplateLineItemMinAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    field_name: string | null
    display_name: string | null
    field_table: string | null
    order_no: Decimal | null
    default_value: string | null
    column_name: string | null
    is_individual: boolean | null
    individual_column: string | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ExportTemplateLineItemMaxAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    field_name: string | null
    display_name: string | null
    field_table: string | null
    order_no: Decimal | null
    default_value: string | null
    column_name: string | null
    is_individual: boolean | null
    individual_column: string | null
    field_type_id: number | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ExportTemplateLineItemCountAggregateOutputType = {
    id: number
    export_template_id: number
    field_name: number
    display_name: number
    field_table: number
    order_no: number
    default_value: number
    column_name: number
    is_individual: number
    individual_column: number
    field_type_id: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type ExportTemplateLineItemAvgAggregateInputType = {
    id?: true
    export_template_id?: true
    order_no?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type ExportTemplateLineItemSumAggregateInputType = {
    id?: true
    export_template_id?: true
    order_no?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
  }

  export type ExportTemplateLineItemMinAggregateInputType = {
    id?: true
    export_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    default_value?: true
    column_name?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ExportTemplateLineItemMaxAggregateInputType = {
    id?: true
    export_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    default_value?: true
    column_name?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ExportTemplateLineItemCountAggregateInputType = {
    id?: true
    export_template_id?: true
    field_name?: true
    display_name?: true
    field_table?: true
    order_no?: true
    default_value?: true
    column_name?: true
    is_individual?: true
    individual_column?: true
    field_type_id?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type ExportTemplateLineItemAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplateLineItem to aggregate.
     */
    where?: ExportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateLineItems to fetch.
     */
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ExportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ExportTemplateLineItems
    **/
    _count?: true | ExportTemplateLineItemCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ExportTemplateLineItemAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ExportTemplateLineItemSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ExportTemplateLineItemMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ExportTemplateLineItemMaxAggregateInputType
  }

  export type GetExportTemplateLineItemAggregateType<T extends ExportTemplateLineItemAggregateArgs> = {
        [P in keyof T & keyof AggregateExportTemplateLineItem]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateExportTemplateLineItem[P]>
      : GetScalarType<T[P], AggregateExportTemplateLineItem[P]>
  }




  export type ExportTemplateLineItemGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateLineItemWhereInput
    orderBy?: ExportTemplateLineItemOrderByWithAggregationInput | ExportTemplateLineItemOrderByWithAggregationInput[]
    by: ExportTemplateLineItemScalarFieldEnum[] | ExportTemplateLineItemScalarFieldEnum
    having?: ExportTemplateLineItemScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ExportTemplateLineItemCountAggregateInputType | true
    _avg?: ExportTemplateLineItemAvgAggregateInputType
    _sum?: ExportTemplateLineItemSumAggregateInputType
    _min?: ExportTemplateLineItemMinAggregateInputType
    _max?: ExportTemplateLineItemMaxAggregateInputType
  }

  export type ExportTemplateLineItemGroupByOutputType = {
    id: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no: Decimal
    default_value: string | null
    column_name: string | null
    is_individual: boolean
    individual_column: string | null
    field_type_id: number | null
    status_id: number
    company_id: number
    created_at: Date
    _count: ExportTemplateLineItemCountAggregateOutputType | null
    _avg: ExportTemplateLineItemAvgAggregateOutputType | null
    _sum: ExportTemplateLineItemSumAggregateOutputType | null
    _min: ExportTemplateLineItemMinAggregateOutputType | null
    _max: ExportTemplateLineItemMaxAggregateOutputType | null
  }

  type GetExportTemplateLineItemGroupByPayload<T extends ExportTemplateLineItemGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ExportTemplateLineItemGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ExportTemplateLineItemGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ExportTemplateLineItemGroupByOutputType[P]>
            : GetScalarType<T[P], ExportTemplateLineItemGroupByOutputType[P]>
        }
      >
    >


  export type ExportTemplateLineItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    export_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    default_value?: boolean
    column_name?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ExportTemplateLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplateLineItem"]>

  export type ExportTemplateLineItemSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    export_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    default_value?: boolean
    column_name?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ExportTemplateLineItem$field_typeArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplateLineItem"]>

  export type ExportTemplateLineItemSelectScalar = {
    id?: boolean
    export_template_id?: boolean
    field_name?: boolean
    display_name?: boolean
    field_table?: boolean
    order_no?: boolean
    default_value?: boolean
    column_name?: boolean
    is_individual?: boolean
    individual_column?: boolean
    field_type_id?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type ExportTemplateLineItemInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ExportTemplateLineItem$field_typeArgs<ExtArgs>
  }
  export type ExportTemplateLineItemIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
    field_type?: boolean | ExportTemplateLineItem$field_typeArgs<ExtArgs>
  }

  export type $ExportTemplateLineItemPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ExportTemplateLineItem"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      export_template: Prisma.$ExportTemplatePayload<ExtArgs>
      field_type: Prisma.$FieldTypePayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      export_template_id: number
      field_name: string
      display_name: string
      field_table: string
      order_no: Prisma.Decimal
      default_value: string | null
      column_name: string | null
      is_individual: boolean
      individual_column: string | null
      field_type_id: number | null
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["exportTemplateLineItem"]>
    composites: {}
  }

  type ExportTemplateLineItemGetPayload<S extends boolean | null | undefined | ExportTemplateLineItemDefaultArgs> = $Result.GetResult<Prisma.$ExportTemplateLineItemPayload, S>

  type ExportTemplateLineItemCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ExportTemplateLineItemFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ExportTemplateLineItemCountAggregateInputType | true
    }

  export interface ExportTemplateLineItemDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ExportTemplateLineItem'], meta: { name: 'ExportTemplateLineItem' } }
    /**
     * Find zero or one ExportTemplateLineItem that matches the filter.
     * @param {ExportTemplateLineItemFindUniqueArgs} args - Arguments to find a ExportTemplateLineItem
     * @example
     * // Get one ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ExportTemplateLineItemFindUniqueArgs>(args: SelectSubset<T, ExportTemplateLineItemFindUniqueArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ExportTemplateLineItem that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ExportTemplateLineItemFindUniqueOrThrowArgs} args - Arguments to find a ExportTemplateLineItem
     * @example
     * // Get one ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ExportTemplateLineItemFindUniqueOrThrowArgs>(args: SelectSubset<T, ExportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ExportTemplateLineItem that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemFindFirstArgs} args - Arguments to find a ExportTemplateLineItem
     * @example
     * // Get one ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ExportTemplateLineItemFindFirstArgs>(args?: SelectSubset<T, ExportTemplateLineItemFindFirstArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ExportTemplateLineItem that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemFindFirstOrThrowArgs} args - Arguments to find a ExportTemplateLineItem
     * @example
     * // Get one ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ExportTemplateLineItemFindFirstOrThrowArgs>(args?: SelectSubset<T, ExportTemplateLineItemFindFirstOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ExportTemplateLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ExportTemplateLineItems
     * const exportTemplateLineItems = await prisma.exportTemplateLineItem.findMany()
     * 
     * // Get first 10 ExportTemplateLineItems
     * const exportTemplateLineItems = await prisma.exportTemplateLineItem.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const exportTemplateLineItemWithIdOnly = await prisma.exportTemplateLineItem.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ExportTemplateLineItemFindManyArgs>(args?: SelectSubset<T, ExportTemplateLineItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ExportTemplateLineItem.
     * @param {ExportTemplateLineItemCreateArgs} args - Arguments to create a ExportTemplateLineItem.
     * @example
     * // Create one ExportTemplateLineItem
     * const ExportTemplateLineItem = await prisma.exportTemplateLineItem.create({
     *   data: {
     *     // ... data to create a ExportTemplateLineItem
     *   }
     * })
     * 
     */
    create<T extends ExportTemplateLineItemCreateArgs>(args: SelectSubset<T, ExportTemplateLineItemCreateArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ExportTemplateLineItems.
     * @param {ExportTemplateLineItemCreateManyArgs} args - Arguments to create many ExportTemplateLineItems.
     * @example
     * // Create many ExportTemplateLineItems
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ExportTemplateLineItemCreateManyArgs>(args?: SelectSubset<T, ExportTemplateLineItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ExportTemplateLineItems and returns the data saved in the database.
     * @param {ExportTemplateLineItemCreateManyAndReturnArgs} args - Arguments to create many ExportTemplateLineItems.
     * @example
     * // Create many ExportTemplateLineItems
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ExportTemplateLineItems and only return the `id`
     * const exportTemplateLineItemWithIdOnly = await prisma.exportTemplateLineItem.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ExportTemplateLineItemCreateManyAndReturnArgs>(args?: SelectSubset<T, ExportTemplateLineItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ExportTemplateLineItem.
     * @param {ExportTemplateLineItemDeleteArgs} args - Arguments to delete one ExportTemplateLineItem.
     * @example
     * // Delete one ExportTemplateLineItem
     * const ExportTemplateLineItem = await prisma.exportTemplateLineItem.delete({
     *   where: {
     *     // ... filter to delete one ExportTemplateLineItem
     *   }
     * })
     * 
     */
    delete<T extends ExportTemplateLineItemDeleteArgs>(args: SelectSubset<T, ExportTemplateLineItemDeleteArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ExportTemplateLineItem.
     * @param {ExportTemplateLineItemUpdateArgs} args - Arguments to update one ExportTemplateLineItem.
     * @example
     * // Update one ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ExportTemplateLineItemUpdateArgs>(args: SelectSubset<T, ExportTemplateLineItemUpdateArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ExportTemplateLineItems.
     * @param {ExportTemplateLineItemDeleteManyArgs} args - Arguments to filter ExportTemplateLineItems to delete.
     * @example
     * // Delete a few ExportTemplateLineItems
     * const { count } = await prisma.exportTemplateLineItem.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ExportTemplateLineItemDeleteManyArgs>(args?: SelectSubset<T, ExportTemplateLineItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ExportTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ExportTemplateLineItems
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ExportTemplateLineItemUpdateManyArgs>(args: SelectSubset<T, ExportTemplateLineItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ExportTemplateLineItem.
     * @param {ExportTemplateLineItemUpsertArgs} args - Arguments to update or create a ExportTemplateLineItem.
     * @example
     * // Update or create a ExportTemplateLineItem
     * const exportTemplateLineItem = await prisma.exportTemplateLineItem.upsert({
     *   create: {
     *     // ... data to create a ExportTemplateLineItem
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ExportTemplateLineItem we want to update
     *   }
     * })
     */
    upsert<T extends ExportTemplateLineItemUpsertArgs>(args: SelectSubset<T, ExportTemplateLineItemUpsertArgs<ExtArgs>>): Prisma__ExportTemplateLineItemClient<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ExportTemplateLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemCountArgs} args - Arguments to filter ExportTemplateLineItems to count.
     * @example
     * // Count the number of ExportTemplateLineItems
     * const count = await prisma.exportTemplateLineItem.count({
     *   where: {
     *     // ... the filter for the ExportTemplateLineItems we want to count
     *   }
     * })
    **/
    count<T extends ExportTemplateLineItemCountArgs>(
      args?: Subset<T, ExportTemplateLineItemCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ExportTemplateLineItemCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ExportTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ExportTemplateLineItemAggregateArgs>(args: Subset<T, ExportTemplateLineItemAggregateArgs>): Prisma.PrismaPromise<GetExportTemplateLineItemAggregateType<T>>

    /**
     * Group by ExportTemplateLineItem.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateLineItemGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ExportTemplateLineItemGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ExportTemplateLineItemGroupByArgs['orderBy'] }
        : { orderBy?: ExportTemplateLineItemGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ExportTemplateLineItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetExportTemplateLineItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ExportTemplateLineItem model
   */
  readonly fields: ExportTemplateLineItemFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ExportTemplateLineItem.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ExportTemplateLineItemClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    export_template<T extends ExportTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplateDefaultArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    field_type<T extends ExportTemplateLineItem$field_typeArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplateLineItem$field_typeArgs<ExtArgs>>): Prisma__FieldTypeClient<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ExportTemplateLineItem model
   */ 
  interface ExportTemplateLineItemFieldRefs {
    readonly id: FieldRef<"ExportTemplateLineItem", 'Int'>
    readonly export_template_id: FieldRef<"ExportTemplateLineItem", 'Int'>
    readonly field_name: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly display_name: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly field_table: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly order_no: FieldRef<"ExportTemplateLineItem", 'Decimal'>
    readonly default_value: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly column_name: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly is_individual: FieldRef<"ExportTemplateLineItem", 'Boolean'>
    readonly individual_column: FieldRef<"ExportTemplateLineItem", 'String'>
    readonly field_type_id: FieldRef<"ExportTemplateLineItem", 'Int'>
    readonly status_id: FieldRef<"ExportTemplateLineItem", 'Int'>
    readonly company_id: FieldRef<"ExportTemplateLineItem", 'Int'>
    readonly created_at: FieldRef<"ExportTemplateLineItem", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ExportTemplateLineItem findUnique
   */
  export type ExportTemplateLineItemFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateLineItem to fetch.
     */
    where: ExportTemplateLineItemWhereUniqueInput
  }

  /**
   * ExportTemplateLineItem findUniqueOrThrow
   */
  export type ExportTemplateLineItemFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateLineItem to fetch.
     */
    where: ExportTemplateLineItemWhereUniqueInput
  }

  /**
   * ExportTemplateLineItem findFirst
   */
  export type ExportTemplateLineItemFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateLineItem to fetch.
     */
    where?: ExportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateLineItems to fetch.
     */
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplateLineItems.
     */
    cursor?: ExportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplateLineItems.
     */
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ExportTemplateLineItem findFirstOrThrow
   */
  export type ExportTemplateLineItemFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateLineItem to fetch.
     */
    where?: ExportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateLineItems to fetch.
     */
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplateLineItems.
     */
    cursor?: ExportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplateLineItems.
     */
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ExportTemplateLineItem findMany
   */
  export type ExportTemplateLineItemFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateLineItems to fetch.
     */
    where?: ExportTemplateLineItemWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateLineItems to fetch.
     */
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ExportTemplateLineItems.
     */
    cursor?: ExportTemplateLineItemWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateLineItems.
     */
    skip?: number
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * ExportTemplateLineItem create
   */
  export type ExportTemplateLineItemCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to create a ExportTemplateLineItem.
     */
    data: XOR<ExportTemplateLineItemCreateInput, ExportTemplateLineItemUncheckedCreateInput>
  }

  /**
   * ExportTemplateLineItem createMany
   */
  export type ExportTemplateLineItemCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ExportTemplateLineItems.
     */
    data: ExportTemplateLineItemCreateManyInput | ExportTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ExportTemplateLineItem createManyAndReturn
   */
  export type ExportTemplateLineItemCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ExportTemplateLineItems.
     */
    data: ExportTemplateLineItemCreateManyInput | ExportTemplateLineItemCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ExportTemplateLineItem update
   */
  export type ExportTemplateLineItemUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The data needed to update a ExportTemplateLineItem.
     */
    data: XOR<ExportTemplateLineItemUpdateInput, ExportTemplateLineItemUncheckedUpdateInput>
    /**
     * Choose, which ExportTemplateLineItem to update.
     */
    where: ExportTemplateLineItemWhereUniqueInput
  }

  /**
   * ExportTemplateLineItem updateMany
   */
  export type ExportTemplateLineItemUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ExportTemplateLineItems.
     */
    data: XOR<ExportTemplateLineItemUpdateManyMutationInput, ExportTemplateLineItemUncheckedUpdateManyInput>
    /**
     * Filter which ExportTemplateLineItems to update
     */
    where?: ExportTemplateLineItemWhereInput
  }

  /**
   * ExportTemplateLineItem upsert
   */
  export type ExportTemplateLineItemUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * The filter to search for the ExportTemplateLineItem to update in case it exists.
     */
    where: ExportTemplateLineItemWhereUniqueInput
    /**
     * In case the ExportTemplateLineItem found by the `where` argument doesn't exist, create a new ExportTemplateLineItem with this data.
     */
    create: XOR<ExportTemplateLineItemCreateInput, ExportTemplateLineItemUncheckedCreateInput>
    /**
     * In case the ExportTemplateLineItem was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ExportTemplateLineItemUpdateInput, ExportTemplateLineItemUncheckedUpdateInput>
  }

  /**
   * ExportTemplateLineItem delete
   */
  export type ExportTemplateLineItemDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    /**
     * Filter which ExportTemplateLineItem to delete.
     */
    where: ExportTemplateLineItemWhereUniqueInput
  }

  /**
   * ExportTemplateLineItem deleteMany
   */
  export type ExportTemplateLineItemDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplateLineItems to delete
     */
    where?: ExportTemplateLineItemWhereInput
  }

  /**
   * ExportTemplateLineItem.field_type
   */
  export type ExportTemplateLineItem$field_typeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    where?: FieldTypeWhereInput
  }

  /**
   * ExportTemplateLineItem without action
   */
  export type ExportTemplateLineItemDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
  }


  /**
   * Model ExportTemplateQueries
   */

  export type AggregateExportTemplateQueries = {
    _count: ExportTemplateQueriesCountAggregateOutputType | null
    _avg: ExportTemplateQueriesAvgAggregateOutputType | null
    _sum: ExportTemplateQueriesSumAggregateOutputType | null
    _min: ExportTemplateQueriesMinAggregateOutputType | null
    _max: ExportTemplateQueriesMaxAggregateOutputType | null
  }

  export type ExportTemplateQueriesAvgAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type ExportTemplateQueriesSumAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
  }

  export type ExportTemplateQueriesMinAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    query_string: string | null
    query_name: string | null
    query_procedure: string | null
    is_individual: boolean | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ExportTemplateQueriesMaxAggregateOutputType = {
    id: number | null
    export_template_id: number | null
    query_string: string | null
    query_name: string | null
    query_procedure: string | null
    is_individual: boolean | null
    order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type ExportTemplateQueriesCountAggregateOutputType = {
    id: number
    export_template_id: number
    query_string: number
    query_name: number
    query_procedure: number
    is_individual: number
    order_no: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type ExportTemplateQueriesAvgAggregateInputType = {
    id?: true
    export_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type ExportTemplateQueriesSumAggregateInputType = {
    id?: true
    export_template_id?: true
    order_no?: true
    status_id?: true
    company_id?: true
  }

  export type ExportTemplateQueriesMinAggregateInputType = {
    id?: true
    export_template_id?: true
    query_string?: true
    query_name?: true
    query_procedure?: true
    is_individual?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ExportTemplateQueriesMaxAggregateInputType = {
    id?: true
    export_template_id?: true
    query_string?: true
    query_name?: true
    query_procedure?: true
    is_individual?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type ExportTemplateQueriesCountAggregateInputType = {
    id?: true
    export_template_id?: true
    query_string?: true
    query_name?: true
    query_procedure?: true
    is_individual?: true
    order_no?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type ExportTemplateQueriesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplateQueries to aggregate.
     */
    where?: ExportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateQueries to fetch.
     */
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ExportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ExportTemplateQueries
    **/
    _count?: true | ExportTemplateQueriesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ExportTemplateQueriesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ExportTemplateQueriesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ExportTemplateQueriesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ExportTemplateQueriesMaxAggregateInputType
  }

  export type GetExportTemplateQueriesAggregateType<T extends ExportTemplateQueriesAggregateArgs> = {
        [P in keyof T & keyof AggregateExportTemplateQueries]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateExportTemplateQueries[P]>
      : GetScalarType<T[P], AggregateExportTemplateQueries[P]>
  }




  export type ExportTemplateQueriesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ExportTemplateQueriesWhereInput
    orderBy?: ExportTemplateQueriesOrderByWithAggregationInput | ExportTemplateQueriesOrderByWithAggregationInput[]
    by: ExportTemplateQueriesScalarFieldEnum[] | ExportTemplateQueriesScalarFieldEnum
    having?: ExportTemplateQueriesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ExportTemplateQueriesCountAggregateInputType | true
    _avg?: ExportTemplateQueriesAvgAggregateInputType
    _sum?: ExportTemplateQueriesSumAggregateInputType
    _min?: ExportTemplateQueriesMinAggregateInputType
    _max?: ExportTemplateQueriesMaxAggregateInputType
  }

  export type ExportTemplateQueriesGroupByOutputType = {
    id: number
    export_template_id: number
    query_string: string | null
    query_name: string
    query_procedure: string
    is_individual: boolean
    order_no: Decimal
    status_id: number
    company_id: number
    created_at: Date
    _count: ExportTemplateQueriesCountAggregateOutputType | null
    _avg: ExportTemplateQueriesAvgAggregateOutputType | null
    _sum: ExportTemplateQueriesSumAggregateOutputType | null
    _min: ExportTemplateQueriesMinAggregateOutputType | null
    _max: ExportTemplateQueriesMaxAggregateOutputType | null
  }

  type GetExportTemplateQueriesGroupByPayload<T extends ExportTemplateQueriesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ExportTemplateQueriesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ExportTemplateQueriesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ExportTemplateQueriesGroupByOutputType[P]>
            : GetScalarType<T[P], ExportTemplateQueriesGroupByOutputType[P]>
        }
      >
    >


  export type ExportTemplateQueriesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    export_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    query_procedure?: boolean
    is_individual?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplateQueries"]>

  export type ExportTemplateQueriesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    export_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    query_procedure?: boolean
    is_individual?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["exportTemplateQueries"]>

  export type ExportTemplateQueriesSelectScalar = {
    id?: boolean
    export_template_id?: boolean
    query_string?: boolean
    query_name?: boolean
    query_procedure?: boolean
    is_individual?: boolean
    order_no?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type ExportTemplateQueriesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
  }
  export type ExportTemplateQueriesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    export_template?: boolean | ExportTemplateDefaultArgs<ExtArgs>
  }

  export type $ExportTemplateQueriesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ExportTemplateQueries"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      export_template: Prisma.$ExportTemplatePayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      export_template_id: number
      query_string: string | null
      query_name: string
      query_procedure: string
      is_individual: boolean
      order_no: Prisma.Decimal
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["exportTemplateQueries"]>
    composites: {}
  }

  type ExportTemplateQueriesGetPayload<S extends boolean | null | undefined | ExportTemplateQueriesDefaultArgs> = $Result.GetResult<Prisma.$ExportTemplateQueriesPayload, S>

  type ExportTemplateQueriesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ExportTemplateQueriesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ExportTemplateQueriesCountAggregateInputType | true
    }

  export interface ExportTemplateQueriesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ExportTemplateQueries'], meta: { name: 'ExportTemplateQueries' } }
    /**
     * Find zero or one ExportTemplateQueries that matches the filter.
     * @param {ExportTemplateQueriesFindUniqueArgs} args - Arguments to find a ExportTemplateQueries
     * @example
     * // Get one ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ExportTemplateQueriesFindUniqueArgs>(args: SelectSubset<T, ExportTemplateQueriesFindUniqueArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ExportTemplateQueries that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ExportTemplateQueriesFindUniqueOrThrowArgs} args - Arguments to find a ExportTemplateQueries
     * @example
     * // Get one ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ExportTemplateQueriesFindUniqueOrThrowArgs>(args: SelectSubset<T, ExportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ExportTemplateQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesFindFirstArgs} args - Arguments to find a ExportTemplateQueries
     * @example
     * // Get one ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ExportTemplateQueriesFindFirstArgs>(args?: SelectSubset<T, ExportTemplateQueriesFindFirstArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ExportTemplateQueries that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesFindFirstOrThrowArgs} args - Arguments to find a ExportTemplateQueries
     * @example
     * // Get one ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ExportTemplateQueriesFindFirstOrThrowArgs>(args?: SelectSubset<T, ExportTemplateQueriesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ExportTemplateQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findMany()
     * 
     * // Get first 10 ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const exportTemplateQueriesWithIdOnly = await prisma.exportTemplateQueries.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ExportTemplateQueriesFindManyArgs>(args?: SelectSubset<T, ExportTemplateQueriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ExportTemplateQueries.
     * @param {ExportTemplateQueriesCreateArgs} args - Arguments to create a ExportTemplateQueries.
     * @example
     * // Create one ExportTemplateQueries
     * const ExportTemplateQueries = await prisma.exportTemplateQueries.create({
     *   data: {
     *     // ... data to create a ExportTemplateQueries
     *   }
     * })
     * 
     */
    create<T extends ExportTemplateQueriesCreateArgs>(args: SelectSubset<T, ExportTemplateQueriesCreateArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ExportTemplateQueries.
     * @param {ExportTemplateQueriesCreateManyArgs} args - Arguments to create many ExportTemplateQueries.
     * @example
     * // Create many ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ExportTemplateQueriesCreateManyArgs>(args?: SelectSubset<T, ExportTemplateQueriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ExportTemplateQueries and returns the data saved in the database.
     * @param {ExportTemplateQueriesCreateManyAndReturnArgs} args - Arguments to create many ExportTemplateQueries.
     * @example
     * // Create many ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ExportTemplateQueries and only return the `id`
     * const exportTemplateQueriesWithIdOnly = await prisma.exportTemplateQueries.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ExportTemplateQueriesCreateManyAndReturnArgs>(args?: SelectSubset<T, ExportTemplateQueriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ExportTemplateQueries.
     * @param {ExportTemplateQueriesDeleteArgs} args - Arguments to delete one ExportTemplateQueries.
     * @example
     * // Delete one ExportTemplateQueries
     * const ExportTemplateQueries = await prisma.exportTemplateQueries.delete({
     *   where: {
     *     // ... filter to delete one ExportTemplateQueries
     *   }
     * })
     * 
     */
    delete<T extends ExportTemplateQueriesDeleteArgs>(args: SelectSubset<T, ExportTemplateQueriesDeleteArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ExportTemplateQueries.
     * @param {ExportTemplateQueriesUpdateArgs} args - Arguments to update one ExportTemplateQueries.
     * @example
     * // Update one ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ExportTemplateQueriesUpdateArgs>(args: SelectSubset<T, ExportTemplateQueriesUpdateArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ExportTemplateQueries.
     * @param {ExportTemplateQueriesDeleteManyArgs} args - Arguments to filter ExportTemplateQueries to delete.
     * @example
     * // Delete a few ExportTemplateQueries
     * const { count } = await prisma.exportTemplateQueries.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ExportTemplateQueriesDeleteManyArgs>(args?: SelectSubset<T, ExportTemplateQueriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ExportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ExportTemplateQueriesUpdateManyArgs>(args: SelectSubset<T, ExportTemplateQueriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ExportTemplateQueries.
     * @param {ExportTemplateQueriesUpsertArgs} args - Arguments to update or create a ExportTemplateQueries.
     * @example
     * // Update or create a ExportTemplateQueries
     * const exportTemplateQueries = await prisma.exportTemplateQueries.upsert({
     *   create: {
     *     // ... data to create a ExportTemplateQueries
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ExportTemplateQueries we want to update
     *   }
     * })
     */
    upsert<T extends ExportTemplateQueriesUpsertArgs>(args: SelectSubset<T, ExportTemplateQueriesUpsertArgs<ExtArgs>>): Prisma__ExportTemplateQueriesClient<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ExportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesCountArgs} args - Arguments to filter ExportTemplateQueries to count.
     * @example
     * // Count the number of ExportTemplateQueries
     * const count = await prisma.exportTemplateQueries.count({
     *   where: {
     *     // ... the filter for the ExportTemplateQueries we want to count
     *   }
     * })
    **/
    count<T extends ExportTemplateQueriesCountArgs>(
      args?: Subset<T, ExportTemplateQueriesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ExportTemplateQueriesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ExportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ExportTemplateQueriesAggregateArgs>(args: Subset<T, ExportTemplateQueriesAggregateArgs>): Prisma.PrismaPromise<GetExportTemplateQueriesAggregateType<T>>

    /**
     * Group by ExportTemplateQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ExportTemplateQueriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ExportTemplateQueriesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ExportTemplateQueriesGroupByArgs['orderBy'] }
        : { orderBy?: ExportTemplateQueriesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ExportTemplateQueriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetExportTemplateQueriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ExportTemplateQueries model
   */
  readonly fields: ExportTemplateQueriesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ExportTemplateQueries.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ExportTemplateQueriesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    export_template<T extends ExportTemplateDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ExportTemplateDefaultArgs<ExtArgs>>): Prisma__ExportTemplateClient<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ExportTemplateQueries model
   */ 
  interface ExportTemplateQueriesFieldRefs {
    readonly id: FieldRef<"ExportTemplateQueries", 'Int'>
    readonly export_template_id: FieldRef<"ExportTemplateQueries", 'Int'>
    readonly query_string: FieldRef<"ExportTemplateQueries", 'String'>
    readonly query_name: FieldRef<"ExportTemplateQueries", 'String'>
    readonly query_procedure: FieldRef<"ExportTemplateQueries", 'String'>
    readonly is_individual: FieldRef<"ExportTemplateQueries", 'Boolean'>
    readonly order_no: FieldRef<"ExportTemplateQueries", 'Decimal'>
    readonly status_id: FieldRef<"ExportTemplateQueries", 'Int'>
    readonly company_id: FieldRef<"ExportTemplateQueries", 'Int'>
    readonly created_at: FieldRef<"ExportTemplateQueries", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ExportTemplateQueries findUnique
   */
  export type ExportTemplateQueriesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateQueries to fetch.
     */
    where: ExportTemplateQueriesWhereUniqueInput
  }

  /**
   * ExportTemplateQueries findUniqueOrThrow
   */
  export type ExportTemplateQueriesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateQueries to fetch.
     */
    where: ExportTemplateQueriesWhereUniqueInput
  }

  /**
   * ExportTemplateQueries findFirst
   */
  export type ExportTemplateQueriesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateQueries to fetch.
     */
    where?: ExportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateQueries to fetch.
     */
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplateQueries.
     */
    cursor?: ExportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplateQueries.
     */
    distinct?: ExportTemplateQueriesScalarFieldEnum | ExportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ExportTemplateQueries findFirstOrThrow
   */
  export type ExportTemplateQueriesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateQueries to fetch.
     */
    where?: ExportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateQueries to fetch.
     */
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ExportTemplateQueries.
     */
    cursor?: ExportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ExportTemplateQueries.
     */
    distinct?: ExportTemplateQueriesScalarFieldEnum | ExportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ExportTemplateQueries findMany
   */
  export type ExportTemplateQueriesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter, which ExportTemplateQueries to fetch.
     */
    where?: ExportTemplateQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ExportTemplateQueries to fetch.
     */
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ExportTemplateQueries.
     */
    cursor?: ExportTemplateQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ExportTemplateQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ExportTemplateQueries.
     */
    skip?: number
    distinct?: ExportTemplateQueriesScalarFieldEnum | ExportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * ExportTemplateQueries create
   */
  export type ExportTemplateQueriesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The data needed to create a ExportTemplateQueries.
     */
    data: XOR<ExportTemplateQueriesCreateInput, ExportTemplateQueriesUncheckedCreateInput>
  }

  /**
   * ExportTemplateQueries createMany
   */
  export type ExportTemplateQueriesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ExportTemplateQueries.
     */
    data: ExportTemplateQueriesCreateManyInput | ExportTemplateQueriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ExportTemplateQueries createManyAndReturn
   */
  export type ExportTemplateQueriesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ExportTemplateQueries.
     */
    data: ExportTemplateQueriesCreateManyInput | ExportTemplateQueriesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ExportTemplateQueries update
   */
  export type ExportTemplateQueriesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The data needed to update a ExportTemplateQueries.
     */
    data: XOR<ExportTemplateQueriesUpdateInput, ExportTemplateQueriesUncheckedUpdateInput>
    /**
     * Choose, which ExportTemplateQueries to update.
     */
    where: ExportTemplateQueriesWhereUniqueInput
  }

  /**
   * ExportTemplateQueries updateMany
   */
  export type ExportTemplateQueriesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ExportTemplateQueries.
     */
    data: XOR<ExportTemplateQueriesUpdateManyMutationInput, ExportTemplateQueriesUncheckedUpdateManyInput>
    /**
     * Filter which ExportTemplateQueries to update
     */
    where?: ExportTemplateQueriesWhereInput
  }

  /**
   * ExportTemplateQueries upsert
   */
  export type ExportTemplateQueriesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * The filter to search for the ExportTemplateQueries to update in case it exists.
     */
    where: ExportTemplateQueriesWhereUniqueInput
    /**
     * In case the ExportTemplateQueries found by the `where` argument doesn't exist, create a new ExportTemplateQueries with this data.
     */
    create: XOR<ExportTemplateQueriesCreateInput, ExportTemplateQueriesUncheckedCreateInput>
    /**
     * In case the ExportTemplateQueries was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ExportTemplateQueriesUpdateInput, ExportTemplateQueriesUncheckedUpdateInput>
  }

  /**
   * ExportTemplateQueries delete
   */
  export type ExportTemplateQueriesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    /**
     * Filter which ExportTemplateQueries to delete.
     */
    where: ExportTemplateQueriesWhereUniqueInput
  }

  /**
   * ExportTemplateQueries deleteMany
   */
  export type ExportTemplateQueriesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ExportTemplateQueries to delete
     */
    where?: ExportTemplateQueriesWhereInput
  }

  /**
   * ExportTemplateQueries without action
   */
  export type ExportTemplateQueriesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
  }


  /**
   * Model Status
   */

  export type AggregateStatus = {
    _count: StatusCountAggregateOutputType | null
    _avg: StatusAvgAggregateOutputType | null
    _sum: StatusSumAggregateOutputType | null
    _min: StatusMinAggregateOutputType | null
    _max: StatusMaxAggregateOutputType | null
  }

  export type StatusAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
  }

  export type StatusSumAggregateOutputType = {
    id: number | null
    status_id: number | null
  }

  export type StatusMinAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
  }

  export type StatusMaxAggregateOutputType = {
    id: number | null
    name: string | null
    slug: string | null
    description: string | null
    status_id: number | null
  }

  export type StatusCountAggregateOutputType = {
    id: number
    name: number
    slug: number
    description: number
    status_id: number
    _all: number
  }


  export type StatusAvgAggregateInputType = {
    id?: true
    status_id?: true
  }

  export type StatusSumAggregateInputType = {
    id?: true
    status_id?: true
  }

  export type StatusMinAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
  }

  export type StatusMaxAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
  }

  export type StatusCountAggregateInputType = {
    id?: true
    name?: true
    slug?: true
    description?: true
    status_id?: true
    _all?: true
  }

  export type StatusAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Status to aggregate.
     */
    where?: StatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Statuses to fetch.
     */
    orderBy?: StatusOrderByWithRelationInput | StatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: StatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Statuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Statuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Statuses
    **/
    _count?: true | StatusCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: StatusAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: StatusSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: StatusMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: StatusMaxAggregateInputType
  }

  export type GetStatusAggregateType<T extends StatusAggregateArgs> = {
        [P in keyof T & keyof AggregateStatus]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateStatus[P]>
      : GetScalarType<T[P], AggregateStatus[P]>
  }




  export type StatusGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: StatusWhereInput
    orderBy?: StatusOrderByWithAggregationInput | StatusOrderByWithAggregationInput[]
    by: StatusScalarFieldEnum[] | StatusScalarFieldEnum
    having?: StatusScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: StatusCountAggregateInputType | true
    _avg?: StatusAvgAggregateInputType
    _sum?: StatusSumAggregateInputType
    _min?: StatusMinAggregateInputType
    _max?: StatusMaxAggregateInputType
  }

  export type StatusGroupByOutputType = {
    id: number
    name: string
    slug: string
    description: string | null
    status_id: number | null
    _count: StatusCountAggregateOutputType | null
    _avg: StatusAvgAggregateOutputType | null
    _sum: StatusSumAggregateOutputType | null
    _min: StatusMinAggregateOutputType | null
    _max: StatusMaxAggregateOutputType | null
  }

  type GetStatusGroupByPayload<T extends StatusGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<StatusGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof StatusGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], StatusGroupByOutputType[P]>
            : GetScalarType<T[P], StatusGroupByOutputType[P]>
        }
      >
    >


  export type StatusSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    status?: boolean | Status$statusArgs<ExtArgs>
    status_list?: boolean | Status$status_listArgs<ExtArgs>
    shipment_images?: boolean | Status$shipment_imagesArgs<ExtArgs>
    users?: boolean | Status$usersArgs<ExtArgs>
    request_logs?: boolean | Status$request_logsArgs<ExtArgs>
    permissions?: boolean | Status$permissionsArgs<ExtArgs>
    roles?: boolean | Status$rolesArgs<ExtArgs>
    languages?: boolean | Status$languagesArgs<ExtArgs>
    language_contents?: boolean | Status$language_contentsArgs<ExtArgs>
    menuitems?: boolean | Status$menuitemsArgs<ExtArgs>
    menus?: boolean | Status$menusArgs<ExtArgs>
    master_grids?: boolean | Status$master_gridsArgs<ExtArgs>
    master_grid_line_items?: boolean | Status$master_grid_line_itemsArgs<ExtArgs>
    field_types?: boolean | Status$field_typesArgs<ExtArgs>
    menu_types?: boolean | Status$menu_typesArgs<ExtArgs>
    notification_template_processes?: boolean | Status$notification_template_processesArgs<ExtArgs>
    notification_template_tags?: boolean | Status$notification_template_tagsArgs<ExtArgs>
    notification_template_receiver_tags?: boolean | Status$notification_template_receiver_tagsArgs<ExtArgs>
    notification_templates?: boolean | Status$notification_templatesArgs<ExtArgs>
    notification_process_jobs?: boolean | Status$notification_process_jobsArgs<ExtArgs>
    notification_job?: boolean | Status$notification_jobArgs<ExtArgs>
    import_templates?: boolean | Status$import_templatesArgs<ExtArgs>
    import_template_line_items?: boolean | Status$import_template_line_itemsArgs<ExtArgs>
    import_template_queries?: boolean | Status$import_template_queriesArgs<ExtArgs>
    export_templates?: boolean | Status$export_templatesArgs<ExtArgs>
    export_template_line_items?: boolean | Status$export_template_line_itemsArgs<ExtArgs>
    export_template_queries?: boolean | Status$export_template_queriesArgs<ExtArgs>
    designations?: boolean | Status$designationsArgs<ExtArgs>
    departments?: boolean | Status$departmentsArgs<ExtArgs>
    audit_logs?: boolean | Status$audit_logsArgs<ExtArgs>
    financial_years?: boolean | Status$financial_yearsArgs<ExtArgs>
    document_sequences?: boolean | Status$document_sequencesArgs<ExtArgs>
    file_upload_logs?: boolean | Status$file_upload_logsArgs<ExtArgs>
    device_registration?: boolean | Status$device_registrationArgs<ExtArgs>
    import_job?: boolean | Status$import_jobArgs<ExtArgs>
    import_job_line_items?: boolean | Status$import_job_line_itemsArgs<ExtArgs>
    policies?: boolean | Status$policiesArgs<ExtArgs>
    app_versions?: boolean | Status$app_versionsArgs<ExtArgs>
    approval_workflows?: boolean | Status$approval_workflowsArgs<ExtArgs>
    approval_process_job_workflows?: boolean | Status$approval_process_job_workflowsArgs<ExtArgs>
    approval_workflow_approver_tags?: boolean | Status$approval_workflow_approver_tagsArgs<ExtArgs>
    approval_workflow_assignments?: boolean | Status$approval_workflow_assignmentsArgs<ExtArgs>
    approval_process_job?: boolean | Status$approval_process_jobArgs<ExtArgs>
    approval_process_job_workflow_users?: boolean | Status$approval_process_job_workflow_usersArgs<ExtArgs>
    delegations?: boolean | Status$delegationsArgs<ExtArgs>
    about_lcp?: boolean | Status$about_lcpArgs<ExtArgs>
    schema_chunks?: boolean | Status$schema_chunksArgs<ExtArgs>
    openai_usage_logs?: boolean | Status$openai_usage_logsArgs<ExtArgs>
    embedding_vector_logs?: boolean | Status$embedding_vector_logsArgs<ExtArgs>
    query_execution_log?: boolean | Status$query_execution_logArgs<ExtArgs>
    child_processes?: boolean | Status$child_processesArgs<ExtArgs>
    child_process_logs?: boolean | Status$child_process_logsArgs<ExtArgs>
    carousel_templates?: boolean | Status$carousel_templatesArgs<ExtArgs>
    carousel_template_line_items?: boolean | Status$carousel_template_line_itemsArgs<ExtArgs>
    scheduled_job_logs?: boolean | Status$scheduled_job_logsArgs<ExtArgs>
    scheduled_jobs?: boolean | Status$scheduled_jobsArgs<ExtArgs>
    app_categories?: boolean | Status$app_categoriesArgs<ExtArgs>
    theme_attributes?: boolean | Status$theme_attributesArgs<ExtArgs>
    themes?: boolean | Status$themesArgs<ExtArgs>
    theme_line_items?: boolean | Status$theme_line_itemsArgs<ExtArgs>
    barcodeTemplates?: boolean | Status$barcodeTemplatesArgs<ExtArgs>
    user_login_histories?: boolean | Status$user_login_historiesArgs<ExtArgs>
    direct_import_details?: boolean | Status$direct_import_detailsArgs<ExtArgs>
    delivery_notes?: boolean | Status$delivery_notesArgs<ExtArgs>
    delivery_note_line_items?: boolean | Status$delivery_note_line_itemsArgs<ExtArgs>
    customers_delivery_addresses?: boolean | Status$customers_delivery_addressesArgs<ExtArgs>
    shipments?: boolean | Status$shipmentsArgs<ExtArgs>
    shipment_customers?: boolean | Status$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | Status$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | Status$shipment_delivery_notesArgs<ExtArgs>
    vehicles?: boolean | Status$vehiclesArgs<ExtArgs>
    vehicle_gps_data?: boolean | Status$vehicle_gps_dataArgs<ExtArgs>
    geofences?: boolean | Status$geofencesArgs<ExtArgs>
    geofence_tracking?: boolean | Status$geofence_trackingArgs<ExtArgs>
    customer_geofence_mapping?: boolean | Status$customer_geofence_mappingArgs<ExtArgs>
    delivery_note_status?: boolean | Status$delivery_note_statusArgs<ExtArgs>
    erp_logs?: boolean | Status$erp_logsArgs<ExtArgs>
    erp_logs_line_items?: boolean | Status$erp_logs_line_itemsArgs<ExtArgs>
    vehicle_user_mapping?: boolean | Status$vehicle_user_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Status$vehicle_geofence_historyArgs<ExtArgs>
    temp_session_data?: boolean | Status$temp_session_dataArgs<ExtArgs>
    shipment_status?: boolean | Status$shipment_statusArgs<ExtArgs>
    shipment_status_history?: boolean | Status$shipment_status_historyArgs<ExtArgs>
    pod_status?: boolean | Status$pod_statusArgs<ExtArgs>
    vehicle_trip_histories?: boolean | Status$vehicle_trip_historiesArgs<ExtArgs>
    shipment_location_contact_info_histories?: boolean | Status$shipment_location_contact_info_historiesArgs<ExtArgs>
    tree_builder_examples?: boolean | Status$tree_builder_examplesArgs<ExtArgs>
    user_search_configurations?: boolean | Status$user_search_configurationsArgs<ExtArgs>
    _count?: boolean | StatusCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["status"]>

  export type StatusSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
    status?: boolean | Status$statusArgs<ExtArgs>
  }, ExtArgs["result"]["status"]>

  export type StatusSelectScalar = {
    id?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    status_id?: boolean
  }

  export type StatusInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | Status$statusArgs<ExtArgs>
    status_list?: boolean | Status$status_listArgs<ExtArgs>
    shipment_images?: boolean | Status$shipment_imagesArgs<ExtArgs>
    users?: boolean | Status$usersArgs<ExtArgs>
    request_logs?: boolean | Status$request_logsArgs<ExtArgs>
    permissions?: boolean | Status$permissionsArgs<ExtArgs>
    roles?: boolean | Status$rolesArgs<ExtArgs>
    languages?: boolean | Status$languagesArgs<ExtArgs>
    language_contents?: boolean | Status$language_contentsArgs<ExtArgs>
    menuitems?: boolean | Status$menuitemsArgs<ExtArgs>
    menus?: boolean | Status$menusArgs<ExtArgs>
    master_grids?: boolean | Status$master_gridsArgs<ExtArgs>
    master_grid_line_items?: boolean | Status$master_grid_line_itemsArgs<ExtArgs>
    field_types?: boolean | Status$field_typesArgs<ExtArgs>
    menu_types?: boolean | Status$menu_typesArgs<ExtArgs>
    notification_template_processes?: boolean | Status$notification_template_processesArgs<ExtArgs>
    notification_template_tags?: boolean | Status$notification_template_tagsArgs<ExtArgs>
    notification_template_receiver_tags?: boolean | Status$notification_template_receiver_tagsArgs<ExtArgs>
    notification_templates?: boolean | Status$notification_templatesArgs<ExtArgs>
    notification_process_jobs?: boolean | Status$notification_process_jobsArgs<ExtArgs>
    notification_job?: boolean | Status$notification_jobArgs<ExtArgs>
    import_templates?: boolean | Status$import_templatesArgs<ExtArgs>
    import_template_line_items?: boolean | Status$import_template_line_itemsArgs<ExtArgs>
    import_template_queries?: boolean | Status$import_template_queriesArgs<ExtArgs>
    export_templates?: boolean | Status$export_templatesArgs<ExtArgs>
    export_template_line_items?: boolean | Status$export_template_line_itemsArgs<ExtArgs>
    export_template_queries?: boolean | Status$export_template_queriesArgs<ExtArgs>
    designations?: boolean | Status$designationsArgs<ExtArgs>
    departments?: boolean | Status$departmentsArgs<ExtArgs>
    audit_logs?: boolean | Status$audit_logsArgs<ExtArgs>
    financial_years?: boolean | Status$financial_yearsArgs<ExtArgs>
    document_sequences?: boolean | Status$document_sequencesArgs<ExtArgs>
    file_upload_logs?: boolean | Status$file_upload_logsArgs<ExtArgs>
    device_registration?: boolean | Status$device_registrationArgs<ExtArgs>
    import_job?: boolean | Status$import_jobArgs<ExtArgs>
    import_job_line_items?: boolean | Status$import_job_line_itemsArgs<ExtArgs>
    policies?: boolean | Status$policiesArgs<ExtArgs>
    app_versions?: boolean | Status$app_versionsArgs<ExtArgs>
    approval_workflows?: boolean | Status$approval_workflowsArgs<ExtArgs>
    approval_process_job_workflows?: boolean | Status$approval_process_job_workflowsArgs<ExtArgs>
    approval_workflow_approver_tags?: boolean | Status$approval_workflow_approver_tagsArgs<ExtArgs>
    approval_workflow_assignments?: boolean | Status$approval_workflow_assignmentsArgs<ExtArgs>
    approval_process_job?: boolean | Status$approval_process_jobArgs<ExtArgs>
    approval_process_job_workflow_users?: boolean | Status$approval_process_job_workflow_usersArgs<ExtArgs>
    delegations?: boolean | Status$delegationsArgs<ExtArgs>
    about_lcp?: boolean | Status$about_lcpArgs<ExtArgs>
    schema_chunks?: boolean | Status$schema_chunksArgs<ExtArgs>
    openai_usage_logs?: boolean | Status$openai_usage_logsArgs<ExtArgs>
    embedding_vector_logs?: boolean | Status$embedding_vector_logsArgs<ExtArgs>
    query_execution_log?: boolean | Status$query_execution_logArgs<ExtArgs>
    child_processes?: boolean | Status$child_processesArgs<ExtArgs>
    child_process_logs?: boolean | Status$child_process_logsArgs<ExtArgs>
    carousel_templates?: boolean | Status$carousel_templatesArgs<ExtArgs>
    carousel_template_line_items?: boolean | Status$carousel_template_line_itemsArgs<ExtArgs>
    scheduled_job_logs?: boolean | Status$scheduled_job_logsArgs<ExtArgs>
    scheduled_jobs?: boolean | Status$scheduled_jobsArgs<ExtArgs>
    app_categories?: boolean | Status$app_categoriesArgs<ExtArgs>
    theme_attributes?: boolean | Status$theme_attributesArgs<ExtArgs>
    themes?: boolean | Status$themesArgs<ExtArgs>
    theme_line_items?: boolean | Status$theme_line_itemsArgs<ExtArgs>
    barcodeTemplates?: boolean | Status$barcodeTemplatesArgs<ExtArgs>
    user_login_histories?: boolean | Status$user_login_historiesArgs<ExtArgs>
    direct_import_details?: boolean | Status$direct_import_detailsArgs<ExtArgs>
    delivery_notes?: boolean | Status$delivery_notesArgs<ExtArgs>
    delivery_note_line_items?: boolean | Status$delivery_note_line_itemsArgs<ExtArgs>
    customers_delivery_addresses?: boolean | Status$customers_delivery_addressesArgs<ExtArgs>
    shipments?: boolean | Status$shipmentsArgs<ExtArgs>
    shipment_customers?: boolean | Status$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | Status$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | Status$shipment_delivery_notesArgs<ExtArgs>
    vehicles?: boolean | Status$vehiclesArgs<ExtArgs>
    vehicle_gps_data?: boolean | Status$vehicle_gps_dataArgs<ExtArgs>
    geofences?: boolean | Status$geofencesArgs<ExtArgs>
    geofence_tracking?: boolean | Status$geofence_trackingArgs<ExtArgs>
    customer_geofence_mapping?: boolean | Status$customer_geofence_mappingArgs<ExtArgs>
    delivery_note_status?: boolean | Status$delivery_note_statusArgs<ExtArgs>
    erp_logs?: boolean | Status$erp_logsArgs<ExtArgs>
    erp_logs_line_items?: boolean | Status$erp_logs_line_itemsArgs<ExtArgs>
    vehicle_user_mapping?: boolean | Status$vehicle_user_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Status$vehicle_geofence_historyArgs<ExtArgs>
    temp_session_data?: boolean | Status$temp_session_dataArgs<ExtArgs>
    shipment_status?: boolean | Status$shipment_statusArgs<ExtArgs>
    shipment_status_history?: boolean | Status$shipment_status_historyArgs<ExtArgs>
    pod_status?: boolean | Status$pod_statusArgs<ExtArgs>
    vehicle_trip_histories?: boolean | Status$vehicle_trip_historiesArgs<ExtArgs>
    shipment_location_contact_info_histories?: boolean | Status$shipment_location_contact_info_historiesArgs<ExtArgs>
    tree_builder_examples?: boolean | Status$tree_builder_examplesArgs<ExtArgs>
    user_search_configurations?: boolean | Status$user_search_configurationsArgs<ExtArgs>
    _count?: boolean | StatusCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type StatusIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | Status$statusArgs<ExtArgs>
  }

  export type $StatusPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Status"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs> | null
      status_list: Prisma.$StatusPayload<ExtArgs>[]
      shipment_images: Prisma.$ShipmentImagesPayload<ExtArgs>[]
      users: Prisma.$UserPayload<ExtArgs>[]
      request_logs: Prisma.$RequestLogPayload<ExtArgs>[]
      permissions: Prisma.$PermissionsPayload<ExtArgs>[]
      roles: Prisma.$RolePayload<ExtArgs>[]
      languages: Prisma.$LanguagePayload<ExtArgs>[]
      language_contents: Prisma.$LanguageContentPayload<ExtArgs>[]
      menuitems: Prisma.$MenuItemsPayload<ExtArgs>[]
      menus: Prisma.$MenusPayload<ExtArgs>[]
      master_grids: Prisma.$MasterEntityPayload<ExtArgs>[]
      master_grid_line_items: Prisma.$MasterEntityLineItemPayload<ExtArgs>[]
      field_types: Prisma.$FieldTypePayload<ExtArgs>[]
      menu_types: Prisma.$menuTypePayload<ExtArgs>[]
      notification_template_processes: Prisma.$NotificationTemplateProcessPayload<ExtArgs>[]
      notification_template_tags: Prisma.$NotificationTemplateTagPayload<ExtArgs>[]
      notification_template_receiver_tags: Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>[]
      notification_templates: Prisma.$NotificationTemplatePayload<ExtArgs>[]
      notification_process_jobs: Prisma.$NotificationProcessJobPayload<ExtArgs>[]
      notification_job: Prisma.$NotificationJobPayload<ExtArgs>[]
      import_templates: Prisma.$ImportTemplatePayload<ExtArgs>[]
      import_template_line_items: Prisma.$ImportTemplateLineItemPayload<ExtArgs>[]
      import_template_queries: Prisma.$ImportTemplateQueriesPayload<ExtArgs>[]
      export_templates: Prisma.$ExportTemplatePayload<ExtArgs>[]
      export_template_line_items: Prisma.$ExportTemplateLineItemPayload<ExtArgs>[]
      export_template_queries: Prisma.$ExportTemplateQueriesPayload<ExtArgs>[]
      designations: Prisma.$DesignationPayload<ExtArgs>[]
      departments: Prisma.$DepartmentPayload<ExtArgs>[]
      audit_logs: Prisma.$AuditLogPayload<ExtArgs>[]
      financial_years: Prisma.$FinancialYearPayload<ExtArgs>[]
      document_sequences: Prisma.$DocumentSequencePayload<ExtArgs>[]
      file_upload_logs: Prisma.$FileUploadLogPayload<ExtArgs>[]
      device_registration: Prisma.$DeviceRegistrationPayload<ExtArgs>[]
      import_job: Prisma.$ImportJobPayload<ExtArgs>[]
      import_job_line_items: Prisma.$ImportJobLineItemPayload<ExtArgs>[]
      policies: Prisma.$PoliciesPayload<ExtArgs>[]
      app_versions: Prisma.$AppversionsPayload<ExtArgs>[]
      approval_workflows: Prisma.$ApprovalWorkflowPayload<ExtArgs>[]
      approval_process_job_workflows: Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>[]
      approval_workflow_approver_tags: Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>[]
      approval_workflow_assignments: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
      approval_process_job: Prisma.$ApprovalProcessJobPayload<ExtArgs>[]
      approval_process_job_workflow_users: Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>[]
      delegations: Prisma.$DelegationPayload<ExtArgs>[]
      about_lcp: Prisma.$AboutLCPPayload<ExtArgs>[]
      schema_chunks: Prisma.$SchemaChunkPayload<ExtArgs>[]
      openai_usage_logs: Prisma.$OpenaiUsageLogPayload<ExtArgs>[]
      embedding_vector_logs: Prisma.$EmbeddingVectorLogsPayload<ExtArgs>[]
      query_execution_log: Prisma.$QueryExecutionLogPayload<ExtArgs>[]
      child_processes: Prisma.$ChildProcessPayload<ExtArgs>[]
      child_process_logs: Prisma.$ChildProcessLogPayload<ExtArgs>[]
      carousel_templates: Prisma.$CarouselTemplatePayload<ExtArgs>[]
      carousel_template_line_items: Prisma.$CarouselTemplateLineItemPayload<ExtArgs>[]
      scheduled_job_logs: Prisma.$ScheduledJobLogsPayload<ExtArgs>[]
      scheduled_jobs: Prisma.$ScheduledJobPayload<ExtArgs>[]
      app_categories: Prisma.$CategoriesPayload<ExtArgs>[]
      theme_attributes: Prisma.$ThemeAttributesPayload<ExtArgs>[]
      themes: Prisma.$ThemesPayload<ExtArgs>[]
      theme_line_items: Prisma.$ThemeLineItemsPayload<ExtArgs>[]
      barcodeTemplates: Prisma.$BarcodeTemplatesPayload<ExtArgs>[]
      user_login_histories: Prisma.$UserLoginHistoryPayload<ExtArgs>[]
      direct_import_details: Prisma.$DirectImportDetailsPayload<ExtArgs>[]
      delivery_notes: Prisma.$DeliveryNotesPayload<ExtArgs>[]
      delivery_note_line_items: Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>[]
      customers_delivery_addresses: Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>[]
      shipments: Prisma.$ShipmentsPayload<ExtArgs>[]
      shipment_customers: Prisma.$ShipmentCustomersPayload<ExtArgs>[]
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
      shipment_delivery_notes: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>[]
      vehicles: Prisma.$VehiclesPayload<ExtArgs>[]
      vehicle_gps_data: Prisma.$VehiclesGpsDataPayload<ExtArgs>[]
      geofences: Prisma.$GeoFencesPayload<ExtArgs>[]
      geofence_tracking: Prisma.$GeoFenceTrackingPayload<ExtArgs>[]
      customer_geofence_mapping: Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>[]
      delivery_note_status: Prisma.$DeliveryNoteStatusPayload<ExtArgs>[]
      erp_logs: Prisma.$ErpLogsPayload<ExtArgs>[]
      erp_logs_line_items: Prisma.$ErpLogsLineItemsPayload<ExtArgs>[]
      vehicle_user_mapping: Prisma.$VehicleUserMappingPayload<ExtArgs>[]
      vehicle_geofence_history: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
      temp_session_data: Prisma.$TempSessionDataPayload<ExtArgs>[]
      shipment_status: Prisma.$ShipmentStatusPayload<ExtArgs>[]
      shipment_status_history: Prisma.$ShipmentStatusHistoryPayload<ExtArgs>[]
      pod_status: Prisma.$PodStatusPayload<ExtArgs>[]
      vehicle_trip_histories: Prisma.$VehicleTripHistoriesPayload<ExtArgs>[]
      shipment_location_contact_info_histories: Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>[]
      tree_builder_examples: Prisma.$TreeBuilderExamplePayload<ExtArgs>[]
      user_search_configurations: Prisma.$userSearchConfigurationPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      name: string
      slug: string
      description: string | null
      status_id: number | null
    }, ExtArgs["result"]["status"]>
    composites: {}
  }

  type StatusGetPayload<S extends boolean | null | undefined | StatusDefaultArgs> = $Result.GetResult<Prisma.$StatusPayload, S>

  type StatusCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<StatusFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: StatusCountAggregateInputType | true
    }

  export interface StatusDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Status'], meta: { name: 'Status' } }
    /**
     * Find zero or one Status that matches the filter.
     * @param {StatusFindUniqueArgs} args - Arguments to find a Status
     * @example
     * // Get one Status
     * const status = await prisma.status.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends StatusFindUniqueArgs>(args: SelectSubset<T, StatusFindUniqueArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Status that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {StatusFindUniqueOrThrowArgs} args - Arguments to find a Status
     * @example
     * // Get one Status
     * const status = await prisma.status.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends StatusFindUniqueOrThrowArgs>(args: SelectSubset<T, StatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Status that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusFindFirstArgs} args - Arguments to find a Status
     * @example
     * // Get one Status
     * const status = await prisma.status.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends StatusFindFirstArgs>(args?: SelectSubset<T, StatusFindFirstArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Status that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusFindFirstOrThrowArgs} args - Arguments to find a Status
     * @example
     * // Get one Status
     * const status = await prisma.status.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends StatusFindFirstOrThrowArgs>(args?: SelectSubset<T, StatusFindFirstOrThrowArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Statuses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Statuses
     * const statuses = await prisma.status.findMany()
     * 
     * // Get first 10 Statuses
     * const statuses = await prisma.status.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const statusWithIdOnly = await prisma.status.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends StatusFindManyArgs>(args?: SelectSubset<T, StatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Status.
     * @param {StatusCreateArgs} args - Arguments to create a Status.
     * @example
     * // Create one Status
     * const Status = await prisma.status.create({
     *   data: {
     *     // ... data to create a Status
     *   }
     * })
     * 
     */
    create<T extends StatusCreateArgs>(args: SelectSubset<T, StatusCreateArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Statuses.
     * @param {StatusCreateManyArgs} args - Arguments to create many Statuses.
     * @example
     * // Create many Statuses
     * const status = await prisma.status.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends StatusCreateManyArgs>(args?: SelectSubset<T, StatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Statuses and returns the data saved in the database.
     * @param {StatusCreateManyAndReturnArgs} args - Arguments to create many Statuses.
     * @example
     * // Create many Statuses
     * const status = await prisma.status.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Statuses and only return the `id`
     * const statusWithIdOnly = await prisma.status.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends StatusCreateManyAndReturnArgs>(args?: SelectSubset<T, StatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Status.
     * @param {StatusDeleteArgs} args - Arguments to delete one Status.
     * @example
     * // Delete one Status
     * const Status = await prisma.status.delete({
     *   where: {
     *     // ... filter to delete one Status
     *   }
     * })
     * 
     */
    delete<T extends StatusDeleteArgs>(args: SelectSubset<T, StatusDeleteArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Status.
     * @param {StatusUpdateArgs} args - Arguments to update one Status.
     * @example
     * // Update one Status
     * const status = await prisma.status.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends StatusUpdateArgs>(args: SelectSubset<T, StatusUpdateArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Statuses.
     * @param {StatusDeleteManyArgs} args - Arguments to filter Statuses to delete.
     * @example
     * // Delete a few Statuses
     * const { count } = await prisma.status.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends StatusDeleteManyArgs>(args?: SelectSubset<T, StatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Statuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Statuses
     * const status = await prisma.status.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends StatusUpdateManyArgs>(args: SelectSubset<T, StatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Status.
     * @param {StatusUpsertArgs} args - Arguments to update or create a Status.
     * @example
     * // Update or create a Status
     * const status = await prisma.status.upsert({
     *   create: {
     *     // ... data to create a Status
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Status we want to update
     *   }
     * })
     */
    upsert<T extends StatusUpsertArgs>(args: SelectSubset<T, StatusUpsertArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Statuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusCountArgs} args - Arguments to filter Statuses to count.
     * @example
     * // Count the number of Statuses
     * const count = await prisma.status.count({
     *   where: {
     *     // ... the filter for the Statuses we want to count
     *   }
     * })
    **/
    count<T extends StatusCountArgs>(
      args?: Subset<T, StatusCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], StatusCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Status.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends StatusAggregateArgs>(args: Subset<T, StatusAggregateArgs>): Prisma.PrismaPromise<GetStatusAggregateType<T>>

    /**
     * Group by Status.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {StatusGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends StatusGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: StatusGroupByArgs['orderBy'] }
        : { orderBy?: StatusGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, StatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Status model
   */
  readonly fields: StatusFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Status.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__StatusClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends Status$statusArgs<ExtArgs> = {}>(args?: Subset<T, Status$statusArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    status_list<T extends Status$status_listArgs<ExtArgs> = {}>(args?: Subset<T, Status$status_listArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_images<T extends Status$shipment_imagesArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_imagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findMany"> | Null>
    users<T extends Status$usersArgs<ExtArgs> = {}>(args?: Subset<T, Status$usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany"> | Null>
    request_logs<T extends Status$request_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$request_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RequestLogPayload<ExtArgs>, T, "findMany"> | Null>
    permissions<T extends Status$permissionsArgs<ExtArgs> = {}>(args?: Subset<T, Status$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PermissionsPayload<ExtArgs>, T, "findMany"> | Null>
    roles<T extends Status$rolesArgs<ExtArgs> = {}>(args?: Subset<T, Status$rolesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany"> | Null>
    languages<T extends Status$languagesArgs<ExtArgs> = {}>(args?: Subset<T, Status$languagesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguagePayload<ExtArgs>, T, "findMany"> | Null>
    language_contents<T extends Status$language_contentsArgs<ExtArgs> = {}>(args?: Subset<T, Status$language_contentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$LanguageContentPayload<ExtArgs>, T, "findMany"> | Null>
    menuitems<T extends Status$menuitemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$menuitemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenuItemsPayload<ExtArgs>, T, "findMany"> | Null>
    menus<T extends Status$menusArgs<ExtArgs> = {}>(args?: Subset<T, Status$menusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MenusPayload<ExtArgs>, T, "findMany"> | Null>
    master_grids<T extends Status$master_gridsArgs<ExtArgs> = {}>(args?: Subset<T, Status$master_gridsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityPayload<ExtArgs>, T, "findMany"> | Null>
    master_grid_line_items<T extends Status$master_grid_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$master_grid_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MasterEntityLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    field_types<T extends Status$field_typesArgs<ExtArgs> = {}>(args?: Subset<T, Status$field_typesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FieldTypePayload<ExtArgs>, T, "findMany"> | Null>
    menu_types<T extends Status$menu_typesArgs<ExtArgs> = {}>(args?: Subset<T, Status$menu_typesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$menuTypePayload<ExtArgs>, T, "findMany"> | Null>
    notification_template_processes<T extends Status$notification_template_processesArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_template_processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateProcessPayload<ExtArgs>, T, "findMany"> | Null>
    notification_template_tags<T extends Status$notification_template_tagsArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_template_tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateTagPayload<ExtArgs>, T, "findMany"> | Null>
    notification_template_receiver_tags<T extends Status$notification_template_receiver_tagsArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_template_receiver_tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplateRecipientTagPayload<ExtArgs>, T, "findMany"> | Null>
    notification_templates<T extends Status$notification_templatesArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    notification_process_jobs<T extends Status$notification_process_jobsArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_process_jobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationProcessJobPayload<ExtArgs>, T, "findMany"> | Null>
    notification_job<T extends Status$notification_jobArgs<ExtArgs> = {}>(args?: Subset<T, Status$notification_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationJobPayload<ExtArgs>, T, "findMany"> | Null>
    import_templates<T extends Status$import_templatesArgs<ExtArgs> = {}>(args?: Subset<T, Status$import_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    import_template_line_items<T extends Status$import_template_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$import_template_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    import_template_queries<T extends Status$import_template_queriesArgs<ExtArgs> = {}>(args?: Subset<T, Status$import_template_queriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportTemplateQueriesPayload<ExtArgs>, T, "findMany"> | Null>
    export_templates<T extends Status$export_templatesArgs<ExtArgs> = {}>(args?: Subset<T, Status$export_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    export_template_line_items<T extends Status$export_template_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$export_template_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    export_template_queries<T extends Status$export_template_queriesArgs<ExtArgs> = {}>(args?: Subset<T, Status$export_template_queriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ExportTemplateQueriesPayload<ExtArgs>, T, "findMany"> | Null>
    designations<T extends Status$designationsArgs<ExtArgs> = {}>(args?: Subset<T, Status$designationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DesignationPayload<ExtArgs>, T, "findMany"> | Null>
    departments<T extends Status$departmentsArgs<ExtArgs> = {}>(args?: Subset<T, Status$departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findMany"> | Null>
    audit_logs<T extends Status$audit_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$audit_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany"> | Null>
    financial_years<T extends Status$financial_yearsArgs<ExtArgs> = {}>(args?: Subset<T, Status$financial_yearsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FinancialYearPayload<ExtArgs>, T, "findMany"> | Null>
    document_sequences<T extends Status$document_sequencesArgs<ExtArgs> = {}>(args?: Subset<T, Status$document_sequencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DocumentSequencePayload<ExtArgs>, T, "findMany"> | Null>
    file_upload_logs<T extends Status$file_upload_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$file_upload_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findMany"> | Null>
    device_registration<T extends Status$device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, Status$device_registrationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany"> | Null>
    import_job<T extends Status$import_jobArgs<ExtArgs> = {}>(args?: Subset<T, Status$import_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobPayload<ExtArgs>, T, "findMany"> | Null>
    import_job_line_items<T extends Status$import_job_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$import_job_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImportJobLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    policies<T extends Status$policiesArgs<ExtArgs> = {}>(args?: Subset<T, Status$policiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    app_versions<T extends Status$app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Status$app_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflows<T extends Status$approval_workflowsArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_workflowsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findMany"> | Null>
    approval_process_job_workflows<T extends Status$approval_process_job_workflowsArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_process_job_workflowsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflow_approver_tags<T extends Status$approval_workflow_approver_tagsArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_workflow_approver_tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findMany"> | Null>
    approval_workflow_assignments<T extends Status$approval_workflow_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_workflow_assignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    approval_process_job<T extends Status$approval_process_jobArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_process_jobArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findMany"> | Null>
    approval_process_job_workflow_users<T extends Status$approval_process_job_workflow_usersArgs<ExtArgs> = {}>(args?: Subset<T, Status$approval_process_job_workflow_usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findMany"> | Null>
    delegations<T extends Status$delegationsArgs<ExtArgs> = {}>(args?: Subset<T, Status$delegationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findMany"> | Null>
    about_lcp<T extends Status$about_lcpArgs<ExtArgs> = {}>(args?: Subset<T, Status$about_lcpArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AboutLCPPayload<ExtArgs>, T, "findMany"> | Null>
    schema_chunks<T extends Status$schema_chunksArgs<ExtArgs> = {}>(args?: Subset<T, Status$schema_chunksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findMany"> | Null>
    openai_usage_logs<T extends Status$openai_usage_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$openai_usage_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findMany"> | Null>
    embedding_vector_logs<T extends Status$embedding_vector_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$embedding_vector_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findMany"> | Null>
    query_execution_log<T extends Status$query_execution_logArgs<ExtArgs> = {}>(args?: Subset<T, Status$query_execution_logArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findMany"> | Null>
    child_processes<T extends Status$child_processesArgs<ExtArgs> = {}>(args?: Subset<T, Status$child_processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findMany"> | Null>
    child_process_logs<T extends Status$child_process_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$child_process_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findMany"> | Null>
    carousel_templates<T extends Status$carousel_templatesArgs<ExtArgs> = {}>(args?: Subset<T, Status$carousel_templatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplatePayload<ExtArgs>, T, "findMany"> | Null>
    carousel_template_line_items<T extends Status$carousel_template_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$carousel_template_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CarouselTemplateLineItemPayload<ExtArgs>, T, "findMany"> | Null>
    scheduled_job_logs<T extends Status$scheduled_job_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$scheduled_job_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findMany"> | Null>
    scheduled_jobs<T extends Status$scheduled_jobsArgs<ExtArgs> = {}>(args?: Subset<T, Status$scheduled_jobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findMany"> | Null>
    app_categories<T extends Status$app_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, Status$app_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany"> | Null>
    theme_attributes<T extends Status$theme_attributesArgs<ExtArgs> = {}>(args?: Subset<T, Status$theme_attributesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findMany"> | Null>
    themes<T extends Status$themesArgs<ExtArgs> = {}>(args?: Subset<T, Status$themesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findMany"> | Null>
    theme_line_items<T extends Status$theme_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$theme_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    barcodeTemplates<T extends Status$barcodeTemplatesArgs<ExtArgs> = {}>(args?: Subset<T, Status$barcodeTemplatesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findMany"> | Null>
    user_login_histories<T extends Status$user_login_historiesArgs<ExtArgs> = {}>(args?: Subset<T, Status$user_login_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    direct_import_details<T extends Status$direct_import_detailsArgs<ExtArgs> = {}>(args?: Subset<T, Status$direct_import_detailsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DirectImportDetailsPayload<ExtArgs>, T, "findMany"> | Null>
    delivery_notes<T extends Status$delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, Status$delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    delivery_note_line_items<T extends Status$delivery_note_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$delivery_note_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    customers_delivery_addresses<T extends Status$customers_delivery_addressesArgs<ExtArgs> = {}>(args?: Subset<T, Status$customers_delivery_addressesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findMany"> | Null>
    shipments<T extends Status$shipmentsArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_customers<T extends Status$shipment_customersArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_customersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_location<T extends Status$shipment_locationArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_delivery_notes<T extends Status$shipment_delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    vehicles<T extends Status$vehiclesArgs<ExtArgs> = {}>(args?: Subset<T, Status$vehiclesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_gps_data<T extends Status$vehicle_gps_dataArgs<ExtArgs> = {}>(args?: Subset<T, Status$vehicle_gps_dataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findMany"> | Null>
    geofences<T extends Status$geofencesArgs<ExtArgs> = {}>(args?: Subset<T, Status$geofencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findMany"> | Null>
    geofence_tracking<T extends Status$geofence_trackingArgs<ExtArgs> = {}>(args?: Subset<T, Status$geofence_trackingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findMany"> | Null>
    customer_geofence_mapping<T extends Status$customer_geofence_mappingArgs<ExtArgs> = {}>(args?: Subset<T, Status$customer_geofence_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findMany"> | Null>
    delivery_note_status<T extends Status$delivery_note_statusArgs<ExtArgs> = {}>(args?: Subset<T, Status$delivery_note_statusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findMany"> | Null>
    erp_logs<T extends Status$erp_logsArgs<ExtArgs> = {}>(args?: Subset<T, Status$erp_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findMany"> | Null>
    erp_logs_line_items<T extends Status$erp_logs_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, Status$erp_logs_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_user_mapping<T extends Status$vehicle_user_mappingArgs<ExtArgs> = {}>(args?: Subset<T, Status$vehicle_user_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history<T extends Status$vehicle_geofence_historyArgs<ExtArgs> = {}>(args?: Subset<T, Status$vehicle_geofence_historyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    temp_session_data<T extends Status$temp_session_dataArgs<ExtArgs> = {}>(args?: Subset<T, Status$temp_session_dataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_status<T extends Status$shipment_statusArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_statusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_status_history<T extends Status$shipment_status_historyArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_status_historyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    pod_status<T extends Status$pod_statusArgs<ExtArgs> = {}>(args?: Subset<T, Status$pod_statusArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_trip_histories<T extends Status$vehicle_trip_historiesArgs<ExtArgs> = {}>(args?: Subset<T, Status$vehicle_trip_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_location_contact_info_histories<T extends Status$shipment_location_contact_info_historiesArgs<ExtArgs> = {}>(args?: Subset<T, Status$shipment_location_contact_info_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    tree_builder_examples<T extends Status$tree_builder_examplesArgs<ExtArgs> = {}>(args?: Subset<T, Status$tree_builder_examplesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findMany"> | Null>
    user_search_configurations<T extends Status$user_search_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Status$user_search_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$userSearchConfigurationPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Status model
   */ 
  interface StatusFieldRefs {
    readonly id: FieldRef<"Status", 'Int'>
    readonly name: FieldRef<"Status", 'String'>
    readonly slug: FieldRef<"Status", 'String'>
    readonly description: FieldRef<"Status", 'String'>
    readonly status_id: FieldRef<"Status", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * Status findUnique
   */
  export type StatusFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter, which Status to fetch.
     */
    where: StatusWhereUniqueInput
  }

  /**
   * Status findUniqueOrThrow
   */
  export type StatusFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter, which Status to fetch.
     */
    where: StatusWhereUniqueInput
  }

  /**
   * Status findFirst
   */
  export type StatusFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter, which Status to fetch.
     */
    where?: StatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Statuses to fetch.
     */
    orderBy?: StatusOrderByWithRelationInput | StatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Statuses.
     */
    cursor?: StatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Statuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Statuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Statuses.
     */
    distinct?: StatusScalarFieldEnum | StatusScalarFieldEnum[]
  }

  /**
   * Status findFirstOrThrow
   */
  export type StatusFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter, which Status to fetch.
     */
    where?: StatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Statuses to fetch.
     */
    orderBy?: StatusOrderByWithRelationInput | StatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Statuses.
     */
    cursor?: StatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Statuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Statuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Statuses.
     */
    distinct?: StatusScalarFieldEnum | StatusScalarFieldEnum[]
  }

  /**
   * Status findMany
   */
  export type StatusFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter, which Statuses to fetch.
     */
    where?: StatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Statuses to fetch.
     */
    orderBy?: StatusOrderByWithRelationInput | StatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Statuses.
     */
    cursor?: StatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Statuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Statuses.
     */
    skip?: number
    distinct?: StatusScalarFieldEnum | StatusScalarFieldEnum[]
  }

  /**
   * Status create
   */
  export type StatusCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * The data needed to create a Status.
     */
    data: XOR<StatusCreateInput, StatusUncheckedCreateInput>
  }

  /**
   * Status createMany
   */
  export type StatusCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Statuses.
     */
    data: StatusCreateManyInput | StatusCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Status createManyAndReturn
   */
  export type StatusCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Statuses.
     */
    data: StatusCreateManyInput | StatusCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Status update
   */
  export type StatusUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * The data needed to update a Status.
     */
    data: XOR<StatusUpdateInput, StatusUncheckedUpdateInput>
    /**
     * Choose, which Status to update.
     */
    where: StatusWhereUniqueInput
  }

  /**
   * Status updateMany
   */
  export type StatusUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Statuses.
     */
    data: XOR<StatusUpdateManyMutationInput, StatusUncheckedUpdateManyInput>
    /**
     * Filter which Statuses to update
     */
    where?: StatusWhereInput
  }

  /**
   * Status upsert
   */
  export type StatusUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * The filter to search for the Status to update in case it exists.
     */
    where: StatusWhereUniqueInput
    /**
     * In case the Status found by the `where` argument doesn't exist, create a new Status with this data.
     */
    create: XOR<StatusCreateInput, StatusUncheckedCreateInput>
    /**
     * In case the Status was found with the provided `where` argument, update it with this data.
     */
    update: XOR<StatusUpdateInput, StatusUncheckedUpdateInput>
  }

  /**
   * Status delete
   */
  export type StatusDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    /**
     * Filter which Status to delete.
     */
    where: StatusWhereUniqueInput
  }

  /**
   * Status deleteMany
   */
  export type StatusDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Statuses to delete
     */
    where?: StatusWhereInput
  }

  /**
   * Status.status
   */
  export type Status$statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    where?: StatusWhereInput
  }

  /**
   * Status.status_list
   */
  export type Status$status_listArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    where?: StatusWhereInput
    orderBy?: StatusOrderByWithRelationInput | StatusOrderByWithRelationInput[]
    cursor?: StatusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: StatusScalarFieldEnum | StatusScalarFieldEnum[]
  }

  /**
   * Status.shipment_images
   */
  export type Status$shipment_imagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    where?: ShipmentImagesWhereInput
    orderBy?: ShipmentImagesOrderByWithRelationInput | ShipmentImagesOrderByWithRelationInput[]
    cursor?: ShipmentImagesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentImagesScalarFieldEnum | ShipmentImagesScalarFieldEnum[]
  }

  /**
   * Status.users
   */
  export type Status$usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
    orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
    cursor?: UserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
  }

  /**
   * Status.request_logs
   */
  export type Status$request_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RequestLog
     */
    select?: RequestLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RequestLogInclude<ExtArgs> | null
    where?: RequestLogWhereInput
    orderBy?: RequestLogOrderByWithRelationInput | RequestLogOrderByWithRelationInput[]
    cursor?: RequestLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RequestLogScalarFieldEnum | RequestLogScalarFieldEnum[]
  }

  /**
   * Status.permissions
   */
  export type Status$permissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Permissions
     */
    select?: PermissionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PermissionsInclude<ExtArgs> | null
    where?: PermissionsWhereInput
    orderBy?: PermissionsOrderByWithRelationInput | PermissionsOrderByWithRelationInput[]
    cursor?: PermissionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PermissionsScalarFieldEnum | PermissionsScalarFieldEnum[]
  }

  /**
   * Status.roles
   */
  export type Status$rolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Role
     */
    select?: RoleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RoleInclude<ExtArgs> | null
    where?: RoleWhereInput
    orderBy?: RoleOrderByWithRelationInput | RoleOrderByWithRelationInput[]
    cursor?: RoleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RoleScalarFieldEnum | RoleScalarFieldEnum[]
  }

  /**
   * Status.languages
   */
  export type Status$languagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Language
     */
    select?: LanguageSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageInclude<ExtArgs> | null
    where?: LanguageWhereInput
    orderBy?: LanguageOrderByWithRelationInput | LanguageOrderByWithRelationInput[]
    cursor?: LanguageWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageScalarFieldEnum | LanguageScalarFieldEnum[]
  }

  /**
   * Status.language_contents
   */
  export type Status$language_contentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the LanguageContent
     */
    select?: LanguageContentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: LanguageContentInclude<ExtArgs> | null
    where?: LanguageContentWhereInput
    orderBy?: LanguageContentOrderByWithRelationInput | LanguageContentOrderByWithRelationInput[]
    cursor?: LanguageContentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: LanguageContentScalarFieldEnum | LanguageContentScalarFieldEnum[]
  }

  /**
   * Status.menuitems
   */
  export type Status$menuitemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MenuItems
     */
    select?: MenuItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenuItemsInclude<ExtArgs> | null
    where?: MenuItemsWhereInput
    orderBy?: MenuItemsOrderByWithRelationInput | MenuItemsOrderByWithRelationInput[]
    cursor?: MenuItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuItemsScalarFieldEnum | MenuItemsScalarFieldEnum[]
  }

  /**
   * Status.menus
   */
  export type Status$menusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Menus
     */
    select?: MenusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MenusInclude<ExtArgs> | null
    where?: MenusWhereInput
    orderBy?: MenusOrderByWithRelationInput | MenusOrderByWithRelationInput[]
    cursor?: MenusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenusScalarFieldEnum | MenusScalarFieldEnum[]
  }

  /**
   * Status.master_grids
   */
  export type Status$master_gridsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntity
     */
    select?: MasterEntitySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityInclude<ExtArgs> | null
    where?: MasterEntityWhereInput
    orderBy?: MasterEntityOrderByWithRelationInput | MasterEntityOrderByWithRelationInput[]
    cursor?: MasterEntityWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MasterEntityScalarFieldEnum | MasterEntityScalarFieldEnum[]
  }

  /**
   * Status.master_grid_line_items
   */
  export type Status$master_grid_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the MasterEntityLineItem
     */
    select?: MasterEntityLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: MasterEntityLineItemInclude<ExtArgs> | null
    where?: MasterEntityLineItemWhereInput
    orderBy?: MasterEntityLineItemOrderByWithRelationInput | MasterEntityLineItemOrderByWithRelationInput[]
    cursor?: MasterEntityLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MasterEntityLineItemScalarFieldEnum | MasterEntityLineItemScalarFieldEnum[]
  }

  /**
   * Status.field_types
   */
  export type Status$field_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FieldType
     */
    select?: FieldTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FieldTypeInclude<ExtArgs> | null
    where?: FieldTypeWhereInput
    orderBy?: FieldTypeOrderByWithRelationInput | FieldTypeOrderByWithRelationInput[]
    cursor?: FieldTypeWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FieldTypeScalarFieldEnum | FieldTypeScalarFieldEnum[]
  }

  /**
   * Status.menu_types
   */
  export type Status$menu_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the menuType
     */
    select?: menuTypeSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: menuTypeInclude<ExtArgs> | null
    where?: menuTypeWhereInput
    orderBy?: menuTypeOrderByWithRelationInput | menuTypeOrderByWithRelationInput[]
    cursor?: menuTypeWhereUniqueInput
    take?: number
    skip?: number
    distinct?: MenuTypeScalarFieldEnum | MenuTypeScalarFieldEnum[]
  }

  /**
   * Status.notification_template_processes
   */
  export type Status$notification_template_processesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateProcess
     */
    select?: NotificationTemplateProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateProcessInclude<ExtArgs> | null
    where?: NotificationTemplateProcessWhereInput
    orderBy?: NotificationTemplateProcessOrderByWithRelationInput | NotificationTemplateProcessOrderByWithRelationInput[]
    cursor?: NotificationTemplateProcessWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateProcessScalarFieldEnum | NotificationTemplateProcessScalarFieldEnum[]
  }

  /**
   * Status.notification_template_tags
   */
  export type Status$notification_template_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateTag
     */
    select?: NotificationTemplateTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateTagInclude<ExtArgs> | null
    where?: NotificationTemplateTagWhereInput
    orderBy?: NotificationTemplateTagOrderByWithRelationInput | NotificationTemplateTagOrderByWithRelationInput[]
    cursor?: NotificationTemplateTagWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateTagScalarFieldEnum | NotificationTemplateTagScalarFieldEnum[]
  }

  /**
   * Status.notification_template_receiver_tags
   */
  export type Status$notification_template_receiver_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplateRecipientTag
     */
    select?: NotificationTemplateRecipientTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateRecipientTagInclude<ExtArgs> | null
    where?: NotificationTemplateRecipientTagWhereInput
    orderBy?: NotificationTemplateRecipientTagOrderByWithRelationInput | NotificationTemplateRecipientTagOrderByWithRelationInput[]
    cursor?: NotificationTemplateRecipientTagWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateRecipientTagScalarFieldEnum | NotificationTemplateRecipientTagScalarFieldEnum[]
  }

  /**
   * Status.notification_templates
   */
  export type Status$notification_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
    orderBy?: NotificationTemplateOrderByWithRelationInput | NotificationTemplateOrderByWithRelationInput[]
    cursor?: NotificationTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationTemplateScalarFieldEnum | NotificationTemplateScalarFieldEnum[]
  }

  /**
   * Status.notification_process_jobs
   */
  export type Status$notification_process_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationProcessJob
     */
    select?: NotificationProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationProcessJobInclude<ExtArgs> | null
    where?: NotificationProcessJobWhereInput
    orderBy?: NotificationProcessJobOrderByWithRelationInput | NotificationProcessJobOrderByWithRelationInput[]
    cursor?: NotificationProcessJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationProcessJobScalarFieldEnum | NotificationProcessJobScalarFieldEnum[]
  }

  /**
   * Status.notification_job
   */
  export type Status$notification_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationJob
     */
    select?: NotificationJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationJobInclude<ExtArgs> | null
    where?: NotificationJobWhereInput
    orderBy?: NotificationJobOrderByWithRelationInput | NotificationJobOrderByWithRelationInput[]
    cursor?: NotificationJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: NotificationJobScalarFieldEnum | NotificationJobScalarFieldEnum[]
  }

  /**
   * Status.import_templates
   */
  export type Status$import_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplate
     */
    select?: ImportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateInclude<ExtArgs> | null
    where?: ImportTemplateWhereInput
    orderBy?: ImportTemplateOrderByWithRelationInput | ImportTemplateOrderByWithRelationInput[]
    cursor?: ImportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateScalarFieldEnum | ImportTemplateScalarFieldEnum[]
  }

  /**
   * Status.import_template_line_items
   */
  export type Status$import_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateLineItem
     */
    select?: ImportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateLineItemInclude<ExtArgs> | null
    where?: ImportTemplateLineItemWhereInput
    orderBy?: ImportTemplateLineItemOrderByWithRelationInput | ImportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ImportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateLineItemScalarFieldEnum | ImportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * Status.import_template_queries
   */
  export type Status$import_template_queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportTemplateQueries
     */
    select?: ImportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportTemplateQueriesInclude<ExtArgs> | null
    where?: ImportTemplateQueriesWhereInput
    orderBy?: ImportTemplateQueriesOrderByWithRelationInput | ImportTemplateQueriesOrderByWithRelationInput[]
    cursor?: ImportTemplateQueriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportTemplateQueriesScalarFieldEnum | ImportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * Status.export_templates
   */
  export type Status$export_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplate
     */
    select?: ExportTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateInclude<ExtArgs> | null
    where?: ExportTemplateWhereInput
    orderBy?: ExportTemplateOrderByWithRelationInput | ExportTemplateOrderByWithRelationInput[]
    cursor?: ExportTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateScalarFieldEnum | ExportTemplateScalarFieldEnum[]
  }

  /**
   * Status.export_template_line_items
   */
  export type Status$export_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateLineItem
     */
    select?: ExportTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateLineItemInclude<ExtArgs> | null
    where?: ExportTemplateLineItemWhereInput
    orderBy?: ExportTemplateLineItemOrderByWithRelationInput | ExportTemplateLineItemOrderByWithRelationInput[]
    cursor?: ExportTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateLineItemScalarFieldEnum | ExportTemplateLineItemScalarFieldEnum[]
  }

  /**
   * Status.export_template_queries
   */
  export type Status$export_template_queriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ExportTemplateQueries
     */
    select?: ExportTemplateQueriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ExportTemplateQueriesInclude<ExtArgs> | null
    where?: ExportTemplateQueriesWhereInput
    orderBy?: ExportTemplateQueriesOrderByWithRelationInput | ExportTemplateQueriesOrderByWithRelationInput[]
    cursor?: ExportTemplateQueriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ExportTemplateQueriesScalarFieldEnum | ExportTemplateQueriesScalarFieldEnum[]
  }

  /**
   * Status.designations
   */
  export type Status$designationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Designation
     */
    select?: DesignationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DesignationInclude<ExtArgs> | null
    where?: DesignationWhereInput
    orderBy?: DesignationOrderByWithRelationInput | DesignationOrderByWithRelationInput[]
    cursor?: DesignationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DesignationScalarFieldEnum | DesignationScalarFieldEnum[]
  }

  /**
   * Status.departments
   */
  export type Status$departmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Department
     */
    select?: DepartmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DepartmentInclude<ExtArgs> | null
    where?: DepartmentWhereInput
    orderBy?: DepartmentOrderByWithRelationInput | DepartmentOrderByWithRelationInput[]
    cursor?: DepartmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DepartmentScalarFieldEnum | DepartmentScalarFieldEnum[]
  }

  /**
   * Status.audit_logs
   */
  export type Status$audit_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AuditLog
     */
    select?: AuditLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AuditLogInclude<ExtArgs> | null
    where?: AuditLogWhereInput
    orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
    cursor?: AuditLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
  }

  /**
   * Status.financial_years
   */
  export type Status$financial_yearsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FinancialYear
     */
    select?: FinancialYearSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FinancialYearInclude<ExtArgs> | null
    where?: FinancialYearWhereInput
    orderBy?: FinancialYearOrderByWithRelationInput | FinancialYearOrderByWithRelationInput[]
    cursor?: FinancialYearWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FinancialYearScalarFieldEnum | FinancialYearScalarFieldEnum[]
  }

  /**
   * Status.document_sequences
   */
  export type Status$document_sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DocumentSequence
     */
    select?: DocumentSequenceSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DocumentSequenceInclude<ExtArgs> | null
    where?: DocumentSequenceWhereInput
    orderBy?: DocumentSequenceOrderByWithRelationInput | DocumentSequenceOrderByWithRelationInput[]
    cursor?: DocumentSequenceWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DocumentSequenceScalarFieldEnum | DocumentSequenceScalarFieldEnum[]
  }

  /**
   * Status.file_upload_logs
   */
  export type Status$file_upload_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    where?: FileUploadLogWhereInput
    orderBy?: FileUploadLogOrderByWithRelationInput | FileUploadLogOrderByWithRelationInput[]
    cursor?: FileUploadLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: FileUploadLogScalarFieldEnum | FileUploadLogScalarFieldEnum[]
  }

  /**
   * Status.device_registration
   */
  export type Status$device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    cursor?: DeviceRegistrationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * Status.import_job
   */
  export type Status$import_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJob
     */
    select?: ImportJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobInclude<ExtArgs> | null
    where?: ImportJobWhereInput
    orderBy?: ImportJobOrderByWithRelationInput | ImportJobOrderByWithRelationInput[]
    cursor?: ImportJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobScalarFieldEnum | ImportJobScalarFieldEnum[]
  }

  /**
   * Status.import_job_line_items
   */
  export type Status$import_job_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ImportJobLineItem
     */
    select?: ImportJobLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ImportJobLineItemInclude<ExtArgs> | null
    where?: ImportJobLineItemWhereInput
    orderBy?: ImportJobLineItemOrderByWithRelationInput | ImportJobLineItemOrderByWithRelationInput[]
    cursor?: ImportJobLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ImportJobLineItemScalarFieldEnum | ImportJobLineItemScalarFieldEnum[]
  }

  /**
   * Status.policies
   */
  export type Status$policiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    where?: PoliciesWhereInput
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    cursor?: PoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * Status.app_versions
   */
  export type Status$app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    where?: AppversionsWhereInput
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    cursor?: AppversionsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * Status.approval_workflows
   */
  export type Status$approval_workflowsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    where?: ApprovalWorkflowWhereInput
    orderBy?: ApprovalWorkflowOrderByWithRelationInput | ApprovalWorkflowOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowScalarFieldEnum | ApprovalWorkflowScalarFieldEnum[]
  }

  /**
   * Status.approval_process_job_workflows
   */
  export type Status$approval_process_job_workflowsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    where?: ApprovalProcessJobWorkflowWhereInput
    orderBy?: ApprovalProcessJobWorkflowOrderByWithRelationInput | ApprovalProcessJobWorkflowOrderByWithRelationInput[]
    cursor?: ApprovalProcessJobWorkflowWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalProcessJobWorkflowScalarFieldEnum | ApprovalProcessJobWorkflowScalarFieldEnum[]
  }

  /**
   * Status.approval_workflow_approver_tags
   */
  export type Status$approval_workflow_approver_tagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    where?: ApprovalWorkflowApproverTagWhereInput
    orderBy?: ApprovalWorkflowApproverTagOrderByWithRelationInput | ApprovalWorkflowApproverTagOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowApproverTagWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowApproverTagScalarFieldEnum | ApprovalWorkflowApproverTagScalarFieldEnum[]
  }

  /**
   * Status.approval_workflow_assignments
   */
  export type Status$approval_workflow_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * Status.approval_process_job
   */
  export type Status$approval_process_jobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    where?: ApprovalProcessJobWhereInput
    orderBy?: ApprovalProcessJobOrderByWithRelationInput | ApprovalProcessJobOrderByWithRelationInput[]
    cursor?: ApprovalProcessJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalProcessJobScalarFieldEnum | ApprovalProcessJobScalarFieldEnum[]
  }

  /**
   * Status.approval_process_job_workflow_users
   */
  export type Status$approval_process_job_workflow_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    where?: ApprovalProcessJobWorkflowUserWhereInput
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalProcessJobWorkflowUserScalarFieldEnum | ApprovalProcessJobWorkflowUserScalarFieldEnum[]
  }

  /**
   * Status.delegations
   */
  export type Status$delegationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    where?: DelegationWhereInput
    orderBy?: DelegationOrderByWithRelationInput | DelegationOrderByWithRelationInput[]
    cursor?: DelegationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DelegationScalarFieldEnum | DelegationScalarFieldEnum[]
  }

  /**
   * Status.about_lcp
   */
  export type Status$about_lcpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the AboutLCP
     */
    select?: AboutLCPSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AboutLCPInclude<ExtArgs> | null
    where?: AboutLCPWhereInput
    orderBy?: AboutLCPOrderByWithRelationInput | AboutLCPOrderByWithRelationInput[]
    cursor?: AboutLCPWhereUniqueInput
    take?: number
    skip?: number
    distinct?: AboutLCPScalarFieldEnum | AboutLCPScalarFieldEnum[]
  }

  /**
   * Status.schema_chunks
   */
  export type Status$schema_chunksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    where?: SchemaChunkWhereInput
    orderBy?: SchemaChunkOrderByWithRelationInput | SchemaChunkOrderByWithRelationInput[]
    cursor?: SchemaChunkWhereUniqueInput
    take?: number
    skip?: number
    distinct?: SchemaChunkScalarFieldEnum | SchemaChunkScalarFieldEnum[]
  }

  /**
   * Status.openai_usage_logs
   */
  export type Status$openai_usage_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    where?: OpenaiUsageLogWhereInput
    orderBy?: OpenaiUsageLogOrderByWithRelationInput | OpenaiUsageLogOrderByWithRelationInput[]
    cursor?: OpenaiUsageLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: OpenaiUsageLogScalarFieldEnum | OpenaiUsageLogScalarFieldEnum[]
  }

  /**
   * Status.embedding_vector_logs
   */
  export type Status$embedding_vector_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    where?: EmbeddingVectorLogsWhereInput
    orderBy?: EmbeddingVectorLogsOrderByWithRelationInput | EmbeddingVectorLogsOrderByWithRelationInput[]
    cursor?: EmbeddingVectorLogsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: EmbeddingVectorLogsScalarFieldEnum | EmbeddingVectorLogsScalarFieldEnum[]
  }

  /**
   * Status.query_execution_log
   */
  export type Status$query_execution_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    where?: QueryExecutionLogWhereInput
    orderBy?: QueryExecutionLogOrderByWithRelationInput | QueryExecutionLogOrderByWithRelationInput[]
    cursor?: QueryExecutionLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: QueryExecutionLogScalarFieldEnum | QueryExecutionLogScalarFieldEnum[]
  }

  /**
   * Status.child_processes
   */
  export type Status$child_processesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    where?: ChildProcessWhereInput
    orderBy?: ChildProcessOrderByWithRelationInput | ChildProcessOrderByWithRelationInput[]
    cursor?: ChildProcessWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ChildProcessScalarFieldEnum | ChildProcessScalarFieldEnum[]
  }

  /**
   * Status.child_process_logs
   */
  export type Status$child_process_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    where?: ChildProcessLogWhereInput
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    cursor?: ChildProcessLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * Status.carousel_templates
   */
  export type Status$carousel_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplate
     */
    select?: CarouselTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateInclude<ExtArgs> | null
    where?: CarouselTemplateWhereInput
    orderBy?: CarouselTemplateOrderByWithRelationInput | CarouselTemplateOrderByWithRelationInput[]
    cursor?: CarouselTemplateWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateScalarFieldEnum | CarouselTemplateScalarFieldEnum[]
  }

  /**
   * Status.carousel_template_line_items
   */
  export type Status$carousel_template_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CarouselTemplateLineItem
     */
    select?: CarouselTemplateLineItemSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CarouselTemplateLineItemInclude<ExtArgs> | null
    where?: CarouselTemplateLineItemWhereInput
    orderBy?: CarouselTemplateLineItemOrderByWithRelationInput | CarouselTemplateLineItemOrderByWithRelationInput[]
    cursor?: CarouselTemplateLineItemWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CarouselTemplateLineItemScalarFieldEnum | CarouselTemplateLineItemScalarFieldEnum[]
  }

  /**
   * Status.scheduled_job_logs
   */
  export type Status$scheduled_job_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    where?: ScheduledJobLogsWhereInput
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    cursor?: ScheduledJobLogsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ScheduledJobLogsScalarFieldEnum | ScheduledJobLogsScalarFieldEnum[]
  }

  /**
   * Status.scheduled_jobs
   */
  export type Status$scheduled_jobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    where?: ScheduledJobWhereInput
    orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
    cursor?: ScheduledJobWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
  }

  /**
   * Status.app_categories
   */
  export type Status$app_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    cursor?: CategoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * Status.theme_attributes
   */
  export type Status$theme_attributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    where?: ThemeAttributesWhereInput
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    cursor?: ThemeAttributesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * Status.themes
   */
  export type Status$themesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    where?: ThemesWhereInput
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    cursor?: ThemesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * Status.theme_line_items
   */
  export type Status$theme_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    cursor?: ThemeLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * Status.barcodeTemplates
   */
  export type Status$barcodeTemplatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    where?: BarcodeTemplatesWhereInput
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    cursor?: BarcodeTemplatesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * Status.user_login_histories
   */
  export type Status$user_login_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    where?: UserLoginHistoryWhereInput
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    cursor?: UserLoginHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserLoginHistoryScalarFieldEnum | UserLoginHistoryScalarFieldEnum[]
  }

  /**
   * Status.direct_import_details
   */
  export type Status$direct_import_detailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DirectImportDetails
     */
    select?: DirectImportDetailsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DirectImportDetailsInclude<ExtArgs> | null
    where?: DirectImportDetailsWhereInput
    orderBy?: DirectImportDetailsOrderByWithRelationInput | DirectImportDetailsOrderByWithRelationInput[]
    cursor?: DirectImportDetailsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DirectImportDetailsScalarFieldEnum | DirectImportDetailsScalarFieldEnum[]
  }

  /**
   * Status.delivery_notes
   */
  export type Status$delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    where?: DeliveryNotesWhereInput
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    cursor?: DeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * Status.delivery_note_line_items
   */
  export type Status$delivery_note_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    where?: DeliveryNoteLineItemsWhereInput
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNoteLineItemsScalarFieldEnum | DeliveryNoteLineItemsScalarFieldEnum[]
  }

  /**
   * Status.customers_delivery_addresses
   */
  export type Status$customers_delivery_addressesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    where?: CustomerDeliveryAddressesWhereInput
    orderBy?: CustomerDeliveryAddressesOrderByWithRelationInput | CustomerDeliveryAddressesOrderByWithRelationInput[]
    cursor?: CustomerDeliveryAddressesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CustomerDeliveryAddressesScalarFieldEnum | CustomerDeliveryAddressesScalarFieldEnum[]
  }

  /**
   * Status.shipments
   */
  export type Status$shipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    where?: ShipmentsWhereInput
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    cursor?: ShipmentsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * Status.shipment_customers
   */
  export type Status$shipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    where?: ShipmentCustomersWhereInput
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    cursor?: ShipmentCustomersWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * Status.shipment_location
   */
  export type Status$shipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * Status.shipment_delivery_notes
   */
  export type Status$shipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * Status.vehicles
   */
  export type Status$vehiclesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    where?: VehiclesWhereInput
    orderBy?: VehiclesOrderByWithRelationInput | VehiclesOrderByWithRelationInput[]
    cursor?: VehiclesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesScalarFieldEnum | VehiclesScalarFieldEnum[]
  }

  /**
   * Status.vehicle_gps_data
   */
  export type Status$vehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    where?: VehiclesGpsDataWhereInput
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    cursor?: VehiclesGpsDataWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * Status.geofences
   */
  export type Status$geofencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    where?: GeoFencesWhereInput
    orderBy?: GeoFencesOrderByWithRelationInput | GeoFencesOrderByWithRelationInput[]
    cursor?: GeoFencesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: GeoFencesScalarFieldEnum | GeoFencesScalarFieldEnum[]
  }

  /**
   * Status.geofence_tracking
   */
  export type Status$geofence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    where?: GeoFenceTrackingWhereInput
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    cursor?: GeoFenceTrackingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * Status.customer_geofence_mapping
   */
  export type Status$customer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    where?: CustomerGeoFenceMappingWhereInput
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * Status.delivery_note_status
   */
  export type Status$delivery_note_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    where?: DeliveryNoteStatusWhereInput
    orderBy?: DeliveryNoteStatusOrderByWithRelationInput | DeliveryNoteStatusOrderByWithRelationInput[]
    cursor?: DeliveryNoteStatusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNoteStatusScalarFieldEnum | DeliveryNoteStatusScalarFieldEnum[]
  }

  /**
   * Status.erp_logs
   */
  export type Status$erp_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    where?: ErpLogsWhereInput
    orderBy?: ErpLogsOrderByWithRelationInput | ErpLogsOrderByWithRelationInput[]
    cursor?: ErpLogsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ErpLogsScalarFieldEnum | ErpLogsScalarFieldEnum[]
  }

  /**
   * Status.erp_logs_line_items
   */
  export type Status$erp_logs_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    where?: ErpLogsLineItemsWhereInput
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    cursor?: ErpLogsLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ErpLogsLineItemsScalarFieldEnum | ErpLogsLineItemsScalarFieldEnum[]
  }

  /**
   * Status.vehicle_user_mapping
   */
  export type Status$vehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    where?: VehicleUserMappingWhereInput
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    cursor?: VehicleUserMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * Status.vehicle_geofence_history
   */
  export type Status$vehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * Status.temp_session_data
   */
  export type Status$temp_session_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    where?: TempSessionDataWhereInput
    orderBy?: TempSessionDataOrderByWithRelationInput | TempSessionDataOrderByWithRelationInput[]
    cursor?: TempSessionDataWhereUniqueInput
    take?: number
    skip?: number
    distinct?: TempSessionDataScalarFieldEnum | TempSessionDataScalarFieldEnum[]
  }

  /**
   * Status.shipment_status
   */
  export type Status$shipment_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    where?: ShipmentStatusWhereInput
    orderBy?: ShipmentStatusOrderByWithRelationInput | ShipmentStatusOrderByWithRelationInput[]
    cursor?: ShipmentStatusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentStatusScalarFieldEnum | ShipmentStatusScalarFieldEnum[]
  }

  /**
   * Status.shipment_status_history
   */
  export type Status$shipment_status_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    where?: ShipmentStatusHistoryWhereInput
    orderBy?: ShipmentStatusHistoryOrderByWithRelationInput | ShipmentStatusHistoryOrderByWithRelationInput[]
    cursor?: ShipmentStatusHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentStatusHistoryScalarFieldEnum | ShipmentStatusHistoryScalarFieldEnum[]
  }

  /**
   * Status.pod_status
   */
  export type Status$pod_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    where?: PodStatusWhereInput
    orderBy?: PodStatusOrderByWithRelationInput | PodStatusOrderByWithRelationInput[]
    cursor?: PodStatusWhereUniqueInput
    take?: number
    skip?: number
    distinct?: PodStatusScalarFieldEnum | PodStatusScalarFieldEnum[]
  }

  /**
   * Status.vehicle_trip_histories
   */
  export type Status$vehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    where?: VehicleTripHistoriesWhereInput
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    cursor?: VehicleTripHistoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * Status.shipment_location_contact_info_histories
   */
  export type Status$shipment_location_contact_info_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    where?: ShipmentLocationContactInfoHistoryWhereInput
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithRelationInput | ShipmentLocationContactInfoHistoryOrderByWithRelationInput[]
    cursor?: ShipmentLocationContactInfoHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentLocationContactInfoHistoryScalarFieldEnum | ShipmentLocationContactInfoHistoryScalarFieldEnum[]
  }

  /**
   * Status.tree_builder_examples
   */
  export type Status$tree_builder_examplesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    where?: TreeBuilderExampleWhereInput
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    cursor?: TreeBuilderExampleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: TreeBuilderExampleScalarFieldEnum | TreeBuilderExampleScalarFieldEnum[]
  }

  /**
   * Status.user_search_configurations
   */
  export type Status$user_search_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the userSearchConfiguration
     */
    select?: userSearchConfigurationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: userSearchConfigurationInclude<ExtArgs> | null
    where?: userSearchConfigurationWhereInput
    orderBy?: userSearchConfigurationOrderByWithRelationInput | userSearchConfigurationOrderByWithRelationInput[]
    cursor?: userSearchConfigurationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserSearchConfigurationScalarFieldEnum | UserSearchConfigurationScalarFieldEnum[]
  }

  /**
   * Status without action
   */
  export type StatusDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
  }


  /**
   * Model CategoryTypes
   */

  export type AggregateCategoryTypes = {
    _count: CategoryTypesCountAggregateOutputType | null
    _avg: CategoryTypesAvgAggregateOutputType | null
    _sum: CategoryTypesSumAggregateOutputType | null
    _min: CategoryTypesMinAggregateOutputType | null
    _max: CategoryTypesMaxAggregateOutputType | null
  }

  export type CategoryTypesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CategoryTypesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CategoryTypesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    category_type_id: string | null
    name: string | null
    description: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type CategoryTypesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    category_type_id: string | null
    name: string | null
    description: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type CategoryTypesCountAggregateOutputType = {
    id: number
    uuid: number
    category_type_id: number
    name: number
    description: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type CategoryTypesAvgAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CategoryTypesSumAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CategoryTypesMinAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    name?: true
    description?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type CategoryTypesMaxAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    name?: true
    description?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type CategoryTypesCountAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    name?: true
    description?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type CategoryTypesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CategoryTypes to aggregate.
     */
    where?: CategoryTypesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CategoryTypes to fetch.
     */
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CategoryTypesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CategoryTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CategoryTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned CategoryTypes
    **/
    _count?: true | CategoryTypesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CategoryTypesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CategoryTypesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CategoryTypesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CategoryTypesMaxAggregateInputType
  }

  export type GetCategoryTypesAggregateType<T extends CategoryTypesAggregateArgs> = {
        [P in keyof T & keyof AggregateCategoryTypes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCategoryTypes[P]>
      : GetScalarType<T[P], AggregateCategoryTypes[P]>
  }




  export type CategoryTypesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoryTypesWhereInput
    orderBy?: CategoryTypesOrderByWithAggregationInput | CategoryTypesOrderByWithAggregationInput[]
    by: CategoryTypesScalarFieldEnum[] | CategoryTypesScalarFieldEnum
    having?: CategoryTypesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CategoryTypesCountAggregateInputType | true
    _avg?: CategoryTypesAvgAggregateInputType
    _sum?: CategoryTypesSumAggregateInputType
    _min?: CategoryTypesMinAggregateInputType
    _max?: CategoryTypesMaxAggregateInputType
  }

  export type CategoryTypesGroupByOutputType = {
    id: number
    uuid: string
    category_type_id: string
    name: string
    description: string | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: CategoryTypesCountAggregateOutputType | null
    _avg: CategoryTypesAvgAggregateOutputType | null
    _sum: CategoryTypesSumAggregateOutputType | null
    _min: CategoryTypesMinAggregateOutputType | null
    _max: CategoryTypesMaxAggregateOutputType | null
  }

  type GetCategoryTypesGroupByPayload<T extends CategoryTypesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CategoryTypesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CategoryTypesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CategoryTypesGroupByOutputType[P]>
            : GetScalarType<T[P], CategoryTypesGroupByOutputType[P]>
        }
      >
    >


  export type CategoryTypesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    created_category_types?: boolean | CategoryTypes$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | CategoryTypes$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | CategoryTypes$deleted_category_typesArgs<ExtArgs>
    categories?: boolean | CategoryTypes$categoriesArgs<ExtArgs>
    _count?: boolean | CategoryTypesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["categoryTypes"]>

  export type CategoryTypesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    created_category_types?: boolean | CategoryTypes$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | CategoryTypes$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | CategoryTypes$deleted_category_typesArgs<ExtArgs>
  }, ExtArgs["result"]["categoryTypes"]>

  export type CategoryTypesSelectScalar = {
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    name?: boolean
    description?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type CategoryTypesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    created_category_types?: boolean | CategoryTypes$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | CategoryTypes$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | CategoryTypes$deleted_category_typesArgs<ExtArgs>
    categories?: boolean | CategoryTypes$categoriesArgs<ExtArgs>
    _count?: boolean | CategoryTypesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type CategoryTypesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    created_category_types?: boolean | CategoryTypes$created_category_typesArgs<ExtArgs>
    updated_category_types?: boolean | CategoryTypes$updated_category_typesArgs<ExtArgs>
    deleted_category_types?: boolean | CategoryTypes$deleted_category_typesArgs<ExtArgs>
  }

  export type $CategoryTypesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "CategoryTypes"
    objects: {
      created_category_types: Prisma.$UserPayload<ExtArgs> | null
      updated_category_types: Prisma.$UserPayload<ExtArgs> | null
      deleted_category_types: Prisma.$UserPayload<ExtArgs> | null
      categories: Prisma.$CategoriesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      category_type_id: string
      name: string
      description: string | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["categoryTypes"]>
    composites: {}
  }

  type CategoryTypesGetPayload<S extends boolean | null | undefined | CategoryTypesDefaultArgs> = $Result.GetResult<Prisma.$CategoryTypesPayload, S>

  type CategoryTypesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CategoryTypesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CategoryTypesCountAggregateInputType | true
    }

  export interface CategoryTypesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CategoryTypes'], meta: { name: 'CategoryTypes' } }
    /**
     * Find zero or one CategoryTypes that matches the filter.
     * @param {CategoryTypesFindUniqueArgs} args - Arguments to find a CategoryTypes
     * @example
     * // Get one CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CategoryTypesFindUniqueArgs>(args: SelectSubset<T, CategoryTypesFindUniqueArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one CategoryTypes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CategoryTypesFindUniqueOrThrowArgs} args - Arguments to find a CategoryTypes
     * @example
     * // Get one CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CategoryTypesFindUniqueOrThrowArgs>(args: SelectSubset<T, CategoryTypesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first CategoryTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesFindFirstArgs} args - Arguments to find a CategoryTypes
     * @example
     * // Get one CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CategoryTypesFindFirstArgs>(args?: SelectSubset<T, CategoryTypesFindFirstArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first CategoryTypes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesFindFirstOrThrowArgs} args - Arguments to find a CategoryTypes
     * @example
     * // Get one CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CategoryTypesFindFirstOrThrowArgs>(args?: SelectSubset<T, CategoryTypesFindFirstOrThrowArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more CategoryTypes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findMany()
     * 
     * // Get first 10 CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const categoryTypesWithIdOnly = await prisma.categoryTypes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CategoryTypesFindManyArgs>(args?: SelectSubset<T, CategoryTypesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a CategoryTypes.
     * @param {CategoryTypesCreateArgs} args - Arguments to create a CategoryTypes.
     * @example
     * // Create one CategoryTypes
     * const CategoryTypes = await prisma.categoryTypes.create({
     *   data: {
     *     // ... data to create a CategoryTypes
     *   }
     * })
     * 
     */
    create<T extends CategoryTypesCreateArgs>(args: SelectSubset<T, CategoryTypesCreateArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many CategoryTypes.
     * @param {CategoryTypesCreateManyArgs} args - Arguments to create many CategoryTypes.
     * @example
     * // Create many CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CategoryTypesCreateManyArgs>(args?: SelectSubset<T, CategoryTypesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many CategoryTypes and returns the data saved in the database.
     * @param {CategoryTypesCreateManyAndReturnArgs} args - Arguments to create many CategoryTypes.
     * @example
     * // Create many CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many CategoryTypes and only return the `id`
     * const categoryTypesWithIdOnly = await prisma.categoryTypes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CategoryTypesCreateManyAndReturnArgs>(args?: SelectSubset<T, CategoryTypesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a CategoryTypes.
     * @param {CategoryTypesDeleteArgs} args - Arguments to delete one CategoryTypes.
     * @example
     * // Delete one CategoryTypes
     * const CategoryTypes = await prisma.categoryTypes.delete({
     *   where: {
     *     // ... filter to delete one CategoryTypes
     *   }
     * })
     * 
     */
    delete<T extends CategoryTypesDeleteArgs>(args: SelectSubset<T, CategoryTypesDeleteArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one CategoryTypes.
     * @param {CategoryTypesUpdateArgs} args - Arguments to update one CategoryTypes.
     * @example
     * // Update one CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CategoryTypesUpdateArgs>(args: SelectSubset<T, CategoryTypesUpdateArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more CategoryTypes.
     * @param {CategoryTypesDeleteManyArgs} args - Arguments to filter CategoryTypes to delete.
     * @example
     * // Delete a few CategoryTypes
     * const { count } = await prisma.categoryTypes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CategoryTypesDeleteManyArgs>(args?: SelectSubset<T, CategoryTypesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more CategoryTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CategoryTypesUpdateManyArgs>(args: SelectSubset<T, CategoryTypesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one CategoryTypes.
     * @param {CategoryTypesUpsertArgs} args - Arguments to update or create a CategoryTypes.
     * @example
     * // Update or create a CategoryTypes
     * const categoryTypes = await prisma.categoryTypes.upsert({
     *   create: {
     *     // ... data to create a CategoryTypes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the CategoryTypes we want to update
     *   }
     * })
     */
    upsert<T extends CategoryTypesUpsertArgs>(args: SelectSubset<T, CategoryTypesUpsertArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of CategoryTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesCountArgs} args - Arguments to filter CategoryTypes to count.
     * @example
     * // Count the number of CategoryTypes
     * const count = await prisma.categoryTypes.count({
     *   where: {
     *     // ... the filter for the CategoryTypes we want to count
     *   }
     * })
    **/
    count<T extends CategoryTypesCountArgs>(
      args?: Subset<T, CategoryTypesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CategoryTypesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a CategoryTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CategoryTypesAggregateArgs>(args: Subset<T, CategoryTypesAggregateArgs>): Prisma.PrismaPromise<GetCategoryTypesAggregateType<T>>

    /**
     * Group by CategoryTypes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoryTypesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CategoryTypesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CategoryTypesGroupByArgs['orderBy'] }
        : { orderBy?: CategoryTypesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CategoryTypesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCategoryTypesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the CategoryTypes model
   */
  readonly fields: CategoryTypesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for CategoryTypes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CategoryTypesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    created_category_types<T extends CategoryTypes$created_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, CategoryTypes$created_category_typesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated_category_types<T extends CategoryTypes$updated_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, CategoryTypes$updated_category_typesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_category_types<T extends CategoryTypes$deleted_category_typesArgs<ExtArgs> = {}>(args?: Subset<T, CategoryTypes$deleted_category_typesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    categories<T extends CategoryTypes$categoriesArgs<ExtArgs> = {}>(args?: Subset<T, CategoryTypes$categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the CategoryTypes model
   */ 
  interface CategoryTypesFieldRefs {
    readonly id: FieldRef<"CategoryTypes", 'Int'>
    readonly uuid: FieldRef<"CategoryTypes", 'String'>
    readonly category_type_id: FieldRef<"CategoryTypes", 'String'>
    readonly name: FieldRef<"CategoryTypes", 'String'>
    readonly description: FieldRef<"CategoryTypes", 'String'>
    readonly company_id: FieldRef<"CategoryTypes", 'Int'>
    readonly created_by: FieldRef<"CategoryTypes", 'Int'>
    readonly updated_by: FieldRef<"CategoryTypes", 'Int'>
    readonly deleted_by: FieldRef<"CategoryTypes", 'Int'>
    readonly created_at: FieldRef<"CategoryTypes", 'DateTime'>
    readonly updated_at: FieldRef<"CategoryTypes", 'DateTime'>
    readonly deleted_at: FieldRef<"CategoryTypes", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * CategoryTypes findUnique
   */
  export type CategoryTypesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter, which CategoryTypes to fetch.
     */
    where: CategoryTypesWhereUniqueInput
  }

  /**
   * CategoryTypes findUniqueOrThrow
   */
  export type CategoryTypesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter, which CategoryTypes to fetch.
     */
    where: CategoryTypesWhereUniqueInput
  }

  /**
   * CategoryTypes findFirst
   */
  export type CategoryTypesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter, which CategoryTypes to fetch.
     */
    where?: CategoryTypesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CategoryTypes to fetch.
     */
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CategoryTypes.
     */
    cursor?: CategoryTypesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CategoryTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CategoryTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CategoryTypes.
     */
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * CategoryTypes findFirstOrThrow
   */
  export type CategoryTypesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter, which CategoryTypes to fetch.
     */
    where?: CategoryTypesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CategoryTypes to fetch.
     */
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CategoryTypes.
     */
    cursor?: CategoryTypesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CategoryTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CategoryTypes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CategoryTypes.
     */
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * CategoryTypes findMany
   */
  export type CategoryTypesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter, which CategoryTypes to fetch.
     */
    where?: CategoryTypesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CategoryTypes to fetch.
     */
    orderBy?: CategoryTypesOrderByWithRelationInput | CategoryTypesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing CategoryTypes.
     */
    cursor?: CategoryTypesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CategoryTypes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CategoryTypes.
     */
    skip?: number
    distinct?: CategoryTypesScalarFieldEnum | CategoryTypesScalarFieldEnum[]
  }

  /**
   * CategoryTypes create
   */
  export type CategoryTypesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * The data needed to create a CategoryTypes.
     */
    data: XOR<CategoryTypesCreateInput, CategoryTypesUncheckedCreateInput>
  }

  /**
   * CategoryTypes createMany
   */
  export type CategoryTypesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many CategoryTypes.
     */
    data: CategoryTypesCreateManyInput | CategoryTypesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * CategoryTypes createManyAndReturn
   */
  export type CategoryTypesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many CategoryTypes.
     */
    data: CategoryTypesCreateManyInput | CategoryTypesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * CategoryTypes update
   */
  export type CategoryTypesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * The data needed to update a CategoryTypes.
     */
    data: XOR<CategoryTypesUpdateInput, CategoryTypesUncheckedUpdateInput>
    /**
     * Choose, which CategoryTypes to update.
     */
    where: CategoryTypesWhereUniqueInput
  }

  /**
   * CategoryTypes updateMany
   */
  export type CategoryTypesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update CategoryTypes.
     */
    data: XOR<CategoryTypesUpdateManyMutationInput, CategoryTypesUncheckedUpdateManyInput>
    /**
     * Filter which CategoryTypes to update
     */
    where?: CategoryTypesWhereInput
  }

  /**
   * CategoryTypes upsert
   */
  export type CategoryTypesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * The filter to search for the CategoryTypes to update in case it exists.
     */
    where: CategoryTypesWhereUniqueInput
    /**
     * In case the CategoryTypes found by the `where` argument doesn't exist, create a new CategoryTypes with this data.
     */
    create: XOR<CategoryTypesCreateInput, CategoryTypesUncheckedCreateInput>
    /**
     * In case the CategoryTypes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CategoryTypesUpdateInput, CategoryTypesUncheckedUpdateInput>
  }

  /**
   * CategoryTypes delete
   */
  export type CategoryTypesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
    /**
     * Filter which CategoryTypes to delete.
     */
    where: CategoryTypesWhereUniqueInput
  }

  /**
   * CategoryTypes deleteMany
   */
  export type CategoryTypesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CategoryTypes to delete
     */
    where?: CategoryTypesWhereInput
  }

  /**
   * CategoryTypes.created_category_types
   */
  export type CategoryTypes$created_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CategoryTypes.updated_category_types
   */
  export type CategoryTypes$updated_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CategoryTypes.deleted_category_types
   */
  export type CategoryTypes$deleted_category_typesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * CategoryTypes.categories
   */
  export type CategoryTypes$categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    cursor?: CategoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * CategoryTypes without action
   */
  export type CategoryTypesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CategoryTypes
     */
    select?: CategoryTypesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoryTypesInclude<ExtArgs> | null
  }


  /**
   * Model Categories
   */

  export type AggregateCategories = {
    _count: CategoriesCountAggregateOutputType | null
    _avg: CategoriesAvgAggregateOutputType | null
    _sum: CategoriesSumAggregateOutputType | null
    _min: CategoriesMinAggregateOutputType | null
    _max: CategoriesMaxAggregateOutputType | null
  }

  export type CategoriesAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CategoriesSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type CategoriesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    category_type_id: string | null
    category_id: string | null
    parent_id: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type CategoriesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    category_type_id: string | null
    category_id: string | null
    parent_id: string | null
    name: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type CategoriesCountAggregateOutputType = {
    id: number
    uuid: number
    category_type_id: number
    category_id: number
    parent_id: number
    name: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type CategoriesAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CategoriesSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type CategoriesMinAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    category_id?: true
    parent_id?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type CategoriesMaxAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    category_id?: true
    parent_id?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type CategoriesCountAggregateInputType = {
    id?: true
    uuid?: true
    category_type_id?: true
    category_id?: true
    parent_id?: true
    name?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type CategoriesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Categories to aggregate.
     */
    where?: CategoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Categories to fetch.
     */
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CategoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Categories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Categories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Categories
    **/
    _count?: true | CategoriesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CategoriesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CategoriesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CategoriesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CategoriesMaxAggregateInputType
  }

  export type GetCategoriesAggregateType<T extends CategoriesAggregateArgs> = {
        [P in keyof T & keyof AggregateCategories]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCategories[P]>
      : GetScalarType<T[P], AggregateCategories[P]>
  }




  export type CategoriesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CategoriesWhereInput
    orderBy?: CategoriesOrderByWithAggregationInput | CategoriesOrderByWithAggregationInput[]
    by: CategoriesScalarFieldEnum[] | CategoriesScalarFieldEnum
    having?: CategoriesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CategoriesCountAggregateInputType | true
    _avg?: CategoriesAvgAggregateInputType
    _sum?: CategoriesSumAggregateInputType
    _min?: CategoriesMinAggregateInputType
    _max?: CategoriesMaxAggregateInputType
  }

  export type CategoriesGroupByOutputType = {
    id: number
    uuid: string
    category_type_id: string
    category_id: string
    parent_id: string | null
    name: string
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: CategoriesCountAggregateOutputType | null
    _avg: CategoriesAvgAggregateOutputType | null
    _sum: CategoriesSumAggregateOutputType | null
    _min: CategoriesMinAggregateOutputType | null
    _max: CategoriesMaxAggregateOutputType | null
  }

  type GetCategoriesGroupByPayload<T extends CategoriesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CategoriesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CategoriesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CategoriesGroupByOutputType[P]>
            : GetScalarType<T[P], CategoriesGroupByOutputType[P]>
        }
      >
    >


  export type CategoriesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    category_id?: boolean
    parent_id?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    category_type?: boolean | CategoryTypesDefaultArgs<ExtArgs>
    created_categories?: boolean | Categories$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | Categories$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | Categories$deleted_categoriesArgs<ExtArgs>
    configurations?: boolean | Categories$configurationsArgs<ExtArgs>
    user_configurations?: boolean | Categories$user_configurationsArgs<ExtArgs>
    _count?: boolean | CategoriesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["categories"]>

  export type CategoriesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    category_id?: boolean
    parent_id?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    category_type?: boolean | CategoryTypesDefaultArgs<ExtArgs>
    created_categories?: boolean | Categories$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | Categories$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | Categories$deleted_categoriesArgs<ExtArgs>
  }, ExtArgs["result"]["categories"]>

  export type CategoriesSelectScalar = {
    id?: boolean
    uuid?: boolean
    category_type_id?: boolean
    category_id?: boolean
    parent_id?: boolean
    name?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type CategoriesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    category_type?: boolean | CategoryTypesDefaultArgs<ExtArgs>
    created_categories?: boolean | Categories$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | Categories$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | Categories$deleted_categoriesArgs<ExtArgs>
    configurations?: boolean | Categories$configurationsArgs<ExtArgs>
    user_configurations?: boolean | Categories$user_configurationsArgs<ExtArgs>
    _count?: boolean | CategoriesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type CategoriesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    category_type?: boolean | CategoryTypesDefaultArgs<ExtArgs>
    created_categories?: boolean | Categories$created_categoriesArgs<ExtArgs>
    updated_categories?: boolean | Categories$updated_categoriesArgs<ExtArgs>
    deleted_categories?: boolean | Categories$deleted_categoriesArgs<ExtArgs>
  }

  export type $CategoriesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Categories"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      category_type: Prisma.$CategoryTypesPayload<ExtArgs>
      created_categories: Prisma.$UserPayload<ExtArgs> | null
      updated_categories: Prisma.$UserPayload<ExtArgs> | null
      deleted_categories: Prisma.$UserPayload<ExtArgs> | null
      configurations: Prisma.$ConfigurationsPayload<ExtArgs>[]
      user_configurations: Prisma.$UserConfigurationsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      category_type_id: string
      category_id: string
      parent_id: string | null
      name: string
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["categories"]>
    composites: {}
  }

  type CategoriesGetPayload<S extends boolean | null | undefined | CategoriesDefaultArgs> = $Result.GetResult<Prisma.$CategoriesPayload, S>

  type CategoriesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CategoriesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CategoriesCountAggregateInputType | true
    }

  export interface CategoriesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Categories'], meta: { name: 'Categories' } }
    /**
     * Find zero or one Categories that matches the filter.
     * @param {CategoriesFindUniqueArgs} args - Arguments to find a Categories
     * @example
     * // Get one Categories
     * const categories = await prisma.categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CategoriesFindUniqueArgs>(args: SelectSubset<T, CategoriesFindUniqueArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Categories that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CategoriesFindUniqueOrThrowArgs} args - Arguments to find a Categories
     * @example
     * // Get one Categories
     * const categories = await prisma.categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CategoriesFindUniqueOrThrowArgs>(args: SelectSubset<T, CategoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesFindFirstArgs} args - Arguments to find a Categories
     * @example
     * // Get one Categories
     * const categories = await prisma.categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CategoriesFindFirstArgs>(args?: SelectSubset<T, CategoriesFindFirstArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Categories that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesFindFirstOrThrowArgs} args - Arguments to find a Categories
     * @example
     * // Get one Categories
     * const categories = await prisma.categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CategoriesFindFirstOrThrowArgs>(args?: SelectSubset<T, CategoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Categories
     * const categories = await prisma.categories.findMany()
     * 
     * // Get first 10 Categories
     * const categories = await prisma.categories.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const categoriesWithIdOnly = await prisma.categories.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CategoriesFindManyArgs>(args?: SelectSubset<T, CategoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Categories.
     * @param {CategoriesCreateArgs} args - Arguments to create a Categories.
     * @example
     * // Create one Categories
     * const Categories = await prisma.categories.create({
     *   data: {
     *     // ... data to create a Categories
     *   }
     * })
     * 
     */
    create<T extends CategoriesCreateArgs>(args: SelectSubset<T, CategoriesCreateArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Categories.
     * @param {CategoriesCreateManyArgs} args - Arguments to create many Categories.
     * @example
     * // Create many Categories
     * const categories = await prisma.categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CategoriesCreateManyArgs>(args?: SelectSubset<T, CategoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Categories and returns the data saved in the database.
     * @param {CategoriesCreateManyAndReturnArgs} args - Arguments to create many Categories.
     * @example
     * // Create many Categories
     * const categories = await prisma.categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Categories and only return the `id`
     * const categoriesWithIdOnly = await prisma.categories.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CategoriesCreateManyAndReturnArgs>(args?: SelectSubset<T, CategoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Categories.
     * @param {CategoriesDeleteArgs} args - Arguments to delete one Categories.
     * @example
     * // Delete one Categories
     * const Categories = await prisma.categories.delete({
     *   where: {
     *     // ... filter to delete one Categories
     *   }
     * })
     * 
     */
    delete<T extends CategoriesDeleteArgs>(args: SelectSubset<T, CategoriesDeleteArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Categories.
     * @param {CategoriesUpdateArgs} args - Arguments to update one Categories.
     * @example
     * // Update one Categories
     * const categories = await prisma.categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CategoriesUpdateArgs>(args: SelectSubset<T, CategoriesUpdateArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Categories.
     * @param {CategoriesDeleteManyArgs} args - Arguments to filter Categories to delete.
     * @example
     * // Delete a few Categories
     * const { count } = await prisma.categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CategoriesDeleteManyArgs>(args?: SelectSubset<T, CategoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Categories
     * const categories = await prisma.categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CategoriesUpdateManyArgs>(args: SelectSubset<T, CategoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Categories.
     * @param {CategoriesUpsertArgs} args - Arguments to update or create a Categories.
     * @example
     * // Update or create a Categories
     * const categories = await prisma.categories.upsert({
     *   create: {
     *     // ... data to create a Categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Categories we want to update
     *   }
     * })
     */
    upsert<T extends CategoriesUpsertArgs>(args: SelectSubset<T, CategoriesUpsertArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesCountArgs} args - Arguments to filter Categories to count.
     * @example
     * // Count the number of Categories
     * const count = await prisma.categories.count({
     *   where: {
     *     // ... the filter for the Categories we want to count
     *   }
     * })
    **/
    count<T extends CategoriesCountArgs>(
      args?: Subset<T, CategoriesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CategoriesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CategoriesAggregateArgs>(args: Subset<T, CategoriesAggregateArgs>): Prisma.PrismaPromise<GetCategoriesAggregateType<T>>

    /**
     * Group by Categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CategoriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CategoriesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CategoriesGroupByArgs['orderBy'] }
        : { orderBy?: CategoriesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CategoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCategoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Categories model
   */
  readonly fields: CategoriesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Categories.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CategoriesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    category_type<T extends CategoryTypesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CategoryTypesDefaultArgs<ExtArgs>>): Prisma__CategoryTypesClient<$Result.GetResult<Prisma.$CategoryTypesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created_categories<T extends Categories$created_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, Categories$created_categoriesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated_categories<T extends Categories$updated_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, Categories$updated_categoriesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_categories<T extends Categories$deleted_categoriesArgs<ExtArgs> = {}>(args?: Subset<T, Categories$deleted_categoriesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    configurations<T extends Categories$configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Categories$configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    user_configurations<T extends Categories$user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Categories$user_configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Categories model
   */ 
  interface CategoriesFieldRefs {
    readonly id: FieldRef<"Categories", 'Int'>
    readonly uuid: FieldRef<"Categories", 'String'>
    readonly category_type_id: FieldRef<"Categories", 'String'>
    readonly category_id: FieldRef<"Categories", 'String'>
    readonly parent_id: FieldRef<"Categories", 'String'>
    readonly name: FieldRef<"Categories", 'String'>
    readonly description: FieldRef<"Categories", 'String'>
    readonly status_id: FieldRef<"Categories", 'Int'>
    readonly company_id: FieldRef<"Categories", 'Int'>
    readonly created_by: FieldRef<"Categories", 'Int'>
    readonly updated_by: FieldRef<"Categories", 'Int'>
    readonly deleted_by: FieldRef<"Categories", 'Int'>
    readonly created_at: FieldRef<"Categories", 'DateTime'>
    readonly updated_at: FieldRef<"Categories", 'DateTime'>
    readonly deleted_at: FieldRef<"Categories", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Categories findUnique
   */
  export type CategoriesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter, which Categories to fetch.
     */
    where: CategoriesWhereUniqueInput
  }

  /**
   * Categories findUniqueOrThrow
   */
  export type CategoriesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter, which Categories to fetch.
     */
    where: CategoriesWhereUniqueInput
  }

  /**
   * Categories findFirst
   */
  export type CategoriesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter, which Categories to fetch.
     */
    where?: CategoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Categories to fetch.
     */
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Categories.
     */
    cursor?: CategoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Categories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Categories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Categories.
     */
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * Categories findFirstOrThrow
   */
  export type CategoriesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter, which Categories to fetch.
     */
    where?: CategoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Categories to fetch.
     */
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Categories.
     */
    cursor?: CategoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Categories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Categories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Categories.
     */
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * Categories findMany
   */
  export type CategoriesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter, which Categories to fetch.
     */
    where?: CategoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Categories to fetch.
     */
    orderBy?: CategoriesOrderByWithRelationInput | CategoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Categories.
     */
    cursor?: CategoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Categories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Categories.
     */
    skip?: number
    distinct?: CategoriesScalarFieldEnum | CategoriesScalarFieldEnum[]
  }

  /**
   * Categories create
   */
  export type CategoriesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * The data needed to create a Categories.
     */
    data: XOR<CategoriesCreateInput, CategoriesUncheckedCreateInput>
  }

  /**
   * Categories createMany
   */
  export type CategoriesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Categories.
     */
    data: CategoriesCreateManyInput | CategoriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Categories createManyAndReturn
   */
  export type CategoriesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Categories.
     */
    data: CategoriesCreateManyInput | CategoriesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Categories update
   */
  export type CategoriesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * The data needed to update a Categories.
     */
    data: XOR<CategoriesUpdateInput, CategoriesUncheckedUpdateInput>
    /**
     * Choose, which Categories to update.
     */
    where: CategoriesWhereUniqueInput
  }

  /**
   * Categories updateMany
   */
  export type CategoriesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Categories.
     */
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyInput>
    /**
     * Filter which Categories to update
     */
    where?: CategoriesWhereInput
  }

  /**
   * Categories upsert
   */
  export type CategoriesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * The filter to search for the Categories to update in case it exists.
     */
    where: CategoriesWhereUniqueInput
    /**
     * In case the Categories found by the `where` argument doesn't exist, create a new Categories with this data.
     */
    create: XOR<CategoriesCreateInput, CategoriesUncheckedCreateInput>
    /**
     * In case the Categories was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CategoriesUpdateInput, CategoriesUncheckedUpdateInput>
  }

  /**
   * Categories delete
   */
  export type CategoriesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    /**
     * Filter which Categories to delete.
     */
    where: CategoriesWhereUniqueInput
  }

  /**
   * Categories deleteMany
   */
  export type CategoriesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Categories to delete
     */
    where?: CategoriesWhereInput
  }

  /**
   * Categories.created_categories
   */
  export type Categories$created_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Categories.updated_categories
   */
  export type Categories$updated_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Categories.deleted_categories
   */
  export type Categories$deleted_categoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Categories.configurations
   */
  export type Categories$configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    where?: ConfigurationsWhereInput
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    cursor?: ConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * Categories.user_configurations
   */
  export type Categories$user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    where?: UserConfigurationsWhereInput
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    cursor?: UserConfigurationsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * Categories without action
   */
  export type CategoriesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
  }


  /**
   * Model Configurations
   */

  export type AggregateConfigurations = {
    _count: ConfigurationsCountAggregateOutputType | null
    _avg: ConfigurationsAvgAggregateOutputType | null
    _sum: ConfigurationsSumAggregateOutputType | null
    _min: ConfigurationsMinAggregateOutputType | null
    _max: ConfigurationsMaxAggregateOutputType | null
  }

  export type ConfigurationsAvgAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ConfigurationsSumAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ConfigurationsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    order_no: Decimal | null
    config_key: string | null
    category_id: string | null
    category_type_id: string | null
    config_file_value: string | null
    config_value_type: string | null
    config_field_type: string | null
    display_config: boolean | null
    config_value: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ConfigurationsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    order_no: Decimal | null
    config_key: string | null
    category_id: string | null
    category_type_id: string | null
    config_file_value: string | null
    config_value_type: string | null
    config_field_type: string | null
    display_config: boolean | null
    config_value: string | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ConfigurationsCountAggregateOutputType = {
    id: number
    uuid: number
    order_no: number
    config_key: number
    category_id: number
    category_type_id: number
    config_select_json: number
    config_file_value: number
    config_value_type: number
    config_field_type: number
    display_config: number
    config_value: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type ConfigurationsAvgAggregateInputType = {
    id?: true
    order_no?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ConfigurationsSumAggregateInputType = {
    id?: true
    order_no?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ConfigurationsMinAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ConfigurationsMaxAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ConfigurationsCountAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_select_json?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type ConfigurationsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Configurations to aggregate.
     */
    where?: ConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Configurations to fetch.
     */
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Configurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Configurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Configurations
    **/
    _count?: true | ConfigurationsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ConfigurationsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ConfigurationsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ConfigurationsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ConfigurationsMaxAggregateInputType
  }

  export type GetConfigurationsAggregateType<T extends ConfigurationsAggregateArgs> = {
        [P in keyof T & keyof AggregateConfigurations]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateConfigurations[P]>
      : GetScalarType<T[P], AggregateConfigurations[P]>
  }




  export type ConfigurationsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ConfigurationsWhereInput
    orderBy?: ConfigurationsOrderByWithAggregationInput | ConfigurationsOrderByWithAggregationInput[]
    by: ConfigurationsScalarFieldEnum[] | ConfigurationsScalarFieldEnum
    having?: ConfigurationsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ConfigurationsCountAggregateInputType | true
    _avg?: ConfigurationsAvgAggregateInputType
    _sum?: ConfigurationsSumAggregateInputType
    _min?: ConfigurationsMinAggregateInputType
    _max?: ConfigurationsMaxAggregateInputType
  }

  export type ConfigurationsGroupByOutputType = {
    id: number
    uuid: string
    order_no: Decimal
    config_key: string
    category_id: string
    category_type_id: string | null
    config_select_json: JsonValue | null
    config_file_value: string | null
    config_value_type: string
    config_field_type: string
    display_config: boolean
    config_value: string | null
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date | null
    deleted_at: Date | null
    _count: ConfigurationsCountAggregateOutputType | null
    _avg: ConfigurationsAvgAggregateOutputType | null
    _sum: ConfigurationsSumAggregateOutputType | null
    _min: ConfigurationsMinAggregateOutputType | null
    _max: ConfigurationsMaxAggregateOutputType | null
  }

  type GetConfigurationsGroupByPayload<T extends ConfigurationsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ConfigurationsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ConfigurationsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ConfigurationsGroupByOutputType[P]>
            : GetScalarType<T[P], ConfigurationsGroupByOutputType[P]>
        }
      >
    >


  export type ConfigurationsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    category?: boolean | Configurations$categoryArgs<ExtArgs>
    created_configurations?: boolean | Configurations$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | Configurations$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | Configurations$deleted_configurationsArgs<ExtArgs>
  }, ExtArgs["result"]["configurations"]>

  export type ConfigurationsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    category?: boolean | Configurations$categoryArgs<ExtArgs>
    created_configurations?: boolean | Configurations$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | Configurations$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | Configurations$deleted_configurationsArgs<ExtArgs>
  }, ExtArgs["result"]["configurations"]>

  export type ConfigurationsSelectScalar = {
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type ConfigurationsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    category?: boolean | Configurations$categoryArgs<ExtArgs>
    created_configurations?: boolean | Configurations$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | Configurations$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | Configurations$deleted_configurationsArgs<ExtArgs>
  }
  export type ConfigurationsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    category?: boolean | Configurations$categoryArgs<ExtArgs>
    created_configurations?: boolean | Configurations$created_configurationsArgs<ExtArgs>
    updated_configurations?: boolean | Configurations$updated_configurationsArgs<ExtArgs>
    deleted_configurations?: boolean | Configurations$deleted_configurationsArgs<ExtArgs>
  }

  export type $ConfigurationsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Configurations"
    objects: {
      category: Prisma.$CategoriesPayload<ExtArgs> | null
      created_configurations: Prisma.$UserPayload<ExtArgs> | null
      updated_configurations: Prisma.$UserPayload<ExtArgs> | null
      deleted_configurations: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      order_no: Prisma.Decimal
      config_key: string
      category_id: string
      category_type_id: string | null
      config_select_json: Prisma.JsonValue | null
      config_file_value: string | null
      config_value_type: string
      config_field_type: string
      display_config: boolean
      config_value: string | null
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date | null
      deleted_at: Date | null
    }, ExtArgs["result"]["configurations"]>
    composites: {}
  }

  type ConfigurationsGetPayload<S extends boolean | null | undefined | ConfigurationsDefaultArgs> = $Result.GetResult<Prisma.$ConfigurationsPayload, S>

  type ConfigurationsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ConfigurationsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ConfigurationsCountAggregateInputType | true
    }

  export interface ConfigurationsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Configurations'], meta: { name: 'Configurations' } }
    /**
     * Find zero or one Configurations that matches the filter.
     * @param {ConfigurationsFindUniqueArgs} args - Arguments to find a Configurations
     * @example
     * // Get one Configurations
     * const configurations = await prisma.configurations.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ConfigurationsFindUniqueArgs>(args: SelectSubset<T, ConfigurationsFindUniqueArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Configurations that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ConfigurationsFindUniqueOrThrowArgs} args - Arguments to find a Configurations
     * @example
     * // Get one Configurations
     * const configurations = await prisma.configurations.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ConfigurationsFindUniqueOrThrowArgs>(args: SelectSubset<T, ConfigurationsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Configurations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsFindFirstArgs} args - Arguments to find a Configurations
     * @example
     * // Get one Configurations
     * const configurations = await prisma.configurations.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ConfigurationsFindFirstArgs>(args?: SelectSubset<T, ConfigurationsFindFirstArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Configurations that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsFindFirstOrThrowArgs} args - Arguments to find a Configurations
     * @example
     * // Get one Configurations
     * const configurations = await prisma.configurations.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ConfigurationsFindFirstOrThrowArgs>(args?: SelectSubset<T, ConfigurationsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Configurations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Configurations
     * const configurations = await prisma.configurations.findMany()
     * 
     * // Get first 10 Configurations
     * const configurations = await prisma.configurations.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const configurationsWithIdOnly = await prisma.configurations.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ConfigurationsFindManyArgs>(args?: SelectSubset<T, ConfigurationsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Configurations.
     * @param {ConfigurationsCreateArgs} args - Arguments to create a Configurations.
     * @example
     * // Create one Configurations
     * const Configurations = await prisma.configurations.create({
     *   data: {
     *     // ... data to create a Configurations
     *   }
     * })
     * 
     */
    create<T extends ConfigurationsCreateArgs>(args: SelectSubset<T, ConfigurationsCreateArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Configurations.
     * @param {ConfigurationsCreateManyArgs} args - Arguments to create many Configurations.
     * @example
     * // Create many Configurations
     * const configurations = await prisma.configurations.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ConfigurationsCreateManyArgs>(args?: SelectSubset<T, ConfigurationsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Configurations and returns the data saved in the database.
     * @param {ConfigurationsCreateManyAndReturnArgs} args - Arguments to create many Configurations.
     * @example
     * // Create many Configurations
     * const configurations = await prisma.configurations.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Configurations and only return the `id`
     * const configurationsWithIdOnly = await prisma.configurations.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ConfigurationsCreateManyAndReturnArgs>(args?: SelectSubset<T, ConfigurationsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Configurations.
     * @param {ConfigurationsDeleteArgs} args - Arguments to delete one Configurations.
     * @example
     * // Delete one Configurations
     * const Configurations = await prisma.configurations.delete({
     *   where: {
     *     // ... filter to delete one Configurations
     *   }
     * })
     * 
     */
    delete<T extends ConfigurationsDeleteArgs>(args: SelectSubset<T, ConfigurationsDeleteArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Configurations.
     * @param {ConfigurationsUpdateArgs} args - Arguments to update one Configurations.
     * @example
     * // Update one Configurations
     * const configurations = await prisma.configurations.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ConfigurationsUpdateArgs>(args: SelectSubset<T, ConfigurationsUpdateArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Configurations.
     * @param {ConfigurationsDeleteManyArgs} args - Arguments to filter Configurations to delete.
     * @example
     * // Delete a few Configurations
     * const { count } = await prisma.configurations.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ConfigurationsDeleteManyArgs>(args?: SelectSubset<T, ConfigurationsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Configurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Configurations
     * const configurations = await prisma.configurations.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ConfigurationsUpdateManyArgs>(args: SelectSubset<T, ConfigurationsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Configurations.
     * @param {ConfigurationsUpsertArgs} args - Arguments to update or create a Configurations.
     * @example
     * // Update or create a Configurations
     * const configurations = await prisma.configurations.upsert({
     *   create: {
     *     // ... data to create a Configurations
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Configurations we want to update
     *   }
     * })
     */
    upsert<T extends ConfigurationsUpsertArgs>(args: SelectSubset<T, ConfigurationsUpsertArgs<ExtArgs>>): Prisma__ConfigurationsClient<$Result.GetResult<Prisma.$ConfigurationsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Configurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsCountArgs} args - Arguments to filter Configurations to count.
     * @example
     * // Count the number of Configurations
     * const count = await prisma.configurations.count({
     *   where: {
     *     // ... the filter for the Configurations we want to count
     *   }
     * })
    **/
    count<T extends ConfigurationsCountArgs>(
      args?: Subset<T, ConfigurationsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ConfigurationsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Configurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ConfigurationsAggregateArgs>(args: Subset<T, ConfigurationsAggregateArgs>): Prisma.PrismaPromise<GetConfigurationsAggregateType<T>>

    /**
     * Group by Configurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConfigurationsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ConfigurationsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ConfigurationsGroupByArgs['orderBy'] }
        : { orderBy?: ConfigurationsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ConfigurationsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConfigurationsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Configurations model
   */
  readonly fields: ConfigurationsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Configurations.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ConfigurationsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    category<T extends Configurations$categoryArgs<ExtArgs> = {}>(args?: Subset<T, Configurations$categoryArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created_configurations<T extends Configurations$created_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Configurations$created_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated_configurations<T extends Configurations$updated_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Configurations$updated_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_configurations<T extends Configurations$deleted_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, Configurations$deleted_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Configurations model
   */ 
  interface ConfigurationsFieldRefs {
    readonly id: FieldRef<"Configurations", 'Int'>
    readonly uuid: FieldRef<"Configurations", 'String'>
    readonly order_no: FieldRef<"Configurations", 'Decimal'>
    readonly config_key: FieldRef<"Configurations", 'String'>
    readonly category_id: FieldRef<"Configurations", 'String'>
    readonly category_type_id: FieldRef<"Configurations", 'String'>
    readonly config_select_json: FieldRef<"Configurations", 'Json'>
    readonly config_file_value: FieldRef<"Configurations", 'String'>
    readonly config_value_type: FieldRef<"Configurations", 'String'>
    readonly config_field_type: FieldRef<"Configurations", 'String'>
    readonly display_config: FieldRef<"Configurations", 'Boolean'>
    readonly config_value: FieldRef<"Configurations", 'String'>
    readonly company_id: FieldRef<"Configurations", 'Int'>
    readonly created_by: FieldRef<"Configurations", 'Int'>
    readonly updated_by: FieldRef<"Configurations", 'Int'>
    readonly deleted_by: FieldRef<"Configurations", 'Int'>
    readonly created_at: FieldRef<"Configurations", 'DateTime'>
    readonly updated_at: FieldRef<"Configurations", 'DateTime'>
    readonly deleted_at: FieldRef<"Configurations", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Configurations findUnique
   */
  export type ConfigurationsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which Configurations to fetch.
     */
    where: ConfigurationsWhereUniqueInput
  }

  /**
   * Configurations findUniqueOrThrow
   */
  export type ConfigurationsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which Configurations to fetch.
     */
    where: ConfigurationsWhereUniqueInput
  }

  /**
   * Configurations findFirst
   */
  export type ConfigurationsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which Configurations to fetch.
     */
    where?: ConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Configurations to fetch.
     */
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Configurations.
     */
    cursor?: ConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Configurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Configurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Configurations.
     */
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * Configurations findFirstOrThrow
   */
  export type ConfigurationsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which Configurations to fetch.
     */
    where?: ConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Configurations to fetch.
     */
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Configurations.
     */
    cursor?: ConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Configurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Configurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Configurations.
     */
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * Configurations findMany
   */
  export type ConfigurationsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which Configurations to fetch.
     */
    where?: ConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Configurations to fetch.
     */
    orderBy?: ConfigurationsOrderByWithRelationInput | ConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Configurations.
     */
    cursor?: ConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Configurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Configurations.
     */
    skip?: number
    distinct?: ConfigurationsScalarFieldEnum | ConfigurationsScalarFieldEnum[]
  }

  /**
   * Configurations create
   */
  export type ConfigurationsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * The data needed to create a Configurations.
     */
    data: XOR<ConfigurationsCreateInput, ConfigurationsUncheckedCreateInput>
  }

  /**
   * Configurations createMany
   */
  export type ConfigurationsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Configurations.
     */
    data: ConfigurationsCreateManyInput | ConfigurationsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Configurations createManyAndReturn
   */
  export type ConfigurationsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Configurations.
     */
    data: ConfigurationsCreateManyInput | ConfigurationsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Configurations update
   */
  export type ConfigurationsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * The data needed to update a Configurations.
     */
    data: XOR<ConfigurationsUpdateInput, ConfigurationsUncheckedUpdateInput>
    /**
     * Choose, which Configurations to update.
     */
    where: ConfigurationsWhereUniqueInput
  }

  /**
   * Configurations updateMany
   */
  export type ConfigurationsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Configurations.
     */
    data: XOR<ConfigurationsUpdateManyMutationInput, ConfigurationsUncheckedUpdateManyInput>
    /**
     * Filter which Configurations to update
     */
    where?: ConfigurationsWhereInput
  }

  /**
   * Configurations upsert
   */
  export type ConfigurationsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * The filter to search for the Configurations to update in case it exists.
     */
    where: ConfigurationsWhereUniqueInput
    /**
     * In case the Configurations found by the `where` argument doesn't exist, create a new Configurations with this data.
     */
    create: XOR<ConfigurationsCreateInput, ConfigurationsUncheckedCreateInput>
    /**
     * In case the Configurations was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ConfigurationsUpdateInput, ConfigurationsUncheckedUpdateInput>
  }

  /**
   * Configurations delete
   */
  export type ConfigurationsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
    /**
     * Filter which Configurations to delete.
     */
    where: ConfigurationsWhereUniqueInput
  }

  /**
   * Configurations deleteMany
   */
  export type ConfigurationsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Configurations to delete
     */
    where?: ConfigurationsWhereInput
  }

  /**
   * Configurations.category
   */
  export type Configurations$categoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
  }

  /**
   * Configurations.created_configurations
   */
  export type Configurations$created_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Configurations.updated_configurations
   */
  export type Configurations$updated_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Configurations.deleted_configurations
   */
  export type Configurations$deleted_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Configurations without action
   */
  export type ConfigurationsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Configurations
     */
    select?: ConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ConfigurationsInclude<ExtArgs> | null
  }


  /**
   * Model UserConfigurations
   */

  export type AggregateUserConfigurations = {
    _count: UserConfigurationsCountAggregateOutputType | null
    _avg: UserConfigurationsAvgAggregateOutputType | null
    _sum: UserConfigurationsSumAggregateOutputType | null
    _min: UserConfigurationsMinAggregateOutputType | null
    _max: UserConfigurationsMaxAggregateOutputType | null
  }

  export type UserConfigurationsAvgAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    user_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserConfigurationsSumAggregateOutputType = {
    id: number | null
    order_no: Decimal | null
    user_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type UserConfigurationsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    order_no: Decimal | null
    config_key: string | null
    category_id: string | null
    category_type_id: string | null
    config_file_value: string | null
    config_value_type: string | null
    config_field_type: string | null
    display_config: boolean | null
    config_value: string | null
    user_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type UserConfigurationsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    order_no: Decimal | null
    config_key: string | null
    category_id: string | null
    category_type_id: string | null
    config_file_value: string | null
    config_value_type: string | null
    config_field_type: string | null
    display_config: boolean | null
    config_value: string | null
    user_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type UserConfigurationsCountAggregateOutputType = {
    id: number
    uuid: number
    order_no: number
    config_key: number
    category_id: number
    category_type_id: number
    config_select_json: number
    config_file_value: number
    config_value_type: number
    config_field_type: number
    display_config: number
    config_value: number
    user_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type UserConfigurationsAvgAggregateInputType = {
    id?: true
    order_no?: true
    user_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserConfigurationsSumAggregateInputType = {
    id?: true
    order_no?: true
    user_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type UserConfigurationsMinAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    user_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type UserConfigurationsMaxAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    user_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type UserConfigurationsCountAggregateInputType = {
    id?: true
    uuid?: true
    order_no?: true
    config_key?: true
    category_id?: true
    category_type_id?: true
    config_select_json?: true
    config_file_value?: true
    config_value_type?: true
    config_field_type?: true
    display_config?: true
    config_value?: true
    user_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type UserConfigurationsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserConfigurations to aggregate.
     */
    where?: UserConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserConfigurations to fetch.
     */
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserConfigurations
    **/
    _count?: true | UserConfigurationsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserConfigurationsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserConfigurationsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserConfigurationsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserConfigurationsMaxAggregateInputType
  }

  export type GetUserConfigurationsAggregateType<T extends UserConfigurationsAggregateArgs> = {
        [P in keyof T & keyof AggregateUserConfigurations]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserConfigurations[P]>
      : GetScalarType<T[P], AggregateUserConfigurations[P]>
  }




  export type UserConfigurationsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserConfigurationsWhereInput
    orderBy?: UserConfigurationsOrderByWithAggregationInput | UserConfigurationsOrderByWithAggregationInput[]
    by: UserConfigurationsScalarFieldEnum[] | UserConfigurationsScalarFieldEnum
    having?: UserConfigurationsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserConfigurationsCountAggregateInputType | true
    _avg?: UserConfigurationsAvgAggregateInputType
    _sum?: UserConfigurationsSumAggregateInputType
    _min?: UserConfigurationsMinAggregateInputType
    _max?: UserConfigurationsMaxAggregateInputType
  }

  export type UserConfigurationsGroupByOutputType = {
    id: number
    uuid: string
    order_no: Decimal
    config_key: string
    category_id: string
    category_type_id: string | null
    config_select_json: JsonValue | null
    config_file_value: string | null
    config_value_type: string
    config_field_type: string
    display_config: boolean
    config_value: string | null
    user_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date | null
    deleted_at: Date | null
    _count: UserConfigurationsCountAggregateOutputType | null
    _avg: UserConfigurationsAvgAggregateOutputType | null
    _sum: UserConfigurationsSumAggregateOutputType | null
    _min: UserConfigurationsMinAggregateOutputType | null
    _max: UserConfigurationsMaxAggregateOutputType | null
  }

  type GetUserConfigurationsGroupByPayload<T extends UserConfigurationsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserConfigurationsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserConfigurationsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserConfigurationsGroupByOutputType[P]>
            : GetScalarType<T[P], UserConfigurationsGroupByOutputType[P]>
        }
      >
    >


  export type UserConfigurationsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    user_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    category?: boolean | UserConfigurations$categoryArgs<ExtArgs>
    created_user_configurations?: boolean | UserConfigurations$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | UserConfigurations$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | UserConfigurations$deleted_user_configurationsArgs<ExtArgs>
  }, ExtArgs["result"]["userConfigurations"]>

  export type UserConfigurationsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    user_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    category?: boolean | UserConfigurations$categoryArgs<ExtArgs>
    created_user_configurations?: boolean | UserConfigurations$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | UserConfigurations$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | UserConfigurations$deleted_user_configurationsArgs<ExtArgs>
  }, ExtArgs["result"]["userConfigurations"]>

  export type UserConfigurationsSelectScalar = {
    id?: boolean
    uuid?: boolean
    order_no?: boolean
    config_key?: boolean
    category_id?: boolean
    category_type_id?: boolean
    config_select_json?: boolean
    config_file_value?: boolean
    config_value_type?: boolean
    config_field_type?: boolean
    display_config?: boolean
    config_value?: boolean
    user_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type UserConfigurationsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    category?: boolean | UserConfigurations$categoryArgs<ExtArgs>
    created_user_configurations?: boolean | UserConfigurations$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | UserConfigurations$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | UserConfigurations$deleted_user_configurationsArgs<ExtArgs>
  }
  export type UserConfigurationsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    category?: boolean | UserConfigurations$categoryArgs<ExtArgs>
    created_user_configurations?: boolean | UserConfigurations$created_user_configurationsArgs<ExtArgs>
    updated_user_configurations?: boolean | UserConfigurations$updated_user_configurationsArgs<ExtArgs>
    deleted_user_configurations?: boolean | UserConfigurations$deleted_user_configurationsArgs<ExtArgs>
  }

  export type $UserConfigurationsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserConfigurations"
    objects: {
      category: Prisma.$CategoriesPayload<ExtArgs> | null
      created_user_configurations: Prisma.$UserPayload<ExtArgs> | null
      updated_user_configurations: Prisma.$UserPayload<ExtArgs> | null
      deleted_user_configurations: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      order_no: Prisma.Decimal
      config_key: string
      category_id: string
      category_type_id: string | null
      config_select_json: Prisma.JsonValue | null
      config_file_value: string | null
      config_value_type: string
      config_field_type: string
      display_config: boolean
      config_value: string | null
      user_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date | null
      deleted_at: Date | null
    }, ExtArgs["result"]["userConfigurations"]>
    composites: {}
  }

  type UserConfigurationsGetPayload<S extends boolean | null | undefined | UserConfigurationsDefaultArgs> = $Result.GetResult<Prisma.$UserConfigurationsPayload, S>

  type UserConfigurationsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserConfigurationsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserConfigurationsCountAggregateInputType | true
    }

  export interface UserConfigurationsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserConfigurations'], meta: { name: 'UserConfigurations' } }
    /**
     * Find zero or one UserConfigurations that matches the filter.
     * @param {UserConfigurationsFindUniqueArgs} args - Arguments to find a UserConfigurations
     * @example
     * // Get one UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserConfigurationsFindUniqueArgs>(args: SelectSubset<T, UserConfigurationsFindUniqueArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserConfigurations that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserConfigurationsFindUniqueOrThrowArgs} args - Arguments to find a UserConfigurations
     * @example
     * // Get one UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserConfigurationsFindUniqueOrThrowArgs>(args: SelectSubset<T, UserConfigurationsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserConfigurations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsFindFirstArgs} args - Arguments to find a UserConfigurations
     * @example
     * // Get one UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserConfigurationsFindFirstArgs>(args?: SelectSubset<T, UserConfigurationsFindFirstArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserConfigurations that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsFindFirstOrThrowArgs} args - Arguments to find a UserConfigurations
     * @example
     * // Get one UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserConfigurationsFindFirstOrThrowArgs>(args?: SelectSubset<T, UserConfigurationsFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserConfigurations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findMany()
     * 
     * // Get first 10 UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const userConfigurationsWithIdOnly = await prisma.userConfigurations.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends UserConfigurationsFindManyArgs>(args?: SelectSubset<T, UserConfigurationsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserConfigurations.
     * @param {UserConfigurationsCreateArgs} args - Arguments to create a UserConfigurations.
     * @example
     * // Create one UserConfigurations
     * const UserConfigurations = await prisma.userConfigurations.create({
     *   data: {
     *     // ... data to create a UserConfigurations
     *   }
     * })
     * 
     */
    create<T extends UserConfigurationsCreateArgs>(args: SelectSubset<T, UserConfigurationsCreateArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserConfigurations.
     * @param {UserConfigurationsCreateManyArgs} args - Arguments to create many UserConfigurations.
     * @example
     * // Create many UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserConfigurationsCreateManyArgs>(args?: SelectSubset<T, UserConfigurationsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserConfigurations and returns the data saved in the database.
     * @param {UserConfigurationsCreateManyAndReturnArgs} args - Arguments to create many UserConfigurations.
     * @example
     * // Create many UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserConfigurations and only return the `id`
     * const userConfigurationsWithIdOnly = await prisma.userConfigurations.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserConfigurationsCreateManyAndReturnArgs>(args?: SelectSubset<T, UserConfigurationsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserConfigurations.
     * @param {UserConfigurationsDeleteArgs} args - Arguments to delete one UserConfigurations.
     * @example
     * // Delete one UserConfigurations
     * const UserConfigurations = await prisma.userConfigurations.delete({
     *   where: {
     *     // ... filter to delete one UserConfigurations
     *   }
     * })
     * 
     */
    delete<T extends UserConfigurationsDeleteArgs>(args: SelectSubset<T, UserConfigurationsDeleteArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserConfigurations.
     * @param {UserConfigurationsUpdateArgs} args - Arguments to update one UserConfigurations.
     * @example
     * // Update one UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserConfigurationsUpdateArgs>(args: SelectSubset<T, UserConfigurationsUpdateArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserConfigurations.
     * @param {UserConfigurationsDeleteManyArgs} args - Arguments to filter UserConfigurations to delete.
     * @example
     * // Delete a few UserConfigurations
     * const { count } = await prisma.userConfigurations.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserConfigurationsDeleteManyArgs>(args?: SelectSubset<T, UserConfigurationsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserConfigurationsUpdateManyArgs>(args: SelectSubset<T, UserConfigurationsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserConfigurations.
     * @param {UserConfigurationsUpsertArgs} args - Arguments to update or create a UserConfigurations.
     * @example
     * // Update or create a UserConfigurations
     * const userConfigurations = await prisma.userConfigurations.upsert({
     *   create: {
     *     // ... data to create a UserConfigurations
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserConfigurations we want to update
     *   }
     * })
     */
    upsert<T extends UserConfigurationsUpsertArgs>(args: SelectSubset<T, UserConfigurationsUpsertArgs<ExtArgs>>): Prisma__UserConfigurationsClient<$Result.GetResult<Prisma.$UserConfigurationsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsCountArgs} args - Arguments to filter UserConfigurations to count.
     * @example
     * // Count the number of UserConfigurations
     * const count = await prisma.userConfigurations.count({
     *   where: {
     *     // ... the filter for the UserConfigurations we want to count
     *   }
     * })
    **/
    count<T extends UserConfigurationsCountArgs>(
      args?: Subset<T, UserConfigurationsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserConfigurationsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserConfigurationsAggregateArgs>(args: Subset<T, UserConfigurationsAggregateArgs>): Prisma.PrismaPromise<GetUserConfigurationsAggregateType<T>>

    /**
     * Group by UserConfigurations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserConfigurationsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserConfigurationsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserConfigurationsGroupByArgs['orderBy'] }
        : { orderBy?: UserConfigurationsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserConfigurationsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserConfigurationsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserConfigurations model
   */
  readonly fields: UserConfigurationsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserConfigurations.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserConfigurationsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    category<T extends UserConfigurations$categoryArgs<ExtArgs> = {}>(args?: Subset<T, UserConfigurations$categoryArgs<ExtArgs>>): Prisma__CategoriesClient<$Result.GetResult<Prisma.$CategoriesPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    created_user_configurations<T extends UserConfigurations$created_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, UserConfigurations$created_user_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    updated_user_configurations<T extends UserConfigurations$updated_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, UserConfigurations$updated_user_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_user_configurations<T extends UserConfigurations$deleted_user_configurationsArgs<ExtArgs> = {}>(args?: Subset<T, UserConfigurations$deleted_user_configurationsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserConfigurations model
   */ 
  interface UserConfigurationsFieldRefs {
    readonly id: FieldRef<"UserConfigurations", 'Int'>
    readonly uuid: FieldRef<"UserConfigurations", 'String'>
    readonly order_no: FieldRef<"UserConfigurations", 'Decimal'>
    readonly config_key: FieldRef<"UserConfigurations", 'String'>
    readonly category_id: FieldRef<"UserConfigurations", 'String'>
    readonly category_type_id: FieldRef<"UserConfigurations", 'String'>
    readonly config_select_json: FieldRef<"UserConfigurations", 'Json'>
    readonly config_file_value: FieldRef<"UserConfigurations", 'String'>
    readonly config_value_type: FieldRef<"UserConfigurations", 'String'>
    readonly config_field_type: FieldRef<"UserConfigurations", 'String'>
    readonly display_config: FieldRef<"UserConfigurations", 'Boolean'>
    readonly config_value: FieldRef<"UserConfigurations", 'String'>
    readonly user_id: FieldRef<"UserConfigurations", 'Int'>
    readonly company_id: FieldRef<"UserConfigurations", 'Int'>
    readonly created_by: FieldRef<"UserConfigurations", 'Int'>
    readonly updated_by: FieldRef<"UserConfigurations", 'Int'>
    readonly deleted_by: FieldRef<"UserConfigurations", 'Int'>
    readonly created_at: FieldRef<"UserConfigurations", 'DateTime'>
    readonly updated_at: FieldRef<"UserConfigurations", 'DateTime'>
    readonly deleted_at: FieldRef<"UserConfigurations", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * UserConfigurations findUnique
   */
  export type UserConfigurationsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which UserConfigurations to fetch.
     */
    where: UserConfigurationsWhereUniqueInput
  }

  /**
   * UserConfigurations findUniqueOrThrow
   */
  export type UserConfigurationsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which UserConfigurations to fetch.
     */
    where: UserConfigurationsWhereUniqueInput
  }

  /**
   * UserConfigurations findFirst
   */
  export type UserConfigurationsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which UserConfigurations to fetch.
     */
    where?: UserConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserConfigurations to fetch.
     */
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserConfigurations.
     */
    cursor?: UserConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserConfigurations.
     */
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * UserConfigurations findFirstOrThrow
   */
  export type UserConfigurationsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which UserConfigurations to fetch.
     */
    where?: UserConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserConfigurations to fetch.
     */
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserConfigurations.
     */
    cursor?: UserConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserConfigurations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserConfigurations.
     */
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * UserConfigurations findMany
   */
  export type UserConfigurationsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter, which UserConfigurations to fetch.
     */
    where?: UserConfigurationsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserConfigurations to fetch.
     */
    orderBy?: UserConfigurationsOrderByWithRelationInput | UserConfigurationsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserConfigurations.
     */
    cursor?: UserConfigurationsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserConfigurations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserConfigurations.
     */
    skip?: number
    distinct?: UserConfigurationsScalarFieldEnum | UserConfigurationsScalarFieldEnum[]
  }

  /**
   * UserConfigurations create
   */
  export type UserConfigurationsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * The data needed to create a UserConfigurations.
     */
    data: XOR<UserConfigurationsCreateInput, UserConfigurationsUncheckedCreateInput>
  }

  /**
   * UserConfigurations createMany
   */
  export type UserConfigurationsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserConfigurations.
     */
    data: UserConfigurationsCreateManyInput | UserConfigurationsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserConfigurations createManyAndReturn
   */
  export type UserConfigurationsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserConfigurations.
     */
    data: UserConfigurationsCreateManyInput | UserConfigurationsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserConfigurations update
   */
  export type UserConfigurationsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * The data needed to update a UserConfigurations.
     */
    data: XOR<UserConfigurationsUpdateInput, UserConfigurationsUncheckedUpdateInput>
    /**
     * Choose, which UserConfigurations to update.
     */
    where: UserConfigurationsWhereUniqueInput
  }

  /**
   * UserConfigurations updateMany
   */
  export type UserConfigurationsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserConfigurations.
     */
    data: XOR<UserConfigurationsUpdateManyMutationInput, UserConfigurationsUncheckedUpdateManyInput>
    /**
     * Filter which UserConfigurations to update
     */
    where?: UserConfigurationsWhereInput
  }

  /**
   * UserConfigurations upsert
   */
  export type UserConfigurationsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * The filter to search for the UserConfigurations to update in case it exists.
     */
    where: UserConfigurationsWhereUniqueInput
    /**
     * In case the UserConfigurations found by the `where` argument doesn't exist, create a new UserConfigurations with this data.
     */
    create: XOR<UserConfigurationsCreateInput, UserConfigurationsUncheckedCreateInput>
    /**
     * In case the UserConfigurations was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserConfigurationsUpdateInput, UserConfigurationsUncheckedUpdateInput>
  }

  /**
   * UserConfigurations delete
   */
  export type UserConfigurationsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
    /**
     * Filter which UserConfigurations to delete.
     */
    where: UserConfigurationsWhereUniqueInput
  }

  /**
   * UserConfigurations deleteMany
   */
  export type UserConfigurationsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserConfigurations to delete
     */
    where?: UserConfigurationsWhereInput
  }

  /**
   * UserConfigurations.category
   */
  export type UserConfigurations$categoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Categories
     */
    select?: CategoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CategoriesInclude<ExtArgs> | null
    where?: CategoriesWhereInput
  }

  /**
   * UserConfigurations.created_user_configurations
   */
  export type UserConfigurations$created_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserConfigurations.updated_user_configurations
   */
  export type UserConfigurations$updated_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserConfigurations.deleted_user_configurations
   */
  export type UserConfigurations$deleted_user_configurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * UserConfigurations without action
   */
  export type UserConfigurationsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserConfigurations
     */
    select?: UserConfigurationsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserConfigurationsInclude<ExtArgs> | null
  }


  /**
   * Model FileUploadLog
   */

  export type AggregateFileUploadLog = {
    _count: FileUploadLogCountAggregateOutputType | null
    _avg: FileUploadLogAvgAggregateOutputType | null
    _sum: FileUploadLogSumAggregateOutputType | null
    _min: FileUploadLogMinAggregateOutputType | null
    _max: FileUploadLogMaxAggregateOutputType | null
  }

  export type FileUploadLogAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type FileUploadLogSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type FileUploadLogMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    doc_name: string | null
    org_name: string | null
    extension: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type FileUploadLogMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    doc_name: string | null
    org_name: string | null
    extension: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
  }

  export type FileUploadLogCountAggregateOutputType = {
    id: number
    uuid: number
    doc_name: number
    org_name: number
    extension: number
    description: number
    status_id: number
    company_id: number
    created_at: number
    _all: number
  }


  export type FileUploadLogAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type FileUploadLogSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type FileUploadLogMinAggregateInputType = {
    id?: true
    uuid?: true
    doc_name?: true
    org_name?: true
    extension?: true
    description?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type FileUploadLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    doc_name?: true
    org_name?: true
    extension?: true
    description?: true
    status_id?: true
    company_id?: true
    created_at?: true
  }

  export type FileUploadLogCountAggregateInputType = {
    id?: true
    uuid?: true
    doc_name?: true
    org_name?: true
    extension?: true
    description?: true
    status_id?: true
    company_id?: true
    created_at?: true
    _all?: true
  }

  export type FileUploadLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FileUploadLog to aggregate.
     */
    where?: FileUploadLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FileUploadLogs to fetch.
     */
    orderBy?: FileUploadLogOrderByWithRelationInput | FileUploadLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: FileUploadLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FileUploadLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FileUploadLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned FileUploadLogs
    **/
    _count?: true | FileUploadLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: FileUploadLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: FileUploadLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: FileUploadLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: FileUploadLogMaxAggregateInputType
  }

  export type GetFileUploadLogAggregateType<T extends FileUploadLogAggregateArgs> = {
        [P in keyof T & keyof AggregateFileUploadLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateFileUploadLog[P]>
      : GetScalarType<T[P], AggregateFileUploadLog[P]>
  }




  export type FileUploadLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: FileUploadLogWhereInput
    orderBy?: FileUploadLogOrderByWithAggregationInput | FileUploadLogOrderByWithAggregationInput[]
    by: FileUploadLogScalarFieldEnum[] | FileUploadLogScalarFieldEnum
    having?: FileUploadLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: FileUploadLogCountAggregateInputType | true
    _avg?: FileUploadLogAvgAggregateInputType
    _sum?: FileUploadLogSumAggregateInputType
    _min?: FileUploadLogMinAggregateInputType
    _max?: FileUploadLogMaxAggregateInputType
  }

  export type FileUploadLogGroupByOutputType = {
    id: number
    uuid: string
    doc_name: string | null
    org_name: string | null
    extension: string | null
    description: string | null
    status_id: number
    company_id: number
    created_at: Date
    _count: FileUploadLogCountAggregateOutputType | null
    _avg: FileUploadLogAvgAggregateOutputType | null
    _sum: FileUploadLogSumAggregateOutputType | null
    _min: FileUploadLogMinAggregateOutputType | null
    _max: FileUploadLogMaxAggregateOutputType | null
  }

  type GetFileUploadLogGroupByPayload<T extends FileUploadLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<FileUploadLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof FileUploadLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], FileUploadLogGroupByOutputType[P]>
            : GetScalarType<T[P], FileUploadLogGroupByOutputType[P]>
        }
      >
    >


  export type FileUploadLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    doc_name?: boolean
    org_name?: boolean
    extension?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["fileUploadLog"]>

  export type FileUploadLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    doc_name?: boolean
    org_name?: boolean
    extension?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["fileUploadLog"]>

  export type FileUploadLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    doc_name?: boolean
    org_name?: boolean
    extension?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
  }

  export type FileUploadLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type FileUploadLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $FileUploadLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "FileUploadLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      doc_name: string | null
      org_name: string | null
      extension: string | null
      description: string | null
      status_id: number
      company_id: number
      created_at: Date
    }, ExtArgs["result"]["fileUploadLog"]>
    composites: {}
  }

  type FileUploadLogGetPayload<S extends boolean | null | undefined | FileUploadLogDefaultArgs> = $Result.GetResult<Prisma.$FileUploadLogPayload, S>

  type FileUploadLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<FileUploadLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: FileUploadLogCountAggregateInputType | true
    }

  export interface FileUploadLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FileUploadLog'], meta: { name: 'FileUploadLog' } }
    /**
     * Find zero or one FileUploadLog that matches the filter.
     * @param {FileUploadLogFindUniqueArgs} args - Arguments to find a FileUploadLog
     * @example
     * // Get one FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends FileUploadLogFindUniqueArgs>(args: SelectSubset<T, FileUploadLogFindUniqueArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one FileUploadLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {FileUploadLogFindUniqueOrThrowArgs} args - Arguments to find a FileUploadLog
     * @example
     * // Get one FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends FileUploadLogFindUniqueOrThrowArgs>(args: SelectSubset<T, FileUploadLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first FileUploadLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogFindFirstArgs} args - Arguments to find a FileUploadLog
     * @example
     * // Get one FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends FileUploadLogFindFirstArgs>(args?: SelectSubset<T, FileUploadLogFindFirstArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first FileUploadLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogFindFirstOrThrowArgs} args - Arguments to find a FileUploadLog
     * @example
     * // Get one FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends FileUploadLogFindFirstOrThrowArgs>(args?: SelectSubset<T, FileUploadLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more FileUploadLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all FileUploadLogs
     * const fileUploadLogs = await prisma.fileUploadLog.findMany()
     * 
     * // Get first 10 FileUploadLogs
     * const fileUploadLogs = await prisma.fileUploadLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const fileUploadLogWithIdOnly = await prisma.fileUploadLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends FileUploadLogFindManyArgs>(args?: SelectSubset<T, FileUploadLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a FileUploadLog.
     * @param {FileUploadLogCreateArgs} args - Arguments to create a FileUploadLog.
     * @example
     * // Create one FileUploadLog
     * const FileUploadLog = await prisma.fileUploadLog.create({
     *   data: {
     *     // ... data to create a FileUploadLog
     *   }
     * })
     * 
     */
    create<T extends FileUploadLogCreateArgs>(args: SelectSubset<T, FileUploadLogCreateArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many FileUploadLogs.
     * @param {FileUploadLogCreateManyArgs} args - Arguments to create many FileUploadLogs.
     * @example
     * // Create many FileUploadLogs
     * const fileUploadLog = await prisma.fileUploadLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends FileUploadLogCreateManyArgs>(args?: SelectSubset<T, FileUploadLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many FileUploadLogs and returns the data saved in the database.
     * @param {FileUploadLogCreateManyAndReturnArgs} args - Arguments to create many FileUploadLogs.
     * @example
     * // Create many FileUploadLogs
     * const fileUploadLog = await prisma.fileUploadLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many FileUploadLogs and only return the `id`
     * const fileUploadLogWithIdOnly = await prisma.fileUploadLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends FileUploadLogCreateManyAndReturnArgs>(args?: SelectSubset<T, FileUploadLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a FileUploadLog.
     * @param {FileUploadLogDeleteArgs} args - Arguments to delete one FileUploadLog.
     * @example
     * // Delete one FileUploadLog
     * const FileUploadLog = await prisma.fileUploadLog.delete({
     *   where: {
     *     // ... filter to delete one FileUploadLog
     *   }
     * })
     * 
     */
    delete<T extends FileUploadLogDeleteArgs>(args: SelectSubset<T, FileUploadLogDeleteArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one FileUploadLog.
     * @param {FileUploadLogUpdateArgs} args - Arguments to update one FileUploadLog.
     * @example
     * // Update one FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends FileUploadLogUpdateArgs>(args: SelectSubset<T, FileUploadLogUpdateArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more FileUploadLogs.
     * @param {FileUploadLogDeleteManyArgs} args - Arguments to filter FileUploadLogs to delete.
     * @example
     * // Delete a few FileUploadLogs
     * const { count } = await prisma.fileUploadLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends FileUploadLogDeleteManyArgs>(args?: SelectSubset<T, FileUploadLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more FileUploadLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many FileUploadLogs
     * const fileUploadLog = await prisma.fileUploadLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends FileUploadLogUpdateManyArgs>(args: SelectSubset<T, FileUploadLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one FileUploadLog.
     * @param {FileUploadLogUpsertArgs} args - Arguments to update or create a FileUploadLog.
     * @example
     * // Update or create a FileUploadLog
     * const fileUploadLog = await prisma.fileUploadLog.upsert({
     *   create: {
     *     // ... data to create a FileUploadLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the FileUploadLog we want to update
     *   }
     * })
     */
    upsert<T extends FileUploadLogUpsertArgs>(args: SelectSubset<T, FileUploadLogUpsertArgs<ExtArgs>>): Prisma__FileUploadLogClient<$Result.GetResult<Prisma.$FileUploadLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of FileUploadLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogCountArgs} args - Arguments to filter FileUploadLogs to count.
     * @example
     * // Count the number of FileUploadLogs
     * const count = await prisma.fileUploadLog.count({
     *   where: {
     *     // ... the filter for the FileUploadLogs we want to count
     *   }
     * })
    **/
    count<T extends FileUploadLogCountArgs>(
      args?: Subset<T, FileUploadLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], FileUploadLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a FileUploadLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends FileUploadLogAggregateArgs>(args: Subset<T, FileUploadLogAggregateArgs>): Prisma.PrismaPromise<GetFileUploadLogAggregateType<T>>

    /**
     * Group by FileUploadLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FileUploadLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends FileUploadLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: FileUploadLogGroupByArgs['orderBy'] }
        : { orderBy?: FileUploadLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, FileUploadLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFileUploadLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the FileUploadLog model
   */
  readonly fields: FileUploadLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for FileUploadLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__FileUploadLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the FileUploadLog model
   */ 
  interface FileUploadLogFieldRefs {
    readonly id: FieldRef<"FileUploadLog", 'Int'>
    readonly uuid: FieldRef<"FileUploadLog", 'String'>
    readonly doc_name: FieldRef<"FileUploadLog", 'String'>
    readonly org_name: FieldRef<"FileUploadLog", 'String'>
    readonly extension: FieldRef<"FileUploadLog", 'String'>
    readonly description: FieldRef<"FileUploadLog", 'String'>
    readonly status_id: FieldRef<"FileUploadLog", 'Int'>
    readonly company_id: FieldRef<"FileUploadLog", 'Int'>
    readonly created_at: FieldRef<"FileUploadLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * FileUploadLog findUnique
   */
  export type FileUploadLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter, which FileUploadLog to fetch.
     */
    where: FileUploadLogWhereUniqueInput
  }

  /**
   * FileUploadLog findUniqueOrThrow
   */
  export type FileUploadLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter, which FileUploadLog to fetch.
     */
    where: FileUploadLogWhereUniqueInput
  }

  /**
   * FileUploadLog findFirst
   */
  export type FileUploadLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter, which FileUploadLog to fetch.
     */
    where?: FileUploadLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FileUploadLogs to fetch.
     */
    orderBy?: FileUploadLogOrderByWithRelationInput | FileUploadLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FileUploadLogs.
     */
    cursor?: FileUploadLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FileUploadLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FileUploadLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FileUploadLogs.
     */
    distinct?: FileUploadLogScalarFieldEnum | FileUploadLogScalarFieldEnum[]
  }

  /**
   * FileUploadLog findFirstOrThrow
   */
  export type FileUploadLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter, which FileUploadLog to fetch.
     */
    where?: FileUploadLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FileUploadLogs to fetch.
     */
    orderBy?: FileUploadLogOrderByWithRelationInput | FileUploadLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for FileUploadLogs.
     */
    cursor?: FileUploadLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FileUploadLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FileUploadLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of FileUploadLogs.
     */
    distinct?: FileUploadLogScalarFieldEnum | FileUploadLogScalarFieldEnum[]
  }

  /**
   * FileUploadLog findMany
   */
  export type FileUploadLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter, which FileUploadLogs to fetch.
     */
    where?: FileUploadLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of FileUploadLogs to fetch.
     */
    orderBy?: FileUploadLogOrderByWithRelationInput | FileUploadLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing FileUploadLogs.
     */
    cursor?: FileUploadLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` FileUploadLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` FileUploadLogs.
     */
    skip?: number
    distinct?: FileUploadLogScalarFieldEnum | FileUploadLogScalarFieldEnum[]
  }

  /**
   * FileUploadLog create
   */
  export type FileUploadLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * The data needed to create a FileUploadLog.
     */
    data: XOR<FileUploadLogCreateInput, FileUploadLogUncheckedCreateInput>
  }

  /**
   * FileUploadLog createMany
   */
  export type FileUploadLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many FileUploadLogs.
     */
    data: FileUploadLogCreateManyInput | FileUploadLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * FileUploadLog createManyAndReturn
   */
  export type FileUploadLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many FileUploadLogs.
     */
    data: FileUploadLogCreateManyInput | FileUploadLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * FileUploadLog update
   */
  export type FileUploadLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * The data needed to update a FileUploadLog.
     */
    data: XOR<FileUploadLogUpdateInput, FileUploadLogUncheckedUpdateInput>
    /**
     * Choose, which FileUploadLog to update.
     */
    where: FileUploadLogWhereUniqueInput
  }

  /**
   * FileUploadLog updateMany
   */
  export type FileUploadLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update FileUploadLogs.
     */
    data: XOR<FileUploadLogUpdateManyMutationInput, FileUploadLogUncheckedUpdateManyInput>
    /**
     * Filter which FileUploadLogs to update
     */
    where?: FileUploadLogWhereInput
  }

  /**
   * FileUploadLog upsert
   */
  export type FileUploadLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * The filter to search for the FileUploadLog to update in case it exists.
     */
    where: FileUploadLogWhereUniqueInput
    /**
     * In case the FileUploadLog found by the `where` argument doesn't exist, create a new FileUploadLog with this data.
     */
    create: XOR<FileUploadLogCreateInput, FileUploadLogUncheckedCreateInput>
    /**
     * In case the FileUploadLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<FileUploadLogUpdateInput, FileUploadLogUncheckedUpdateInput>
  }

  /**
   * FileUploadLog delete
   */
  export type FileUploadLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
    /**
     * Filter which FileUploadLog to delete.
     */
    where: FileUploadLogWhereUniqueInput
  }

  /**
   * FileUploadLog deleteMany
   */
  export type FileUploadLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which FileUploadLogs to delete
     */
    where?: FileUploadLogWhereInput
  }

  /**
   * FileUploadLog without action
   */
  export type FileUploadLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FileUploadLog
     */
    select?: FileUploadLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: FileUploadLogInclude<ExtArgs> | null
  }


  /**
   * Model DataTransferQueries
   */

  export type AggregateDataTransferQueries = {
    _count: DataTransferQueriesCountAggregateOutputType | null
    _avg: DataTransferQueriesAvgAggregateOutputType | null
    _sum: DataTransferQueriesSumAggregateOutputType | null
    _min: DataTransferQueriesMinAggregateOutputType | null
    _max: DataTransferQueriesMaxAggregateOutputType | null
  }

  export type DataTransferQueriesAvgAggregateOutputType = {
    id: number | null
    execution_order: number | null
    status_id: number | null
    created_by: number | null
    company_id: number | null
  }

  export type DataTransferQueriesSumAggregateOutputType = {
    id: number | null
    execution_order: number | null
    status_id: number | null
    created_by: number | null
    company_id: number | null
  }

  export type DataTransferQueriesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    select_query: string | null
    insert_query: string | null
    transfer_type: string | null
    job_name: string | null
    destination_table: string | null
    clear_destination_table: boolean | null
    execution_order: number | null
    command_type: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    company_id: number | null
  }

  export type DataTransferQueriesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    select_query: string | null
    insert_query: string | null
    transfer_type: string | null
    job_name: string | null
    destination_table: string | null
    clear_destination_table: boolean | null
    execution_order: number | null
    command_type: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    company_id: number | null
  }

  export type DataTransferQueriesCountAggregateOutputType = {
    id: number
    uuid: number
    select_query: number
    insert_query: number
    transfer_type: number
    job_name: number
    destination_table: number
    clear_destination_table: number
    execution_order: number
    command_type: number
    status_id: number
    created_by: number
    created_at: number
    company_id: number
    _all: number
  }


  export type DataTransferQueriesAvgAggregateInputType = {
    id?: true
    execution_order?: true
    status_id?: true
    created_by?: true
    company_id?: true
  }

  export type DataTransferQueriesSumAggregateInputType = {
    id?: true
    execution_order?: true
    status_id?: true
    created_by?: true
    company_id?: true
  }

  export type DataTransferQueriesMinAggregateInputType = {
    id?: true
    uuid?: true
    select_query?: true
    insert_query?: true
    transfer_type?: true
    job_name?: true
    destination_table?: true
    clear_destination_table?: true
    execution_order?: true
    command_type?: true
    status_id?: true
    created_by?: true
    created_at?: true
    company_id?: true
  }

  export type DataTransferQueriesMaxAggregateInputType = {
    id?: true
    uuid?: true
    select_query?: true
    insert_query?: true
    transfer_type?: true
    job_name?: true
    destination_table?: true
    clear_destination_table?: true
    execution_order?: true
    command_type?: true
    status_id?: true
    created_by?: true
    created_at?: true
    company_id?: true
  }

  export type DataTransferQueriesCountAggregateInputType = {
    id?: true
    uuid?: true
    select_query?: true
    insert_query?: true
    transfer_type?: true
    job_name?: true
    destination_table?: true
    clear_destination_table?: true
    execution_order?: true
    command_type?: true
    status_id?: true
    created_by?: true
    created_at?: true
    company_id?: true
    _all?: true
  }

  export type DataTransferQueriesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DataTransferQueries to aggregate.
     */
    where?: DataTransferQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DataTransferQueries to fetch.
     */
    orderBy?: DataTransferQueriesOrderByWithRelationInput | DataTransferQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DataTransferQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DataTransferQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DataTransferQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DataTransferQueries
    **/
    _count?: true | DataTransferQueriesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DataTransferQueriesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DataTransferQueriesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DataTransferQueriesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DataTransferQueriesMaxAggregateInputType
  }

  export type GetDataTransferQueriesAggregateType<T extends DataTransferQueriesAggregateArgs> = {
        [P in keyof T & keyof AggregateDataTransferQueries]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDataTransferQueries[P]>
      : GetScalarType<T[P], AggregateDataTransferQueries[P]>
  }




  export type DataTransferQueriesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DataTransferQueriesWhereInput
    orderBy?: DataTransferQueriesOrderByWithAggregationInput | DataTransferQueriesOrderByWithAggregationInput[]
    by: DataTransferQueriesScalarFieldEnum[] | DataTransferQueriesScalarFieldEnum
    having?: DataTransferQueriesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DataTransferQueriesCountAggregateInputType | true
    _avg?: DataTransferQueriesAvgAggregateInputType
    _sum?: DataTransferQueriesSumAggregateInputType
    _min?: DataTransferQueriesMinAggregateInputType
    _max?: DataTransferQueriesMaxAggregateInputType
  }

  export type DataTransferQueriesGroupByOutputType = {
    id: number
    uuid: string
    select_query: string
    insert_query: string
    transfer_type: string
    job_name: string
    destination_table: string
    clear_destination_table: boolean
    execution_order: number
    command_type: string
    status_id: number
    created_by: number | null
    created_at: Date | null
    company_id: number
    _count: DataTransferQueriesCountAggregateOutputType | null
    _avg: DataTransferQueriesAvgAggregateOutputType | null
    _sum: DataTransferQueriesSumAggregateOutputType | null
    _min: DataTransferQueriesMinAggregateOutputType | null
    _max: DataTransferQueriesMaxAggregateOutputType | null
  }

  type GetDataTransferQueriesGroupByPayload<T extends DataTransferQueriesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DataTransferQueriesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DataTransferQueriesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DataTransferQueriesGroupByOutputType[P]>
            : GetScalarType<T[P], DataTransferQueriesGroupByOutputType[P]>
        }
      >
    >


  export type DataTransferQueriesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    select_query?: boolean
    insert_query?: boolean
    transfer_type?: boolean
    job_name?: boolean
    destination_table?: boolean
    clear_destination_table?: boolean
    execution_order?: boolean
    command_type?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["dataTransferQueries"]>

  export type DataTransferQueriesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    select_query?: boolean
    insert_query?: boolean
    transfer_type?: boolean
    job_name?: boolean
    destination_table?: boolean
    clear_destination_table?: boolean
    execution_order?: boolean
    command_type?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["dataTransferQueries"]>

  export type DataTransferQueriesSelectScalar = {
    id?: boolean
    uuid?: boolean
    select_query?: boolean
    insert_query?: boolean
    transfer_type?: boolean
    job_name?: boolean
    destination_table?: boolean
    clear_destination_table?: boolean
    execution_order?: boolean
    command_type?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    company_id?: boolean
  }


  export type $DataTransferQueriesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DataTransferQueries"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      select_query: string
      insert_query: string
      transfer_type: string
      job_name: string
      destination_table: string
      clear_destination_table: boolean
      execution_order: number
      command_type: string
      status_id: number
      created_by: number | null
      created_at: Date | null
      company_id: number
    }, ExtArgs["result"]["dataTransferQueries"]>
    composites: {}
  }

  type DataTransferQueriesGetPayload<S extends boolean | null | undefined | DataTransferQueriesDefaultArgs> = $Result.GetResult<Prisma.$DataTransferQueriesPayload, S>

  type DataTransferQueriesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DataTransferQueriesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DataTransferQueriesCountAggregateInputType | true
    }

  export interface DataTransferQueriesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DataTransferQueries'], meta: { name: 'DataTransferQueries' } }
    /**
     * Find zero or one DataTransferQueries that matches the filter.
     * @param {DataTransferQueriesFindUniqueArgs} args - Arguments to find a DataTransferQueries
     * @example
     * // Get one DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DataTransferQueriesFindUniqueArgs>(args: SelectSubset<T, DataTransferQueriesFindUniqueArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DataTransferQueries that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DataTransferQueriesFindUniqueOrThrowArgs} args - Arguments to find a DataTransferQueries
     * @example
     * // Get one DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DataTransferQueriesFindUniqueOrThrowArgs>(args: SelectSubset<T, DataTransferQueriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DataTransferQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesFindFirstArgs} args - Arguments to find a DataTransferQueries
     * @example
     * // Get one DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DataTransferQueriesFindFirstArgs>(args?: SelectSubset<T, DataTransferQueriesFindFirstArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DataTransferQueries that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesFindFirstOrThrowArgs} args - Arguments to find a DataTransferQueries
     * @example
     * // Get one DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DataTransferQueriesFindFirstOrThrowArgs>(args?: SelectSubset<T, DataTransferQueriesFindFirstOrThrowArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DataTransferQueries that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findMany()
     * 
     * // Get first 10 DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const dataTransferQueriesWithIdOnly = await prisma.dataTransferQueries.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DataTransferQueriesFindManyArgs>(args?: SelectSubset<T, DataTransferQueriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DataTransferQueries.
     * @param {DataTransferQueriesCreateArgs} args - Arguments to create a DataTransferQueries.
     * @example
     * // Create one DataTransferQueries
     * const DataTransferQueries = await prisma.dataTransferQueries.create({
     *   data: {
     *     // ... data to create a DataTransferQueries
     *   }
     * })
     * 
     */
    create<T extends DataTransferQueriesCreateArgs>(args: SelectSubset<T, DataTransferQueriesCreateArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DataTransferQueries.
     * @param {DataTransferQueriesCreateManyArgs} args - Arguments to create many DataTransferQueries.
     * @example
     * // Create many DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DataTransferQueriesCreateManyArgs>(args?: SelectSubset<T, DataTransferQueriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DataTransferQueries and returns the data saved in the database.
     * @param {DataTransferQueriesCreateManyAndReturnArgs} args - Arguments to create many DataTransferQueries.
     * @example
     * // Create many DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DataTransferQueries and only return the `id`
     * const dataTransferQueriesWithIdOnly = await prisma.dataTransferQueries.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DataTransferQueriesCreateManyAndReturnArgs>(args?: SelectSubset<T, DataTransferQueriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DataTransferQueries.
     * @param {DataTransferQueriesDeleteArgs} args - Arguments to delete one DataTransferQueries.
     * @example
     * // Delete one DataTransferQueries
     * const DataTransferQueries = await prisma.dataTransferQueries.delete({
     *   where: {
     *     // ... filter to delete one DataTransferQueries
     *   }
     * })
     * 
     */
    delete<T extends DataTransferQueriesDeleteArgs>(args: SelectSubset<T, DataTransferQueriesDeleteArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DataTransferQueries.
     * @param {DataTransferQueriesUpdateArgs} args - Arguments to update one DataTransferQueries.
     * @example
     * // Update one DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DataTransferQueriesUpdateArgs>(args: SelectSubset<T, DataTransferQueriesUpdateArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DataTransferQueries.
     * @param {DataTransferQueriesDeleteManyArgs} args - Arguments to filter DataTransferQueries to delete.
     * @example
     * // Delete a few DataTransferQueries
     * const { count } = await prisma.dataTransferQueries.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DataTransferQueriesDeleteManyArgs>(args?: SelectSubset<T, DataTransferQueriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DataTransferQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DataTransferQueriesUpdateManyArgs>(args: SelectSubset<T, DataTransferQueriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DataTransferQueries.
     * @param {DataTransferQueriesUpsertArgs} args - Arguments to update or create a DataTransferQueries.
     * @example
     * // Update or create a DataTransferQueries
     * const dataTransferQueries = await prisma.dataTransferQueries.upsert({
     *   create: {
     *     // ... data to create a DataTransferQueries
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DataTransferQueries we want to update
     *   }
     * })
     */
    upsert<T extends DataTransferQueriesUpsertArgs>(args: SelectSubset<T, DataTransferQueriesUpsertArgs<ExtArgs>>): Prisma__DataTransferQueriesClient<$Result.GetResult<Prisma.$DataTransferQueriesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DataTransferQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesCountArgs} args - Arguments to filter DataTransferQueries to count.
     * @example
     * // Count the number of DataTransferQueries
     * const count = await prisma.dataTransferQueries.count({
     *   where: {
     *     // ... the filter for the DataTransferQueries we want to count
     *   }
     * })
    **/
    count<T extends DataTransferQueriesCountArgs>(
      args?: Subset<T, DataTransferQueriesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DataTransferQueriesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DataTransferQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DataTransferQueriesAggregateArgs>(args: Subset<T, DataTransferQueriesAggregateArgs>): Prisma.PrismaPromise<GetDataTransferQueriesAggregateType<T>>

    /**
     * Group by DataTransferQueries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DataTransferQueriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DataTransferQueriesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DataTransferQueriesGroupByArgs['orderBy'] }
        : { orderBy?: DataTransferQueriesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DataTransferQueriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDataTransferQueriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DataTransferQueries model
   */
  readonly fields: DataTransferQueriesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DataTransferQueries.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DataTransferQueriesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DataTransferQueries model
   */ 
  interface DataTransferQueriesFieldRefs {
    readonly id: FieldRef<"DataTransferQueries", 'Int'>
    readonly uuid: FieldRef<"DataTransferQueries", 'String'>
    readonly select_query: FieldRef<"DataTransferQueries", 'String'>
    readonly insert_query: FieldRef<"DataTransferQueries", 'String'>
    readonly transfer_type: FieldRef<"DataTransferQueries", 'String'>
    readonly job_name: FieldRef<"DataTransferQueries", 'String'>
    readonly destination_table: FieldRef<"DataTransferQueries", 'String'>
    readonly clear_destination_table: FieldRef<"DataTransferQueries", 'Boolean'>
    readonly execution_order: FieldRef<"DataTransferQueries", 'Int'>
    readonly command_type: FieldRef<"DataTransferQueries", 'String'>
    readonly status_id: FieldRef<"DataTransferQueries", 'Int'>
    readonly created_by: FieldRef<"DataTransferQueries", 'Int'>
    readonly created_at: FieldRef<"DataTransferQueries", 'DateTime'>
    readonly company_id: FieldRef<"DataTransferQueries", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * DataTransferQueries findUnique
   */
  export type DataTransferQueriesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter, which DataTransferQueries to fetch.
     */
    where: DataTransferQueriesWhereUniqueInput
  }

  /**
   * DataTransferQueries findUniqueOrThrow
   */
  export type DataTransferQueriesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter, which DataTransferQueries to fetch.
     */
    where: DataTransferQueriesWhereUniqueInput
  }

  /**
   * DataTransferQueries findFirst
   */
  export type DataTransferQueriesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter, which DataTransferQueries to fetch.
     */
    where?: DataTransferQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DataTransferQueries to fetch.
     */
    orderBy?: DataTransferQueriesOrderByWithRelationInput | DataTransferQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DataTransferQueries.
     */
    cursor?: DataTransferQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DataTransferQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DataTransferQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DataTransferQueries.
     */
    distinct?: DataTransferQueriesScalarFieldEnum | DataTransferQueriesScalarFieldEnum[]
  }

  /**
   * DataTransferQueries findFirstOrThrow
   */
  export type DataTransferQueriesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter, which DataTransferQueries to fetch.
     */
    where?: DataTransferQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DataTransferQueries to fetch.
     */
    orderBy?: DataTransferQueriesOrderByWithRelationInput | DataTransferQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DataTransferQueries.
     */
    cursor?: DataTransferQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DataTransferQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DataTransferQueries.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DataTransferQueries.
     */
    distinct?: DataTransferQueriesScalarFieldEnum | DataTransferQueriesScalarFieldEnum[]
  }

  /**
   * DataTransferQueries findMany
   */
  export type DataTransferQueriesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter, which DataTransferQueries to fetch.
     */
    where?: DataTransferQueriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DataTransferQueries to fetch.
     */
    orderBy?: DataTransferQueriesOrderByWithRelationInput | DataTransferQueriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DataTransferQueries.
     */
    cursor?: DataTransferQueriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DataTransferQueries from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DataTransferQueries.
     */
    skip?: number
    distinct?: DataTransferQueriesScalarFieldEnum | DataTransferQueriesScalarFieldEnum[]
  }

  /**
   * DataTransferQueries create
   */
  export type DataTransferQueriesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * The data needed to create a DataTransferQueries.
     */
    data: XOR<DataTransferQueriesCreateInput, DataTransferQueriesUncheckedCreateInput>
  }

  /**
   * DataTransferQueries createMany
   */
  export type DataTransferQueriesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DataTransferQueries.
     */
    data: DataTransferQueriesCreateManyInput | DataTransferQueriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DataTransferQueries createManyAndReturn
   */
  export type DataTransferQueriesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DataTransferQueries.
     */
    data: DataTransferQueriesCreateManyInput | DataTransferQueriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DataTransferQueries update
   */
  export type DataTransferQueriesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * The data needed to update a DataTransferQueries.
     */
    data: XOR<DataTransferQueriesUpdateInput, DataTransferQueriesUncheckedUpdateInput>
    /**
     * Choose, which DataTransferQueries to update.
     */
    where: DataTransferQueriesWhereUniqueInput
  }

  /**
   * DataTransferQueries updateMany
   */
  export type DataTransferQueriesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DataTransferQueries.
     */
    data: XOR<DataTransferQueriesUpdateManyMutationInput, DataTransferQueriesUncheckedUpdateManyInput>
    /**
     * Filter which DataTransferQueries to update
     */
    where?: DataTransferQueriesWhereInput
  }

  /**
   * DataTransferQueries upsert
   */
  export type DataTransferQueriesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * The filter to search for the DataTransferQueries to update in case it exists.
     */
    where: DataTransferQueriesWhereUniqueInput
    /**
     * In case the DataTransferQueries found by the `where` argument doesn't exist, create a new DataTransferQueries with this data.
     */
    create: XOR<DataTransferQueriesCreateInput, DataTransferQueriesUncheckedCreateInput>
    /**
     * In case the DataTransferQueries was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DataTransferQueriesUpdateInput, DataTransferQueriesUncheckedUpdateInput>
  }

  /**
   * DataTransferQueries delete
   */
  export type DataTransferQueriesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
    /**
     * Filter which DataTransferQueries to delete.
     */
    where: DataTransferQueriesWhereUniqueInput
  }

  /**
   * DataTransferQueries deleteMany
   */
  export type DataTransferQueriesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DataTransferQueries to delete
     */
    where?: DataTransferQueriesWhereInput
  }

  /**
   * DataTransferQueries without action
   */
  export type DataTransferQueriesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DataTransferQueries
     */
    select?: DataTransferQueriesSelect<ExtArgs> | null
  }


  /**
   * Model DeviceRegistration
   */

  export type AggregateDeviceRegistration = {
    _count: DeviceRegistrationCountAggregateOutputType | null
    _avg: DeviceRegistrationAvgAggregateOutputType | null
    _sum: DeviceRegistrationSumAggregateOutputType | null
    _min: DeviceRegistrationMinAggregateOutputType | null
    _max: DeviceRegistrationMaxAggregateOutputType | null
  }

  export type DeviceRegistrationAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeviceRegistrationSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeviceRegistrationMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    device_name: string | null
    device_unique_id: string | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DeviceRegistrationMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    device_name: string | null
    device_unique_id: string | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DeviceRegistrationCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    device_name: number
    device_unique_id: number
    user_id: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type DeviceRegistrationAvgAggregateInputType = {
    id?: true
    company_id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeviceRegistrationSumAggregateInputType = {
    id?: true
    company_id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeviceRegistrationMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    device_name?: true
    device_unique_id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DeviceRegistrationMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    device_name?: true
    device_unique_id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DeviceRegistrationCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    device_name?: true
    device_unique_id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type DeviceRegistrationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeviceRegistration to aggregate.
     */
    where?: DeviceRegistrationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeviceRegistrations to fetch.
     */
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DeviceRegistrationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeviceRegistrations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeviceRegistrations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DeviceRegistrations
    **/
    _count?: true | DeviceRegistrationCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DeviceRegistrationAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DeviceRegistrationSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DeviceRegistrationMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DeviceRegistrationMaxAggregateInputType
  }

  export type GetDeviceRegistrationAggregateType<T extends DeviceRegistrationAggregateArgs> = {
        [P in keyof T & keyof AggregateDeviceRegistration]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDeviceRegistration[P]>
      : GetScalarType<T[P], AggregateDeviceRegistration[P]>
  }




  export type DeviceRegistrationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeviceRegistrationWhereInput
    orderBy?: DeviceRegistrationOrderByWithAggregationInput | DeviceRegistrationOrderByWithAggregationInput[]
    by: DeviceRegistrationScalarFieldEnum[] | DeviceRegistrationScalarFieldEnum
    having?: DeviceRegistrationScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DeviceRegistrationCountAggregateInputType | true
    _avg?: DeviceRegistrationAvgAggregateInputType
    _sum?: DeviceRegistrationSumAggregateInputType
    _min?: DeviceRegistrationMinAggregateInputType
    _max?: DeviceRegistrationMaxAggregateInputType
  }

  export type DeviceRegistrationGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    device_name: string
    device_unique_id: string
    user_id: number
    status_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: DeviceRegistrationCountAggregateOutputType | null
    _avg: DeviceRegistrationAvgAggregateOutputType | null
    _sum: DeviceRegistrationSumAggregateOutputType | null
    _min: DeviceRegistrationMinAggregateOutputType | null
    _max: DeviceRegistrationMaxAggregateOutputType | null
  }

  type GetDeviceRegistrationGroupByPayload<T extends DeviceRegistrationGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DeviceRegistrationGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DeviceRegistrationGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DeviceRegistrationGroupByOutputType[P]>
            : GetScalarType<T[P], DeviceRegistrationGroupByOutputType[P]>
        }
      >
    >


  export type DeviceRegistrationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    device_name?: boolean
    device_unique_id?: boolean
    user_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_device_registration?: boolean | UserDefaultArgs<ExtArgs>
    updated_device_registration?: boolean | DeviceRegistration$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | DeviceRegistration$deleted_device_registrationArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deviceRegistration"]>

  export type DeviceRegistrationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    device_name?: boolean
    device_unique_id?: boolean
    user_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_device_registration?: boolean | UserDefaultArgs<ExtArgs>
    updated_device_registration?: boolean | DeviceRegistration$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | DeviceRegistration$deleted_device_registrationArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deviceRegistration"]>

  export type DeviceRegistrationSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    device_name?: boolean
    device_unique_id?: boolean
    user_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type DeviceRegistrationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_device_registration?: boolean | UserDefaultArgs<ExtArgs>
    updated_device_registration?: boolean | DeviceRegistration$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | DeviceRegistration$deleted_device_registrationArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type DeviceRegistrationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_device_registration?: boolean | UserDefaultArgs<ExtArgs>
    updated_device_registration?: boolean | DeviceRegistration$updated_device_registrationArgs<ExtArgs>
    deleted_device_registration?: boolean | DeviceRegistration$deleted_device_registrationArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $DeviceRegistrationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DeviceRegistration"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created_device_registration: Prisma.$UserPayload<ExtArgs>
      updated_device_registration: Prisma.$UserPayload<ExtArgs> | null
      deleted_device_registration: Prisma.$UserPayload<ExtArgs> | null
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      device_name: string
      device_unique_id: string
      user_id: number
      status_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["deviceRegistration"]>
    composites: {}
  }

  type DeviceRegistrationGetPayload<S extends boolean | null | undefined | DeviceRegistrationDefaultArgs> = $Result.GetResult<Prisma.$DeviceRegistrationPayload, S>

  type DeviceRegistrationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DeviceRegistrationFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DeviceRegistrationCountAggregateInputType | true
    }

  export interface DeviceRegistrationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeviceRegistration'], meta: { name: 'DeviceRegistration' } }
    /**
     * Find zero or one DeviceRegistration that matches the filter.
     * @param {DeviceRegistrationFindUniqueArgs} args - Arguments to find a DeviceRegistration
     * @example
     * // Get one DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DeviceRegistrationFindUniqueArgs>(args: SelectSubset<T, DeviceRegistrationFindUniqueArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DeviceRegistration that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DeviceRegistrationFindUniqueOrThrowArgs} args - Arguments to find a DeviceRegistration
     * @example
     * // Get one DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DeviceRegistrationFindUniqueOrThrowArgs>(args: SelectSubset<T, DeviceRegistrationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DeviceRegistration that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationFindFirstArgs} args - Arguments to find a DeviceRegistration
     * @example
     * // Get one DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DeviceRegistrationFindFirstArgs>(args?: SelectSubset<T, DeviceRegistrationFindFirstArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DeviceRegistration that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationFindFirstOrThrowArgs} args - Arguments to find a DeviceRegistration
     * @example
     * // Get one DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DeviceRegistrationFindFirstOrThrowArgs>(args?: SelectSubset<T, DeviceRegistrationFindFirstOrThrowArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DeviceRegistrations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DeviceRegistrations
     * const deviceRegistrations = await prisma.deviceRegistration.findMany()
     * 
     * // Get first 10 DeviceRegistrations
     * const deviceRegistrations = await prisma.deviceRegistration.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const deviceRegistrationWithIdOnly = await prisma.deviceRegistration.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DeviceRegistrationFindManyArgs>(args?: SelectSubset<T, DeviceRegistrationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DeviceRegistration.
     * @param {DeviceRegistrationCreateArgs} args - Arguments to create a DeviceRegistration.
     * @example
     * // Create one DeviceRegistration
     * const DeviceRegistration = await prisma.deviceRegistration.create({
     *   data: {
     *     // ... data to create a DeviceRegistration
     *   }
     * })
     * 
     */
    create<T extends DeviceRegistrationCreateArgs>(args: SelectSubset<T, DeviceRegistrationCreateArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DeviceRegistrations.
     * @param {DeviceRegistrationCreateManyArgs} args - Arguments to create many DeviceRegistrations.
     * @example
     * // Create many DeviceRegistrations
     * const deviceRegistration = await prisma.deviceRegistration.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DeviceRegistrationCreateManyArgs>(args?: SelectSubset<T, DeviceRegistrationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DeviceRegistrations and returns the data saved in the database.
     * @param {DeviceRegistrationCreateManyAndReturnArgs} args - Arguments to create many DeviceRegistrations.
     * @example
     * // Create many DeviceRegistrations
     * const deviceRegistration = await prisma.deviceRegistration.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DeviceRegistrations and only return the `id`
     * const deviceRegistrationWithIdOnly = await prisma.deviceRegistration.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DeviceRegistrationCreateManyAndReturnArgs>(args?: SelectSubset<T, DeviceRegistrationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DeviceRegistration.
     * @param {DeviceRegistrationDeleteArgs} args - Arguments to delete one DeviceRegistration.
     * @example
     * // Delete one DeviceRegistration
     * const DeviceRegistration = await prisma.deviceRegistration.delete({
     *   where: {
     *     // ... filter to delete one DeviceRegistration
     *   }
     * })
     * 
     */
    delete<T extends DeviceRegistrationDeleteArgs>(args: SelectSubset<T, DeviceRegistrationDeleteArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DeviceRegistration.
     * @param {DeviceRegistrationUpdateArgs} args - Arguments to update one DeviceRegistration.
     * @example
     * // Update one DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DeviceRegistrationUpdateArgs>(args: SelectSubset<T, DeviceRegistrationUpdateArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DeviceRegistrations.
     * @param {DeviceRegistrationDeleteManyArgs} args - Arguments to filter DeviceRegistrations to delete.
     * @example
     * // Delete a few DeviceRegistrations
     * const { count } = await prisma.deviceRegistration.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DeviceRegistrationDeleteManyArgs>(args?: SelectSubset<T, DeviceRegistrationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DeviceRegistrations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DeviceRegistrations
     * const deviceRegistration = await prisma.deviceRegistration.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DeviceRegistrationUpdateManyArgs>(args: SelectSubset<T, DeviceRegistrationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DeviceRegistration.
     * @param {DeviceRegistrationUpsertArgs} args - Arguments to update or create a DeviceRegistration.
     * @example
     * // Update or create a DeviceRegistration
     * const deviceRegistration = await prisma.deviceRegistration.upsert({
     *   create: {
     *     // ... data to create a DeviceRegistration
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DeviceRegistration we want to update
     *   }
     * })
     */
    upsert<T extends DeviceRegistrationUpsertArgs>(args: SelectSubset<T, DeviceRegistrationUpsertArgs<ExtArgs>>): Prisma__DeviceRegistrationClient<$Result.GetResult<Prisma.$DeviceRegistrationPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DeviceRegistrations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationCountArgs} args - Arguments to filter DeviceRegistrations to count.
     * @example
     * // Count the number of DeviceRegistrations
     * const count = await prisma.deviceRegistration.count({
     *   where: {
     *     // ... the filter for the DeviceRegistrations we want to count
     *   }
     * })
    **/
    count<T extends DeviceRegistrationCountArgs>(
      args?: Subset<T, DeviceRegistrationCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DeviceRegistrationCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DeviceRegistration.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DeviceRegistrationAggregateArgs>(args: Subset<T, DeviceRegistrationAggregateArgs>): Prisma.PrismaPromise<GetDeviceRegistrationAggregateType<T>>

    /**
     * Group by DeviceRegistration.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeviceRegistrationGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DeviceRegistrationGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DeviceRegistrationGroupByArgs['orderBy'] }
        : { orderBy?: DeviceRegistrationGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DeviceRegistrationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeviceRegistrationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DeviceRegistration model
   */
  readonly fields: DeviceRegistrationFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DeviceRegistration.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DeviceRegistrationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created_device_registration<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    updated_device_registration<T extends DeviceRegistration$updated_device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, DeviceRegistration$updated_device_registrationArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_device_registration<T extends DeviceRegistration$deleted_device_registrationArgs<ExtArgs> = {}>(args?: Subset<T, DeviceRegistration$deleted_device_registrationArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DeviceRegistration model
   */ 
  interface DeviceRegistrationFieldRefs {
    readonly id: FieldRef<"DeviceRegistration", 'Int'>
    readonly uuid: FieldRef<"DeviceRegistration", 'String'>
    readonly company_id: FieldRef<"DeviceRegistration", 'Int'>
    readonly device_name: FieldRef<"DeviceRegistration", 'String'>
    readonly device_unique_id: FieldRef<"DeviceRegistration", 'String'>
    readonly user_id: FieldRef<"DeviceRegistration", 'Int'>
    readonly status_id: FieldRef<"DeviceRegistration", 'Int'>
    readonly created_by: FieldRef<"DeviceRegistration", 'Int'>
    readonly created_at: FieldRef<"DeviceRegistration", 'DateTime'>
    readonly updated_by: FieldRef<"DeviceRegistration", 'Int'>
    readonly updated_at: FieldRef<"DeviceRegistration", 'DateTime'>
    readonly deleted_by: FieldRef<"DeviceRegistration", 'Int'>
    readonly deleted_at: FieldRef<"DeviceRegistration", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * DeviceRegistration findUnique
   */
  export type DeviceRegistrationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter, which DeviceRegistration to fetch.
     */
    where: DeviceRegistrationWhereUniqueInput
  }

  /**
   * DeviceRegistration findUniqueOrThrow
   */
  export type DeviceRegistrationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter, which DeviceRegistration to fetch.
     */
    where: DeviceRegistrationWhereUniqueInput
  }

  /**
   * DeviceRegistration findFirst
   */
  export type DeviceRegistrationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter, which DeviceRegistration to fetch.
     */
    where?: DeviceRegistrationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeviceRegistrations to fetch.
     */
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeviceRegistrations.
     */
    cursor?: DeviceRegistrationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeviceRegistrations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeviceRegistrations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeviceRegistrations.
     */
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * DeviceRegistration findFirstOrThrow
   */
  export type DeviceRegistrationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter, which DeviceRegistration to fetch.
     */
    where?: DeviceRegistrationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeviceRegistrations to fetch.
     */
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeviceRegistrations.
     */
    cursor?: DeviceRegistrationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeviceRegistrations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeviceRegistrations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeviceRegistrations.
     */
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * DeviceRegistration findMany
   */
  export type DeviceRegistrationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter, which DeviceRegistrations to fetch.
     */
    where?: DeviceRegistrationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeviceRegistrations to fetch.
     */
    orderBy?: DeviceRegistrationOrderByWithRelationInput | DeviceRegistrationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DeviceRegistrations.
     */
    cursor?: DeviceRegistrationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeviceRegistrations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeviceRegistrations.
     */
    skip?: number
    distinct?: DeviceRegistrationScalarFieldEnum | DeviceRegistrationScalarFieldEnum[]
  }

  /**
   * DeviceRegistration create
   */
  export type DeviceRegistrationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * The data needed to create a DeviceRegistration.
     */
    data: XOR<DeviceRegistrationCreateInput, DeviceRegistrationUncheckedCreateInput>
  }

  /**
   * DeviceRegistration createMany
   */
  export type DeviceRegistrationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DeviceRegistrations.
     */
    data: DeviceRegistrationCreateManyInput | DeviceRegistrationCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DeviceRegistration createManyAndReturn
   */
  export type DeviceRegistrationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DeviceRegistrations.
     */
    data: DeviceRegistrationCreateManyInput | DeviceRegistrationCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DeviceRegistration update
   */
  export type DeviceRegistrationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * The data needed to update a DeviceRegistration.
     */
    data: XOR<DeviceRegistrationUpdateInput, DeviceRegistrationUncheckedUpdateInput>
    /**
     * Choose, which DeviceRegistration to update.
     */
    where: DeviceRegistrationWhereUniqueInput
  }

  /**
   * DeviceRegistration updateMany
   */
  export type DeviceRegistrationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DeviceRegistrations.
     */
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyInput>
    /**
     * Filter which DeviceRegistrations to update
     */
    where?: DeviceRegistrationWhereInput
  }

  /**
   * DeviceRegistration upsert
   */
  export type DeviceRegistrationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * The filter to search for the DeviceRegistration to update in case it exists.
     */
    where: DeviceRegistrationWhereUniqueInput
    /**
     * In case the DeviceRegistration found by the `where` argument doesn't exist, create a new DeviceRegistration with this data.
     */
    create: XOR<DeviceRegistrationCreateInput, DeviceRegistrationUncheckedCreateInput>
    /**
     * In case the DeviceRegistration was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DeviceRegistrationUpdateInput, DeviceRegistrationUncheckedUpdateInput>
  }

  /**
   * DeviceRegistration delete
   */
  export type DeviceRegistrationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
    /**
     * Filter which DeviceRegistration to delete.
     */
    where: DeviceRegistrationWhereUniqueInput
  }

  /**
   * DeviceRegistration deleteMany
   */
  export type DeviceRegistrationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeviceRegistrations to delete
     */
    where?: DeviceRegistrationWhereInput
  }

  /**
   * DeviceRegistration.updated_device_registration
   */
  export type DeviceRegistration$updated_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DeviceRegistration.deleted_device_registration
   */
  export type DeviceRegistration$deleted_device_registrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * DeviceRegistration without action
   */
  export type DeviceRegistrationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeviceRegistration
     */
    select?: DeviceRegistrationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeviceRegistrationInclude<ExtArgs> | null
  }


  /**
   * Model Policies
   */

  export type AggregatePolicies = {
    _count: PoliciesCountAggregateOutputType | null
    _avg: PoliciesAvgAggregateOutputType | null
    _sum: PoliciesSumAggregateOutputType | null
    _min: PoliciesMinAggregateOutputType | null
    _max: PoliciesMaxAggregateOutputType | null
  }

  export type PoliciesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type PoliciesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type PoliciesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    slug: string | null
    name: string | null
    description: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type PoliciesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    slug: string | null
    name: string | null
    description: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type PoliciesCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    slug: number
    name: number
    description: number
    query_information: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type PoliciesAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type PoliciesSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type PoliciesMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    slug?: true
    name?: true
    description?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type PoliciesMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    slug?: true
    name?: true
    description?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type PoliciesCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    slug?: true
    name?: true
    description?: true
    query_information?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type PoliciesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Policies to aggregate.
     */
    where?: PoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Policies to fetch.
     */
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: PoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Policies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Policies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Policies
    **/
    _count?: true | PoliciesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: PoliciesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: PoliciesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: PoliciesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: PoliciesMaxAggregateInputType
  }

  export type GetPoliciesAggregateType<T extends PoliciesAggregateArgs> = {
        [P in keyof T & keyof AggregatePolicies]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregatePolicies[P]>
      : GetScalarType<T[P], AggregatePolicies[P]>
  }




  export type PoliciesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PoliciesWhereInput
    orderBy?: PoliciesOrderByWithAggregationInput | PoliciesOrderByWithAggregationInput[]
    by: PoliciesScalarFieldEnum[] | PoliciesScalarFieldEnum
    having?: PoliciesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: PoliciesCountAggregateInputType | true
    _avg?: PoliciesAvgAggregateInputType
    _sum?: PoliciesSumAggregateInputType
    _min?: PoliciesMinAggregateInputType
    _max?: PoliciesMaxAggregateInputType
  }

  export type PoliciesGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information: JsonValue | null
    status_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: PoliciesCountAggregateOutputType | null
    _avg: PoliciesAvgAggregateOutputType | null
    _sum: PoliciesSumAggregateOutputType | null
    _min: PoliciesMinAggregateOutputType | null
    _max: PoliciesMaxAggregateOutputType | null
  }

  type GetPoliciesGroupByPayload<T extends PoliciesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<PoliciesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof PoliciesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], PoliciesGroupByOutputType[P]>
            : GetScalarType<T[P], PoliciesGroupByOutputType[P]>
        }
      >
    >


  export type PoliciesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user_policy?: boolean | Policies$user_policyArgs<ExtArgs>
    role_policy?: boolean | Policies$role_policyArgs<ExtArgs>
    created_policy?: boolean | UserDefaultArgs<ExtArgs>
    updated_policy?: boolean | Policies$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | Policies$deleted_policyArgs<ExtArgs>
    _count?: boolean | PoliciesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["policies"]>

  export type PoliciesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_policy?: boolean | UserDefaultArgs<ExtArgs>
    updated_policy?: boolean | Policies$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | Policies$deleted_policyArgs<ExtArgs>
  }, ExtArgs["result"]["policies"]>

  export type PoliciesSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type PoliciesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user_policy?: boolean | Policies$user_policyArgs<ExtArgs>
    role_policy?: boolean | Policies$role_policyArgs<ExtArgs>
    created_policy?: boolean | UserDefaultArgs<ExtArgs>
    updated_policy?: boolean | Policies$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | Policies$deleted_policyArgs<ExtArgs>
    _count?: boolean | PoliciesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type PoliciesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_policy?: boolean | UserDefaultArgs<ExtArgs>
    updated_policy?: boolean | Policies$updated_policyArgs<ExtArgs>
    deleted_policy?: boolean | Policies$deleted_policyArgs<ExtArgs>
  }

  export type $PoliciesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Policies"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      user_policy: Prisma.$UserPoliciesPayload<ExtArgs>[]
      role_policy: Prisma.$RolePoliciesPayload<ExtArgs>[]
      created_policy: Prisma.$UserPayload<ExtArgs>
      updated_policy: Prisma.$UserPayload<ExtArgs> | null
      deleted_policy: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      slug: string
      name: string
      description: string
      query_information: Prisma.JsonValue | null
      status_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["policies"]>
    composites: {}
  }

  type PoliciesGetPayload<S extends boolean | null | undefined | PoliciesDefaultArgs> = $Result.GetResult<Prisma.$PoliciesPayload, S>

  type PoliciesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<PoliciesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: PoliciesCountAggregateInputType | true
    }

  export interface PoliciesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Policies'], meta: { name: 'Policies' } }
    /**
     * Find zero or one Policies that matches the filter.
     * @param {PoliciesFindUniqueArgs} args - Arguments to find a Policies
     * @example
     * // Get one Policies
     * const policies = await prisma.policies.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends PoliciesFindUniqueArgs>(args: SelectSubset<T, PoliciesFindUniqueArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Policies that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {PoliciesFindUniqueOrThrowArgs} args - Arguments to find a Policies
     * @example
     * // Get one Policies
     * const policies = await prisma.policies.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends PoliciesFindUniqueOrThrowArgs>(args: SelectSubset<T, PoliciesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Policies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesFindFirstArgs} args - Arguments to find a Policies
     * @example
     * // Get one Policies
     * const policies = await prisma.policies.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends PoliciesFindFirstArgs>(args?: SelectSubset<T, PoliciesFindFirstArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Policies that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesFindFirstOrThrowArgs} args - Arguments to find a Policies
     * @example
     * // Get one Policies
     * const policies = await prisma.policies.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends PoliciesFindFirstOrThrowArgs>(args?: SelectSubset<T, PoliciesFindFirstOrThrowArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Policies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Policies
     * const policies = await prisma.policies.findMany()
     * 
     * // Get first 10 Policies
     * const policies = await prisma.policies.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const policiesWithIdOnly = await prisma.policies.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends PoliciesFindManyArgs>(args?: SelectSubset<T, PoliciesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Policies.
     * @param {PoliciesCreateArgs} args - Arguments to create a Policies.
     * @example
     * // Create one Policies
     * const Policies = await prisma.policies.create({
     *   data: {
     *     // ... data to create a Policies
     *   }
     * })
     * 
     */
    create<T extends PoliciesCreateArgs>(args: SelectSubset<T, PoliciesCreateArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Policies.
     * @param {PoliciesCreateManyArgs} args - Arguments to create many Policies.
     * @example
     * // Create many Policies
     * const policies = await prisma.policies.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends PoliciesCreateManyArgs>(args?: SelectSubset<T, PoliciesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Policies and returns the data saved in the database.
     * @param {PoliciesCreateManyAndReturnArgs} args - Arguments to create many Policies.
     * @example
     * // Create many Policies
     * const policies = await prisma.policies.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Policies and only return the `id`
     * const policiesWithIdOnly = await prisma.policies.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends PoliciesCreateManyAndReturnArgs>(args?: SelectSubset<T, PoliciesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Policies.
     * @param {PoliciesDeleteArgs} args - Arguments to delete one Policies.
     * @example
     * // Delete one Policies
     * const Policies = await prisma.policies.delete({
     *   where: {
     *     // ... filter to delete one Policies
     *   }
     * })
     * 
     */
    delete<T extends PoliciesDeleteArgs>(args: SelectSubset<T, PoliciesDeleteArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Policies.
     * @param {PoliciesUpdateArgs} args - Arguments to update one Policies.
     * @example
     * // Update one Policies
     * const policies = await prisma.policies.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends PoliciesUpdateArgs>(args: SelectSubset<T, PoliciesUpdateArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Policies.
     * @param {PoliciesDeleteManyArgs} args - Arguments to filter Policies to delete.
     * @example
     * // Delete a few Policies
     * const { count } = await prisma.policies.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends PoliciesDeleteManyArgs>(args?: SelectSubset<T, PoliciesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Policies
     * const policies = await prisma.policies.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends PoliciesUpdateManyArgs>(args: SelectSubset<T, PoliciesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Policies.
     * @param {PoliciesUpsertArgs} args - Arguments to update or create a Policies.
     * @example
     * // Update or create a Policies
     * const policies = await prisma.policies.upsert({
     *   create: {
     *     // ... data to create a Policies
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Policies we want to update
     *   }
     * })
     */
    upsert<T extends PoliciesUpsertArgs>(args: SelectSubset<T, PoliciesUpsertArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesCountArgs} args - Arguments to filter Policies to count.
     * @example
     * // Count the number of Policies
     * const count = await prisma.policies.count({
     *   where: {
     *     // ... the filter for the Policies we want to count
     *   }
     * })
    **/
    count<T extends PoliciesCountArgs>(
      args?: Subset<T, PoliciesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], PoliciesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends PoliciesAggregateArgs>(args: Subset<T, PoliciesAggregateArgs>): Prisma.PrismaPromise<GetPoliciesAggregateType<T>>

    /**
     * Group by Policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PoliciesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends PoliciesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: PoliciesGroupByArgs['orderBy'] }
        : { orderBy?: PoliciesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, PoliciesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPoliciesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Policies model
   */
  readonly fields: PoliciesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Policies.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__PoliciesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user_policy<T extends Policies$user_policyArgs<ExtArgs> = {}>(args?: Subset<T, Policies$user_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    role_policy<T extends Policies$role_policyArgs<ExtArgs> = {}>(args?: Subset<T, Policies$role_policyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findMany"> | Null>
    created_policy<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    updated_policy<T extends Policies$updated_policyArgs<ExtArgs> = {}>(args?: Subset<T, Policies$updated_policyArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_policy<T extends Policies$deleted_policyArgs<ExtArgs> = {}>(args?: Subset<T, Policies$deleted_policyArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Policies model
   */ 
  interface PoliciesFieldRefs {
    readonly id: FieldRef<"Policies", 'Int'>
    readonly uuid: FieldRef<"Policies", 'String'>
    readonly company_id: FieldRef<"Policies", 'Int'>
    readonly slug: FieldRef<"Policies", 'String'>
    readonly name: FieldRef<"Policies", 'String'>
    readonly description: FieldRef<"Policies", 'String'>
    readonly query_information: FieldRef<"Policies", 'Json'>
    readonly status_id: FieldRef<"Policies", 'Int'>
    readonly created_by: FieldRef<"Policies", 'Int'>
    readonly created_at: FieldRef<"Policies", 'DateTime'>
    readonly updated_by: FieldRef<"Policies", 'Int'>
    readonly updated_at: FieldRef<"Policies", 'DateTime'>
    readonly deleted_by: FieldRef<"Policies", 'Int'>
    readonly deleted_at: FieldRef<"Policies", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Policies findUnique
   */
  export type PoliciesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter, which Policies to fetch.
     */
    where: PoliciesWhereUniqueInput
  }

  /**
   * Policies findUniqueOrThrow
   */
  export type PoliciesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter, which Policies to fetch.
     */
    where: PoliciesWhereUniqueInput
  }

  /**
   * Policies findFirst
   */
  export type PoliciesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter, which Policies to fetch.
     */
    where?: PoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Policies to fetch.
     */
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Policies.
     */
    cursor?: PoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Policies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Policies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Policies.
     */
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * Policies findFirstOrThrow
   */
  export type PoliciesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter, which Policies to fetch.
     */
    where?: PoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Policies to fetch.
     */
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Policies.
     */
    cursor?: PoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Policies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Policies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Policies.
     */
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * Policies findMany
   */
  export type PoliciesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter, which Policies to fetch.
     */
    where?: PoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Policies to fetch.
     */
    orderBy?: PoliciesOrderByWithRelationInput | PoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Policies.
     */
    cursor?: PoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Policies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Policies.
     */
    skip?: number
    distinct?: PoliciesScalarFieldEnum | PoliciesScalarFieldEnum[]
  }

  /**
   * Policies create
   */
  export type PoliciesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * The data needed to create a Policies.
     */
    data: XOR<PoliciesCreateInput, PoliciesUncheckedCreateInput>
  }

  /**
   * Policies createMany
   */
  export type PoliciesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Policies.
     */
    data: PoliciesCreateManyInput | PoliciesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Policies createManyAndReturn
   */
  export type PoliciesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Policies.
     */
    data: PoliciesCreateManyInput | PoliciesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Policies update
   */
  export type PoliciesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * The data needed to update a Policies.
     */
    data: XOR<PoliciesUpdateInput, PoliciesUncheckedUpdateInput>
    /**
     * Choose, which Policies to update.
     */
    where: PoliciesWhereUniqueInput
  }

  /**
   * Policies updateMany
   */
  export type PoliciesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Policies.
     */
    data: XOR<PoliciesUpdateManyMutationInput, PoliciesUncheckedUpdateManyInput>
    /**
     * Filter which Policies to update
     */
    where?: PoliciesWhereInput
  }

  /**
   * Policies upsert
   */
  export type PoliciesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * The filter to search for the Policies to update in case it exists.
     */
    where: PoliciesWhereUniqueInput
    /**
     * In case the Policies found by the `where` argument doesn't exist, create a new Policies with this data.
     */
    create: XOR<PoliciesCreateInput, PoliciesUncheckedCreateInput>
    /**
     * In case the Policies was found with the provided `where` argument, update it with this data.
     */
    update: XOR<PoliciesUpdateInput, PoliciesUncheckedUpdateInput>
  }

  /**
   * Policies delete
   */
  export type PoliciesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
    /**
     * Filter which Policies to delete.
     */
    where: PoliciesWhereUniqueInput
  }

  /**
   * Policies deleteMany
   */
  export type PoliciesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Policies to delete
     */
    where?: PoliciesWhereInput
  }

  /**
   * Policies.user_policy
   */
  export type Policies$user_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    where?: UserPoliciesWhereInput
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    cursor?: UserPoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: UserPoliciesScalarFieldEnum | UserPoliciesScalarFieldEnum[]
  }

  /**
   * Policies.role_policy
   */
  export type Policies$role_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    where?: RolePoliciesWhereInput
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    cursor?: RolePoliciesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: RolePoliciesScalarFieldEnum | RolePoliciesScalarFieldEnum[]
  }

  /**
   * Policies.updated_policy
   */
  export type Policies$updated_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Policies.deleted_policy
   */
  export type Policies$deleted_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Policies without action
   */
  export type PoliciesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Policies
     */
    select?: PoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PoliciesInclude<ExtArgs> | null
  }


  /**
   * Model UserPolicies
   */

  export type AggregateUserPolicies = {
    _count: UserPoliciesCountAggregateOutputType | null
    _avg: UserPoliciesAvgAggregateOutputType | null
    _sum: UserPoliciesSumAggregateOutputType | null
    _min: UserPoliciesMinAggregateOutputType | null
    _max: UserPoliciesMaxAggregateOutputType | null
  }

  export type UserPoliciesAvgAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    user_id: number | null
  }

  export type UserPoliciesSumAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    user_id: number | null
  }

  export type UserPoliciesMinAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    user_id: number | null
  }

  export type UserPoliciesMaxAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    user_id: number | null
  }

  export type UserPoliciesCountAggregateOutputType = {
    company_id: number
    policy_id: number
    user_id: number
    _all: number
  }


  export type UserPoliciesAvgAggregateInputType = {
    company_id?: true
    policy_id?: true
    user_id?: true
  }

  export type UserPoliciesSumAggregateInputType = {
    company_id?: true
    policy_id?: true
    user_id?: true
  }

  export type UserPoliciesMinAggregateInputType = {
    company_id?: true
    policy_id?: true
    user_id?: true
  }

  export type UserPoliciesMaxAggregateInputType = {
    company_id?: true
    policy_id?: true
    user_id?: true
  }

  export type UserPoliciesCountAggregateInputType = {
    company_id?: true
    policy_id?: true
    user_id?: true
    _all?: true
  }

  export type UserPoliciesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserPolicies to aggregate.
     */
    where?: UserPoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPolicies to fetch.
     */
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserPoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserPolicies
    **/
    _count?: true | UserPoliciesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserPoliciesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserPoliciesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserPoliciesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserPoliciesMaxAggregateInputType
  }

  export type GetUserPoliciesAggregateType<T extends UserPoliciesAggregateArgs> = {
        [P in keyof T & keyof AggregateUserPolicies]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserPolicies[P]>
      : GetScalarType<T[P], AggregateUserPolicies[P]>
  }




  export type UserPoliciesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserPoliciesWhereInput
    orderBy?: UserPoliciesOrderByWithAggregationInput | UserPoliciesOrderByWithAggregationInput[]
    by: UserPoliciesScalarFieldEnum[] | UserPoliciesScalarFieldEnum
    having?: UserPoliciesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserPoliciesCountAggregateInputType | true
    _avg?: UserPoliciesAvgAggregateInputType
    _sum?: UserPoliciesSumAggregateInputType
    _min?: UserPoliciesMinAggregateInputType
    _max?: UserPoliciesMaxAggregateInputType
  }

  export type UserPoliciesGroupByOutputType = {
    company_id: number
    policy_id: number
    user_id: number
    _count: UserPoliciesCountAggregateOutputType | null
    _avg: UserPoliciesAvgAggregateOutputType | null
    _sum: UserPoliciesSumAggregateOutputType | null
    _min: UserPoliciesMinAggregateOutputType | null
    _max: UserPoliciesMaxAggregateOutputType | null
  }

  type GetUserPoliciesGroupByPayload<T extends UserPoliciesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserPoliciesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserPoliciesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserPoliciesGroupByOutputType[P]>
            : GetScalarType<T[P], UserPoliciesGroupByOutputType[P]>
        }
      >
    >


  export type UserPoliciesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    company_id?: boolean
    policy_id?: boolean
    user_id?: boolean
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userPolicies"]>

  export type UserPoliciesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    company_id?: boolean
    policy_id?: boolean
    user_id?: boolean
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userPolicies"]>

  export type UserPoliciesSelectScalar = {
    company_id?: boolean
    policy_id?: boolean
    user_id?: boolean
  }

  export type UserPoliciesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type UserPoliciesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $UserPoliciesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserPolicies"
    objects: {
      policy: Prisma.$PoliciesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      company_id: number
      policy_id: number
      user_id: number
    }, ExtArgs["result"]["userPolicies"]>
    composites: {}
  }

  type UserPoliciesGetPayload<S extends boolean | null | undefined | UserPoliciesDefaultArgs> = $Result.GetResult<Prisma.$UserPoliciesPayload, S>

  type UserPoliciesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserPoliciesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserPoliciesCountAggregateInputType | true
    }

  export interface UserPoliciesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserPolicies'], meta: { name: 'UserPolicies' } }
    /**
     * Find zero or one UserPolicies that matches the filter.
     * @param {UserPoliciesFindUniqueArgs} args - Arguments to find a UserPolicies
     * @example
     * // Get one UserPolicies
     * const userPolicies = await prisma.userPolicies.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserPoliciesFindUniqueArgs>(args: SelectSubset<T, UserPoliciesFindUniqueArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserPolicies that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserPoliciesFindUniqueOrThrowArgs} args - Arguments to find a UserPolicies
     * @example
     * // Get one UserPolicies
     * const userPolicies = await prisma.userPolicies.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserPoliciesFindUniqueOrThrowArgs>(args: SelectSubset<T, UserPoliciesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserPolicies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesFindFirstArgs} args - Arguments to find a UserPolicies
     * @example
     * // Get one UserPolicies
     * const userPolicies = await prisma.userPolicies.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserPoliciesFindFirstArgs>(args?: SelectSubset<T, UserPoliciesFindFirstArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserPolicies that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesFindFirstOrThrowArgs} args - Arguments to find a UserPolicies
     * @example
     * // Get one UserPolicies
     * const userPolicies = await prisma.userPolicies.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserPoliciesFindFirstOrThrowArgs>(args?: SelectSubset<T, UserPoliciesFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserPolicies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserPolicies
     * const userPolicies = await prisma.userPolicies.findMany()
     * 
     * // Get first 10 UserPolicies
     * const userPolicies = await prisma.userPolicies.findMany({ take: 10 })
     * 
     * // Only select the `company_id`
     * const userPoliciesWithCompany_idOnly = await prisma.userPolicies.findMany({ select: { company_id: true } })
     * 
     */
    findMany<T extends UserPoliciesFindManyArgs>(args?: SelectSubset<T, UserPoliciesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserPolicies.
     * @param {UserPoliciesCreateArgs} args - Arguments to create a UserPolicies.
     * @example
     * // Create one UserPolicies
     * const UserPolicies = await prisma.userPolicies.create({
     *   data: {
     *     // ... data to create a UserPolicies
     *   }
     * })
     * 
     */
    create<T extends UserPoliciesCreateArgs>(args: SelectSubset<T, UserPoliciesCreateArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserPolicies.
     * @param {UserPoliciesCreateManyArgs} args - Arguments to create many UserPolicies.
     * @example
     * // Create many UserPolicies
     * const userPolicies = await prisma.userPolicies.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserPoliciesCreateManyArgs>(args?: SelectSubset<T, UserPoliciesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserPolicies and returns the data saved in the database.
     * @param {UserPoliciesCreateManyAndReturnArgs} args - Arguments to create many UserPolicies.
     * @example
     * // Create many UserPolicies
     * const userPolicies = await prisma.userPolicies.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserPolicies and only return the `company_id`
     * const userPoliciesWithCompany_idOnly = await prisma.userPolicies.createManyAndReturn({ 
     *   select: { company_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserPoliciesCreateManyAndReturnArgs>(args?: SelectSubset<T, UserPoliciesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserPolicies.
     * @param {UserPoliciesDeleteArgs} args - Arguments to delete one UserPolicies.
     * @example
     * // Delete one UserPolicies
     * const UserPolicies = await prisma.userPolicies.delete({
     *   where: {
     *     // ... filter to delete one UserPolicies
     *   }
     * })
     * 
     */
    delete<T extends UserPoliciesDeleteArgs>(args: SelectSubset<T, UserPoliciesDeleteArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserPolicies.
     * @param {UserPoliciesUpdateArgs} args - Arguments to update one UserPolicies.
     * @example
     * // Update one UserPolicies
     * const userPolicies = await prisma.userPolicies.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserPoliciesUpdateArgs>(args: SelectSubset<T, UserPoliciesUpdateArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserPolicies.
     * @param {UserPoliciesDeleteManyArgs} args - Arguments to filter UserPolicies to delete.
     * @example
     * // Delete a few UserPolicies
     * const { count } = await prisma.userPolicies.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserPoliciesDeleteManyArgs>(args?: SelectSubset<T, UserPoliciesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserPolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserPolicies
     * const userPolicies = await prisma.userPolicies.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserPoliciesUpdateManyArgs>(args: SelectSubset<T, UserPoliciesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserPolicies.
     * @param {UserPoliciesUpsertArgs} args - Arguments to update or create a UserPolicies.
     * @example
     * // Update or create a UserPolicies
     * const userPolicies = await prisma.userPolicies.upsert({
     *   create: {
     *     // ... data to create a UserPolicies
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserPolicies we want to update
     *   }
     * })
     */
    upsert<T extends UserPoliciesUpsertArgs>(args: SelectSubset<T, UserPoliciesUpsertArgs<ExtArgs>>): Prisma__UserPoliciesClient<$Result.GetResult<Prisma.$UserPoliciesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserPolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesCountArgs} args - Arguments to filter UserPolicies to count.
     * @example
     * // Count the number of UserPolicies
     * const count = await prisma.userPolicies.count({
     *   where: {
     *     // ... the filter for the UserPolicies we want to count
     *   }
     * })
    **/
    count<T extends UserPoliciesCountArgs>(
      args?: Subset<T, UserPoliciesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserPoliciesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserPolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserPoliciesAggregateArgs>(args: Subset<T, UserPoliciesAggregateArgs>): Prisma.PrismaPromise<GetUserPoliciesAggregateType<T>>

    /**
     * Group by UserPolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserPoliciesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserPoliciesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserPoliciesGroupByArgs['orderBy'] }
        : { orderBy?: UserPoliciesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserPoliciesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserPoliciesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserPolicies model
   */
  readonly fields: UserPoliciesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserPolicies.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserPoliciesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    policy<T extends PoliciesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, PoliciesDefaultArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserPolicies model
   */ 
  interface UserPoliciesFieldRefs {
    readonly company_id: FieldRef<"UserPolicies", 'Int'>
    readonly policy_id: FieldRef<"UserPolicies", 'Int'>
    readonly user_id: FieldRef<"UserPolicies", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * UserPolicies findUnique
   */
  export type UserPoliciesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter, which UserPolicies to fetch.
     */
    where: UserPoliciesWhereUniqueInput
  }

  /**
   * UserPolicies findUniqueOrThrow
   */
  export type UserPoliciesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter, which UserPolicies to fetch.
     */
    where: UserPoliciesWhereUniqueInput
  }

  /**
   * UserPolicies findFirst
   */
  export type UserPoliciesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter, which UserPolicies to fetch.
     */
    where?: UserPoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPolicies to fetch.
     */
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserPolicies.
     */
    cursor?: UserPoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserPolicies.
     */
    distinct?: UserPoliciesScalarFieldEnum | UserPoliciesScalarFieldEnum[]
  }

  /**
   * UserPolicies findFirstOrThrow
   */
  export type UserPoliciesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter, which UserPolicies to fetch.
     */
    where?: UserPoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPolicies to fetch.
     */
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserPolicies.
     */
    cursor?: UserPoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserPolicies.
     */
    distinct?: UserPoliciesScalarFieldEnum | UserPoliciesScalarFieldEnum[]
  }

  /**
   * UserPolicies findMany
   */
  export type UserPoliciesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter, which UserPolicies to fetch.
     */
    where?: UserPoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserPolicies to fetch.
     */
    orderBy?: UserPoliciesOrderByWithRelationInput | UserPoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserPolicies.
     */
    cursor?: UserPoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserPolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserPolicies.
     */
    skip?: number
    distinct?: UserPoliciesScalarFieldEnum | UserPoliciesScalarFieldEnum[]
  }

  /**
   * UserPolicies create
   */
  export type UserPoliciesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * The data needed to create a UserPolicies.
     */
    data: XOR<UserPoliciesCreateInput, UserPoliciesUncheckedCreateInput>
  }

  /**
   * UserPolicies createMany
   */
  export type UserPoliciesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserPolicies.
     */
    data: UserPoliciesCreateManyInput | UserPoliciesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserPolicies createManyAndReturn
   */
  export type UserPoliciesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserPolicies.
     */
    data: UserPoliciesCreateManyInput | UserPoliciesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserPolicies update
   */
  export type UserPoliciesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * The data needed to update a UserPolicies.
     */
    data: XOR<UserPoliciesUpdateInput, UserPoliciesUncheckedUpdateInput>
    /**
     * Choose, which UserPolicies to update.
     */
    where: UserPoliciesWhereUniqueInput
  }

  /**
   * UserPolicies updateMany
   */
  export type UserPoliciesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserPolicies.
     */
    data: XOR<UserPoliciesUpdateManyMutationInput, UserPoliciesUncheckedUpdateManyInput>
    /**
     * Filter which UserPolicies to update
     */
    where?: UserPoliciesWhereInput
  }

  /**
   * UserPolicies upsert
   */
  export type UserPoliciesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * The filter to search for the UserPolicies to update in case it exists.
     */
    where: UserPoliciesWhereUniqueInput
    /**
     * In case the UserPolicies found by the `where` argument doesn't exist, create a new UserPolicies with this data.
     */
    create: XOR<UserPoliciesCreateInput, UserPoliciesUncheckedCreateInput>
    /**
     * In case the UserPolicies was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserPoliciesUpdateInput, UserPoliciesUncheckedUpdateInput>
  }

  /**
   * UserPolicies delete
   */
  export type UserPoliciesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
    /**
     * Filter which UserPolicies to delete.
     */
    where: UserPoliciesWhereUniqueInput
  }

  /**
   * UserPolicies deleteMany
   */
  export type UserPoliciesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserPolicies to delete
     */
    where?: UserPoliciesWhereInput
  }

  /**
   * UserPolicies without action
   */
  export type UserPoliciesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserPolicies
     */
    select?: UserPoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserPoliciesInclude<ExtArgs> | null
  }


  /**
   * Model RolePolicies
   */

  export type AggregateRolePolicies = {
    _count: RolePoliciesCountAggregateOutputType | null
    _avg: RolePoliciesAvgAggregateOutputType | null
    _sum: RolePoliciesSumAggregateOutputType | null
    _min: RolePoliciesMinAggregateOutputType | null
    _max: RolePoliciesMaxAggregateOutputType | null
  }

  export type RolePoliciesAvgAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    role_id: number | null
  }

  export type RolePoliciesSumAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    role_id: number | null
  }

  export type RolePoliciesMinAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    role_id: number | null
  }

  export type RolePoliciesMaxAggregateOutputType = {
    company_id: number | null
    policy_id: number | null
    role_id: number | null
  }

  export type RolePoliciesCountAggregateOutputType = {
    company_id: number
    policy_id: number
    role_id: number
    _all: number
  }


  export type RolePoliciesAvgAggregateInputType = {
    company_id?: true
    policy_id?: true
    role_id?: true
  }

  export type RolePoliciesSumAggregateInputType = {
    company_id?: true
    policy_id?: true
    role_id?: true
  }

  export type RolePoliciesMinAggregateInputType = {
    company_id?: true
    policy_id?: true
    role_id?: true
  }

  export type RolePoliciesMaxAggregateInputType = {
    company_id?: true
    policy_id?: true
    role_id?: true
  }

  export type RolePoliciesCountAggregateInputType = {
    company_id?: true
    policy_id?: true
    role_id?: true
    _all?: true
  }

  export type RolePoliciesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RolePolicies to aggregate.
     */
    where?: RolePoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePolicies to fetch.
     */
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: RolePoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned RolePolicies
    **/
    _count?: true | RolePoliciesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: RolePoliciesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: RolePoliciesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: RolePoliciesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: RolePoliciesMaxAggregateInputType
  }

  export type GetRolePoliciesAggregateType<T extends RolePoliciesAggregateArgs> = {
        [P in keyof T & keyof AggregateRolePolicies]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateRolePolicies[P]>
      : GetScalarType<T[P], AggregateRolePolicies[P]>
  }




  export type RolePoliciesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: RolePoliciesWhereInput
    orderBy?: RolePoliciesOrderByWithAggregationInput | RolePoliciesOrderByWithAggregationInput[]
    by: RolePoliciesScalarFieldEnum[] | RolePoliciesScalarFieldEnum
    having?: RolePoliciesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: RolePoliciesCountAggregateInputType | true
    _avg?: RolePoliciesAvgAggregateInputType
    _sum?: RolePoliciesSumAggregateInputType
    _min?: RolePoliciesMinAggregateInputType
    _max?: RolePoliciesMaxAggregateInputType
  }

  export type RolePoliciesGroupByOutputType = {
    company_id: number
    policy_id: number
    role_id: number
    _count: RolePoliciesCountAggregateOutputType | null
    _avg: RolePoliciesAvgAggregateOutputType | null
    _sum: RolePoliciesSumAggregateOutputType | null
    _min: RolePoliciesMinAggregateOutputType | null
    _max: RolePoliciesMaxAggregateOutputType | null
  }

  type GetRolePoliciesGroupByPayload<T extends RolePoliciesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<RolePoliciesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof RolePoliciesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], RolePoliciesGroupByOutputType[P]>
            : GetScalarType<T[P], RolePoliciesGroupByOutputType[P]>
        }
      >
    >


  export type RolePoliciesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    company_id?: boolean
    policy_id?: boolean
    role_id?: boolean
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["rolePolicies"]>

  export type RolePoliciesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    company_id?: boolean
    policy_id?: boolean
    role_id?: boolean
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["rolePolicies"]>

  export type RolePoliciesSelectScalar = {
    company_id?: boolean
    policy_id?: boolean
    role_id?: boolean
  }

  export type RolePoliciesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }
  export type RolePoliciesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    policy?: boolean | PoliciesDefaultArgs<ExtArgs>
    role?: boolean | RoleDefaultArgs<ExtArgs>
  }

  export type $RolePoliciesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "RolePolicies"
    objects: {
      policy: Prisma.$PoliciesPayload<ExtArgs>
      role: Prisma.$RolePayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      company_id: number
      policy_id: number
      role_id: number
    }, ExtArgs["result"]["rolePolicies"]>
    composites: {}
  }

  type RolePoliciesGetPayload<S extends boolean | null | undefined | RolePoliciesDefaultArgs> = $Result.GetResult<Prisma.$RolePoliciesPayload, S>

  type RolePoliciesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<RolePoliciesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: RolePoliciesCountAggregateInputType | true
    }

  export interface RolePoliciesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RolePolicies'], meta: { name: 'RolePolicies' } }
    /**
     * Find zero or one RolePolicies that matches the filter.
     * @param {RolePoliciesFindUniqueArgs} args - Arguments to find a RolePolicies
     * @example
     * // Get one RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends RolePoliciesFindUniqueArgs>(args: SelectSubset<T, RolePoliciesFindUniqueArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one RolePolicies that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {RolePoliciesFindUniqueOrThrowArgs} args - Arguments to find a RolePolicies
     * @example
     * // Get one RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends RolePoliciesFindUniqueOrThrowArgs>(args: SelectSubset<T, RolePoliciesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first RolePolicies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesFindFirstArgs} args - Arguments to find a RolePolicies
     * @example
     * // Get one RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends RolePoliciesFindFirstArgs>(args?: SelectSubset<T, RolePoliciesFindFirstArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first RolePolicies that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesFindFirstOrThrowArgs} args - Arguments to find a RolePolicies
     * @example
     * // Get one RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends RolePoliciesFindFirstOrThrowArgs>(args?: SelectSubset<T, RolePoliciesFindFirstOrThrowArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more RolePolicies that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findMany()
     * 
     * // Get first 10 RolePolicies
     * const rolePolicies = await prisma.rolePolicies.findMany({ take: 10 })
     * 
     * // Only select the `company_id`
     * const rolePoliciesWithCompany_idOnly = await prisma.rolePolicies.findMany({ select: { company_id: true } })
     * 
     */
    findMany<T extends RolePoliciesFindManyArgs>(args?: SelectSubset<T, RolePoliciesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a RolePolicies.
     * @param {RolePoliciesCreateArgs} args - Arguments to create a RolePolicies.
     * @example
     * // Create one RolePolicies
     * const RolePolicies = await prisma.rolePolicies.create({
     *   data: {
     *     // ... data to create a RolePolicies
     *   }
     * })
     * 
     */
    create<T extends RolePoliciesCreateArgs>(args: SelectSubset<T, RolePoliciesCreateArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many RolePolicies.
     * @param {RolePoliciesCreateManyArgs} args - Arguments to create many RolePolicies.
     * @example
     * // Create many RolePolicies
     * const rolePolicies = await prisma.rolePolicies.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends RolePoliciesCreateManyArgs>(args?: SelectSubset<T, RolePoliciesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many RolePolicies and returns the data saved in the database.
     * @param {RolePoliciesCreateManyAndReturnArgs} args - Arguments to create many RolePolicies.
     * @example
     * // Create many RolePolicies
     * const rolePolicies = await prisma.rolePolicies.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many RolePolicies and only return the `company_id`
     * const rolePoliciesWithCompany_idOnly = await prisma.rolePolicies.createManyAndReturn({ 
     *   select: { company_id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends RolePoliciesCreateManyAndReturnArgs>(args?: SelectSubset<T, RolePoliciesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a RolePolicies.
     * @param {RolePoliciesDeleteArgs} args - Arguments to delete one RolePolicies.
     * @example
     * // Delete one RolePolicies
     * const RolePolicies = await prisma.rolePolicies.delete({
     *   where: {
     *     // ... filter to delete one RolePolicies
     *   }
     * })
     * 
     */
    delete<T extends RolePoliciesDeleteArgs>(args: SelectSubset<T, RolePoliciesDeleteArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one RolePolicies.
     * @param {RolePoliciesUpdateArgs} args - Arguments to update one RolePolicies.
     * @example
     * // Update one RolePolicies
     * const rolePolicies = await prisma.rolePolicies.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends RolePoliciesUpdateArgs>(args: SelectSubset<T, RolePoliciesUpdateArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more RolePolicies.
     * @param {RolePoliciesDeleteManyArgs} args - Arguments to filter RolePolicies to delete.
     * @example
     * // Delete a few RolePolicies
     * const { count } = await prisma.rolePolicies.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends RolePoliciesDeleteManyArgs>(args?: SelectSubset<T, RolePoliciesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more RolePolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many RolePolicies
     * const rolePolicies = await prisma.rolePolicies.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends RolePoliciesUpdateManyArgs>(args: SelectSubset<T, RolePoliciesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one RolePolicies.
     * @param {RolePoliciesUpsertArgs} args - Arguments to update or create a RolePolicies.
     * @example
     * // Update or create a RolePolicies
     * const rolePolicies = await prisma.rolePolicies.upsert({
     *   create: {
     *     // ... data to create a RolePolicies
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the RolePolicies we want to update
     *   }
     * })
     */
    upsert<T extends RolePoliciesUpsertArgs>(args: SelectSubset<T, RolePoliciesUpsertArgs<ExtArgs>>): Prisma__RolePoliciesClient<$Result.GetResult<Prisma.$RolePoliciesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of RolePolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesCountArgs} args - Arguments to filter RolePolicies to count.
     * @example
     * // Count the number of RolePolicies
     * const count = await prisma.rolePolicies.count({
     *   where: {
     *     // ... the filter for the RolePolicies we want to count
     *   }
     * })
    **/
    count<T extends RolePoliciesCountArgs>(
      args?: Subset<T, RolePoliciesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], RolePoliciesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a RolePolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends RolePoliciesAggregateArgs>(args: Subset<T, RolePoliciesAggregateArgs>): Prisma.PrismaPromise<GetRolePoliciesAggregateType<T>>

    /**
     * Group by RolePolicies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RolePoliciesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends RolePoliciesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: RolePoliciesGroupByArgs['orderBy'] }
        : { orderBy?: RolePoliciesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, RolePoliciesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRolePoliciesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the RolePolicies model
   */
  readonly fields: RolePoliciesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for RolePolicies.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__RolePoliciesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    policy<T extends PoliciesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, PoliciesDefaultArgs<ExtArgs>>): Prisma__PoliciesClient<$Result.GetResult<Prisma.$PoliciesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    role<T extends RoleDefaultArgs<ExtArgs> = {}>(args?: Subset<T, RoleDefaultArgs<ExtArgs>>): Prisma__RoleClient<$Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the RolePolicies model
   */ 
  interface RolePoliciesFieldRefs {
    readonly company_id: FieldRef<"RolePolicies", 'Int'>
    readonly policy_id: FieldRef<"RolePolicies", 'Int'>
    readonly role_id: FieldRef<"RolePolicies", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * RolePolicies findUnique
   */
  export type RolePoliciesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter, which RolePolicies to fetch.
     */
    where: RolePoliciesWhereUniqueInput
  }

  /**
   * RolePolicies findUniqueOrThrow
   */
  export type RolePoliciesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter, which RolePolicies to fetch.
     */
    where: RolePoliciesWhereUniqueInput
  }

  /**
   * RolePolicies findFirst
   */
  export type RolePoliciesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter, which RolePolicies to fetch.
     */
    where?: RolePoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePolicies to fetch.
     */
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RolePolicies.
     */
    cursor?: RolePoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RolePolicies.
     */
    distinct?: RolePoliciesScalarFieldEnum | RolePoliciesScalarFieldEnum[]
  }

  /**
   * RolePolicies findFirstOrThrow
   */
  export type RolePoliciesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter, which RolePolicies to fetch.
     */
    where?: RolePoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePolicies to fetch.
     */
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for RolePolicies.
     */
    cursor?: RolePoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePolicies.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of RolePolicies.
     */
    distinct?: RolePoliciesScalarFieldEnum | RolePoliciesScalarFieldEnum[]
  }

  /**
   * RolePolicies findMany
   */
  export type RolePoliciesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter, which RolePolicies to fetch.
     */
    where?: RolePoliciesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of RolePolicies to fetch.
     */
    orderBy?: RolePoliciesOrderByWithRelationInput | RolePoliciesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing RolePolicies.
     */
    cursor?: RolePoliciesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` RolePolicies from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` RolePolicies.
     */
    skip?: number
    distinct?: RolePoliciesScalarFieldEnum | RolePoliciesScalarFieldEnum[]
  }

  /**
   * RolePolicies create
   */
  export type RolePoliciesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * The data needed to create a RolePolicies.
     */
    data: XOR<RolePoliciesCreateInput, RolePoliciesUncheckedCreateInput>
  }

  /**
   * RolePolicies createMany
   */
  export type RolePoliciesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many RolePolicies.
     */
    data: RolePoliciesCreateManyInput | RolePoliciesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * RolePolicies createManyAndReturn
   */
  export type RolePoliciesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many RolePolicies.
     */
    data: RolePoliciesCreateManyInput | RolePoliciesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * RolePolicies update
   */
  export type RolePoliciesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * The data needed to update a RolePolicies.
     */
    data: XOR<RolePoliciesUpdateInput, RolePoliciesUncheckedUpdateInput>
    /**
     * Choose, which RolePolicies to update.
     */
    where: RolePoliciesWhereUniqueInput
  }

  /**
   * RolePolicies updateMany
   */
  export type RolePoliciesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update RolePolicies.
     */
    data: XOR<RolePoliciesUpdateManyMutationInput, RolePoliciesUncheckedUpdateManyInput>
    /**
     * Filter which RolePolicies to update
     */
    where?: RolePoliciesWhereInput
  }

  /**
   * RolePolicies upsert
   */
  export type RolePoliciesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * The filter to search for the RolePolicies to update in case it exists.
     */
    where: RolePoliciesWhereUniqueInput
    /**
     * In case the RolePolicies found by the `where` argument doesn't exist, create a new RolePolicies with this data.
     */
    create: XOR<RolePoliciesCreateInput, RolePoliciesUncheckedCreateInput>
    /**
     * In case the RolePolicies was found with the provided `where` argument, update it with this data.
     */
    update: XOR<RolePoliciesUpdateInput, RolePoliciesUncheckedUpdateInput>
  }

  /**
   * RolePolicies delete
   */
  export type RolePoliciesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
    /**
     * Filter which RolePolicies to delete.
     */
    where: RolePoliciesWhereUniqueInput
  }

  /**
   * RolePolicies deleteMany
   */
  export type RolePoliciesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which RolePolicies to delete
     */
    where?: RolePoliciesWhereInput
  }

  /**
   * RolePolicies without action
   */
  export type RolePoliciesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the RolePolicies
     */
    select?: RolePoliciesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: RolePoliciesInclude<ExtArgs> | null
  }


  /**
   * Model Appversions
   */

  export type AggregateAppversions = {
    _count: AppversionsCountAggregateOutputType | null
    _avg: AppversionsAvgAggregateOutputType | null
    _sum: AppversionsSumAggregateOutputType | null
    _min: AppversionsMinAggregateOutputType | null
    _max: AppversionsMaxAggregateOutputType | null
  }

  export type AppversionsAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type AppversionsSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type AppversionsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    type: string | null
    version_type: string | null
    version: string | null
    description: string | null
    is_frontend_changed: boolean | null
    is_backend_changed: boolean | null
    is_database_changed: boolean | null
    developed_by: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    app_url: string | null
  }

  export type AppversionsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    type: string | null
    version_type: string | null
    version: string | null
    description: string | null
    is_frontend_changed: boolean | null
    is_backend_changed: boolean | null
    is_database_changed: boolean | null
    developed_by: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    app_url: string | null
  }

  export type AppversionsCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    type: number
    version_type: number
    version: number
    description: number
    is_frontend_changed: number
    is_backend_changed: number
    is_database_changed: number
    developed_by: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    app_url: number
    _all: number
  }


  export type AppversionsAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type AppversionsSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type AppversionsMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    type?: true
    version_type?: true
    version?: true
    description?: true
    is_frontend_changed?: true
    is_backend_changed?: true
    is_database_changed?: true
    developed_by?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    app_url?: true
  }

  export type AppversionsMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    type?: true
    version_type?: true
    version?: true
    description?: true
    is_frontend_changed?: true
    is_backend_changed?: true
    is_database_changed?: true
    developed_by?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    app_url?: true
  }

  export type AppversionsCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    type?: true
    version_type?: true
    version?: true
    description?: true
    is_frontend_changed?: true
    is_backend_changed?: true
    is_database_changed?: true
    developed_by?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    app_url?: true
    _all?: true
  }

  export type AppversionsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Appversions to aggregate.
     */
    where?: AppversionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Appversions to fetch.
     */
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: AppversionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Appversions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Appversions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Appversions
    **/
    _count?: true | AppversionsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: AppversionsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: AppversionsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: AppversionsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: AppversionsMaxAggregateInputType
  }

  export type GetAppversionsAggregateType<T extends AppversionsAggregateArgs> = {
        [P in keyof T & keyof AggregateAppversions]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateAppversions[P]>
      : GetScalarType<T[P], AggregateAppversions[P]>
  }




  export type AppversionsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: AppversionsWhereInput
    orderBy?: AppversionsOrderByWithAggregationInput | AppversionsOrderByWithAggregationInput[]
    by: AppversionsScalarFieldEnum[] | AppversionsScalarFieldEnum
    having?: AppversionsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: AppversionsCountAggregateInputType | true
    _avg?: AppversionsAvgAggregateInputType
    _sum?: AppversionsSumAggregateInputType
    _min?: AppversionsMinAggregateInputType
    _max?: AppversionsMaxAggregateInputType
  }

  export type AppversionsGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed: boolean
    is_backend_changed: boolean
    is_database_changed: boolean
    developed_by: string | null
    status_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    app_url: string | null
    _count: AppversionsCountAggregateOutputType | null
    _avg: AppversionsAvgAggregateOutputType | null
    _sum: AppversionsSumAggregateOutputType | null
    _min: AppversionsMinAggregateOutputType | null
    _max: AppversionsMaxAggregateOutputType | null
  }

  type GetAppversionsGroupByPayload<T extends AppversionsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<AppversionsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof AppversionsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], AppversionsGroupByOutputType[P]>
            : GetScalarType<T[P], AppversionsGroupByOutputType[P]>
        }
      >
    >


  export type AppversionsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    type?: boolean
    version_type?: boolean
    version?: boolean
    description?: boolean
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    app_url?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_app_versions?: boolean | UserDefaultArgs<ExtArgs>
    updated_app_versions?: boolean | Appversions$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | Appversions$deleted_app_versionsArgs<ExtArgs>
  }, ExtArgs["result"]["appversions"]>

  export type AppversionsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    type?: boolean
    version_type?: boolean
    version?: boolean
    description?: boolean
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    app_url?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_app_versions?: boolean | UserDefaultArgs<ExtArgs>
    updated_app_versions?: boolean | Appversions$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | Appversions$deleted_app_versionsArgs<ExtArgs>
  }, ExtArgs["result"]["appversions"]>

  export type AppversionsSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    type?: boolean
    version_type?: boolean
    version?: boolean
    description?: boolean
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    app_url?: boolean
  }

  export type AppversionsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_app_versions?: boolean | UserDefaultArgs<ExtArgs>
    updated_app_versions?: boolean | Appversions$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | Appversions$deleted_app_versionsArgs<ExtArgs>
  }
  export type AppversionsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_app_versions?: boolean | UserDefaultArgs<ExtArgs>
    updated_app_versions?: boolean | Appversions$updated_app_versionsArgs<ExtArgs>
    deleted_app_versions?: boolean | Appversions$deleted_app_versionsArgs<ExtArgs>
  }

  export type $AppversionsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Appversions"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created_app_versions: Prisma.$UserPayload<ExtArgs>
      updated_app_versions: Prisma.$UserPayload<ExtArgs> | null
      deleted_app_versions: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      type: string
      version_type: string
      version: string
      description: string
      is_frontend_changed: boolean
      is_backend_changed: boolean
      is_database_changed: boolean
      developed_by: string | null
      status_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      app_url: string | null
    }, ExtArgs["result"]["appversions"]>
    composites: {}
  }

  type AppversionsGetPayload<S extends boolean | null | undefined | AppversionsDefaultArgs> = $Result.GetResult<Prisma.$AppversionsPayload, S>

  type AppversionsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<AppversionsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: AppversionsCountAggregateInputType | true
    }

  export interface AppversionsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Appversions'], meta: { name: 'Appversions' } }
    /**
     * Find zero or one Appversions that matches the filter.
     * @param {AppversionsFindUniqueArgs} args - Arguments to find a Appversions
     * @example
     * // Get one Appversions
     * const appversions = await prisma.appversions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends AppversionsFindUniqueArgs>(args: SelectSubset<T, AppversionsFindUniqueArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Appversions that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {AppversionsFindUniqueOrThrowArgs} args - Arguments to find a Appversions
     * @example
     * // Get one Appversions
     * const appversions = await prisma.appversions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends AppversionsFindUniqueOrThrowArgs>(args: SelectSubset<T, AppversionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Appversions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsFindFirstArgs} args - Arguments to find a Appversions
     * @example
     * // Get one Appversions
     * const appversions = await prisma.appversions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends AppversionsFindFirstArgs>(args?: SelectSubset<T, AppversionsFindFirstArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Appversions that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsFindFirstOrThrowArgs} args - Arguments to find a Appversions
     * @example
     * // Get one Appversions
     * const appversions = await prisma.appversions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends AppversionsFindFirstOrThrowArgs>(args?: SelectSubset<T, AppversionsFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Appversions that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Appversions
     * const appversions = await prisma.appversions.findMany()
     * 
     * // Get first 10 Appversions
     * const appversions = await prisma.appversions.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const appversionsWithIdOnly = await prisma.appversions.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends AppversionsFindManyArgs>(args?: SelectSubset<T, AppversionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Appversions.
     * @param {AppversionsCreateArgs} args - Arguments to create a Appversions.
     * @example
     * // Create one Appversions
     * const Appversions = await prisma.appversions.create({
     *   data: {
     *     // ... data to create a Appversions
     *   }
     * })
     * 
     */
    create<T extends AppversionsCreateArgs>(args: SelectSubset<T, AppversionsCreateArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Appversions.
     * @param {AppversionsCreateManyArgs} args - Arguments to create many Appversions.
     * @example
     * // Create many Appversions
     * const appversions = await prisma.appversions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends AppversionsCreateManyArgs>(args?: SelectSubset<T, AppversionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Appversions and returns the data saved in the database.
     * @param {AppversionsCreateManyAndReturnArgs} args - Arguments to create many Appversions.
     * @example
     * // Create many Appversions
     * const appversions = await prisma.appversions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Appversions and only return the `id`
     * const appversionsWithIdOnly = await prisma.appversions.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends AppversionsCreateManyAndReturnArgs>(args?: SelectSubset<T, AppversionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Appversions.
     * @param {AppversionsDeleteArgs} args - Arguments to delete one Appversions.
     * @example
     * // Delete one Appversions
     * const Appversions = await prisma.appversions.delete({
     *   where: {
     *     // ... filter to delete one Appversions
     *   }
     * })
     * 
     */
    delete<T extends AppversionsDeleteArgs>(args: SelectSubset<T, AppversionsDeleteArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Appversions.
     * @param {AppversionsUpdateArgs} args - Arguments to update one Appversions.
     * @example
     * // Update one Appversions
     * const appversions = await prisma.appversions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends AppversionsUpdateArgs>(args: SelectSubset<T, AppversionsUpdateArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Appversions.
     * @param {AppversionsDeleteManyArgs} args - Arguments to filter Appversions to delete.
     * @example
     * // Delete a few Appversions
     * const { count } = await prisma.appversions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends AppversionsDeleteManyArgs>(args?: SelectSubset<T, AppversionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Appversions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Appversions
     * const appversions = await prisma.appversions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends AppversionsUpdateManyArgs>(args: SelectSubset<T, AppversionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Appversions.
     * @param {AppversionsUpsertArgs} args - Arguments to update or create a Appversions.
     * @example
     * // Update or create a Appversions
     * const appversions = await prisma.appversions.upsert({
     *   create: {
     *     // ... data to create a Appversions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Appversions we want to update
     *   }
     * })
     */
    upsert<T extends AppversionsUpsertArgs>(args: SelectSubset<T, AppversionsUpsertArgs<ExtArgs>>): Prisma__AppversionsClient<$Result.GetResult<Prisma.$AppversionsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Appversions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsCountArgs} args - Arguments to filter Appversions to count.
     * @example
     * // Count the number of Appversions
     * const count = await prisma.appversions.count({
     *   where: {
     *     // ... the filter for the Appversions we want to count
     *   }
     * })
    **/
    count<T extends AppversionsCountArgs>(
      args?: Subset<T, AppversionsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], AppversionsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Appversions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends AppversionsAggregateArgs>(args: Subset<T, AppversionsAggregateArgs>): Prisma.PrismaPromise<GetAppversionsAggregateType<T>>

    /**
     * Group by Appversions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {AppversionsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends AppversionsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: AppversionsGroupByArgs['orderBy'] }
        : { orderBy?: AppversionsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, AppversionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppversionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Appversions model
   */
  readonly fields: AppversionsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Appversions.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__AppversionsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created_app_versions<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    updated_app_versions<T extends Appversions$updated_app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Appversions$updated_app_versionsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_app_versions<T extends Appversions$deleted_app_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Appversions$deleted_app_versionsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Appversions model
   */ 
  interface AppversionsFieldRefs {
    readonly id: FieldRef<"Appversions", 'Int'>
    readonly uuid: FieldRef<"Appversions", 'String'>
    readonly company_id: FieldRef<"Appversions", 'Int'>
    readonly type: FieldRef<"Appversions", 'String'>
    readonly version_type: FieldRef<"Appversions", 'String'>
    readonly version: FieldRef<"Appversions", 'String'>
    readonly description: FieldRef<"Appversions", 'String'>
    readonly is_frontend_changed: FieldRef<"Appversions", 'Boolean'>
    readonly is_backend_changed: FieldRef<"Appversions", 'Boolean'>
    readonly is_database_changed: FieldRef<"Appversions", 'Boolean'>
    readonly developed_by: FieldRef<"Appversions", 'String'>
    readonly status_id: FieldRef<"Appversions", 'Int'>
    readonly created_by: FieldRef<"Appversions", 'Int'>
    readonly created_at: FieldRef<"Appversions", 'DateTime'>
    readonly updated_by: FieldRef<"Appversions", 'Int'>
    readonly updated_at: FieldRef<"Appversions", 'DateTime'>
    readonly deleted_by: FieldRef<"Appversions", 'Int'>
    readonly deleted_at: FieldRef<"Appversions", 'DateTime'>
    readonly app_url: FieldRef<"Appversions", 'String'>
  }
    

  // Custom InputTypes
  /**
   * Appversions findUnique
   */
  export type AppversionsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter, which Appversions to fetch.
     */
    where: AppversionsWhereUniqueInput
  }

  /**
   * Appversions findUniqueOrThrow
   */
  export type AppversionsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter, which Appversions to fetch.
     */
    where: AppversionsWhereUniqueInput
  }

  /**
   * Appversions findFirst
   */
  export type AppversionsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter, which Appversions to fetch.
     */
    where?: AppversionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Appversions to fetch.
     */
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Appversions.
     */
    cursor?: AppversionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Appversions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Appversions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Appversions.
     */
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * Appversions findFirstOrThrow
   */
  export type AppversionsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter, which Appversions to fetch.
     */
    where?: AppversionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Appversions to fetch.
     */
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Appversions.
     */
    cursor?: AppversionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Appversions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Appversions.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Appversions.
     */
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * Appversions findMany
   */
  export type AppversionsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter, which Appversions to fetch.
     */
    where?: AppversionsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Appversions to fetch.
     */
    orderBy?: AppversionsOrderByWithRelationInput | AppversionsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Appversions.
     */
    cursor?: AppversionsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Appversions from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Appversions.
     */
    skip?: number
    distinct?: AppversionsScalarFieldEnum | AppversionsScalarFieldEnum[]
  }

  /**
   * Appversions create
   */
  export type AppversionsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * The data needed to create a Appversions.
     */
    data: XOR<AppversionsCreateInput, AppversionsUncheckedCreateInput>
  }

  /**
   * Appversions createMany
   */
  export type AppversionsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Appversions.
     */
    data: AppversionsCreateManyInput | AppversionsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Appversions createManyAndReturn
   */
  export type AppversionsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Appversions.
     */
    data: AppversionsCreateManyInput | AppversionsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Appversions update
   */
  export type AppversionsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * The data needed to update a Appversions.
     */
    data: XOR<AppversionsUpdateInput, AppversionsUncheckedUpdateInput>
    /**
     * Choose, which Appversions to update.
     */
    where: AppversionsWhereUniqueInput
  }

  /**
   * Appversions updateMany
   */
  export type AppversionsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Appversions.
     */
    data: XOR<AppversionsUpdateManyMutationInput, AppversionsUncheckedUpdateManyInput>
    /**
     * Filter which Appversions to update
     */
    where?: AppversionsWhereInput
  }

  /**
   * Appversions upsert
   */
  export type AppversionsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * The filter to search for the Appversions to update in case it exists.
     */
    where: AppversionsWhereUniqueInput
    /**
     * In case the Appversions found by the `where` argument doesn't exist, create a new Appversions with this data.
     */
    create: XOR<AppversionsCreateInput, AppversionsUncheckedCreateInput>
    /**
     * In case the Appversions was found with the provided `where` argument, update it with this data.
     */
    update: XOR<AppversionsUpdateInput, AppversionsUncheckedUpdateInput>
  }

  /**
   * Appversions delete
   */
  export type AppversionsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
    /**
     * Filter which Appversions to delete.
     */
    where: AppversionsWhereUniqueInput
  }

  /**
   * Appversions deleteMany
   */
  export type AppversionsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Appversions to delete
     */
    where?: AppversionsWhereInput
  }

  /**
   * Appversions.updated_app_versions
   */
  export type Appversions$updated_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Appversions.deleted_app_versions
   */
  export type Appversions$deleted_app_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Appversions without action
   */
  export type AppversionsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Appversions
     */
    select?: AppversionsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: AppversionsInclude<ExtArgs> | null
  }


  /**
   * Model ScheduledJob
   */

  export type AggregateScheduledJob = {
    _count: ScheduledJobCountAggregateOutputType | null
    _avg: ScheduledJobAvgAggregateOutputType | null
    _sum: ScheduledJobSumAggregateOutputType | null
    _min: ScheduledJobMinAggregateOutputType | null
    _max: ScheduledJobMaxAggregateOutputType | null
  }

  export type ScheduledJobAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    timing: string | null
    cron_url: string | null
    concat_base_url: boolean | null
    downloadables: string | null
    description: string | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    timing: string | null
    cron_url: string | null
    concat_base_url: boolean | null
    downloadables: string | null
    description: string | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobCountAggregateOutputType = {
    id: number
    uuid: number
    timing: number
    cron_url: number
    concat_base_url: number
    downloadables: number
    description: number
    created_at: number
    company_id: number
    status_id: number
    _all: number
  }


  export type ScheduledJobAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobMinAggregateInputType = {
    id?: true
    uuid?: true
    timing?: true
    cron_url?: true
    concat_base_url?: true
    downloadables?: true
    description?: true
    created_at?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobMaxAggregateInputType = {
    id?: true
    uuid?: true
    timing?: true
    cron_url?: true
    concat_base_url?: true
    downloadables?: true
    description?: true
    created_at?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobCountAggregateInputType = {
    id?: true
    uuid?: true
    timing?: true
    cron_url?: true
    concat_base_url?: true
    downloadables?: true
    description?: true
    created_at?: true
    company_id?: true
    status_id?: true
    _all?: true
  }

  export type ScheduledJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ScheduledJob to aggregate.
     */
    where?: ScheduledJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobs to fetch.
     */
    orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ScheduledJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ScheduledJobs
    **/
    _count?: true | ScheduledJobCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ScheduledJobAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ScheduledJobSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ScheduledJobMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ScheduledJobMaxAggregateInputType
  }

  export type GetScheduledJobAggregateType<T extends ScheduledJobAggregateArgs> = {
        [P in keyof T & keyof AggregateScheduledJob]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateScheduledJob[P]>
      : GetScalarType<T[P], AggregateScheduledJob[P]>
  }




  export type ScheduledJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ScheduledJobWhereInput
    orderBy?: ScheduledJobOrderByWithAggregationInput | ScheduledJobOrderByWithAggregationInput[]
    by: ScheduledJobScalarFieldEnum[] | ScheduledJobScalarFieldEnum
    having?: ScheduledJobScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ScheduledJobCountAggregateInputType | true
    _avg?: ScheduledJobAvgAggregateInputType
    _sum?: ScheduledJobSumAggregateInputType
    _min?: ScheduledJobMinAggregateInputType
    _max?: ScheduledJobMaxAggregateInputType
  }

  export type ScheduledJobGroupByOutputType = {
    id: number
    uuid: string
    timing: string
    cron_url: string | null
    concat_base_url: boolean
    downloadables: string | null
    description: string | null
    created_at: Date
    company_id: number
    status_id: number
    _count: ScheduledJobCountAggregateOutputType | null
    _avg: ScheduledJobAvgAggregateOutputType | null
    _sum: ScheduledJobSumAggregateOutputType | null
    _min: ScheduledJobMinAggregateOutputType | null
    _max: ScheduledJobMaxAggregateOutputType | null
  }

  type GetScheduledJobGroupByPayload<T extends ScheduledJobGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ScheduledJobGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ScheduledJobGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
            : GetScalarType<T[P], ScheduledJobGroupByOutputType[P]>
        }
      >
    >


  export type ScheduledJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    timing?: boolean
    cron_url?: boolean
    concat_base_url?: boolean
    downloadables?: boolean
    description?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job_logs?: boolean | ScheduledJob$scheduled_job_logsArgs<ExtArgs>
    _count?: boolean | ScheduledJobCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["scheduledJob"]>

  export type ScheduledJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    timing?: boolean
    cron_url?: boolean
    concat_base_url?: boolean
    downloadables?: boolean
    description?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["scheduledJob"]>

  export type ScheduledJobSelectScalar = {
    id?: boolean
    uuid?: boolean
    timing?: boolean
    cron_url?: boolean
    concat_base_url?: boolean
    downloadables?: boolean
    description?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
  }

  export type ScheduledJobInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job_logs?: boolean | ScheduledJob$scheduled_job_logsArgs<ExtArgs>
    _count?: boolean | ScheduledJobCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ScheduledJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ScheduledJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ScheduledJob"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      scheduled_job_logs: Prisma.$ScheduledJobLogsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      timing: string
      cron_url: string | null
      concat_base_url: boolean
      downloadables: string | null
      description: string | null
      created_at: Date
      company_id: number
      status_id: number
    }, ExtArgs["result"]["scheduledJob"]>
    composites: {}
  }

  type ScheduledJobGetPayload<S extends boolean | null | undefined | ScheduledJobDefaultArgs> = $Result.GetResult<Prisma.$ScheduledJobPayload, S>

  type ScheduledJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ScheduledJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ScheduledJobCountAggregateInputType | true
    }

  export interface ScheduledJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduledJob'], meta: { name: 'ScheduledJob' } }
    /**
     * Find zero or one ScheduledJob that matches the filter.
     * @param {ScheduledJobFindUniqueArgs} args - Arguments to find a ScheduledJob
     * @example
     * // Get one ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ScheduledJobFindUniqueArgs>(args: SelectSubset<T, ScheduledJobFindUniqueArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ScheduledJob that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ScheduledJobFindUniqueOrThrowArgs} args - Arguments to find a ScheduledJob
     * @example
     * // Get one ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ScheduledJobFindUniqueOrThrowArgs>(args: SelectSubset<T, ScheduledJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ScheduledJob that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobFindFirstArgs} args - Arguments to find a ScheduledJob
     * @example
     * // Get one ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ScheduledJobFindFirstArgs>(args?: SelectSubset<T, ScheduledJobFindFirstArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ScheduledJob that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobFindFirstOrThrowArgs} args - Arguments to find a ScheduledJob
     * @example
     * // Get one ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ScheduledJobFindFirstOrThrowArgs>(args?: SelectSubset<T, ScheduledJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ScheduledJobs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ScheduledJobs
     * const scheduledJobs = await prisma.scheduledJob.findMany()
     * 
     * // Get first 10 ScheduledJobs
     * const scheduledJobs = await prisma.scheduledJob.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const scheduledJobWithIdOnly = await prisma.scheduledJob.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ScheduledJobFindManyArgs>(args?: SelectSubset<T, ScheduledJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ScheduledJob.
     * @param {ScheduledJobCreateArgs} args - Arguments to create a ScheduledJob.
     * @example
     * // Create one ScheduledJob
     * const ScheduledJob = await prisma.scheduledJob.create({
     *   data: {
     *     // ... data to create a ScheduledJob
     *   }
     * })
     * 
     */
    create<T extends ScheduledJobCreateArgs>(args: SelectSubset<T, ScheduledJobCreateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ScheduledJobs.
     * @param {ScheduledJobCreateManyArgs} args - Arguments to create many ScheduledJobs.
     * @example
     * // Create many ScheduledJobs
     * const scheduledJob = await prisma.scheduledJob.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ScheduledJobCreateManyArgs>(args?: SelectSubset<T, ScheduledJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ScheduledJobs and returns the data saved in the database.
     * @param {ScheduledJobCreateManyAndReturnArgs} args - Arguments to create many ScheduledJobs.
     * @example
     * // Create many ScheduledJobs
     * const scheduledJob = await prisma.scheduledJob.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ScheduledJobs and only return the `id`
     * const scheduledJobWithIdOnly = await prisma.scheduledJob.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ScheduledJobCreateManyAndReturnArgs>(args?: SelectSubset<T, ScheduledJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ScheduledJob.
     * @param {ScheduledJobDeleteArgs} args - Arguments to delete one ScheduledJob.
     * @example
     * // Delete one ScheduledJob
     * const ScheduledJob = await prisma.scheduledJob.delete({
     *   where: {
     *     // ... filter to delete one ScheduledJob
     *   }
     * })
     * 
     */
    delete<T extends ScheduledJobDeleteArgs>(args: SelectSubset<T, ScheduledJobDeleteArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ScheduledJob.
     * @param {ScheduledJobUpdateArgs} args - Arguments to update one ScheduledJob.
     * @example
     * // Update one ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ScheduledJobUpdateArgs>(args: SelectSubset<T, ScheduledJobUpdateArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ScheduledJobs.
     * @param {ScheduledJobDeleteManyArgs} args - Arguments to filter ScheduledJobs to delete.
     * @example
     * // Delete a few ScheduledJobs
     * const { count } = await prisma.scheduledJob.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ScheduledJobDeleteManyArgs>(args?: SelectSubset<T, ScheduledJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ScheduledJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ScheduledJobs
     * const scheduledJob = await prisma.scheduledJob.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ScheduledJobUpdateManyArgs>(args: SelectSubset<T, ScheduledJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ScheduledJob.
     * @param {ScheduledJobUpsertArgs} args - Arguments to update or create a ScheduledJob.
     * @example
     * // Update or create a ScheduledJob
     * const scheduledJob = await prisma.scheduledJob.upsert({
     *   create: {
     *     // ... data to create a ScheduledJob
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ScheduledJob we want to update
     *   }
     * })
     */
    upsert<T extends ScheduledJobUpsertArgs>(args: SelectSubset<T, ScheduledJobUpsertArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ScheduledJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobCountArgs} args - Arguments to filter ScheduledJobs to count.
     * @example
     * // Count the number of ScheduledJobs
     * const count = await prisma.scheduledJob.count({
     *   where: {
     *     // ... the filter for the ScheduledJobs we want to count
     *   }
     * })
    **/
    count<T extends ScheduledJobCountArgs>(
      args?: Subset<T, ScheduledJobCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ScheduledJobCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ScheduledJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ScheduledJobAggregateArgs>(args: Subset<T, ScheduledJobAggregateArgs>): Prisma.PrismaPromise<GetScheduledJobAggregateType<T>>

    /**
     * Group by ScheduledJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ScheduledJobGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ScheduledJobGroupByArgs['orderBy'] }
        : { orderBy?: ScheduledJobGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ScheduledJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduledJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ScheduledJob model
   */
  readonly fields: ScheduledJobFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ScheduledJob.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ScheduledJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    scheduled_job_logs<T extends ScheduledJob$scheduled_job_logsArgs<ExtArgs> = {}>(args?: Subset<T, ScheduledJob$scheduled_job_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ScheduledJob model
   */ 
  interface ScheduledJobFieldRefs {
    readonly id: FieldRef<"ScheduledJob", 'Int'>
    readonly uuid: FieldRef<"ScheduledJob", 'String'>
    readonly timing: FieldRef<"ScheduledJob", 'String'>
    readonly cron_url: FieldRef<"ScheduledJob", 'String'>
    readonly concat_base_url: FieldRef<"ScheduledJob", 'Boolean'>
    readonly downloadables: FieldRef<"ScheduledJob", 'String'>
    readonly description: FieldRef<"ScheduledJob", 'String'>
    readonly created_at: FieldRef<"ScheduledJob", 'DateTime'>
    readonly company_id: FieldRef<"ScheduledJob", 'Int'>
    readonly status_id: FieldRef<"ScheduledJob", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ScheduledJob findUnique
   */
  export type ScheduledJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJob to fetch.
     */
    where: ScheduledJobWhereUniqueInput
  }

  /**
   * ScheduledJob findUniqueOrThrow
   */
  export type ScheduledJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJob to fetch.
     */
    where: ScheduledJobWhereUniqueInput
  }

  /**
   * ScheduledJob findFirst
   */
  export type ScheduledJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJob to fetch.
     */
    where?: ScheduledJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobs to fetch.
     */
    orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ScheduledJobs.
     */
    cursor?: ScheduledJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ScheduledJobs.
     */
    distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
  }

  /**
   * ScheduledJob findFirstOrThrow
   */
  export type ScheduledJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJob to fetch.
     */
    where?: ScheduledJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobs to fetch.
     */
    orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ScheduledJobs.
     */
    cursor?: ScheduledJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ScheduledJobs.
     */
    distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
  }

  /**
   * ScheduledJob findMany
   */
  export type ScheduledJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobs to fetch.
     */
    where?: ScheduledJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobs to fetch.
     */
    orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ScheduledJobs.
     */
    cursor?: ScheduledJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobs.
     */
    skip?: number
    distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[]
  }

  /**
   * ScheduledJob create
   */
  export type ScheduledJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * The data needed to create a ScheduledJob.
     */
    data: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
  }

  /**
   * ScheduledJob createMany
   */
  export type ScheduledJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ScheduledJobs.
     */
    data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ScheduledJob createManyAndReturn
   */
  export type ScheduledJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ScheduledJobs.
     */
    data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ScheduledJob update
   */
  export type ScheduledJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * The data needed to update a ScheduledJob.
     */
    data: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
    /**
     * Choose, which ScheduledJob to update.
     */
    where: ScheduledJobWhereUniqueInput
  }

  /**
   * ScheduledJob updateMany
   */
  export type ScheduledJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ScheduledJobs.
     */
    data: XOR<ScheduledJobUpdateManyMutationInput, ScheduledJobUncheckedUpdateManyInput>
    /**
     * Filter which ScheduledJobs to update
     */
    where?: ScheduledJobWhereInput
  }

  /**
   * ScheduledJob upsert
   */
  export type ScheduledJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * The filter to search for the ScheduledJob to update in case it exists.
     */
    where: ScheduledJobWhereUniqueInput
    /**
     * In case the ScheduledJob found by the `where` argument doesn't exist, create a new ScheduledJob with this data.
     */
    create: XOR<ScheduledJobCreateInput, ScheduledJobUncheckedCreateInput>
    /**
     * In case the ScheduledJob was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ScheduledJobUpdateInput, ScheduledJobUncheckedUpdateInput>
  }

  /**
   * ScheduledJob delete
   */
  export type ScheduledJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
    /**
     * Filter which ScheduledJob to delete.
     */
    where: ScheduledJobWhereUniqueInput
  }

  /**
   * ScheduledJob deleteMany
   */
  export type ScheduledJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ScheduledJobs to delete
     */
    where?: ScheduledJobWhereInput
  }

  /**
   * ScheduledJob.scheduled_job_logs
   */
  export type ScheduledJob$scheduled_job_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    where?: ScheduledJobLogsWhereInput
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    cursor?: ScheduledJobLogsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ScheduledJobLogsScalarFieldEnum | ScheduledJobLogsScalarFieldEnum[]
  }

  /**
   * ScheduledJob without action
   */
  export type ScheduledJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJob
     */
    select?: ScheduledJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobInclude<ExtArgs> | null
  }


  /**
   * Model ScheduledJobLogs
   */

  export type AggregateScheduledJobLogs = {
    _count: ScheduledJobLogsCountAggregateOutputType | null
    _avg: ScheduledJobLogsAvgAggregateOutputType | null
    _sum: ScheduledJobLogsSumAggregateOutputType | null
    _min: ScheduledJobLogsMinAggregateOutputType | null
    _max: ScheduledJobLogsMaxAggregateOutputType | null
  }

  export type ScheduledJobLogsAvgAggregateOutputType = {
    id: number | null
    scheduled_job_id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobLogsSumAggregateOutputType = {
    id: number | null
    scheduled_job_id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobLogsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    scheduled_job_id: number | null
    executed_statement: string | null
    schedule_status: string | null
    downloadables: string | null
    response: string | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobLogsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    scheduled_job_id: number | null
    executed_statement: string | null
    schedule_status: string | null
    downloadables: string | null
    response: string | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type ScheduledJobLogsCountAggregateOutputType = {
    id: number
    uuid: number
    scheduled_job_id: number
    executed_statement: number
    schedule_status: number
    downloadables: number
    response: number
    created_at: number
    company_id: number
    status_id: number
    _all: number
  }


  export type ScheduledJobLogsAvgAggregateInputType = {
    id?: true
    scheduled_job_id?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobLogsSumAggregateInputType = {
    id?: true
    scheduled_job_id?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobLogsMinAggregateInputType = {
    id?: true
    uuid?: true
    scheduled_job_id?: true
    executed_statement?: true
    schedule_status?: true
    downloadables?: true
    response?: true
    created_at?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobLogsMaxAggregateInputType = {
    id?: true
    uuid?: true
    scheduled_job_id?: true
    executed_statement?: true
    schedule_status?: true
    downloadables?: true
    response?: true
    created_at?: true
    company_id?: true
    status_id?: true
  }

  export type ScheduledJobLogsCountAggregateInputType = {
    id?: true
    uuid?: true
    scheduled_job_id?: true
    executed_statement?: true
    schedule_status?: true
    downloadables?: true
    response?: true
    created_at?: true
    company_id?: true
    status_id?: true
    _all?: true
  }

  export type ScheduledJobLogsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ScheduledJobLogs to aggregate.
     */
    where?: ScheduledJobLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobLogs to fetch.
     */
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ScheduledJobLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ScheduledJobLogs
    **/
    _count?: true | ScheduledJobLogsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ScheduledJobLogsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ScheduledJobLogsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ScheduledJobLogsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ScheduledJobLogsMaxAggregateInputType
  }

  export type GetScheduledJobLogsAggregateType<T extends ScheduledJobLogsAggregateArgs> = {
        [P in keyof T & keyof AggregateScheduledJobLogs]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateScheduledJobLogs[P]>
      : GetScalarType<T[P], AggregateScheduledJobLogs[P]>
  }




  export type ScheduledJobLogsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ScheduledJobLogsWhereInput
    orderBy?: ScheduledJobLogsOrderByWithAggregationInput | ScheduledJobLogsOrderByWithAggregationInput[]
    by: ScheduledJobLogsScalarFieldEnum[] | ScheduledJobLogsScalarFieldEnum
    having?: ScheduledJobLogsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ScheduledJobLogsCountAggregateInputType | true
    _avg?: ScheduledJobLogsAvgAggregateInputType
    _sum?: ScheduledJobLogsSumAggregateInputType
    _min?: ScheduledJobLogsMinAggregateInputType
    _max?: ScheduledJobLogsMaxAggregateInputType
  }

  export type ScheduledJobLogsGroupByOutputType = {
    id: number
    uuid: string
    scheduled_job_id: number
    executed_statement: string | null
    schedule_status: string | null
    downloadables: string | null
    response: string | null
    created_at: Date
    company_id: number
    status_id: number
    _count: ScheduledJobLogsCountAggregateOutputType | null
    _avg: ScheduledJobLogsAvgAggregateOutputType | null
    _sum: ScheduledJobLogsSumAggregateOutputType | null
    _min: ScheduledJobLogsMinAggregateOutputType | null
    _max: ScheduledJobLogsMaxAggregateOutputType | null
  }

  type GetScheduledJobLogsGroupByPayload<T extends ScheduledJobLogsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ScheduledJobLogsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ScheduledJobLogsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ScheduledJobLogsGroupByOutputType[P]>
            : GetScalarType<T[P], ScheduledJobLogsGroupByOutputType[P]>
        }
      >
    >


  export type ScheduledJobLogsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    scheduled_job_id?: boolean
    executed_statement?: boolean
    schedule_status?: boolean
    downloadables?: boolean
    response?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job?: boolean | ScheduledJobDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["scheduledJobLogs"]>

  export type ScheduledJobLogsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    scheduled_job_id?: boolean
    executed_statement?: boolean
    schedule_status?: boolean
    downloadables?: boolean
    response?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job?: boolean | ScheduledJobDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["scheduledJobLogs"]>

  export type ScheduledJobLogsSelectScalar = {
    id?: boolean
    uuid?: boolean
    scheduled_job_id?: boolean
    executed_statement?: boolean
    schedule_status?: boolean
    downloadables?: boolean
    response?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
  }

  export type ScheduledJobLogsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job?: boolean | ScheduledJobDefaultArgs<ExtArgs>
  }
  export type ScheduledJobLogsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    scheduled_job?: boolean | ScheduledJobDefaultArgs<ExtArgs>
  }

  export type $ScheduledJobLogsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ScheduledJobLogs"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      scheduled_job: Prisma.$ScheduledJobPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      scheduled_job_id: number
      executed_statement: string | null
      schedule_status: string | null
      downloadables: string | null
      response: string | null
      created_at: Date
      company_id: number
      status_id: number
    }, ExtArgs["result"]["scheduledJobLogs"]>
    composites: {}
  }

  type ScheduledJobLogsGetPayload<S extends boolean | null | undefined | ScheduledJobLogsDefaultArgs> = $Result.GetResult<Prisma.$ScheduledJobLogsPayload, S>

  type ScheduledJobLogsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ScheduledJobLogsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ScheduledJobLogsCountAggregateInputType | true
    }

  export interface ScheduledJobLogsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduledJobLogs'], meta: { name: 'ScheduledJobLogs' } }
    /**
     * Find zero or one ScheduledJobLogs that matches the filter.
     * @param {ScheduledJobLogsFindUniqueArgs} args - Arguments to find a ScheduledJobLogs
     * @example
     * // Get one ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ScheduledJobLogsFindUniqueArgs>(args: SelectSubset<T, ScheduledJobLogsFindUniqueArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ScheduledJobLogs that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ScheduledJobLogsFindUniqueOrThrowArgs} args - Arguments to find a ScheduledJobLogs
     * @example
     * // Get one ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ScheduledJobLogsFindUniqueOrThrowArgs>(args: SelectSubset<T, ScheduledJobLogsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ScheduledJobLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsFindFirstArgs} args - Arguments to find a ScheduledJobLogs
     * @example
     * // Get one ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ScheduledJobLogsFindFirstArgs>(args?: SelectSubset<T, ScheduledJobLogsFindFirstArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ScheduledJobLogs that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsFindFirstOrThrowArgs} args - Arguments to find a ScheduledJobLogs
     * @example
     * // Get one ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ScheduledJobLogsFindFirstOrThrowArgs>(args?: SelectSubset<T, ScheduledJobLogsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ScheduledJobLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findMany()
     * 
     * // Get first 10 ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const scheduledJobLogsWithIdOnly = await prisma.scheduledJobLogs.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ScheduledJobLogsFindManyArgs>(args?: SelectSubset<T, ScheduledJobLogsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ScheduledJobLogs.
     * @param {ScheduledJobLogsCreateArgs} args - Arguments to create a ScheduledJobLogs.
     * @example
     * // Create one ScheduledJobLogs
     * const ScheduledJobLogs = await prisma.scheduledJobLogs.create({
     *   data: {
     *     // ... data to create a ScheduledJobLogs
     *   }
     * })
     * 
     */
    create<T extends ScheduledJobLogsCreateArgs>(args: SelectSubset<T, ScheduledJobLogsCreateArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ScheduledJobLogs.
     * @param {ScheduledJobLogsCreateManyArgs} args - Arguments to create many ScheduledJobLogs.
     * @example
     * // Create many ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ScheduledJobLogsCreateManyArgs>(args?: SelectSubset<T, ScheduledJobLogsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ScheduledJobLogs and returns the data saved in the database.
     * @param {ScheduledJobLogsCreateManyAndReturnArgs} args - Arguments to create many ScheduledJobLogs.
     * @example
     * // Create many ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ScheduledJobLogs and only return the `id`
     * const scheduledJobLogsWithIdOnly = await prisma.scheduledJobLogs.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ScheduledJobLogsCreateManyAndReturnArgs>(args?: SelectSubset<T, ScheduledJobLogsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ScheduledJobLogs.
     * @param {ScheduledJobLogsDeleteArgs} args - Arguments to delete one ScheduledJobLogs.
     * @example
     * // Delete one ScheduledJobLogs
     * const ScheduledJobLogs = await prisma.scheduledJobLogs.delete({
     *   where: {
     *     // ... filter to delete one ScheduledJobLogs
     *   }
     * })
     * 
     */
    delete<T extends ScheduledJobLogsDeleteArgs>(args: SelectSubset<T, ScheduledJobLogsDeleteArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ScheduledJobLogs.
     * @param {ScheduledJobLogsUpdateArgs} args - Arguments to update one ScheduledJobLogs.
     * @example
     * // Update one ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ScheduledJobLogsUpdateArgs>(args: SelectSubset<T, ScheduledJobLogsUpdateArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ScheduledJobLogs.
     * @param {ScheduledJobLogsDeleteManyArgs} args - Arguments to filter ScheduledJobLogs to delete.
     * @example
     * // Delete a few ScheduledJobLogs
     * const { count } = await prisma.scheduledJobLogs.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ScheduledJobLogsDeleteManyArgs>(args?: SelectSubset<T, ScheduledJobLogsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ScheduledJobLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ScheduledJobLogsUpdateManyArgs>(args: SelectSubset<T, ScheduledJobLogsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ScheduledJobLogs.
     * @param {ScheduledJobLogsUpsertArgs} args - Arguments to update or create a ScheduledJobLogs.
     * @example
     * // Update or create a ScheduledJobLogs
     * const scheduledJobLogs = await prisma.scheduledJobLogs.upsert({
     *   create: {
     *     // ... data to create a ScheduledJobLogs
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ScheduledJobLogs we want to update
     *   }
     * })
     */
    upsert<T extends ScheduledJobLogsUpsertArgs>(args: SelectSubset<T, ScheduledJobLogsUpsertArgs<ExtArgs>>): Prisma__ScheduledJobLogsClient<$Result.GetResult<Prisma.$ScheduledJobLogsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ScheduledJobLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsCountArgs} args - Arguments to filter ScheduledJobLogs to count.
     * @example
     * // Count the number of ScheduledJobLogs
     * const count = await prisma.scheduledJobLogs.count({
     *   where: {
     *     // ... the filter for the ScheduledJobLogs we want to count
     *   }
     * })
    **/
    count<T extends ScheduledJobLogsCountArgs>(
      args?: Subset<T, ScheduledJobLogsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ScheduledJobLogsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ScheduledJobLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ScheduledJobLogsAggregateArgs>(args: Subset<T, ScheduledJobLogsAggregateArgs>): Prisma.PrismaPromise<GetScheduledJobLogsAggregateType<T>>

    /**
     * Group by ScheduledJobLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ScheduledJobLogsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ScheduledJobLogsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ScheduledJobLogsGroupByArgs['orderBy'] }
        : { orderBy?: ScheduledJobLogsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ScheduledJobLogsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduledJobLogsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ScheduledJobLogs model
   */
  readonly fields: ScheduledJobLogsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ScheduledJobLogs.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ScheduledJobLogsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    scheduled_job<T extends ScheduledJobDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ScheduledJobDefaultArgs<ExtArgs>>): Prisma__ScheduledJobClient<$Result.GetResult<Prisma.$ScheduledJobPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ScheduledJobLogs model
   */ 
  interface ScheduledJobLogsFieldRefs {
    readonly id: FieldRef<"ScheduledJobLogs", 'Int'>
    readonly uuid: FieldRef<"ScheduledJobLogs", 'String'>
    readonly scheduled_job_id: FieldRef<"ScheduledJobLogs", 'Int'>
    readonly executed_statement: FieldRef<"ScheduledJobLogs", 'String'>
    readonly schedule_status: FieldRef<"ScheduledJobLogs", 'String'>
    readonly downloadables: FieldRef<"ScheduledJobLogs", 'String'>
    readonly response: FieldRef<"ScheduledJobLogs", 'String'>
    readonly created_at: FieldRef<"ScheduledJobLogs", 'DateTime'>
    readonly company_id: FieldRef<"ScheduledJobLogs", 'Int'>
    readonly status_id: FieldRef<"ScheduledJobLogs", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ScheduledJobLogs findUnique
   */
  export type ScheduledJobLogsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobLogs to fetch.
     */
    where: ScheduledJobLogsWhereUniqueInput
  }

  /**
   * ScheduledJobLogs findUniqueOrThrow
   */
  export type ScheduledJobLogsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobLogs to fetch.
     */
    where: ScheduledJobLogsWhereUniqueInput
  }

  /**
   * ScheduledJobLogs findFirst
   */
  export type ScheduledJobLogsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobLogs to fetch.
     */
    where?: ScheduledJobLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobLogs to fetch.
     */
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ScheduledJobLogs.
     */
    cursor?: ScheduledJobLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ScheduledJobLogs.
     */
    distinct?: ScheduledJobLogsScalarFieldEnum | ScheduledJobLogsScalarFieldEnum[]
  }

  /**
   * ScheduledJobLogs findFirstOrThrow
   */
  export type ScheduledJobLogsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobLogs to fetch.
     */
    where?: ScheduledJobLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobLogs to fetch.
     */
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ScheduledJobLogs.
     */
    cursor?: ScheduledJobLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ScheduledJobLogs.
     */
    distinct?: ScheduledJobLogsScalarFieldEnum | ScheduledJobLogsScalarFieldEnum[]
  }

  /**
   * ScheduledJobLogs findMany
   */
  export type ScheduledJobLogsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter, which ScheduledJobLogs to fetch.
     */
    where?: ScheduledJobLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ScheduledJobLogs to fetch.
     */
    orderBy?: ScheduledJobLogsOrderByWithRelationInput | ScheduledJobLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ScheduledJobLogs.
     */
    cursor?: ScheduledJobLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ScheduledJobLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ScheduledJobLogs.
     */
    skip?: number
    distinct?: ScheduledJobLogsScalarFieldEnum | ScheduledJobLogsScalarFieldEnum[]
  }

  /**
   * ScheduledJobLogs create
   */
  export type ScheduledJobLogsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * The data needed to create a ScheduledJobLogs.
     */
    data: XOR<ScheduledJobLogsCreateInput, ScheduledJobLogsUncheckedCreateInput>
  }

  /**
   * ScheduledJobLogs createMany
   */
  export type ScheduledJobLogsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ScheduledJobLogs.
     */
    data: ScheduledJobLogsCreateManyInput | ScheduledJobLogsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ScheduledJobLogs createManyAndReturn
   */
  export type ScheduledJobLogsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ScheduledJobLogs.
     */
    data: ScheduledJobLogsCreateManyInput | ScheduledJobLogsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ScheduledJobLogs update
   */
  export type ScheduledJobLogsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * The data needed to update a ScheduledJobLogs.
     */
    data: XOR<ScheduledJobLogsUpdateInput, ScheduledJobLogsUncheckedUpdateInput>
    /**
     * Choose, which ScheduledJobLogs to update.
     */
    where: ScheduledJobLogsWhereUniqueInput
  }

  /**
   * ScheduledJobLogs updateMany
   */
  export type ScheduledJobLogsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ScheduledJobLogs.
     */
    data: XOR<ScheduledJobLogsUpdateManyMutationInput, ScheduledJobLogsUncheckedUpdateManyInput>
    /**
     * Filter which ScheduledJobLogs to update
     */
    where?: ScheduledJobLogsWhereInput
  }

  /**
   * ScheduledJobLogs upsert
   */
  export type ScheduledJobLogsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * The filter to search for the ScheduledJobLogs to update in case it exists.
     */
    where: ScheduledJobLogsWhereUniqueInput
    /**
     * In case the ScheduledJobLogs found by the `where` argument doesn't exist, create a new ScheduledJobLogs with this data.
     */
    create: XOR<ScheduledJobLogsCreateInput, ScheduledJobLogsUncheckedCreateInput>
    /**
     * In case the ScheduledJobLogs was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ScheduledJobLogsUpdateInput, ScheduledJobLogsUncheckedUpdateInput>
  }

  /**
   * ScheduledJobLogs delete
   */
  export type ScheduledJobLogsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
    /**
     * Filter which ScheduledJobLogs to delete.
     */
    where: ScheduledJobLogsWhereUniqueInput
  }

  /**
   * ScheduledJobLogs deleteMany
   */
  export type ScheduledJobLogsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ScheduledJobLogs to delete
     */
    where?: ScheduledJobLogsWhereInput
  }

  /**
   * ScheduledJobLogs without action
   */
  export type ScheduledJobLogsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ScheduledJobLogs
     */
    select?: ScheduledJobLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ScheduledJobLogsInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalWorkflow
   */

  export type AggregateApprovalWorkflow = {
    _count: ApprovalWorkflowCountAggregateOutputType | null
    _avg: ApprovalWorkflowAvgAggregateOutputType | null
    _sum: ApprovalWorkflowSumAggregateOutputType | null
    _min: ApprovalWorkflowMinAggregateOutputType | null
    _max: ApprovalWorkflowMaxAggregateOutputType | null
  }

  export type ApprovalWorkflowAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ApprovalWorkflowSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ApprovalWorkflowMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    slug: string | null
    query_information: string | null
    status_id: number | null
    url: string | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ApprovalWorkflowMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    slug: string | null
    query_information: string | null
    status_id: number | null
    url: string | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ApprovalWorkflowCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    description: number
    slug: number
    query_information: number
    status_id: number
    url: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ApprovalWorkflowAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ApprovalWorkflowSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ApprovalWorkflowMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    slug?: true
    query_information?: true
    status_id?: true
    url?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ApprovalWorkflowMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    slug?: true
    query_information?: true
    status_id?: true
    url?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ApprovalWorkflowCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    slug?: true
    query_information?: true
    status_id?: true
    url?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ApprovalWorkflowAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflow to aggregate.
     */
    where?: ApprovalWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflows to fetch.
     */
    orderBy?: ApprovalWorkflowOrderByWithRelationInput | ApprovalWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalWorkflows
    **/
    _count?: true | ApprovalWorkflowCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalWorkflowAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalWorkflowSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalWorkflowMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalWorkflowMaxAggregateInputType
  }

  export type GetApprovalWorkflowAggregateType<T extends ApprovalWorkflowAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalWorkflow]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalWorkflow[P]>
      : GetScalarType<T[P], AggregateApprovalWorkflow[P]>
  }




  export type ApprovalWorkflowGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowWhereInput
    orderBy?: ApprovalWorkflowOrderByWithAggregationInput | ApprovalWorkflowOrderByWithAggregationInput[]
    by: ApprovalWorkflowScalarFieldEnum[] | ApprovalWorkflowScalarFieldEnum
    having?: ApprovalWorkflowScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalWorkflowCountAggregateInputType | true
    _avg?: ApprovalWorkflowAvgAggregateInputType
    _sum?: ApprovalWorkflowSumAggregateInputType
    _min?: ApprovalWorkflowMinAggregateInputType
    _max?: ApprovalWorkflowMaxAggregateInputType
  }

  export type ApprovalWorkflowGroupByOutputType = {
    id: number
    uuid: string
    name: string
    description: string | null
    slug: string
    query_information: string | null
    status_id: number
    url: string | null
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ApprovalWorkflowCountAggregateOutputType | null
    _avg: ApprovalWorkflowAvgAggregateOutputType | null
    _sum: ApprovalWorkflowSumAggregateOutputType | null
    _min: ApprovalWorkflowMinAggregateOutputType | null
    _max: ApprovalWorkflowMaxAggregateOutputType | null
  }

  type GetApprovalWorkflowGroupByPayload<T extends ApprovalWorkflowGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalWorkflowGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalWorkflowGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalWorkflowGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalWorkflowGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalWorkflowSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    url?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approval_workflow_assignments?: boolean | ApprovalWorkflow$approval_workflow_assignmentsArgs<ExtArgs>
    _count?: boolean | ApprovalWorkflowCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflow"]>

  export type ApprovalWorkflowSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    url?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflow"]>

  export type ApprovalWorkflowSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    slug?: boolean
    query_information?: boolean
    status_id?: boolean
    url?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ApprovalWorkflowInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approval_workflow_assignments?: boolean | ApprovalWorkflow$approval_workflow_assignmentsArgs<ExtArgs>
    _count?: boolean | ApprovalWorkflowCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ApprovalWorkflowIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ApprovalWorkflowPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalWorkflow"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      approval_workflow_assignments: Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      description: string | null
      slug: string
      query_information: string | null
      status_id: number
      url: string | null
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["approvalWorkflow"]>
    composites: {}
  }

  type ApprovalWorkflowGetPayload<S extends boolean | null | undefined | ApprovalWorkflowDefaultArgs> = $Result.GetResult<Prisma.$ApprovalWorkflowPayload, S>

  type ApprovalWorkflowCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalWorkflowFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalWorkflowCountAggregateInputType | true
    }

  export interface ApprovalWorkflowDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalWorkflow'], meta: { name: 'ApprovalWorkflow' } }
    /**
     * Find zero or one ApprovalWorkflow that matches the filter.
     * @param {ApprovalWorkflowFindUniqueArgs} args - Arguments to find a ApprovalWorkflow
     * @example
     * // Get one ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalWorkflowFindUniqueArgs>(args: SelectSubset<T, ApprovalWorkflowFindUniqueArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalWorkflow that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalWorkflowFindUniqueOrThrowArgs} args - Arguments to find a ApprovalWorkflow
     * @example
     * // Get one ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalWorkflowFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalWorkflowFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalWorkflow that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowFindFirstArgs} args - Arguments to find a ApprovalWorkflow
     * @example
     * // Get one ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalWorkflowFindFirstArgs>(args?: SelectSubset<T, ApprovalWorkflowFindFirstArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalWorkflow that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowFindFirstOrThrowArgs} args - Arguments to find a ApprovalWorkflow
     * @example
     * // Get one ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalWorkflowFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalWorkflowFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalWorkflows that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalWorkflows
     * const approvalWorkflows = await prisma.approvalWorkflow.findMany()
     * 
     * // Get first 10 ApprovalWorkflows
     * const approvalWorkflows = await prisma.approvalWorkflow.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalWorkflowWithIdOnly = await prisma.approvalWorkflow.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalWorkflowFindManyArgs>(args?: SelectSubset<T, ApprovalWorkflowFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalWorkflow.
     * @param {ApprovalWorkflowCreateArgs} args - Arguments to create a ApprovalWorkflow.
     * @example
     * // Create one ApprovalWorkflow
     * const ApprovalWorkflow = await prisma.approvalWorkflow.create({
     *   data: {
     *     // ... data to create a ApprovalWorkflow
     *   }
     * })
     * 
     */
    create<T extends ApprovalWorkflowCreateArgs>(args: SelectSubset<T, ApprovalWorkflowCreateArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalWorkflows.
     * @param {ApprovalWorkflowCreateManyArgs} args - Arguments to create many ApprovalWorkflows.
     * @example
     * // Create many ApprovalWorkflows
     * const approvalWorkflow = await prisma.approvalWorkflow.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalWorkflowCreateManyArgs>(args?: SelectSubset<T, ApprovalWorkflowCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalWorkflows and returns the data saved in the database.
     * @param {ApprovalWorkflowCreateManyAndReturnArgs} args - Arguments to create many ApprovalWorkflows.
     * @example
     * // Create many ApprovalWorkflows
     * const approvalWorkflow = await prisma.approvalWorkflow.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalWorkflows and only return the `id`
     * const approvalWorkflowWithIdOnly = await prisma.approvalWorkflow.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalWorkflowCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalWorkflowCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalWorkflow.
     * @param {ApprovalWorkflowDeleteArgs} args - Arguments to delete one ApprovalWorkflow.
     * @example
     * // Delete one ApprovalWorkflow
     * const ApprovalWorkflow = await prisma.approvalWorkflow.delete({
     *   where: {
     *     // ... filter to delete one ApprovalWorkflow
     *   }
     * })
     * 
     */
    delete<T extends ApprovalWorkflowDeleteArgs>(args: SelectSubset<T, ApprovalWorkflowDeleteArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalWorkflow.
     * @param {ApprovalWorkflowUpdateArgs} args - Arguments to update one ApprovalWorkflow.
     * @example
     * // Update one ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalWorkflowUpdateArgs>(args: SelectSubset<T, ApprovalWorkflowUpdateArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalWorkflows.
     * @param {ApprovalWorkflowDeleteManyArgs} args - Arguments to filter ApprovalWorkflows to delete.
     * @example
     * // Delete a few ApprovalWorkflows
     * const { count } = await prisma.approvalWorkflow.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalWorkflowDeleteManyArgs>(args?: SelectSubset<T, ApprovalWorkflowDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalWorkflows.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalWorkflows
     * const approvalWorkflow = await prisma.approvalWorkflow.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalWorkflowUpdateManyArgs>(args: SelectSubset<T, ApprovalWorkflowUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalWorkflow.
     * @param {ApprovalWorkflowUpsertArgs} args - Arguments to update or create a ApprovalWorkflow.
     * @example
     * // Update or create a ApprovalWorkflow
     * const approvalWorkflow = await prisma.approvalWorkflow.upsert({
     *   create: {
     *     // ... data to create a ApprovalWorkflow
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalWorkflow we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalWorkflowUpsertArgs>(args: SelectSubset<T, ApprovalWorkflowUpsertArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalWorkflows.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowCountArgs} args - Arguments to filter ApprovalWorkflows to count.
     * @example
     * // Count the number of ApprovalWorkflows
     * const count = await prisma.approvalWorkflow.count({
     *   where: {
     *     // ... the filter for the ApprovalWorkflows we want to count
     *   }
     * })
    **/
    count<T extends ApprovalWorkflowCountArgs>(
      args?: Subset<T, ApprovalWorkflowCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalWorkflowCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalWorkflow.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalWorkflowAggregateArgs>(args: Subset<T, ApprovalWorkflowAggregateArgs>): Prisma.PrismaPromise<GetApprovalWorkflowAggregateType<T>>

    /**
     * Group by ApprovalWorkflow.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalWorkflowGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalWorkflowGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalWorkflowGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalWorkflowGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalWorkflowGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalWorkflow model
   */
  readonly fields: ApprovalWorkflowFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalWorkflow.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalWorkflowClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    approval_workflow_assignments<T extends ApprovalWorkflow$approval_workflow_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflow$approval_workflow_assignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalWorkflow model
   */ 
  interface ApprovalWorkflowFieldRefs {
    readonly id: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly uuid: FieldRef<"ApprovalWorkflow", 'String'>
    readonly name: FieldRef<"ApprovalWorkflow", 'String'>
    readonly description: FieldRef<"ApprovalWorkflow", 'String'>
    readonly slug: FieldRef<"ApprovalWorkflow", 'String'>
    readonly query_information: FieldRef<"ApprovalWorkflow", 'String'>
    readonly status_id: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly url: FieldRef<"ApprovalWorkflow", 'String'>
    readonly company_id: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly created_by: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly created_at: FieldRef<"ApprovalWorkflow", 'DateTime'>
    readonly updated_by: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly updated_at: FieldRef<"ApprovalWorkflow", 'DateTime'>
    readonly deleted_by: FieldRef<"ApprovalWorkflow", 'Int'>
    readonly deleted_at: FieldRef<"ApprovalWorkflow", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalWorkflow findUnique
   */
  export type ApprovalWorkflowFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflow to fetch.
     */
    where: ApprovalWorkflowWhereUniqueInput
  }

  /**
   * ApprovalWorkflow findUniqueOrThrow
   */
  export type ApprovalWorkflowFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflow to fetch.
     */
    where: ApprovalWorkflowWhereUniqueInput
  }

  /**
   * ApprovalWorkflow findFirst
   */
  export type ApprovalWorkflowFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflow to fetch.
     */
    where?: ApprovalWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflows to fetch.
     */
    orderBy?: ApprovalWorkflowOrderByWithRelationInput | ApprovalWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflows.
     */
    cursor?: ApprovalWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflows.
     */
    distinct?: ApprovalWorkflowScalarFieldEnum | ApprovalWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflow findFirstOrThrow
   */
  export type ApprovalWorkflowFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflow to fetch.
     */
    where?: ApprovalWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflows to fetch.
     */
    orderBy?: ApprovalWorkflowOrderByWithRelationInput | ApprovalWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflows.
     */
    cursor?: ApprovalWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflows.
     */
    distinct?: ApprovalWorkflowScalarFieldEnum | ApprovalWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflow findMany
   */
  export type ApprovalWorkflowFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflows to fetch.
     */
    where?: ApprovalWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflows to fetch.
     */
    orderBy?: ApprovalWorkflowOrderByWithRelationInput | ApprovalWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalWorkflows.
     */
    cursor?: ApprovalWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflows.
     */
    skip?: number
    distinct?: ApprovalWorkflowScalarFieldEnum | ApprovalWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflow create
   */
  export type ApprovalWorkflowCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalWorkflow.
     */
    data: XOR<ApprovalWorkflowCreateInput, ApprovalWorkflowUncheckedCreateInput>
  }

  /**
   * ApprovalWorkflow createMany
   */
  export type ApprovalWorkflowCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalWorkflows.
     */
    data: ApprovalWorkflowCreateManyInput | ApprovalWorkflowCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalWorkflow createManyAndReturn
   */
  export type ApprovalWorkflowCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalWorkflows.
     */
    data: ApprovalWorkflowCreateManyInput | ApprovalWorkflowCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalWorkflow update
   */
  export type ApprovalWorkflowUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalWorkflow.
     */
    data: XOR<ApprovalWorkflowUpdateInput, ApprovalWorkflowUncheckedUpdateInput>
    /**
     * Choose, which ApprovalWorkflow to update.
     */
    where: ApprovalWorkflowWhereUniqueInput
  }

  /**
   * ApprovalWorkflow updateMany
   */
  export type ApprovalWorkflowUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalWorkflows.
     */
    data: XOR<ApprovalWorkflowUpdateManyMutationInput, ApprovalWorkflowUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalWorkflows to update
     */
    where?: ApprovalWorkflowWhereInput
  }

  /**
   * ApprovalWorkflow upsert
   */
  export type ApprovalWorkflowUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalWorkflow to update in case it exists.
     */
    where: ApprovalWorkflowWhereUniqueInput
    /**
     * In case the ApprovalWorkflow found by the `where` argument doesn't exist, create a new ApprovalWorkflow with this data.
     */
    create: XOR<ApprovalWorkflowCreateInput, ApprovalWorkflowUncheckedCreateInput>
    /**
     * In case the ApprovalWorkflow was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalWorkflowUpdateInput, ApprovalWorkflowUncheckedUpdateInput>
  }

  /**
   * ApprovalWorkflow delete
   */
  export type ApprovalWorkflowDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
    /**
     * Filter which ApprovalWorkflow to delete.
     */
    where: ApprovalWorkflowWhereUniqueInput
  }

  /**
   * ApprovalWorkflow deleteMany
   */
  export type ApprovalWorkflowDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflows to delete
     */
    where?: ApprovalWorkflowWhereInput
  }

  /**
   * ApprovalWorkflow.approval_workflow_assignments
   */
  export type ApprovalWorkflow$approval_workflow_assignmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflow without action
   */
  export type ApprovalWorkflowDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflow
     */
    select?: ApprovalWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalWorkflowApproverTag
   */

  export type AggregateApprovalWorkflowApproverTag = {
    _count: ApprovalWorkflowApproverTagCountAggregateOutputType | null
    _avg: ApprovalWorkflowApproverTagAvgAggregateOutputType | null
    _sum: ApprovalWorkflowApproverTagSumAggregateOutputType | null
    _min: ApprovalWorkflowApproverTagMinAggregateOutputType | null
    _max: ApprovalWorkflowApproverTagMaxAggregateOutputType | null
  }

  export type ApprovalWorkflowApproverTagAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ApprovalWorkflowApproverTagSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ApprovalWorkflowApproverTagMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    description: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ApprovalWorkflowApproverTagMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    description: string | null
    query_information: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ApprovalWorkflowApproverTagCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    description: number
    query_information: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ApprovalWorkflowApproverTagAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ApprovalWorkflowApproverTagSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ApprovalWorkflowApproverTagMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ApprovalWorkflowApproverTagMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ApprovalWorkflowApproverTagCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    description?: true
    query_information?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ApprovalWorkflowApproverTagAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflowApproverTag to aggregate.
     */
    where?: ApprovalWorkflowApproverTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowApproverTags to fetch.
     */
    orderBy?: ApprovalWorkflowApproverTagOrderByWithRelationInput | ApprovalWorkflowApproverTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalWorkflowApproverTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowApproverTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowApproverTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalWorkflowApproverTags
    **/
    _count?: true | ApprovalWorkflowApproverTagCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalWorkflowApproverTagAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalWorkflowApproverTagSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalWorkflowApproverTagMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalWorkflowApproverTagMaxAggregateInputType
  }

  export type GetApprovalWorkflowApproverTagAggregateType<T extends ApprovalWorkflowApproverTagAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalWorkflowApproverTag]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalWorkflowApproverTag[P]>
      : GetScalarType<T[P], AggregateApprovalWorkflowApproverTag[P]>
  }




  export type ApprovalWorkflowApproverTagGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowApproverTagWhereInput
    orderBy?: ApprovalWorkflowApproverTagOrderByWithAggregationInput | ApprovalWorkflowApproverTagOrderByWithAggregationInput[]
    by: ApprovalWorkflowApproverTagScalarFieldEnum[] | ApprovalWorkflowApproverTagScalarFieldEnum
    having?: ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalWorkflowApproverTagCountAggregateInputType | true
    _avg?: ApprovalWorkflowApproverTagAvgAggregateInputType
    _sum?: ApprovalWorkflowApproverTagSumAggregateInputType
    _min?: ApprovalWorkflowApproverTagMinAggregateInputType
    _max?: ApprovalWorkflowApproverTagMaxAggregateInputType
  }

  export type ApprovalWorkflowApproverTagGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string | null
    description: string | null
    query_information: string | null
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ApprovalWorkflowApproverTagCountAggregateOutputType | null
    _avg: ApprovalWorkflowApproverTagAvgAggregateOutputType | null
    _sum: ApprovalWorkflowApproverTagSumAggregateOutputType | null
    _min: ApprovalWorkflowApproverTagMinAggregateOutputType | null
    _max: ApprovalWorkflowApproverTagMaxAggregateOutputType | null
  }

  type GetApprovalWorkflowApproverTagGroupByPayload<T extends ApprovalWorkflowApproverTagGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalWorkflowApproverTagGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalWorkflowApproverTagGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalWorkflowApproverTagGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalWorkflowApproverTagGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalWorkflowApproverTagSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflowApproverTag"]>

  export type ApprovalWorkflowApproverTagSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflowApproverTag"]>

  export type ApprovalWorkflowApproverTagSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    description?: boolean
    query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ApprovalWorkflowApproverTagInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ApprovalWorkflowApproverTagIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ApprovalWorkflowApproverTagPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalWorkflowApproverTag"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string | null
      description: string | null
      query_information: string | null
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["approvalWorkflowApproverTag"]>
    composites: {}
  }

  type ApprovalWorkflowApproverTagGetPayload<S extends boolean | null | undefined | ApprovalWorkflowApproverTagDefaultArgs> = $Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload, S>

  type ApprovalWorkflowApproverTagCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalWorkflowApproverTagFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalWorkflowApproverTagCountAggregateInputType | true
    }

  export interface ApprovalWorkflowApproverTagDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalWorkflowApproverTag'], meta: { name: 'ApprovalWorkflowApproverTag' } }
    /**
     * Find zero or one ApprovalWorkflowApproverTag that matches the filter.
     * @param {ApprovalWorkflowApproverTagFindUniqueArgs} args - Arguments to find a ApprovalWorkflowApproverTag
     * @example
     * // Get one ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalWorkflowApproverTagFindUniqueArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagFindUniqueArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalWorkflowApproverTag that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalWorkflowApproverTagFindUniqueOrThrowArgs} args - Arguments to find a ApprovalWorkflowApproverTag
     * @example
     * // Get one ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalWorkflowApproverTagFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalWorkflowApproverTag that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagFindFirstArgs} args - Arguments to find a ApprovalWorkflowApproverTag
     * @example
     * // Get one ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalWorkflowApproverTagFindFirstArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagFindFirstArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalWorkflowApproverTag that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagFindFirstOrThrowArgs} args - Arguments to find a ApprovalWorkflowApproverTag
     * @example
     * // Get one ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalWorkflowApproverTagFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalWorkflowApproverTags that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalWorkflowApproverTags
     * const approvalWorkflowApproverTags = await prisma.approvalWorkflowApproverTag.findMany()
     * 
     * // Get first 10 ApprovalWorkflowApproverTags
     * const approvalWorkflowApproverTags = await prisma.approvalWorkflowApproverTag.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalWorkflowApproverTagWithIdOnly = await prisma.approvalWorkflowApproverTag.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalWorkflowApproverTagFindManyArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalWorkflowApproverTag.
     * @param {ApprovalWorkflowApproverTagCreateArgs} args - Arguments to create a ApprovalWorkflowApproverTag.
     * @example
     * // Create one ApprovalWorkflowApproverTag
     * const ApprovalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.create({
     *   data: {
     *     // ... data to create a ApprovalWorkflowApproverTag
     *   }
     * })
     * 
     */
    create<T extends ApprovalWorkflowApproverTagCreateArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagCreateArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalWorkflowApproverTags.
     * @param {ApprovalWorkflowApproverTagCreateManyArgs} args - Arguments to create many ApprovalWorkflowApproverTags.
     * @example
     * // Create many ApprovalWorkflowApproverTags
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalWorkflowApproverTagCreateManyArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalWorkflowApproverTags and returns the data saved in the database.
     * @param {ApprovalWorkflowApproverTagCreateManyAndReturnArgs} args - Arguments to create many ApprovalWorkflowApproverTags.
     * @example
     * // Create many ApprovalWorkflowApproverTags
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalWorkflowApproverTags and only return the `id`
     * const approvalWorkflowApproverTagWithIdOnly = await prisma.approvalWorkflowApproverTag.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalWorkflowApproverTagCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalWorkflowApproverTag.
     * @param {ApprovalWorkflowApproverTagDeleteArgs} args - Arguments to delete one ApprovalWorkflowApproverTag.
     * @example
     * // Delete one ApprovalWorkflowApproverTag
     * const ApprovalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.delete({
     *   where: {
     *     // ... filter to delete one ApprovalWorkflowApproverTag
     *   }
     * })
     * 
     */
    delete<T extends ApprovalWorkflowApproverTagDeleteArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagDeleteArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalWorkflowApproverTag.
     * @param {ApprovalWorkflowApproverTagUpdateArgs} args - Arguments to update one ApprovalWorkflowApproverTag.
     * @example
     * // Update one ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalWorkflowApproverTagUpdateArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagUpdateArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalWorkflowApproverTags.
     * @param {ApprovalWorkflowApproverTagDeleteManyArgs} args - Arguments to filter ApprovalWorkflowApproverTags to delete.
     * @example
     * // Delete a few ApprovalWorkflowApproverTags
     * const { count } = await prisma.approvalWorkflowApproverTag.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalWorkflowApproverTagDeleteManyArgs>(args?: SelectSubset<T, ApprovalWorkflowApproverTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalWorkflowApproverTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalWorkflowApproverTags
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalWorkflowApproverTagUpdateManyArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalWorkflowApproverTag.
     * @param {ApprovalWorkflowApproverTagUpsertArgs} args - Arguments to update or create a ApprovalWorkflowApproverTag.
     * @example
     * // Update or create a ApprovalWorkflowApproverTag
     * const approvalWorkflowApproverTag = await prisma.approvalWorkflowApproverTag.upsert({
     *   create: {
     *     // ... data to create a ApprovalWorkflowApproverTag
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalWorkflowApproverTag we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalWorkflowApproverTagUpsertArgs>(args: SelectSubset<T, ApprovalWorkflowApproverTagUpsertArgs<ExtArgs>>): Prisma__ApprovalWorkflowApproverTagClient<$Result.GetResult<Prisma.$ApprovalWorkflowApproverTagPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalWorkflowApproverTags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagCountArgs} args - Arguments to filter ApprovalWorkflowApproverTags to count.
     * @example
     * // Count the number of ApprovalWorkflowApproverTags
     * const count = await prisma.approvalWorkflowApproverTag.count({
     *   where: {
     *     // ... the filter for the ApprovalWorkflowApproverTags we want to count
     *   }
     * })
    **/
    count<T extends ApprovalWorkflowApproverTagCountArgs>(
      args?: Subset<T, ApprovalWorkflowApproverTagCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalWorkflowApproverTagCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalWorkflowApproverTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalWorkflowApproverTagAggregateArgs>(args: Subset<T, ApprovalWorkflowApproverTagAggregateArgs>): Prisma.PrismaPromise<GetApprovalWorkflowApproverTagAggregateType<T>>

    /**
     * Group by ApprovalWorkflowApproverTag.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowApproverTagGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalWorkflowApproverTagGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalWorkflowApproverTagGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalWorkflowApproverTagGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalWorkflowApproverTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalWorkflowApproverTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalWorkflowApproverTag model
   */
  readonly fields: ApprovalWorkflowApproverTagFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalWorkflowApproverTag.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalWorkflowApproverTagClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalWorkflowApproverTag model
   */ 
  interface ApprovalWorkflowApproverTagFieldRefs {
    readonly id: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly uuid: FieldRef<"ApprovalWorkflowApproverTag", 'String'>
    readonly slug: FieldRef<"ApprovalWorkflowApproverTag", 'String'>
    readonly name: FieldRef<"ApprovalWorkflowApproverTag", 'String'>
    readonly description: FieldRef<"ApprovalWorkflowApproverTag", 'String'>
    readonly query_information: FieldRef<"ApprovalWorkflowApproverTag", 'String'>
    readonly status_id: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly company_id: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly created_by: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly created_at: FieldRef<"ApprovalWorkflowApproverTag", 'DateTime'>
    readonly updated_by: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly updated_at: FieldRef<"ApprovalWorkflowApproverTag", 'DateTime'>
    readonly deleted_by: FieldRef<"ApprovalWorkflowApproverTag", 'Int'>
    readonly deleted_at: FieldRef<"ApprovalWorkflowApproverTag", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalWorkflowApproverTag findUnique
   */
  export type ApprovalWorkflowApproverTagFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowApproverTag to fetch.
     */
    where: ApprovalWorkflowApproverTagWhereUniqueInput
  }

  /**
   * ApprovalWorkflowApproverTag findUniqueOrThrow
   */
  export type ApprovalWorkflowApproverTagFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowApproverTag to fetch.
     */
    where: ApprovalWorkflowApproverTagWhereUniqueInput
  }

  /**
   * ApprovalWorkflowApproverTag findFirst
   */
  export type ApprovalWorkflowApproverTagFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowApproverTag to fetch.
     */
    where?: ApprovalWorkflowApproverTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowApproverTags to fetch.
     */
    orderBy?: ApprovalWorkflowApproverTagOrderByWithRelationInput | ApprovalWorkflowApproverTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflowApproverTags.
     */
    cursor?: ApprovalWorkflowApproverTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowApproverTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowApproverTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflowApproverTags.
     */
    distinct?: ApprovalWorkflowApproverTagScalarFieldEnum | ApprovalWorkflowApproverTagScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowApproverTag findFirstOrThrow
   */
  export type ApprovalWorkflowApproverTagFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowApproverTag to fetch.
     */
    where?: ApprovalWorkflowApproverTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowApproverTags to fetch.
     */
    orderBy?: ApprovalWorkflowApproverTagOrderByWithRelationInput | ApprovalWorkflowApproverTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflowApproverTags.
     */
    cursor?: ApprovalWorkflowApproverTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowApproverTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowApproverTags.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflowApproverTags.
     */
    distinct?: ApprovalWorkflowApproverTagScalarFieldEnum | ApprovalWorkflowApproverTagScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowApproverTag findMany
   */
  export type ApprovalWorkflowApproverTagFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowApproverTags to fetch.
     */
    where?: ApprovalWorkflowApproverTagWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowApproverTags to fetch.
     */
    orderBy?: ApprovalWorkflowApproverTagOrderByWithRelationInput | ApprovalWorkflowApproverTagOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalWorkflowApproverTags.
     */
    cursor?: ApprovalWorkflowApproverTagWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowApproverTags from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowApproverTags.
     */
    skip?: number
    distinct?: ApprovalWorkflowApproverTagScalarFieldEnum | ApprovalWorkflowApproverTagScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowApproverTag create
   */
  export type ApprovalWorkflowApproverTagCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalWorkflowApproverTag.
     */
    data: XOR<ApprovalWorkflowApproverTagCreateInput, ApprovalWorkflowApproverTagUncheckedCreateInput>
  }

  /**
   * ApprovalWorkflowApproverTag createMany
   */
  export type ApprovalWorkflowApproverTagCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalWorkflowApproverTags.
     */
    data: ApprovalWorkflowApproverTagCreateManyInput | ApprovalWorkflowApproverTagCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalWorkflowApproverTag createManyAndReturn
   */
  export type ApprovalWorkflowApproverTagCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalWorkflowApproverTags.
     */
    data: ApprovalWorkflowApproverTagCreateManyInput | ApprovalWorkflowApproverTagCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalWorkflowApproverTag update
   */
  export type ApprovalWorkflowApproverTagUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalWorkflowApproverTag.
     */
    data: XOR<ApprovalWorkflowApproverTagUpdateInput, ApprovalWorkflowApproverTagUncheckedUpdateInput>
    /**
     * Choose, which ApprovalWorkflowApproverTag to update.
     */
    where: ApprovalWorkflowApproverTagWhereUniqueInput
  }

  /**
   * ApprovalWorkflowApproverTag updateMany
   */
  export type ApprovalWorkflowApproverTagUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalWorkflowApproverTags.
     */
    data: XOR<ApprovalWorkflowApproverTagUpdateManyMutationInput, ApprovalWorkflowApproverTagUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalWorkflowApproverTags to update
     */
    where?: ApprovalWorkflowApproverTagWhereInput
  }

  /**
   * ApprovalWorkflowApproverTag upsert
   */
  export type ApprovalWorkflowApproverTagUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalWorkflowApproverTag to update in case it exists.
     */
    where: ApprovalWorkflowApproverTagWhereUniqueInput
    /**
     * In case the ApprovalWorkflowApproverTag found by the `where` argument doesn't exist, create a new ApprovalWorkflowApproverTag with this data.
     */
    create: XOR<ApprovalWorkflowApproverTagCreateInput, ApprovalWorkflowApproverTagUncheckedCreateInput>
    /**
     * In case the ApprovalWorkflowApproverTag was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalWorkflowApproverTagUpdateInput, ApprovalWorkflowApproverTagUncheckedUpdateInput>
  }

  /**
   * ApprovalWorkflowApproverTag delete
   */
  export type ApprovalWorkflowApproverTagDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
    /**
     * Filter which ApprovalWorkflowApproverTag to delete.
     */
    where: ApprovalWorkflowApproverTagWhereUniqueInput
  }

  /**
   * ApprovalWorkflowApproverTag deleteMany
   */
  export type ApprovalWorkflowApproverTagDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflowApproverTags to delete
     */
    where?: ApprovalWorkflowApproverTagWhereInput
  }

  /**
   * ApprovalWorkflowApproverTag without action
   */
  export type ApprovalWorkflowApproverTagDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowApproverTag
     */
    select?: ApprovalWorkflowApproverTagSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowApproverTagInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalWorkflowAssignment
   */

  export type AggregateApprovalWorkflowAssignment = {
    _count: ApprovalWorkflowAssignmentCountAggregateOutputType | null
    _avg: ApprovalWorkflowAssignmentAvgAggregateOutputType | null
    _sum: ApprovalWorkflowAssignmentSumAggregateOutputType | null
    _min: ApprovalWorkflowAssignmentMinAggregateOutputType | null
    _max: ApprovalWorkflowAssignmentMaxAggregateOutputType | null
  }

  export type ApprovalWorkflowAssignmentAvgAggregateOutputType = {
    id: number | null
    approver_order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
  }

  export type ApprovalWorkflowAssignmentSumAggregateOutputType = {
    id: number | null
    approver_order_no: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
  }

  export type ApprovalWorkflowAssignmentMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_workflow_slug: string | null
    approver_order_no: Decimal | null
    approver_type: $Enums.ApproverType | null
    approver: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
  }

  export type ApprovalWorkflowAssignmentMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_workflow_slug: string | null
    approver_order_no: Decimal | null
    approver_type: $Enums.ApproverType | null
    approver: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
  }

  export type ApprovalWorkflowAssignmentCountAggregateOutputType = {
    id: number
    uuid: number
    approval_workflow_slug: number
    approver_order_no: number
    approver_type: number
    approver: number
    approve_query_information: number
    reject_query_information: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    approve_mail_id: number
    reject_mail_id: number
    approve_whatsapp_id: number
    reject_whatsapp_id: number
    _all: number
  }


  export type ApprovalWorkflowAssignmentAvgAggregateInputType = {
    id?: true
    approver_order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
  }

  export type ApprovalWorkflowAssignmentSumAggregateInputType = {
    id?: true
    approver_order_no?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
  }

  export type ApprovalWorkflowAssignmentMinAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
  }

  export type ApprovalWorkflowAssignmentMaxAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
  }

  export type ApprovalWorkflowAssignmentCountAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    approve_query_information?: true
    reject_query_information?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    _all?: true
  }

  export type ApprovalWorkflowAssignmentAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflowAssignment to aggregate.
     */
    where?: ApprovalWorkflowAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowAssignments to fetch.
     */
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalWorkflowAssignments
    **/
    _count?: true | ApprovalWorkflowAssignmentCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalWorkflowAssignmentAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalWorkflowAssignmentSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalWorkflowAssignmentMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalWorkflowAssignmentMaxAggregateInputType
  }

  export type GetApprovalWorkflowAssignmentAggregateType<T extends ApprovalWorkflowAssignmentAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalWorkflowAssignment]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalWorkflowAssignment[P]>
      : GetScalarType<T[P], AggregateApprovalWorkflowAssignment[P]>
  }




  export type ApprovalWorkflowAssignmentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalWorkflowAssignmentWhereInput
    orderBy?: ApprovalWorkflowAssignmentOrderByWithAggregationInput | ApprovalWorkflowAssignmentOrderByWithAggregationInput[]
    by: ApprovalWorkflowAssignmentScalarFieldEnum[] | ApprovalWorkflowAssignmentScalarFieldEnum
    having?: ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalWorkflowAssignmentCountAggregateInputType | true
    _avg?: ApprovalWorkflowAssignmentAvgAggregateInputType
    _sum?: ApprovalWorkflowAssignmentSumAggregateInputType
    _min?: ApprovalWorkflowAssignmentMinAggregateInputType
    _max?: ApprovalWorkflowAssignmentMaxAggregateInputType
  }

  export type ApprovalWorkflowAssignmentGroupByOutputType = {
    id: number
    uuid: string
    approval_workflow_slug: string
    approver_order_no: Decimal
    approver_type: $Enums.ApproverType
    approver: string | null
    approve_query_information: string[]
    reject_query_information: string[]
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    _count: ApprovalWorkflowAssignmentCountAggregateOutputType | null
    _avg: ApprovalWorkflowAssignmentAvgAggregateOutputType | null
    _sum: ApprovalWorkflowAssignmentSumAggregateOutputType | null
    _min: ApprovalWorkflowAssignmentMinAggregateOutputType | null
    _max: ApprovalWorkflowAssignmentMaxAggregateOutputType | null
  }

  type GetApprovalWorkflowAssignmentGroupByPayload<T extends ApprovalWorkflowAssignmentGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalWorkflowAssignmentGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalWorkflowAssignmentGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalWorkflowAssignmentGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalWorkflowAssignmentGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalWorkflowAssignmentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
    approval_workflow?: boolean | ApprovalWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approve_mail?: boolean | ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs>
    reject_mail?: boolean | ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs>
    approve_whatsapp?: boolean | ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs>
    reject_whatsapp?: boolean | ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflowAssignment"]>

  export type ApprovalWorkflowAssignmentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
    approval_workflow?: boolean | ApprovalWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approve_mail?: boolean | ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs>
    reject_mail?: boolean | ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs>
    approve_whatsapp?: boolean | ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs>
    reject_whatsapp?: boolean | ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs>
  }, ExtArgs["result"]["approvalWorkflowAssignment"]>

  export type ApprovalWorkflowAssignmentSelectScalar = {
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
  }

  export type ApprovalWorkflowAssignmentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_workflow?: boolean | ApprovalWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approve_mail?: boolean | ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs>
    reject_mail?: boolean | ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs>
    approve_whatsapp?: boolean | ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs>
    reject_whatsapp?: boolean | ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs>
  }
  export type ApprovalWorkflowAssignmentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_workflow?: boolean | ApprovalWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approve_mail?: boolean | ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs>
    reject_mail?: boolean | ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs>
    approve_whatsapp?: boolean | ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs>
    reject_whatsapp?: boolean | ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs>
  }

  export type $ApprovalWorkflowAssignmentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalWorkflowAssignment"
    objects: {
      approval_workflow: Prisma.$ApprovalWorkflowPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
      approve_mail: Prisma.$NotificationTemplatePayload<ExtArgs> | null
      reject_mail: Prisma.$NotificationTemplatePayload<ExtArgs> | null
      approve_whatsapp: Prisma.$NotificationTemplatePayload<ExtArgs> | null
      reject_whatsapp: Prisma.$NotificationTemplatePayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      approval_workflow_slug: string
      approver_order_no: Prisma.Decimal
      approver_type: $Enums.ApproverType
      approver: string | null
      approve_query_information: string[]
      reject_query_information: string[]
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      approve_mail_id: number | null
      reject_mail_id: number | null
      approve_whatsapp_id: number | null
      reject_whatsapp_id: number | null
    }, ExtArgs["result"]["approvalWorkflowAssignment"]>
    composites: {}
  }

  type ApprovalWorkflowAssignmentGetPayload<S extends boolean | null | undefined | ApprovalWorkflowAssignmentDefaultArgs> = $Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload, S>

  type ApprovalWorkflowAssignmentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalWorkflowAssignmentFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalWorkflowAssignmentCountAggregateInputType | true
    }

  export interface ApprovalWorkflowAssignmentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalWorkflowAssignment'], meta: { name: 'ApprovalWorkflowAssignment' } }
    /**
     * Find zero or one ApprovalWorkflowAssignment that matches the filter.
     * @param {ApprovalWorkflowAssignmentFindUniqueArgs} args - Arguments to find a ApprovalWorkflowAssignment
     * @example
     * // Get one ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalWorkflowAssignmentFindUniqueArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentFindUniqueArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalWorkflowAssignment that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalWorkflowAssignmentFindUniqueOrThrowArgs} args - Arguments to find a ApprovalWorkflowAssignment
     * @example
     * // Get one ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalWorkflowAssignmentFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalWorkflowAssignment that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentFindFirstArgs} args - Arguments to find a ApprovalWorkflowAssignment
     * @example
     * // Get one ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalWorkflowAssignmentFindFirstArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentFindFirstArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalWorkflowAssignment that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentFindFirstOrThrowArgs} args - Arguments to find a ApprovalWorkflowAssignment
     * @example
     * // Get one ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalWorkflowAssignmentFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalWorkflowAssignments that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalWorkflowAssignments
     * const approvalWorkflowAssignments = await prisma.approvalWorkflowAssignment.findMany()
     * 
     * // Get first 10 ApprovalWorkflowAssignments
     * const approvalWorkflowAssignments = await prisma.approvalWorkflowAssignment.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalWorkflowAssignmentWithIdOnly = await prisma.approvalWorkflowAssignment.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalWorkflowAssignmentFindManyArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalWorkflowAssignment.
     * @param {ApprovalWorkflowAssignmentCreateArgs} args - Arguments to create a ApprovalWorkflowAssignment.
     * @example
     * // Create one ApprovalWorkflowAssignment
     * const ApprovalWorkflowAssignment = await prisma.approvalWorkflowAssignment.create({
     *   data: {
     *     // ... data to create a ApprovalWorkflowAssignment
     *   }
     * })
     * 
     */
    create<T extends ApprovalWorkflowAssignmentCreateArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentCreateArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalWorkflowAssignments.
     * @param {ApprovalWorkflowAssignmentCreateManyArgs} args - Arguments to create many ApprovalWorkflowAssignments.
     * @example
     * // Create many ApprovalWorkflowAssignments
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalWorkflowAssignmentCreateManyArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalWorkflowAssignments and returns the data saved in the database.
     * @param {ApprovalWorkflowAssignmentCreateManyAndReturnArgs} args - Arguments to create many ApprovalWorkflowAssignments.
     * @example
     * // Create many ApprovalWorkflowAssignments
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalWorkflowAssignments and only return the `id`
     * const approvalWorkflowAssignmentWithIdOnly = await prisma.approvalWorkflowAssignment.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalWorkflowAssignmentCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalWorkflowAssignment.
     * @param {ApprovalWorkflowAssignmentDeleteArgs} args - Arguments to delete one ApprovalWorkflowAssignment.
     * @example
     * // Delete one ApprovalWorkflowAssignment
     * const ApprovalWorkflowAssignment = await prisma.approvalWorkflowAssignment.delete({
     *   where: {
     *     // ... filter to delete one ApprovalWorkflowAssignment
     *   }
     * })
     * 
     */
    delete<T extends ApprovalWorkflowAssignmentDeleteArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentDeleteArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalWorkflowAssignment.
     * @param {ApprovalWorkflowAssignmentUpdateArgs} args - Arguments to update one ApprovalWorkflowAssignment.
     * @example
     * // Update one ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalWorkflowAssignmentUpdateArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentUpdateArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalWorkflowAssignments.
     * @param {ApprovalWorkflowAssignmentDeleteManyArgs} args - Arguments to filter ApprovalWorkflowAssignments to delete.
     * @example
     * // Delete a few ApprovalWorkflowAssignments
     * const { count } = await prisma.approvalWorkflowAssignment.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalWorkflowAssignmentDeleteManyArgs>(args?: SelectSubset<T, ApprovalWorkflowAssignmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalWorkflowAssignments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalWorkflowAssignments
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalWorkflowAssignmentUpdateManyArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalWorkflowAssignment.
     * @param {ApprovalWorkflowAssignmentUpsertArgs} args - Arguments to update or create a ApprovalWorkflowAssignment.
     * @example
     * // Update or create a ApprovalWorkflowAssignment
     * const approvalWorkflowAssignment = await prisma.approvalWorkflowAssignment.upsert({
     *   create: {
     *     // ... data to create a ApprovalWorkflowAssignment
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalWorkflowAssignment we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalWorkflowAssignmentUpsertArgs>(args: SelectSubset<T, ApprovalWorkflowAssignmentUpsertArgs<ExtArgs>>): Prisma__ApprovalWorkflowAssignmentClient<$Result.GetResult<Prisma.$ApprovalWorkflowAssignmentPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalWorkflowAssignments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentCountArgs} args - Arguments to filter ApprovalWorkflowAssignments to count.
     * @example
     * // Count the number of ApprovalWorkflowAssignments
     * const count = await prisma.approvalWorkflowAssignment.count({
     *   where: {
     *     // ... the filter for the ApprovalWorkflowAssignments we want to count
     *   }
     * })
    **/
    count<T extends ApprovalWorkflowAssignmentCountArgs>(
      args?: Subset<T, ApprovalWorkflowAssignmentCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalWorkflowAssignmentCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalWorkflowAssignment.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalWorkflowAssignmentAggregateArgs>(args: Subset<T, ApprovalWorkflowAssignmentAggregateArgs>): Prisma.PrismaPromise<GetApprovalWorkflowAssignmentAggregateType<T>>

    /**
     * Group by ApprovalWorkflowAssignment.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalWorkflowAssignmentGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalWorkflowAssignmentGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalWorkflowAssignmentGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalWorkflowAssignmentGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalWorkflowAssignmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalWorkflowAssignmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalWorkflowAssignment model
   */
  readonly fields: ApprovalWorkflowAssignmentFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalWorkflowAssignment.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalWorkflowAssignmentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    approval_workflow<T extends ApprovalWorkflowDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflowDefaultArgs<ExtArgs>>): Prisma__ApprovalWorkflowClient<$Result.GetResult<Prisma.$ApprovalWorkflowPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    approve_mail<T extends ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    reject_mail<T extends ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    approve_whatsapp<T extends ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    reject_whatsapp<T extends ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs>>): Prisma__NotificationTemplateClient<$Result.GetResult<Prisma.$NotificationTemplatePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalWorkflowAssignment model
   */ 
  interface ApprovalWorkflowAssignmentFieldRefs {
    readonly id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly uuid: FieldRef<"ApprovalWorkflowAssignment", 'String'>
    readonly approval_workflow_slug: FieldRef<"ApprovalWorkflowAssignment", 'String'>
    readonly approver_order_no: FieldRef<"ApprovalWorkflowAssignment", 'Decimal'>
    readonly approver_type: FieldRef<"ApprovalWorkflowAssignment", 'ApproverType'>
    readonly approver: FieldRef<"ApprovalWorkflowAssignment", 'String'>
    readonly approve_query_information: FieldRef<"ApprovalWorkflowAssignment", 'String[]'>
    readonly reject_query_information: FieldRef<"ApprovalWorkflowAssignment", 'String[]'>
    readonly status_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly company_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly created_by: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly created_at: FieldRef<"ApprovalWorkflowAssignment", 'DateTime'>
    readonly updated_by: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly updated_at: FieldRef<"ApprovalWorkflowAssignment", 'DateTime'>
    readonly deleted_by: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly deleted_at: FieldRef<"ApprovalWorkflowAssignment", 'DateTime'>
    readonly approve_mail_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly reject_mail_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly approve_whatsapp_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
    readonly reject_whatsapp_id: FieldRef<"ApprovalWorkflowAssignment", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalWorkflowAssignment findUnique
   */
  export type ApprovalWorkflowAssignmentFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowAssignment to fetch.
     */
    where: ApprovalWorkflowAssignmentWhereUniqueInput
  }

  /**
   * ApprovalWorkflowAssignment findUniqueOrThrow
   */
  export type ApprovalWorkflowAssignmentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowAssignment to fetch.
     */
    where: ApprovalWorkflowAssignmentWhereUniqueInput
  }

  /**
   * ApprovalWorkflowAssignment findFirst
   */
  export type ApprovalWorkflowAssignmentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowAssignment to fetch.
     */
    where?: ApprovalWorkflowAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowAssignments to fetch.
     */
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflowAssignments.
     */
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflowAssignments.
     */
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowAssignment findFirstOrThrow
   */
  export type ApprovalWorkflowAssignmentFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowAssignment to fetch.
     */
    where?: ApprovalWorkflowAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowAssignments to fetch.
     */
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalWorkflowAssignments.
     */
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowAssignments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalWorkflowAssignments.
     */
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowAssignment findMany
   */
  export type ApprovalWorkflowAssignmentFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalWorkflowAssignments to fetch.
     */
    where?: ApprovalWorkflowAssignmentWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalWorkflowAssignments to fetch.
     */
    orderBy?: ApprovalWorkflowAssignmentOrderByWithRelationInput | ApprovalWorkflowAssignmentOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalWorkflowAssignments.
     */
    cursor?: ApprovalWorkflowAssignmentWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalWorkflowAssignments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalWorkflowAssignments.
     */
    skip?: number
    distinct?: ApprovalWorkflowAssignmentScalarFieldEnum | ApprovalWorkflowAssignmentScalarFieldEnum[]
  }

  /**
   * ApprovalWorkflowAssignment create
   */
  export type ApprovalWorkflowAssignmentCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalWorkflowAssignment.
     */
    data: XOR<ApprovalWorkflowAssignmentCreateInput, ApprovalWorkflowAssignmentUncheckedCreateInput>
  }

  /**
   * ApprovalWorkflowAssignment createMany
   */
  export type ApprovalWorkflowAssignmentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalWorkflowAssignments.
     */
    data: ApprovalWorkflowAssignmentCreateManyInput | ApprovalWorkflowAssignmentCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalWorkflowAssignment createManyAndReturn
   */
  export type ApprovalWorkflowAssignmentCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalWorkflowAssignments.
     */
    data: ApprovalWorkflowAssignmentCreateManyInput | ApprovalWorkflowAssignmentCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalWorkflowAssignment update
   */
  export type ApprovalWorkflowAssignmentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalWorkflowAssignment.
     */
    data: XOR<ApprovalWorkflowAssignmentUpdateInput, ApprovalWorkflowAssignmentUncheckedUpdateInput>
    /**
     * Choose, which ApprovalWorkflowAssignment to update.
     */
    where: ApprovalWorkflowAssignmentWhereUniqueInput
  }

  /**
   * ApprovalWorkflowAssignment updateMany
   */
  export type ApprovalWorkflowAssignmentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalWorkflowAssignments.
     */
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalWorkflowAssignments to update
     */
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * ApprovalWorkflowAssignment upsert
   */
  export type ApprovalWorkflowAssignmentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalWorkflowAssignment to update in case it exists.
     */
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    /**
     * In case the ApprovalWorkflowAssignment found by the `where` argument doesn't exist, create a new ApprovalWorkflowAssignment with this data.
     */
    create: XOR<ApprovalWorkflowAssignmentCreateInput, ApprovalWorkflowAssignmentUncheckedCreateInput>
    /**
     * In case the ApprovalWorkflowAssignment was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalWorkflowAssignmentUpdateInput, ApprovalWorkflowAssignmentUncheckedUpdateInput>
  }

  /**
   * ApprovalWorkflowAssignment delete
   */
  export type ApprovalWorkflowAssignmentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
    /**
     * Filter which ApprovalWorkflowAssignment to delete.
     */
    where: ApprovalWorkflowAssignmentWhereUniqueInput
  }

  /**
   * ApprovalWorkflowAssignment deleteMany
   */
  export type ApprovalWorkflowAssignmentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalWorkflowAssignments to delete
     */
    where?: ApprovalWorkflowAssignmentWhereInput
  }

  /**
   * ApprovalWorkflowAssignment.approve_mail
   */
  export type ApprovalWorkflowAssignment$approve_mailArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
  }

  /**
   * ApprovalWorkflowAssignment.reject_mail
   */
  export type ApprovalWorkflowAssignment$reject_mailArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
  }

  /**
   * ApprovalWorkflowAssignment.approve_whatsapp
   */
  export type ApprovalWorkflowAssignment$approve_whatsappArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
  }

  /**
   * ApprovalWorkflowAssignment.reject_whatsapp
   */
  export type ApprovalWorkflowAssignment$reject_whatsappArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the NotificationTemplate
     */
    select?: NotificationTemplateSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: NotificationTemplateInclude<ExtArgs> | null
    where?: NotificationTemplateWhereInput
  }

  /**
   * ApprovalWorkflowAssignment without action
   */
  export type ApprovalWorkflowAssignmentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalWorkflowAssignment
     */
    select?: ApprovalWorkflowAssignmentSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalWorkflowAssignmentInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalProcessJob
   */

  export type AggregateApprovalProcessJob = {
    _count: ApprovalProcessJobCountAggregateOutputType | null
    _avg: ApprovalProcessJobAvgAggregateOutputType | null
    _sum: ApprovalProcessJobSumAggregateOutputType | null
    _min: ApprovalProcessJobMinAggregateOutputType | null
    _max: ApprovalProcessJobMaxAggregateOutputType | null
  }

  export type ApprovalProcessJobAvgAggregateOutputType = {
    id: number | null
    unique_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobSumAggregateOutputType = {
    id: number | null
    unique_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_workflow_slug: string | null
    sequence_no: string | null
    description: string | null
    primary_table: string | null
    unique_id: number | null
    screen_id: string | null
    user_id: number | null
    prefill_data: string | null
    details: string | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_workflow_slug: string | null
    sequence_no: string | null
    description: string | null
    primary_table: string | null
    unique_id: number | null
    screen_id: string | null
    user_id: number | null
    prefill_data: string | null
    details: string | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobCountAggregateOutputType = {
    id: number
    uuid: number
    approval_workflow_slug: number
    sequence_no: number
    description: number
    primary_table: number
    unique_id: number
    screen_id: number
    user_id: number
    prefill_data: number
    details: number
    status_id: number
    company_id: number
    _all: number
  }


  export type ApprovalProcessJobAvgAggregateInputType = {
    id?: true
    unique_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobSumAggregateInputType = {
    id?: true
    unique_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobMinAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    sequence_no?: true
    description?: true
    primary_table?: true
    unique_id?: true
    screen_id?: true
    user_id?: true
    prefill_data?: true
    details?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobMaxAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    sequence_no?: true
    description?: true
    primary_table?: true
    unique_id?: true
    screen_id?: true
    user_id?: true
    prefill_data?: true
    details?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobCountAggregateInputType = {
    id?: true
    uuid?: true
    approval_workflow_slug?: true
    sequence_no?: true
    description?: true
    primary_table?: true
    unique_id?: true
    screen_id?: true
    user_id?: true
    prefill_data?: true
    details?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type ApprovalProcessJobAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJob to aggregate.
     */
    where?: ApprovalProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobs to fetch.
     */
    orderBy?: ApprovalProcessJobOrderByWithRelationInput | ApprovalProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalProcessJobs
    **/
    _count?: true | ApprovalProcessJobCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalProcessJobAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalProcessJobSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalProcessJobMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalProcessJobMaxAggregateInputType
  }

  export type GetApprovalProcessJobAggregateType<T extends ApprovalProcessJobAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalProcessJob]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalProcessJob[P]>
      : GetScalarType<T[P], AggregateApprovalProcessJob[P]>
  }




  export type ApprovalProcessJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWhereInput
    orderBy?: ApprovalProcessJobOrderByWithAggregationInput | ApprovalProcessJobOrderByWithAggregationInput[]
    by: ApprovalProcessJobScalarFieldEnum[] | ApprovalProcessJobScalarFieldEnum
    having?: ApprovalProcessJobScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalProcessJobCountAggregateInputType | true
    _avg?: ApprovalProcessJobAvgAggregateInputType
    _sum?: ApprovalProcessJobSumAggregateInputType
    _min?: ApprovalProcessJobMinAggregateInputType
    _max?: ApprovalProcessJobMaxAggregateInputType
  }

  export type ApprovalProcessJobGroupByOutputType = {
    id: number
    uuid: string
    approval_workflow_slug: string
    sequence_no: string
    description: string | null
    primary_table: string | null
    unique_id: number | null
    screen_id: string
    user_id: number | null
    prefill_data: string | null
    details: string | null
    status_id: number
    company_id: number
    _count: ApprovalProcessJobCountAggregateOutputType | null
    _avg: ApprovalProcessJobAvgAggregateOutputType | null
    _sum: ApprovalProcessJobSumAggregateOutputType | null
    _min: ApprovalProcessJobMinAggregateOutputType | null
    _max: ApprovalProcessJobMaxAggregateOutputType | null
  }

  type GetApprovalProcessJobGroupByPayload<T extends ApprovalProcessJobGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalProcessJobGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalProcessJobGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalProcessJobGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalProcessJobGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalProcessJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    sequence_no?: boolean
    description?: boolean
    primary_table?: boolean
    unique_id?: boolean
    screen_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    details?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJob"]>

  export type ApprovalProcessJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    sequence_no?: boolean
    description?: boolean
    primary_table?: boolean
    unique_id?: boolean
    screen_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    details?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJob"]>

  export type ApprovalProcessJobSelectScalar = {
    id?: boolean
    uuid?: boolean
    approval_workflow_slug?: boolean
    sequence_no?: boolean
    description?: boolean
    primary_table?: boolean
    unique_id?: boolean
    screen_id?: boolean
    user_id?: boolean
    prefill_data?: boolean
    details?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type ApprovalProcessJobInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ApprovalProcessJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ApprovalProcessJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalProcessJob"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      approval_workflow_slug: string
      sequence_no: string
      description: string | null
      primary_table: string | null
      unique_id: number | null
      screen_id: string
      user_id: number | null
      prefill_data: string | null
      details: string | null
      status_id: number
      company_id: number
    }, ExtArgs["result"]["approvalProcessJob"]>
    composites: {}
  }

  type ApprovalProcessJobGetPayload<S extends boolean | null | undefined | ApprovalProcessJobDefaultArgs> = $Result.GetResult<Prisma.$ApprovalProcessJobPayload, S>

  type ApprovalProcessJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalProcessJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalProcessJobCountAggregateInputType | true
    }

  export interface ApprovalProcessJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalProcessJob'], meta: { name: 'ApprovalProcessJob' } }
    /**
     * Find zero or one ApprovalProcessJob that matches the filter.
     * @param {ApprovalProcessJobFindUniqueArgs} args - Arguments to find a ApprovalProcessJob
     * @example
     * // Get one ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalProcessJobFindUniqueArgs>(args: SelectSubset<T, ApprovalProcessJobFindUniqueArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalProcessJob that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalProcessJobFindUniqueOrThrowArgs} args - Arguments to find a ApprovalProcessJob
     * @example
     * // Get one ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalProcessJobFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalProcessJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalProcessJob that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobFindFirstArgs} args - Arguments to find a ApprovalProcessJob
     * @example
     * // Get one ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalProcessJobFindFirstArgs>(args?: SelectSubset<T, ApprovalProcessJobFindFirstArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalProcessJob that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobFindFirstOrThrowArgs} args - Arguments to find a ApprovalProcessJob
     * @example
     * // Get one ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalProcessJobFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalProcessJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalProcessJobs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalProcessJobs
     * const approvalProcessJobs = await prisma.approvalProcessJob.findMany()
     * 
     * // Get first 10 ApprovalProcessJobs
     * const approvalProcessJobs = await prisma.approvalProcessJob.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalProcessJobWithIdOnly = await prisma.approvalProcessJob.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalProcessJobFindManyArgs>(args?: SelectSubset<T, ApprovalProcessJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalProcessJob.
     * @param {ApprovalProcessJobCreateArgs} args - Arguments to create a ApprovalProcessJob.
     * @example
     * // Create one ApprovalProcessJob
     * const ApprovalProcessJob = await prisma.approvalProcessJob.create({
     *   data: {
     *     // ... data to create a ApprovalProcessJob
     *   }
     * })
     * 
     */
    create<T extends ApprovalProcessJobCreateArgs>(args: SelectSubset<T, ApprovalProcessJobCreateArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalProcessJobs.
     * @param {ApprovalProcessJobCreateManyArgs} args - Arguments to create many ApprovalProcessJobs.
     * @example
     * // Create many ApprovalProcessJobs
     * const approvalProcessJob = await prisma.approvalProcessJob.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalProcessJobCreateManyArgs>(args?: SelectSubset<T, ApprovalProcessJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalProcessJobs and returns the data saved in the database.
     * @param {ApprovalProcessJobCreateManyAndReturnArgs} args - Arguments to create many ApprovalProcessJobs.
     * @example
     * // Create many ApprovalProcessJobs
     * const approvalProcessJob = await prisma.approvalProcessJob.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalProcessJobs and only return the `id`
     * const approvalProcessJobWithIdOnly = await prisma.approvalProcessJob.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalProcessJobCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalProcessJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalProcessJob.
     * @param {ApprovalProcessJobDeleteArgs} args - Arguments to delete one ApprovalProcessJob.
     * @example
     * // Delete one ApprovalProcessJob
     * const ApprovalProcessJob = await prisma.approvalProcessJob.delete({
     *   where: {
     *     // ... filter to delete one ApprovalProcessJob
     *   }
     * })
     * 
     */
    delete<T extends ApprovalProcessJobDeleteArgs>(args: SelectSubset<T, ApprovalProcessJobDeleteArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalProcessJob.
     * @param {ApprovalProcessJobUpdateArgs} args - Arguments to update one ApprovalProcessJob.
     * @example
     * // Update one ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalProcessJobUpdateArgs>(args: SelectSubset<T, ApprovalProcessJobUpdateArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalProcessJobs.
     * @param {ApprovalProcessJobDeleteManyArgs} args - Arguments to filter ApprovalProcessJobs to delete.
     * @example
     * // Delete a few ApprovalProcessJobs
     * const { count } = await prisma.approvalProcessJob.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalProcessJobDeleteManyArgs>(args?: SelectSubset<T, ApprovalProcessJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalProcessJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalProcessJobs
     * const approvalProcessJob = await prisma.approvalProcessJob.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalProcessJobUpdateManyArgs>(args: SelectSubset<T, ApprovalProcessJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalProcessJob.
     * @param {ApprovalProcessJobUpsertArgs} args - Arguments to update or create a ApprovalProcessJob.
     * @example
     * // Update or create a ApprovalProcessJob
     * const approvalProcessJob = await prisma.approvalProcessJob.upsert({
     *   create: {
     *     // ... data to create a ApprovalProcessJob
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalProcessJob we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalProcessJobUpsertArgs>(args: SelectSubset<T, ApprovalProcessJobUpsertArgs<ExtArgs>>): Prisma__ApprovalProcessJobClient<$Result.GetResult<Prisma.$ApprovalProcessJobPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalProcessJobs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobCountArgs} args - Arguments to filter ApprovalProcessJobs to count.
     * @example
     * // Count the number of ApprovalProcessJobs
     * const count = await prisma.approvalProcessJob.count({
     *   where: {
     *     // ... the filter for the ApprovalProcessJobs we want to count
     *   }
     * })
    **/
    count<T extends ApprovalProcessJobCountArgs>(
      args?: Subset<T, ApprovalProcessJobCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalProcessJobCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalProcessJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalProcessJobAggregateArgs>(args: Subset<T, ApprovalProcessJobAggregateArgs>): Prisma.PrismaPromise<GetApprovalProcessJobAggregateType<T>>

    /**
     * Group by ApprovalProcessJob.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalProcessJobGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalProcessJobGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalProcessJobGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalProcessJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalProcessJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalProcessJob model
   */
  readonly fields: ApprovalProcessJobFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalProcessJob.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalProcessJobClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalProcessJob model
   */ 
  interface ApprovalProcessJobFieldRefs {
    readonly id: FieldRef<"ApprovalProcessJob", 'Int'>
    readonly uuid: FieldRef<"ApprovalProcessJob", 'String'>
    readonly approval_workflow_slug: FieldRef<"ApprovalProcessJob", 'String'>
    readonly sequence_no: FieldRef<"ApprovalProcessJob", 'String'>
    readonly description: FieldRef<"ApprovalProcessJob", 'String'>
    readonly primary_table: FieldRef<"ApprovalProcessJob", 'String'>
    readonly unique_id: FieldRef<"ApprovalProcessJob", 'Int'>
    readonly screen_id: FieldRef<"ApprovalProcessJob", 'String'>
    readonly user_id: FieldRef<"ApprovalProcessJob", 'Int'>
    readonly prefill_data: FieldRef<"ApprovalProcessJob", 'String'>
    readonly details: FieldRef<"ApprovalProcessJob", 'String'>
    readonly status_id: FieldRef<"ApprovalProcessJob", 'Int'>
    readonly company_id: FieldRef<"ApprovalProcessJob", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalProcessJob findUnique
   */
  export type ApprovalProcessJobFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJob to fetch.
     */
    where: ApprovalProcessJobWhereUniqueInput
  }

  /**
   * ApprovalProcessJob findUniqueOrThrow
   */
  export type ApprovalProcessJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJob to fetch.
     */
    where: ApprovalProcessJobWhereUniqueInput
  }

  /**
   * ApprovalProcessJob findFirst
   */
  export type ApprovalProcessJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJob to fetch.
     */
    where?: ApprovalProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobs to fetch.
     */
    orderBy?: ApprovalProcessJobOrderByWithRelationInput | ApprovalProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobs.
     */
    cursor?: ApprovalProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobs.
     */
    distinct?: ApprovalProcessJobScalarFieldEnum | ApprovalProcessJobScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJob findFirstOrThrow
   */
  export type ApprovalProcessJobFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJob to fetch.
     */
    where?: ApprovalProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobs to fetch.
     */
    orderBy?: ApprovalProcessJobOrderByWithRelationInput | ApprovalProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobs.
     */
    cursor?: ApprovalProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobs.
     */
    distinct?: ApprovalProcessJobScalarFieldEnum | ApprovalProcessJobScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJob findMany
   */
  export type ApprovalProcessJobFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobs to fetch.
     */
    where?: ApprovalProcessJobWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobs to fetch.
     */
    orderBy?: ApprovalProcessJobOrderByWithRelationInput | ApprovalProcessJobOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalProcessJobs.
     */
    cursor?: ApprovalProcessJobWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobs.
     */
    skip?: number
    distinct?: ApprovalProcessJobScalarFieldEnum | ApprovalProcessJobScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJob create
   */
  export type ApprovalProcessJobCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalProcessJob.
     */
    data: XOR<ApprovalProcessJobCreateInput, ApprovalProcessJobUncheckedCreateInput>
  }

  /**
   * ApprovalProcessJob createMany
   */
  export type ApprovalProcessJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalProcessJobs.
     */
    data: ApprovalProcessJobCreateManyInput | ApprovalProcessJobCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalProcessJob createManyAndReturn
   */
  export type ApprovalProcessJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalProcessJobs.
     */
    data: ApprovalProcessJobCreateManyInput | ApprovalProcessJobCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalProcessJob update
   */
  export type ApprovalProcessJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalProcessJob.
     */
    data: XOR<ApprovalProcessJobUpdateInput, ApprovalProcessJobUncheckedUpdateInput>
    /**
     * Choose, which ApprovalProcessJob to update.
     */
    where: ApprovalProcessJobWhereUniqueInput
  }

  /**
   * ApprovalProcessJob updateMany
   */
  export type ApprovalProcessJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalProcessJobs.
     */
    data: XOR<ApprovalProcessJobUpdateManyMutationInput, ApprovalProcessJobUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalProcessJobs to update
     */
    where?: ApprovalProcessJobWhereInput
  }

  /**
   * ApprovalProcessJob upsert
   */
  export type ApprovalProcessJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalProcessJob to update in case it exists.
     */
    where: ApprovalProcessJobWhereUniqueInput
    /**
     * In case the ApprovalProcessJob found by the `where` argument doesn't exist, create a new ApprovalProcessJob with this data.
     */
    create: XOR<ApprovalProcessJobCreateInput, ApprovalProcessJobUncheckedCreateInput>
    /**
     * In case the ApprovalProcessJob was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalProcessJobUpdateInput, ApprovalProcessJobUncheckedUpdateInput>
  }

  /**
   * ApprovalProcessJob delete
   */
  export type ApprovalProcessJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
    /**
     * Filter which ApprovalProcessJob to delete.
     */
    where: ApprovalProcessJobWhereUniqueInput
  }

  /**
   * ApprovalProcessJob deleteMany
   */
  export type ApprovalProcessJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJobs to delete
     */
    where?: ApprovalProcessJobWhereInput
  }

  /**
   * ApprovalProcessJob without action
   */
  export type ApprovalProcessJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJob
     */
    select?: ApprovalProcessJobSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalProcessJobWorkflow
   */

  export type AggregateApprovalProcessJobWorkflow = {
    _count: ApprovalProcessJobWorkflowCountAggregateOutputType | null
    _avg: ApprovalProcessJobWorkflowAvgAggregateOutputType | null
    _sum: ApprovalProcessJobWorkflowSumAggregateOutputType | null
    _min: ApprovalProcessJobWorkflowMinAggregateOutputType | null
    _max: ApprovalProcessJobWorkflowMaxAggregateOutputType | null
  }

  export type ApprovalProcessJobWorkflowAvgAggregateOutputType = {
    id: number | null
    approval_workflow_assignment_id: number | null
    unique_id: number | null
    user_id: number | null
    approver_order_no: Decimal | null
    status_id: number | null
    reviewed_by: number | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    company_id: number | null
    deleted_by: number | null
  }

  export type ApprovalProcessJobWorkflowSumAggregateOutputType = {
    id: number | null
    approval_workflow_assignment_id: number | null
    unique_id: number | null
    user_id: number | null
    approver_order_no: Decimal | null
    status_id: number | null
    reviewed_by: number | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    company_id: number | null
    deleted_by: number | null
  }

  export type ApprovalProcessJobWorkflowMinAggregateOutputType = {
    id: number | null
    approval_workflow_assignment_id: number | null
    approval_process_job_id: string | null
    approval_workflow_slug: string | null
    approval_process_job_name: string | null
    approval_process_job_description: string | null
    primary_table: string | null
    sequence_no: string | null
    unique_id: number | null
    user_id: number | null
    screen_id: string | null
    prefill_data: string | null
    url: string | null
    approver_order_no: Decimal | null
    approver_type: $Enums.ApproverType | null
    approver: string | null
    review_status: $Enums.ApprovalStatus | null
    status_id: number | null
    reviewed_by: number | null
    reason: string | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    company_id: number | null
    created_at: Date | null
    assigned_at: Date | null
    processed_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    details: string | null
  }

  export type ApprovalProcessJobWorkflowMaxAggregateOutputType = {
    id: number | null
    approval_workflow_assignment_id: number | null
    approval_process_job_id: string | null
    approval_workflow_slug: string | null
    approval_process_job_name: string | null
    approval_process_job_description: string | null
    primary_table: string | null
    sequence_no: string | null
    unique_id: number | null
    user_id: number | null
    screen_id: string | null
    prefill_data: string | null
    url: string | null
    approver_order_no: Decimal | null
    approver_type: $Enums.ApproverType | null
    approver: string | null
    review_status: $Enums.ApprovalStatus | null
    status_id: number | null
    reviewed_by: number | null
    reason: string | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    company_id: number | null
    created_at: Date | null
    assigned_at: Date | null
    processed_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    details: string | null
  }

  export type ApprovalProcessJobWorkflowCountAggregateOutputType = {
    id: number
    approval_workflow_assignment_id: number
    approval_process_job_id: number
    approval_workflow_slug: number
    approval_process_job_name: number
    approval_process_job_description: number
    approve_query_information: number
    reject_query_information: number
    primary_table: number
    sequence_no: number
    unique_id: number
    user_id: number
    screen_id: number
    prefill_data: number
    url: number
    approver_order_no: number
    approver_type: number
    approver: number
    review_status: number
    status_id: number
    reviewed_by: number
    reason: number
    approve_mail_id: number
    reject_mail_id: number
    approve_whatsapp_id: number
    reject_whatsapp_id: number
    company_id: number
    created_at: number
    assigned_at: number
    processed_at: number
    deleted_by: number
    deleted_at: number
    details: number
    _all: number
  }


  export type ApprovalProcessJobWorkflowAvgAggregateInputType = {
    id?: true
    approval_workflow_assignment_id?: true
    unique_id?: true
    user_id?: true
    approver_order_no?: true
    status_id?: true
    reviewed_by?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    company_id?: true
    deleted_by?: true
  }

  export type ApprovalProcessJobWorkflowSumAggregateInputType = {
    id?: true
    approval_workflow_assignment_id?: true
    unique_id?: true
    user_id?: true
    approver_order_no?: true
    status_id?: true
    reviewed_by?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    company_id?: true
    deleted_by?: true
  }

  export type ApprovalProcessJobWorkflowMinAggregateInputType = {
    id?: true
    approval_workflow_assignment_id?: true
    approval_process_job_id?: true
    approval_workflow_slug?: true
    approval_process_job_name?: true
    approval_process_job_description?: true
    primary_table?: true
    sequence_no?: true
    unique_id?: true
    user_id?: true
    screen_id?: true
    prefill_data?: true
    url?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    review_status?: true
    status_id?: true
    reviewed_by?: true
    reason?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    company_id?: true
    created_at?: true
    assigned_at?: true
    processed_at?: true
    deleted_by?: true
    deleted_at?: true
    details?: true
  }

  export type ApprovalProcessJobWorkflowMaxAggregateInputType = {
    id?: true
    approval_workflow_assignment_id?: true
    approval_process_job_id?: true
    approval_workflow_slug?: true
    approval_process_job_name?: true
    approval_process_job_description?: true
    primary_table?: true
    sequence_no?: true
    unique_id?: true
    user_id?: true
    screen_id?: true
    prefill_data?: true
    url?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    review_status?: true
    status_id?: true
    reviewed_by?: true
    reason?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    company_id?: true
    created_at?: true
    assigned_at?: true
    processed_at?: true
    deleted_by?: true
    deleted_at?: true
    details?: true
  }

  export type ApprovalProcessJobWorkflowCountAggregateInputType = {
    id?: true
    approval_workflow_assignment_id?: true
    approval_process_job_id?: true
    approval_workflow_slug?: true
    approval_process_job_name?: true
    approval_process_job_description?: true
    approve_query_information?: true
    reject_query_information?: true
    primary_table?: true
    sequence_no?: true
    unique_id?: true
    user_id?: true
    screen_id?: true
    prefill_data?: true
    url?: true
    approver_order_no?: true
    approver_type?: true
    approver?: true
    review_status?: true
    status_id?: true
    reviewed_by?: true
    reason?: true
    approve_mail_id?: true
    reject_mail_id?: true
    approve_whatsapp_id?: true
    reject_whatsapp_id?: true
    company_id?: true
    created_at?: true
    assigned_at?: true
    processed_at?: true
    deleted_by?: true
    deleted_at?: true
    details?: true
    _all?: true
  }

  export type ApprovalProcessJobWorkflowAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJobWorkflow to aggregate.
     */
    where?: ApprovalProcessJobWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflows to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowOrderByWithRelationInput | ApprovalProcessJobWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalProcessJobWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalProcessJobWorkflows
    **/
    _count?: true | ApprovalProcessJobWorkflowCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalProcessJobWorkflowAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalProcessJobWorkflowSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalProcessJobWorkflowMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalProcessJobWorkflowMaxAggregateInputType
  }

  export type GetApprovalProcessJobWorkflowAggregateType<T extends ApprovalProcessJobWorkflowAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalProcessJobWorkflow]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalProcessJobWorkflow[P]>
      : GetScalarType<T[P], AggregateApprovalProcessJobWorkflow[P]>
  }




  export type ApprovalProcessJobWorkflowGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWorkflowWhereInput
    orderBy?: ApprovalProcessJobWorkflowOrderByWithAggregationInput | ApprovalProcessJobWorkflowOrderByWithAggregationInput[]
    by: ApprovalProcessJobWorkflowScalarFieldEnum[] | ApprovalProcessJobWorkflowScalarFieldEnum
    having?: ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalProcessJobWorkflowCountAggregateInputType | true
    _avg?: ApprovalProcessJobWorkflowAvgAggregateInputType
    _sum?: ApprovalProcessJobWorkflowSumAggregateInputType
    _min?: ApprovalProcessJobWorkflowMinAggregateInputType
    _max?: ApprovalProcessJobWorkflowMaxAggregateInputType
  }

  export type ApprovalProcessJobWorkflowGroupByOutputType = {
    id: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name: string | null
    approval_process_job_description: string | null
    approve_query_information: string[]
    reject_query_information: string[]
    primary_table: string | null
    sequence_no: string
    unique_id: number | null
    user_id: number | null
    screen_id: string
    prefill_data: string | null
    url: string | null
    approver_order_no: Decimal
    approver_type: $Enums.ApproverType
    approver: string | null
    review_status: $Enums.ApprovalStatus
    status_id: number
    reviewed_by: number | null
    reason: string | null
    approve_mail_id: number | null
    reject_mail_id: number | null
    approve_whatsapp_id: number | null
    reject_whatsapp_id: number | null
    company_id: number
    created_at: Date
    assigned_at: Date | null
    processed_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    details: string | null
    _count: ApprovalProcessJobWorkflowCountAggregateOutputType | null
    _avg: ApprovalProcessJobWorkflowAvgAggregateOutputType | null
    _sum: ApprovalProcessJobWorkflowSumAggregateOutputType | null
    _min: ApprovalProcessJobWorkflowMinAggregateOutputType | null
    _max: ApprovalProcessJobWorkflowMaxAggregateOutputType | null
  }

  type GetApprovalProcessJobWorkflowGroupByPayload<T extends ApprovalProcessJobWorkflowGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalProcessJobWorkflowGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalProcessJobWorkflowGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalProcessJobWorkflowGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalProcessJobWorkflowGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalProcessJobWorkflowSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    approval_workflow_assignment_id?: boolean
    approval_process_job_id?: boolean
    approval_workflow_slug?: boolean
    approval_process_job_name?: boolean
    approval_process_job_description?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    primary_table?: boolean
    sequence_no?: boolean
    unique_id?: boolean
    user_id?: boolean
    screen_id?: boolean
    prefill_data?: boolean
    url?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    review_status?: boolean
    status_id?: boolean
    reviewed_by?: boolean
    reason?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
    company_id?: boolean
    created_at?: boolean
    assigned_at?: boolean
    processed_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    details?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approval_process_job_workflow_users?: boolean | ApprovalProcessJobWorkflow$approval_process_job_workflow_usersArgs<ExtArgs>
    _count?: boolean | ApprovalProcessJobWorkflowCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJobWorkflow"]>

  export type ApprovalProcessJobWorkflowSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    approval_workflow_assignment_id?: boolean
    approval_process_job_id?: boolean
    approval_workflow_slug?: boolean
    approval_process_job_name?: boolean
    approval_process_job_description?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    primary_table?: boolean
    sequence_no?: boolean
    unique_id?: boolean
    user_id?: boolean
    screen_id?: boolean
    prefill_data?: boolean
    url?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    review_status?: boolean
    status_id?: boolean
    reviewed_by?: boolean
    reason?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
    company_id?: boolean
    created_at?: boolean
    assigned_at?: boolean
    processed_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    details?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJobWorkflow"]>

  export type ApprovalProcessJobWorkflowSelectScalar = {
    id?: boolean
    approval_workflow_assignment_id?: boolean
    approval_process_job_id?: boolean
    approval_workflow_slug?: boolean
    approval_process_job_name?: boolean
    approval_process_job_description?: boolean
    approve_query_information?: boolean
    reject_query_information?: boolean
    primary_table?: boolean
    sequence_no?: boolean
    unique_id?: boolean
    user_id?: boolean
    screen_id?: boolean
    prefill_data?: boolean
    url?: boolean
    approver_order_no?: boolean
    approver_type?: boolean
    approver?: boolean
    review_status?: boolean
    status_id?: boolean
    reviewed_by?: boolean
    reason?: boolean
    approve_mail_id?: boolean
    reject_mail_id?: boolean
    approve_whatsapp_id?: boolean
    reject_whatsapp_id?: boolean
    company_id?: boolean
    created_at?: boolean
    assigned_at?: boolean
    processed_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    details?: boolean
  }

  export type ApprovalProcessJobWorkflowInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    approval_process_job_workflow_users?: boolean | ApprovalProcessJobWorkflow$approval_process_job_workflow_usersArgs<ExtArgs>
    _count?: boolean | ApprovalProcessJobWorkflowCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ApprovalProcessJobWorkflowIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ApprovalProcessJobWorkflowPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalProcessJobWorkflow"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      approval_process_job_workflow_users: Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      approval_workflow_assignment_id: number
      approval_process_job_id: string
      approval_workflow_slug: string
      approval_process_job_name: string | null
      approval_process_job_description: string | null
      approve_query_information: string[]
      reject_query_information: string[]
      primary_table: string | null
      sequence_no: string
      unique_id: number | null
      user_id: number | null
      screen_id: string
      prefill_data: string | null
      url: string | null
      approver_order_no: Prisma.Decimal
      approver_type: $Enums.ApproverType
      approver: string | null
      review_status: $Enums.ApprovalStatus
      status_id: number
      reviewed_by: number | null
      reason: string | null
      approve_mail_id: number | null
      reject_mail_id: number | null
      approve_whatsapp_id: number | null
      reject_whatsapp_id: number | null
      company_id: number
      created_at: Date
      assigned_at: Date | null
      processed_at: Date | null
      deleted_by: number | null
      deleted_at: Date | null
      details: string | null
    }, ExtArgs["result"]["approvalProcessJobWorkflow"]>
    composites: {}
  }

  type ApprovalProcessJobWorkflowGetPayload<S extends boolean | null | undefined | ApprovalProcessJobWorkflowDefaultArgs> = $Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload, S>

  type ApprovalProcessJobWorkflowCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalProcessJobWorkflowFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalProcessJobWorkflowCountAggregateInputType | true
    }

  export interface ApprovalProcessJobWorkflowDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalProcessJobWorkflow'], meta: { name: 'ApprovalProcessJobWorkflow' } }
    /**
     * Find zero or one ApprovalProcessJobWorkflow that matches the filter.
     * @param {ApprovalProcessJobWorkflowFindUniqueArgs} args - Arguments to find a ApprovalProcessJobWorkflow
     * @example
     * // Get one ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalProcessJobWorkflowFindUniqueArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowFindUniqueArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalProcessJobWorkflow that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalProcessJobWorkflowFindUniqueOrThrowArgs} args - Arguments to find a ApprovalProcessJobWorkflow
     * @example
     * // Get one ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalProcessJobWorkflowFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalProcessJobWorkflow that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowFindFirstArgs} args - Arguments to find a ApprovalProcessJobWorkflow
     * @example
     * // Get one ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalProcessJobWorkflowFindFirstArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowFindFirstArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalProcessJobWorkflow that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowFindFirstOrThrowArgs} args - Arguments to find a ApprovalProcessJobWorkflow
     * @example
     * // Get one ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalProcessJobWorkflowFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalProcessJobWorkflows that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalProcessJobWorkflows
     * const approvalProcessJobWorkflows = await prisma.approvalProcessJobWorkflow.findMany()
     * 
     * // Get first 10 ApprovalProcessJobWorkflows
     * const approvalProcessJobWorkflows = await prisma.approvalProcessJobWorkflow.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalProcessJobWorkflowWithIdOnly = await prisma.approvalProcessJobWorkflow.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalProcessJobWorkflowFindManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalProcessJobWorkflow.
     * @param {ApprovalProcessJobWorkflowCreateArgs} args - Arguments to create a ApprovalProcessJobWorkflow.
     * @example
     * // Create one ApprovalProcessJobWorkflow
     * const ApprovalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.create({
     *   data: {
     *     // ... data to create a ApprovalProcessJobWorkflow
     *   }
     * })
     * 
     */
    create<T extends ApprovalProcessJobWorkflowCreateArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowCreateArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalProcessJobWorkflows.
     * @param {ApprovalProcessJobWorkflowCreateManyArgs} args - Arguments to create many ApprovalProcessJobWorkflows.
     * @example
     * // Create many ApprovalProcessJobWorkflows
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalProcessJobWorkflowCreateManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalProcessJobWorkflows and returns the data saved in the database.
     * @param {ApprovalProcessJobWorkflowCreateManyAndReturnArgs} args - Arguments to create many ApprovalProcessJobWorkflows.
     * @example
     * // Create many ApprovalProcessJobWorkflows
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalProcessJobWorkflows and only return the `id`
     * const approvalProcessJobWorkflowWithIdOnly = await prisma.approvalProcessJobWorkflow.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalProcessJobWorkflowCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalProcessJobWorkflow.
     * @param {ApprovalProcessJobWorkflowDeleteArgs} args - Arguments to delete one ApprovalProcessJobWorkflow.
     * @example
     * // Delete one ApprovalProcessJobWorkflow
     * const ApprovalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.delete({
     *   where: {
     *     // ... filter to delete one ApprovalProcessJobWorkflow
     *   }
     * })
     * 
     */
    delete<T extends ApprovalProcessJobWorkflowDeleteArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowDeleteArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalProcessJobWorkflow.
     * @param {ApprovalProcessJobWorkflowUpdateArgs} args - Arguments to update one ApprovalProcessJobWorkflow.
     * @example
     * // Update one ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalProcessJobWorkflowUpdateArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUpdateArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalProcessJobWorkflows.
     * @param {ApprovalProcessJobWorkflowDeleteManyArgs} args - Arguments to filter ApprovalProcessJobWorkflows to delete.
     * @example
     * // Delete a few ApprovalProcessJobWorkflows
     * const { count } = await prisma.approvalProcessJobWorkflow.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalProcessJobWorkflowDeleteManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalProcessJobWorkflows.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalProcessJobWorkflows
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalProcessJobWorkflowUpdateManyArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalProcessJobWorkflow.
     * @param {ApprovalProcessJobWorkflowUpsertArgs} args - Arguments to update or create a ApprovalProcessJobWorkflow.
     * @example
     * // Update or create a ApprovalProcessJobWorkflow
     * const approvalProcessJobWorkflow = await prisma.approvalProcessJobWorkflow.upsert({
     *   create: {
     *     // ... data to create a ApprovalProcessJobWorkflow
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalProcessJobWorkflow we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalProcessJobWorkflowUpsertArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUpsertArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalProcessJobWorkflows.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowCountArgs} args - Arguments to filter ApprovalProcessJobWorkflows to count.
     * @example
     * // Count the number of ApprovalProcessJobWorkflows
     * const count = await prisma.approvalProcessJobWorkflow.count({
     *   where: {
     *     // ... the filter for the ApprovalProcessJobWorkflows we want to count
     *   }
     * })
    **/
    count<T extends ApprovalProcessJobWorkflowCountArgs>(
      args?: Subset<T, ApprovalProcessJobWorkflowCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalProcessJobWorkflowCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalProcessJobWorkflow.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalProcessJobWorkflowAggregateArgs>(args: Subset<T, ApprovalProcessJobWorkflowAggregateArgs>): Prisma.PrismaPromise<GetApprovalProcessJobWorkflowAggregateType<T>>

    /**
     * Group by ApprovalProcessJobWorkflow.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalProcessJobWorkflowGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalProcessJobWorkflowGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalProcessJobWorkflowGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalProcessJobWorkflowGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalProcessJobWorkflowGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalProcessJobWorkflow model
   */
  readonly fields: ApprovalProcessJobWorkflowFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalProcessJobWorkflow.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalProcessJobWorkflowClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    approval_process_job_workflow_users<T extends ApprovalProcessJobWorkflow$approval_process_job_workflow_usersArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalProcessJobWorkflow$approval_process_job_workflow_usersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalProcessJobWorkflow model
   */ 
  interface ApprovalProcessJobWorkflowFieldRefs {
    readonly id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly approval_workflow_assignment_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly approval_process_job_id: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approval_workflow_slug: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approval_process_job_name: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approval_process_job_description: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approve_query_information: FieldRef<"ApprovalProcessJobWorkflow", 'String[]'>
    readonly reject_query_information: FieldRef<"ApprovalProcessJobWorkflow", 'String[]'>
    readonly primary_table: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly sequence_no: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly unique_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly user_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly screen_id: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly prefill_data: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly url: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approver_order_no: FieldRef<"ApprovalProcessJobWorkflow", 'Decimal'>
    readonly approver_type: FieldRef<"ApprovalProcessJobWorkflow", 'ApproverType'>
    readonly approver: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly review_status: FieldRef<"ApprovalProcessJobWorkflow", 'ApprovalStatus'>
    readonly status_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly reviewed_by: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly reason: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
    readonly approve_mail_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly reject_mail_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly approve_whatsapp_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly reject_whatsapp_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly company_id: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly created_at: FieldRef<"ApprovalProcessJobWorkflow", 'DateTime'>
    readonly assigned_at: FieldRef<"ApprovalProcessJobWorkflow", 'DateTime'>
    readonly processed_at: FieldRef<"ApprovalProcessJobWorkflow", 'DateTime'>
    readonly deleted_by: FieldRef<"ApprovalProcessJobWorkflow", 'Int'>
    readonly deleted_at: FieldRef<"ApprovalProcessJobWorkflow", 'DateTime'>
    readonly details: FieldRef<"ApprovalProcessJobWorkflow", 'String'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalProcessJobWorkflow findUnique
   */
  export type ApprovalProcessJobWorkflowFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflow to fetch.
     */
    where: ApprovalProcessJobWorkflowWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflow findUniqueOrThrow
   */
  export type ApprovalProcessJobWorkflowFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflow to fetch.
     */
    where: ApprovalProcessJobWorkflowWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflow findFirst
   */
  export type ApprovalProcessJobWorkflowFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflow to fetch.
     */
    where?: ApprovalProcessJobWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflows to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowOrderByWithRelationInput | ApprovalProcessJobWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobWorkflows.
     */
    cursor?: ApprovalProcessJobWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobWorkflows.
     */
    distinct?: ApprovalProcessJobWorkflowScalarFieldEnum | ApprovalProcessJobWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflow findFirstOrThrow
   */
  export type ApprovalProcessJobWorkflowFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflow to fetch.
     */
    where?: ApprovalProcessJobWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflows to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowOrderByWithRelationInput | ApprovalProcessJobWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobWorkflows.
     */
    cursor?: ApprovalProcessJobWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflows.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobWorkflows.
     */
    distinct?: ApprovalProcessJobWorkflowScalarFieldEnum | ApprovalProcessJobWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflow findMany
   */
  export type ApprovalProcessJobWorkflowFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflows to fetch.
     */
    where?: ApprovalProcessJobWorkflowWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflows to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowOrderByWithRelationInput | ApprovalProcessJobWorkflowOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalProcessJobWorkflows.
     */
    cursor?: ApprovalProcessJobWorkflowWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflows from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflows.
     */
    skip?: number
    distinct?: ApprovalProcessJobWorkflowScalarFieldEnum | ApprovalProcessJobWorkflowScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflow create
   */
  export type ApprovalProcessJobWorkflowCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalProcessJobWorkflow.
     */
    data: XOR<ApprovalProcessJobWorkflowCreateInput, ApprovalProcessJobWorkflowUncheckedCreateInput>
  }

  /**
   * ApprovalProcessJobWorkflow createMany
   */
  export type ApprovalProcessJobWorkflowCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalProcessJobWorkflows.
     */
    data: ApprovalProcessJobWorkflowCreateManyInput | ApprovalProcessJobWorkflowCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalProcessJobWorkflow createManyAndReturn
   */
  export type ApprovalProcessJobWorkflowCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalProcessJobWorkflows.
     */
    data: ApprovalProcessJobWorkflowCreateManyInput | ApprovalProcessJobWorkflowCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalProcessJobWorkflow update
   */
  export type ApprovalProcessJobWorkflowUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalProcessJobWorkflow.
     */
    data: XOR<ApprovalProcessJobWorkflowUpdateInput, ApprovalProcessJobWorkflowUncheckedUpdateInput>
    /**
     * Choose, which ApprovalProcessJobWorkflow to update.
     */
    where: ApprovalProcessJobWorkflowWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflow updateMany
   */
  export type ApprovalProcessJobWorkflowUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalProcessJobWorkflows.
     */
    data: XOR<ApprovalProcessJobWorkflowUpdateManyMutationInput, ApprovalProcessJobWorkflowUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalProcessJobWorkflows to update
     */
    where?: ApprovalProcessJobWorkflowWhereInput
  }

  /**
   * ApprovalProcessJobWorkflow upsert
   */
  export type ApprovalProcessJobWorkflowUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalProcessJobWorkflow to update in case it exists.
     */
    where: ApprovalProcessJobWorkflowWhereUniqueInput
    /**
     * In case the ApprovalProcessJobWorkflow found by the `where` argument doesn't exist, create a new ApprovalProcessJobWorkflow with this data.
     */
    create: XOR<ApprovalProcessJobWorkflowCreateInput, ApprovalProcessJobWorkflowUncheckedCreateInput>
    /**
     * In case the ApprovalProcessJobWorkflow was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalProcessJobWorkflowUpdateInput, ApprovalProcessJobWorkflowUncheckedUpdateInput>
  }

  /**
   * ApprovalProcessJobWorkflow delete
   */
  export type ApprovalProcessJobWorkflowDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
    /**
     * Filter which ApprovalProcessJobWorkflow to delete.
     */
    where: ApprovalProcessJobWorkflowWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflow deleteMany
   */
  export type ApprovalProcessJobWorkflowDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJobWorkflows to delete
     */
    where?: ApprovalProcessJobWorkflowWhereInput
  }

  /**
   * ApprovalProcessJobWorkflow.approval_process_job_workflow_users
   */
  export type ApprovalProcessJobWorkflow$approval_process_job_workflow_usersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    where?: ApprovalProcessJobWorkflowUserWhereInput
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ApprovalProcessJobWorkflowUserScalarFieldEnum | ApprovalProcessJobWorkflowUserScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflow without action
   */
  export type ApprovalProcessJobWorkflowDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflow
     */
    select?: ApprovalProcessJobWorkflowSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowInclude<ExtArgs> | null
  }


  /**
   * Model ApprovalProcessJobWorkflowUser
   */

  export type AggregateApprovalProcessJobWorkflowUser = {
    _count: ApprovalProcessJobWorkflowUserCountAggregateOutputType | null
    _avg: ApprovalProcessJobWorkflowUserAvgAggregateOutputType | null
    _sum: ApprovalProcessJobWorkflowUserSumAggregateOutputType | null
    _min: ApprovalProcessJobWorkflowUserMinAggregateOutputType | null
    _max: ApprovalProcessJobWorkflowUserMaxAggregateOutputType | null
  }

  export type ApprovalProcessJobWorkflowUserAvgAggregateOutputType = {
    id: number | null
    approval_process_job_workflow_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobWorkflowUserSumAggregateOutputType = {
    id: number | null
    approval_process_job_workflow_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobWorkflowUserMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_process_job_workflow_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobWorkflowUserMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    approval_process_job_workflow_id: number | null
    user_id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ApprovalProcessJobWorkflowUserCountAggregateOutputType = {
    id: number
    uuid: number
    approval_process_job_workflow_id: number
    user_id: number
    status_id: number
    company_id: number
    _all: number
  }


  export type ApprovalProcessJobWorkflowUserAvgAggregateInputType = {
    id?: true
    approval_process_job_workflow_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobWorkflowUserSumAggregateInputType = {
    id?: true
    approval_process_job_workflow_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobWorkflowUserMinAggregateInputType = {
    id?: true
    uuid?: true
    approval_process_job_workflow_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobWorkflowUserMaxAggregateInputType = {
    id?: true
    uuid?: true
    approval_process_job_workflow_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
  }

  export type ApprovalProcessJobWorkflowUserCountAggregateInputType = {
    id?: true
    uuid?: true
    approval_process_job_workflow_id?: true
    user_id?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type ApprovalProcessJobWorkflowUserAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJobWorkflowUser to aggregate.
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflowUsers to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflowUsers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflowUsers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ApprovalProcessJobWorkflowUsers
    **/
    _count?: true | ApprovalProcessJobWorkflowUserCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ApprovalProcessJobWorkflowUserAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ApprovalProcessJobWorkflowUserSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ApprovalProcessJobWorkflowUserMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ApprovalProcessJobWorkflowUserMaxAggregateInputType
  }

  export type GetApprovalProcessJobWorkflowUserAggregateType<T extends ApprovalProcessJobWorkflowUserAggregateArgs> = {
        [P in keyof T & keyof AggregateApprovalProcessJobWorkflowUser]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateApprovalProcessJobWorkflowUser[P]>
      : GetScalarType<T[P], AggregateApprovalProcessJobWorkflowUser[P]>
  }




  export type ApprovalProcessJobWorkflowUserGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ApprovalProcessJobWorkflowUserWhereInput
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithAggregationInput | ApprovalProcessJobWorkflowUserOrderByWithAggregationInput[]
    by: ApprovalProcessJobWorkflowUserScalarFieldEnum[] | ApprovalProcessJobWorkflowUserScalarFieldEnum
    having?: ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ApprovalProcessJobWorkflowUserCountAggregateInputType | true
    _avg?: ApprovalProcessJobWorkflowUserAvgAggregateInputType
    _sum?: ApprovalProcessJobWorkflowUserSumAggregateInputType
    _min?: ApprovalProcessJobWorkflowUserMinAggregateInputType
    _max?: ApprovalProcessJobWorkflowUserMaxAggregateInputType
  }

  export type ApprovalProcessJobWorkflowUserGroupByOutputType = {
    id: number
    uuid: string
    approval_process_job_workflow_id: number
    user_id: number | null
    status_id: number
    company_id: number
    _count: ApprovalProcessJobWorkflowUserCountAggregateOutputType | null
    _avg: ApprovalProcessJobWorkflowUserAvgAggregateOutputType | null
    _sum: ApprovalProcessJobWorkflowUserSumAggregateOutputType | null
    _min: ApprovalProcessJobWorkflowUserMinAggregateOutputType | null
    _max: ApprovalProcessJobWorkflowUserMaxAggregateOutputType | null
  }

  type GetApprovalProcessJobWorkflowUserGroupByPayload<T extends ApprovalProcessJobWorkflowUserGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ApprovalProcessJobWorkflowUserGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ApprovalProcessJobWorkflowUserGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ApprovalProcessJobWorkflowUserGroupByOutputType[P]>
            : GetScalarType<T[P], ApprovalProcessJobWorkflowUserGroupByOutputType[P]>
        }
      >
    >


  export type ApprovalProcessJobWorkflowUserSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_process_job_workflow_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
    approval_process_job_workflow?: boolean | ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJobWorkflowUser"]>

  export type ApprovalProcessJobWorkflowUserSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    approval_process_job_workflow_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
    approval_process_job_workflow?: boolean | ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["approvalProcessJobWorkflowUser"]>

  export type ApprovalProcessJobWorkflowUserSelectScalar = {
    id?: boolean
    uuid?: boolean
    approval_process_job_workflow_id?: boolean
    user_id?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type ApprovalProcessJobWorkflowUserInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_process_job_workflow?: boolean | ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ApprovalProcessJobWorkflowUserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    approval_process_job_workflow?: boolean | ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ApprovalProcessJobWorkflowUserPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ApprovalProcessJobWorkflowUser"
    objects: {
      approval_process_job_workflow: Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      approval_process_job_workflow_id: number
      user_id: number | null
      status_id: number
      company_id: number
    }, ExtArgs["result"]["approvalProcessJobWorkflowUser"]>
    composites: {}
  }

  type ApprovalProcessJobWorkflowUserGetPayload<S extends boolean | null | undefined | ApprovalProcessJobWorkflowUserDefaultArgs> = $Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload, S>

  type ApprovalProcessJobWorkflowUserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ApprovalProcessJobWorkflowUserFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ApprovalProcessJobWorkflowUserCountAggregateInputType | true
    }

  export interface ApprovalProcessJobWorkflowUserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalProcessJobWorkflowUser'], meta: { name: 'ApprovalProcessJobWorkflowUser' } }
    /**
     * Find zero or one ApprovalProcessJobWorkflowUser that matches the filter.
     * @param {ApprovalProcessJobWorkflowUserFindUniqueArgs} args - Arguments to find a ApprovalProcessJobWorkflowUser
     * @example
     * // Get one ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ApprovalProcessJobWorkflowUserFindUniqueArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserFindUniqueArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ApprovalProcessJobWorkflowUser that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ApprovalProcessJobWorkflowUserFindUniqueOrThrowArgs} args - Arguments to find a ApprovalProcessJobWorkflowUser
     * @example
     * // Get one ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ApprovalProcessJobWorkflowUserFindUniqueOrThrowArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ApprovalProcessJobWorkflowUser that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserFindFirstArgs} args - Arguments to find a ApprovalProcessJobWorkflowUser
     * @example
     * // Get one ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ApprovalProcessJobWorkflowUserFindFirstArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserFindFirstArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ApprovalProcessJobWorkflowUser that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserFindFirstOrThrowArgs} args - Arguments to find a ApprovalProcessJobWorkflowUser
     * @example
     * // Get one ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ApprovalProcessJobWorkflowUserFindFirstOrThrowArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ApprovalProcessJobWorkflowUsers that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ApprovalProcessJobWorkflowUsers
     * const approvalProcessJobWorkflowUsers = await prisma.approvalProcessJobWorkflowUser.findMany()
     * 
     * // Get first 10 ApprovalProcessJobWorkflowUsers
     * const approvalProcessJobWorkflowUsers = await prisma.approvalProcessJobWorkflowUser.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const approvalProcessJobWorkflowUserWithIdOnly = await prisma.approvalProcessJobWorkflowUser.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ApprovalProcessJobWorkflowUserFindManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ApprovalProcessJobWorkflowUser.
     * @param {ApprovalProcessJobWorkflowUserCreateArgs} args - Arguments to create a ApprovalProcessJobWorkflowUser.
     * @example
     * // Create one ApprovalProcessJobWorkflowUser
     * const ApprovalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.create({
     *   data: {
     *     // ... data to create a ApprovalProcessJobWorkflowUser
     *   }
     * })
     * 
     */
    create<T extends ApprovalProcessJobWorkflowUserCreateArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserCreateArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ApprovalProcessJobWorkflowUsers.
     * @param {ApprovalProcessJobWorkflowUserCreateManyArgs} args - Arguments to create many ApprovalProcessJobWorkflowUsers.
     * @example
     * // Create many ApprovalProcessJobWorkflowUsers
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ApprovalProcessJobWorkflowUserCreateManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ApprovalProcessJobWorkflowUsers and returns the data saved in the database.
     * @param {ApprovalProcessJobWorkflowUserCreateManyAndReturnArgs} args - Arguments to create many ApprovalProcessJobWorkflowUsers.
     * @example
     * // Create many ApprovalProcessJobWorkflowUsers
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ApprovalProcessJobWorkflowUsers and only return the `id`
     * const approvalProcessJobWorkflowUserWithIdOnly = await prisma.approvalProcessJobWorkflowUser.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ApprovalProcessJobWorkflowUserCreateManyAndReturnArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ApprovalProcessJobWorkflowUser.
     * @param {ApprovalProcessJobWorkflowUserDeleteArgs} args - Arguments to delete one ApprovalProcessJobWorkflowUser.
     * @example
     * // Delete one ApprovalProcessJobWorkflowUser
     * const ApprovalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.delete({
     *   where: {
     *     // ... filter to delete one ApprovalProcessJobWorkflowUser
     *   }
     * })
     * 
     */
    delete<T extends ApprovalProcessJobWorkflowUserDeleteArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserDeleteArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ApprovalProcessJobWorkflowUser.
     * @param {ApprovalProcessJobWorkflowUserUpdateArgs} args - Arguments to update one ApprovalProcessJobWorkflowUser.
     * @example
     * // Update one ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ApprovalProcessJobWorkflowUserUpdateArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserUpdateArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ApprovalProcessJobWorkflowUsers.
     * @param {ApprovalProcessJobWorkflowUserDeleteManyArgs} args - Arguments to filter ApprovalProcessJobWorkflowUsers to delete.
     * @example
     * // Delete a few ApprovalProcessJobWorkflowUsers
     * const { count } = await prisma.approvalProcessJobWorkflowUser.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ApprovalProcessJobWorkflowUserDeleteManyArgs>(args?: SelectSubset<T, ApprovalProcessJobWorkflowUserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ApprovalProcessJobWorkflowUsers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ApprovalProcessJobWorkflowUsers
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ApprovalProcessJobWorkflowUserUpdateManyArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ApprovalProcessJobWorkflowUser.
     * @param {ApprovalProcessJobWorkflowUserUpsertArgs} args - Arguments to update or create a ApprovalProcessJobWorkflowUser.
     * @example
     * // Update or create a ApprovalProcessJobWorkflowUser
     * const approvalProcessJobWorkflowUser = await prisma.approvalProcessJobWorkflowUser.upsert({
     *   create: {
     *     // ... data to create a ApprovalProcessJobWorkflowUser
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ApprovalProcessJobWorkflowUser we want to update
     *   }
     * })
     */
    upsert<T extends ApprovalProcessJobWorkflowUserUpsertArgs>(args: SelectSubset<T, ApprovalProcessJobWorkflowUserUpsertArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowUserClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowUserPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ApprovalProcessJobWorkflowUsers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserCountArgs} args - Arguments to filter ApprovalProcessJobWorkflowUsers to count.
     * @example
     * // Count the number of ApprovalProcessJobWorkflowUsers
     * const count = await prisma.approvalProcessJobWorkflowUser.count({
     *   where: {
     *     // ... the filter for the ApprovalProcessJobWorkflowUsers we want to count
     *   }
     * })
    **/
    count<T extends ApprovalProcessJobWorkflowUserCountArgs>(
      args?: Subset<T, ApprovalProcessJobWorkflowUserCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ApprovalProcessJobWorkflowUserCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ApprovalProcessJobWorkflowUser.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ApprovalProcessJobWorkflowUserAggregateArgs>(args: Subset<T, ApprovalProcessJobWorkflowUserAggregateArgs>): Prisma.PrismaPromise<GetApprovalProcessJobWorkflowUserAggregateType<T>>

    /**
     * Group by ApprovalProcessJobWorkflowUser.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ApprovalProcessJobWorkflowUserGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ApprovalProcessJobWorkflowUserGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ApprovalProcessJobWorkflowUserGroupByArgs['orderBy'] }
        : { orderBy?: ApprovalProcessJobWorkflowUserGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ApprovalProcessJobWorkflowUserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalProcessJobWorkflowUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ApprovalProcessJobWorkflowUser model
   */
  readonly fields: ApprovalProcessJobWorkflowUserFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ApprovalProcessJobWorkflowUser.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ApprovalProcessJobWorkflowUserClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    approval_process_job_workflow<T extends ApprovalProcessJobWorkflowDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>>): Prisma__ApprovalProcessJobWorkflowClient<$Result.GetResult<Prisma.$ApprovalProcessJobWorkflowPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ApprovalProcessJobWorkflowUser model
   */ 
  interface ApprovalProcessJobWorkflowUserFieldRefs {
    readonly id: FieldRef<"ApprovalProcessJobWorkflowUser", 'Int'>
    readonly uuid: FieldRef<"ApprovalProcessJobWorkflowUser", 'String'>
    readonly approval_process_job_workflow_id: FieldRef<"ApprovalProcessJobWorkflowUser", 'Int'>
    readonly user_id: FieldRef<"ApprovalProcessJobWorkflowUser", 'Int'>
    readonly status_id: FieldRef<"ApprovalProcessJobWorkflowUser", 'Int'>
    readonly company_id: FieldRef<"ApprovalProcessJobWorkflowUser", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ApprovalProcessJobWorkflowUser findUnique
   */
  export type ApprovalProcessJobWorkflowUserFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflowUser to fetch.
     */
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflowUser findUniqueOrThrow
   */
  export type ApprovalProcessJobWorkflowUserFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflowUser to fetch.
     */
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflowUser findFirst
   */
  export type ApprovalProcessJobWorkflowUserFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflowUser to fetch.
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflowUsers to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobWorkflowUsers.
     */
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflowUsers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflowUsers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobWorkflowUsers.
     */
    distinct?: ApprovalProcessJobWorkflowUserScalarFieldEnum | ApprovalProcessJobWorkflowUserScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflowUser findFirstOrThrow
   */
  export type ApprovalProcessJobWorkflowUserFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflowUser to fetch.
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflowUsers to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ApprovalProcessJobWorkflowUsers.
     */
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflowUsers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflowUsers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ApprovalProcessJobWorkflowUsers.
     */
    distinct?: ApprovalProcessJobWorkflowUserScalarFieldEnum | ApprovalProcessJobWorkflowUserScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflowUser findMany
   */
  export type ApprovalProcessJobWorkflowUserFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter, which ApprovalProcessJobWorkflowUsers to fetch.
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ApprovalProcessJobWorkflowUsers to fetch.
     */
    orderBy?: ApprovalProcessJobWorkflowUserOrderByWithRelationInput | ApprovalProcessJobWorkflowUserOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ApprovalProcessJobWorkflowUsers.
     */
    cursor?: ApprovalProcessJobWorkflowUserWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ApprovalProcessJobWorkflowUsers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ApprovalProcessJobWorkflowUsers.
     */
    skip?: number
    distinct?: ApprovalProcessJobWorkflowUserScalarFieldEnum | ApprovalProcessJobWorkflowUserScalarFieldEnum[]
  }

  /**
   * ApprovalProcessJobWorkflowUser create
   */
  export type ApprovalProcessJobWorkflowUserCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * The data needed to create a ApprovalProcessJobWorkflowUser.
     */
    data: XOR<ApprovalProcessJobWorkflowUserCreateInput, ApprovalProcessJobWorkflowUserUncheckedCreateInput>
  }

  /**
   * ApprovalProcessJobWorkflowUser createMany
   */
  export type ApprovalProcessJobWorkflowUserCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ApprovalProcessJobWorkflowUsers.
     */
    data: ApprovalProcessJobWorkflowUserCreateManyInput | ApprovalProcessJobWorkflowUserCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ApprovalProcessJobWorkflowUser createManyAndReturn
   */
  export type ApprovalProcessJobWorkflowUserCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ApprovalProcessJobWorkflowUsers.
     */
    data: ApprovalProcessJobWorkflowUserCreateManyInput | ApprovalProcessJobWorkflowUserCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ApprovalProcessJobWorkflowUser update
   */
  export type ApprovalProcessJobWorkflowUserUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * The data needed to update a ApprovalProcessJobWorkflowUser.
     */
    data: XOR<ApprovalProcessJobWorkflowUserUpdateInput, ApprovalProcessJobWorkflowUserUncheckedUpdateInput>
    /**
     * Choose, which ApprovalProcessJobWorkflowUser to update.
     */
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflowUser updateMany
   */
  export type ApprovalProcessJobWorkflowUserUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ApprovalProcessJobWorkflowUsers.
     */
    data: XOR<ApprovalProcessJobWorkflowUserUpdateManyMutationInput, ApprovalProcessJobWorkflowUserUncheckedUpdateManyInput>
    /**
     * Filter which ApprovalProcessJobWorkflowUsers to update
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
  }

  /**
   * ApprovalProcessJobWorkflowUser upsert
   */
  export type ApprovalProcessJobWorkflowUserUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * The filter to search for the ApprovalProcessJobWorkflowUser to update in case it exists.
     */
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    /**
     * In case the ApprovalProcessJobWorkflowUser found by the `where` argument doesn't exist, create a new ApprovalProcessJobWorkflowUser with this data.
     */
    create: XOR<ApprovalProcessJobWorkflowUserCreateInput, ApprovalProcessJobWorkflowUserUncheckedCreateInput>
    /**
     * In case the ApprovalProcessJobWorkflowUser was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ApprovalProcessJobWorkflowUserUpdateInput, ApprovalProcessJobWorkflowUserUncheckedUpdateInput>
  }

  /**
   * ApprovalProcessJobWorkflowUser delete
   */
  export type ApprovalProcessJobWorkflowUserDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
    /**
     * Filter which ApprovalProcessJobWorkflowUser to delete.
     */
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
  }

  /**
   * ApprovalProcessJobWorkflowUser deleteMany
   */
  export type ApprovalProcessJobWorkflowUserDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ApprovalProcessJobWorkflowUsers to delete
     */
    where?: ApprovalProcessJobWorkflowUserWhereInput
  }

  /**
   * ApprovalProcessJobWorkflowUser without action
   */
  export type ApprovalProcessJobWorkflowUserDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ApprovalProcessJobWorkflowUser
     */
    select?: ApprovalProcessJobWorkflowUserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ApprovalProcessJobWorkflowUserInclude<ExtArgs> | null
  }


  /**
   * Model Delegation
   */

  export type AggregateDelegation = {
    _count: DelegationCountAggregateOutputType | null
    _avg: DelegationAvgAggregateOutputType | null
    _sum: DelegationSumAggregateOutputType | null
    _min: DelegationMinAggregateOutputType | null
    _max: DelegationMaxAggregateOutputType | null
  }

  export type DelegationAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    delegated_user_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DelegationSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    delegated_user_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DelegationMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    delegated_user_id: number | null
    reason: string | null
    start_date: Date | null
    end_date: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DelegationMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    delegated_user_id: number | null
    reason: string | null
    start_date: Date | null
    end_date: Date | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DelegationCountAggregateOutputType = {
    id: number
    uuid: number
    user_id: number
    delegated_user_id: number
    reason: number
    start_date: number
    end_date: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type DelegationAvgAggregateInputType = {
    id?: true
    user_id?: true
    delegated_user_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DelegationSumAggregateInputType = {
    id?: true
    user_id?: true
    delegated_user_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DelegationMinAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    delegated_user_id?: true
    reason?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DelegationMaxAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    delegated_user_id?: true
    reason?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DelegationCountAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    delegated_user_id?: true
    reason?: true
    start_date?: true
    end_date?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type DelegationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Delegation to aggregate.
     */
    where?: DelegationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Delegations to fetch.
     */
    orderBy?: DelegationOrderByWithRelationInput | DelegationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DelegationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Delegations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Delegations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Delegations
    **/
    _count?: true | DelegationCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DelegationAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DelegationSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DelegationMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DelegationMaxAggregateInputType
  }

  export type GetDelegationAggregateType<T extends DelegationAggregateArgs> = {
        [P in keyof T & keyof AggregateDelegation]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDelegation[P]>
      : GetScalarType<T[P], AggregateDelegation[P]>
  }




  export type DelegationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DelegationWhereInput
    orderBy?: DelegationOrderByWithAggregationInput | DelegationOrderByWithAggregationInput[]
    by: DelegationScalarFieldEnum[] | DelegationScalarFieldEnum
    having?: DelegationScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DelegationCountAggregateInputType | true
    _avg?: DelegationAvgAggregateInputType
    _sum?: DelegationSumAggregateInputType
    _min?: DelegationMinAggregateInputType
    _max?: DelegationMaxAggregateInputType
  }

  export type DelegationGroupByOutputType = {
    id: number
    uuid: string
    user_id: number
    delegated_user_id: number
    reason: string | null
    start_date: Date
    end_date: Date
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: DelegationCountAggregateOutputType | null
    _avg: DelegationAvgAggregateOutputType | null
    _sum: DelegationSumAggregateOutputType | null
    _min: DelegationMinAggregateOutputType | null
    _max: DelegationMaxAggregateOutputType | null
  }

  type GetDelegationGroupByPayload<T extends DelegationGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DelegationGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DelegationGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DelegationGroupByOutputType[P]>
            : GetScalarType<T[P], DelegationGroupByOutputType[P]>
        }
      >
    >


  export type DelegationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    delegated_user_id?: boolean
    reason?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["delegation"]>

  export type DelegationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    delegated_user_id?: boolean
    reason?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["delegation"]>

  export type DelegationSelectScalar = {
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    delegated_user_id?: boolean
    reason?: boolean
    start_date?: boolean
    end_date?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type DelegationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type DelegationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $DelegationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Delegation"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      user_id: number
      delegated_user_id: number
      reason: string | null
      start_date: Date
      end_date: Date
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["delegation"]>
    composites: {}
  }

  type DelegationGetPayload<S extends boolean | null | undefined | DelegationDefaultArgs> = $Result.GetResult<Prisma.$DelegationPayload, S>

  type DelegationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DelegationFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DelegationCountAggregateInputType | true
    }

  export interface DelegationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Delegation'], meta: { name: 'Delegation' } }
    /**
     * Find zero or one Delegation that matches the filter.
     * @param {DelegationFindUniqueArgs} args - Arguments to find a Delegation
     * @example
     * // Get one Delegation
     * const delegation = await prisma.delegation.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DelegationFindUniqueArgs>(args: SelectSubset<T, DelegationFindUniqueArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Delegation that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DelegationFindUniqueOrThrowArgs} args - Arguments to find a Delegation
     * @example
     * // Get one Delegation
     * const delegation = await prisma.delegation.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DelegationFindUniqueOrThrowArgs>(args: SelectSubset<T, DelegationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Delegation that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationFindFirstArgs} args - Arguments to find a Delegation
     * @example
     * // Get one Delegation
     * const delegation = await prisma.delegation.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DelegationFindFirstArgs>(args?: SelectSubset<T, DelegationFindFirstArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Delegation that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationFindFirstOrThrowArgs} args - Arguments to find a Delegation
     * @example
     * // Get one Delegation
     * const delegation = await prisma.delegation.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DelegationFindFirstOrThrowArgs>(args?: SelectSubset<T, DelegationFindFirstOrThrowArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Delegations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Delegations
     * const delegations = await prisma.delegation.findMany()
     * 
     * // Get first 10 Delegations
     * const delegations = await prisma.delegation.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const delegationWithIdOnly = await prisma.delegation.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DelegationFindManyArgs>(args?: SelectSubset<T, DelegationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Delegation.
     * @param {DelegationCreateArgs} args - Arguments to create a Delegation.
     * @example
     * // Create one Delegation
     * const Delegation = await prisma.delegation.create({
     *   data: {
     *     // ... data to create a Delegation
     *   }
     * })
     * 
     */
    create<T extends DelegationCreateArgs>(args: SelectSubset<T, DelegationCreateArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Delegations.
     * @param {DelegationCreateManyArgs} args - Arguments to create many Delegations.
     * @example
     * // Create many Delegations
     * const delegation = await prisma.delegation.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DelegationCreateManyArgs>(args?: SelectSubset<T, DelegationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Delegations and returns the data saved in the database.
     * @param {DelegationCreateManyAndReturnArgs} args - Arguments to create many Delegations.
     * @example
     * // Create many Delegations
     * const delegation = await prisma.delegation.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Delegations and only return the `id`
     * const delegationWithIdOnly = await prisma.delegation.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DelegationCreateManyAndReturnArgs>(args?: SelectSubset<T, DelegationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Delegation.
     * @param {DelegationDeleteArgs} args - Arguments to delete one Delegation.
     * @example
     * // Delete one Delegation
     * const Delegation = await prisma.delegation.delete({
     *   where: {
     *     // ... filter to delete one Delegation
     *   }
     * })
     * 
     */
    delete<T extends DelegationDeleteArgs>(args: SelectSubset<T, DelegationDeleteArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Delegation.
     * @param {DelegationUpdateArgs} args - Arguments to update one Delegation.
     * @example
     * // Update one Delegation
     * const delegation = await prisma.delegation.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DelegationUpdateArgs>(args: SelectSubset<T, DelegationUpdateArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Delegations.
     * @param {DelegationDeleteManyArgs} args - Arguments to filter Delegations to delete.
     * @example
     * // Delete a few Delegations
     * const { count } = await prisma.delegation.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DelegationDeleteManyArgs>(args?: SelectSubset<T, DelegationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Delegations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Delegations
     * const delegation = await prisma.delegation.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DelegationUpdateManyArgs>(args: SelectSubset<T, DelegationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Delegation.
     * @param {DelegationUpsertArgs} args - Arguments to update or create a Delegation.
     * @example
     * // Update or create a Delegation
     * const delegation = await prisma.delegation.upsert({
     *   create: {
     *     // ... data to create a Delegation
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Delegation we want to update
     *   }
     * })
     */
    upsert<T extends DelegationUpsertArgs>(args: SelectSubset<T, DelegationUpsertArgs<ExtArgs>>): Prisma__DelegationClient<$Result.GetResult<Prisma.$DelegationPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Delegations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationCountArgs} args - Arguments to filter Delegations to count.
     * @example
     * // Count the number of Delegations
     * const count = await prisma.delegation.count({
     *   where: {
     *     // ... the filter for the Delegations we want to count
     *   }
     * })
    **/
    count<T extends DelegationCountArgs>(
      args?: Subset<T, DelegationCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DelegationCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Delegation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DelegationAggregateArgs>(args: Subset<T, DelegationAggregateArgs>): Prisma.PrismaPromise<GetDelegationAggregateType<T>>

    /**
     * Group by Delegation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DelegationGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DelegationGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DelegationGroupByArgs['orderBy'] }
        : { orderBy?: DelegationGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DelegationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDelegationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Delegation model
   */
  readonly fields: DelegationFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Delegation.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DelegationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Delegation model
   */ 
  interface DelegationFieldRefs {
    readonly id: FieldRef<"Delegation", 'Int'>
    readonly uuid: FieldRef<"Delegation", 'String'>
    readonly user_id: FieldRef<"Delegation", 'Int'>
    readonly delegated_user_id: FieldRef<"Delegation", 'Int'>
    readonly reason: FieldRef<"Delegation", 'String'>
    readonly start_date: FieldRef<"Delegation", 'DateTime'>
    readonly end_date: FieldRef<"Delegation", 'DateTime'>
    readonly status_id: FieldRef<"Delegation", 'Int'>
    readonly company_id: FieldRef<"Delegation", 'Int'>
    readonly created_by: FieldRef<"Delegation", 'Int'>
    readonly created_at: FieldRef<"Delegation", 'DateTime'>
    readonly updated_by: FieldRef<"Delegation", 'Int'>
    readonly updated_at: FieldRef<"Delegation", 'DateTime'>
    readonly deleted_by: FieldRef<"Delegation", 'Int'>
    readonly deleted_at: FieldRef<"Delegation", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Delegation findUnique
   */
  export type DelegationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter, which Delegation to fetch.
     */
    where: DelegationWhereUniqueInput
  }

  /**
   * Delegation findUniqueOrThrow
   */
  export type DelegationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter, which Delegation to fetch.
     */
    where: DelegationWhereUniqueInput
  }

  /**
   * Delegation findFirst
   */
  export type DelegationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter, which Delegation to fetch.
     */
    where?: DelegationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Delegations to fetch.
     */
    orderBy?: DelegationOrderByWithRelationInput | DelegationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Delegations.
     */
    cursor?: DelegationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Delegations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Delegations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Delegations.
     */
    distinct?: DelegationScalarFieldEnum | DelegationScalarFieldEnum[]
  }

  /**
   * Delegation findFirstOrThrow
   */
  export type DelegationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter, which Delegation to fetch.
     */
    where?: DelegationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Delegations to fetch.
     */
    orderBy?: DelegationOrderByWithRelationInput | DelegationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Delegations.
     */
    cursor?: DelegationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Delegations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Delegations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Delegations.
     */
    distinct?: DelegationScalarFieldEnum | DelegationScalarFieldEnum[]
  }

  /**
   * Delegation findMany
   */
  export type DelegationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter, which Delegations to fetch.
     */
    where?: DelegationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Delegations to fetch.
     */
    orderBy?: DelegationOrderByWithRelationInput | DelegationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Delegations.
     */
    cursor?: DelegationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Delegations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Delegations.
     */
    skip?: number
    distinct?: DelegationScalarFieldEnum | DelegationScalarFieldEnum[]
  }

  /**
   * Delegation create
   */
  export type DelegationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * The data needed to create a Delegation.
     */
    data: XOR<DelegationCreateInput, DelegationUncheckedCreateInput>
  }

  /**
   * Delegation createMany
   */
  export type DelegationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Delegations.
     */
    data: DelegationCreateManyInput | DelegationCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Delegation createManyAndReturn
   */
  export type DelegationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Delegations.
     */
    data: DelegationCreateManyInput | DelegationCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Delegation update
   */
  export type DelegationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * The data needed to update a Delegation.
     */
    data: XOR<DelegationUpdateInput, DelegationUncheckedUpdateInput>
    /**
     * Choose, which Delegation to update.
     */
    where: DelegationWhereUniqueInput
  }

  /**
   * Delegation updateMany
   */
  export type DelegationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Delegations.
     */
    data: XOR<DelegationUpdateManyMutationInput, DelegationUncheckedUpdateManyInput>
    /**
     * Filter which Delegations to update
     */
    where?: DelegationWhereInput
  }

  /**
   * Delegation upsert
   */
  export type DelegationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * The filter to search for the Delegation to update in case it exists.
     */
    where: DelegationWhereUniqueInput
    /**
     * In case the Delegation found by the `where` argument doesn't exist, create a new Delegation with this data.
     */
    create: XOR<DelegationCreateInput, DelegationUncheckedCreateInput>
    /**
     * In case the Delegation was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DelegationUpdateInput, DelegationUncheckedUpdateInput>
  }

  /**
   * Delegation delete
   */
  export type DelegationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
    /**
     * Filter which Delegation to delete.
     */
    where: DelegationWhereUniqueInput
  }

  /**
   * Delegation deleteMany
   */
  export type DelegationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Delegations to delete
     */
    where?: DelegationWhereInput
  }

  /**
   * Delegation without action
   */
  export type DelegationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Delegation
     */
    select?: DelegationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DelegationInclude<ExtArgs> | null
  }


  /**
   * Model SchemaChunk
   */

  export type AggregateSchemaChunk = {
    _count: SchemaChunkCountAggregateOutputType | null
    _avg: SchemaChunkAvgAggregateOutputType | null
    _sum: SchemaChunkSumAggregateOutputType | null
    _min: SchemaChunkMinAggregateOutputType | null
    _max: SchemaChunkMaxAggregateOutputType | null
  }

  export type SchemaChunkAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type SchemaChunkSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type SchemaChunkMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    table_name: string | null
    chunk: string | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    company_id: number | null
  }

  export type SchemaChunkMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    table_name: string | null
    chunk: string | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    company_id: number | null
  }

  export type SchemaChunkCountAggregateOutputType = {
    id: number
    uuid: number
    table_name: number
    chunk: number
    status_id: number
    created_at: number
    created_by: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    company_id: number
    _all: number
  }


  export type SchemaChunkAvgAggregateInputType = {
    id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type SchemaChunkSumAggregateInputType = {
    id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type SchemaChunkMinAggregateInputType = {
    id?: true
    uuid?: true
    table_name?: true
    chunk?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    company_id?: true
  }

  export type SchemaChunkMaxAggregateInputType = {
    id?: true
    uuid?: true
    table_name?: true
    chunk?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    company_id?: true
  }

  export type SchemaChunkCountAggregateInputType = {
    id?: true
    uuid?: true
    table_name?: true
    chunk?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    company_id?: true
    _all?: true
  }

  export type SchemaChunkAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which SchemaChunk to aggregate.
     */
    where?: SchemaChunkWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of SchemaChunks to fetch.
     */
    orderBy?: SchemaChunkOrderByWithRelationInput | SchemaChunkOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: SchemaChunkWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` SchemaChunks from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` SchemaChunks.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned SchemaChunks
    **/
    _count?: true | SchemaChunkCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: SchemaChunkAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: SchemaChunkSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: SchemaChunkMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: SchemaChunkMaxAggregateInputType
  }

  export type GetSchemaChunkAggregateType<T extends SchemaChunkAggregateArgs> = {
        [P in keyof T & keyof AggregateSchemaChunk]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateSchemaChunk[P]>
      : GetScalarType<T[P], AggregateSchemaChunk[P]>
  }




  export type SchemaChunkGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: SchemaChunkWhereInput
    orderBy?: SchemaChunkOrderByWithAggregationInput | SchemaChunkOrderByWithAggregationInput[]
    by: SchemaChunkScalarFieldEnum[] | SchemaChunkScalarFieldEnum
    having?: SchemaChunkScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: SchemaChunkCountAggregateInputType | true
    _avg?: SchemaChunkAvgAggregateInputType
    _sum?: SchemaChunkSumAggregateInputType
    _min?: SchemaChunkMinAggregateInputType
    _max?: SchemaChunkMaxAggregateInputType
  }

  export type SchemaChunkGroupByOutputType = {
    id: number
    uuid: string
    table_name: string
    chunk: string
    status_id: number
    created_at: Date
    created_by: number
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    company_id: number
    _count: SchemaChunkCountAggregateOutputType | null
    _avg: SchemaChunkAvgAggregateOutputType | null
    _sum: SchemaChunkSumAggregateOutputType | null
    _min: SchemaChunkMinAggregateOutputType | null
    _max: SchemaChunkMaxAggregateOutputType | null
  }

  type GetSchemaChunkGroupByPayload<T extends SchemaChunkGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<SchemaChunkGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof SchemaChunkGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], SchemaChunkGroupByOutputType[P]>
            : GetScalarType<T[P], SchemaChunkGroupByOutputType[P]>
        }
      >
    >


  export type SchemaChunkSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    table_name?: boolean
    chunk?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["schemaChunk"]>

  export type SchemaChunkSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    table_name?: boolean
    chunk?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["schemaChunk"]>

  export type SchemaChunkSelectScalar = {
    id?: boolean
    uuid?: boolean
    table_name?: boolean
    chunk?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    company_id?: boolean
  }

  export type SchemaChunkInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type SchemaChunkIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $SchemaChunkPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "SchemaChunk"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      table_name: string
      chunk: string
      status_id: number
      created_at: Date
      created_by: number
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      company_id: number
    }, ExtArgs["result"]["schemaChunk"]>
    composites: {}
  }

  type SchemaChunkGetPayload<S extends boolean | null | undefined | SchemaChunkDefaultArgs> = $Result.GetResult<Prisma.$SchemaChunkPayload, S>

  type SchemaChunkCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<SchemaChunkFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: SchemaChunkCountAggregateInputType | true
    }

  export interface SchemaChunkDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SchemaChunk'], meta: { name: 'SchemaChunk' } }
    /**
     * Find zero or one SchemaChunk that matches the filter.
     * @param {SchemaChunkFindUniqueArgs} args - Arguments to find a SchemaChunk
     * @example
     * // Get one SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends SchemaChunkFindUniqueArgs>(args: SelectSubset<T, SchemaChunkFindUniqueArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one SchemaChunk that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {SchemaChunkFindUniqueOrThrowArgs} args - Arguments to find a SchemaChunk
     * @example
     * // Get one SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends SchemaChunkFindUniqueOrThrowArgs>(args: SelectSubset<T, SchemaChunkFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first SchemaChunk that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkFindFirstArgs} args - Arguments to find a SchemaChunk
     * @example
     * // Get one SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends SchemaChunkFindFirstArgs>(args?: SelectSubset<T, SchemaChunkFindFirstArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first SchemaChunk that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkFindFirstOrThrowArgs} args - Arguments to find a SchemaChunk
     * @example
     * // Get one SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends SchemaChunkFindFirstOrThrowArgs>(args?: SelectSubset<T, SchemaChunkFindFirstOrThrowArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more SchemaChunks that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all SchemaChunks
     * const schemaChunks = await prisma.schemaChunk.findMany()
     * 
     * // Get first 10 SchemaChunks
     * const schemaChunks = await prisma.schemaChunk.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const schemaChunkWithIdOnly = await prisma.schemaChunk.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends SchemaChunkFindManyArgs>(args?: SelectSubset<T, SchemaChunkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a SchemaChunk.
     * @param {SchemaChunkCreateArgs} args - Arguments to create a SchemaChunk.
     * @example
     * // Create one SchemaChunk
     * const SchemaChunk = await prisma.schemaChunk.create({
     *   data: {
     *     // ... data to create a SchemaChunk
     *   }
     * })
     * 
     */
    create<T extends SchemaChunkCreateArgs>(args: SelectSubset<T, SchemaChunkCreateArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many SchemaChunks.
     * @param {SchemaChunkCreateManyArgs} args - Arguments to create many SchemaChunks.
     * @example
     * // Create many SchemaChunks
     * const schemaChunk = await prisma.schemaChunk.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends SchemaChunkCreateManyArgs>(args?: SelectSubset<T, SchemaChunkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many SchemaChunks and returns the data saved in the database.
     * @param {SchemaChunkCreateManyAndReturnArgs} args - Arguments to create many SchemaChunks.
     * @example
     * // Create many SchemaChunks
     * const schemaChunk = await prisma.schemaChunk.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many SchemaChunks and only return the `id`
     * const schemaChunkWithIdOnly = await prisma.schemaChunk.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends SchemaChunkCreateManyAndReturnArgs>(args?: SelectSubset<T, SchemaChunkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a SchemaChunk.
     * @param {SchemaChunkDeleteArgs} args - Arguments to delete one SchemaChunk.
     * @example
     * // Delete one SchemaChunk
     * const SchemaChunk = await prisma.schemaChunk.delete({
     *   where: {
     *     // ... filter to delete one SchemaChunk
     *   }
     * })
     * 
     */
    delete<T extends SchemaChunkDeleteArgs>(args: SelectSubset<T, SchemaChunkDeleteArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one SchemaChunk.
     * @param {SchemaChunkUpdateArgs} args - Arguments to update one SchemaChunk.
     * @example
     * // Update one SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends SchemaChunkUpdateArgs>(args: SelectSubset<T, SchemaChunkUpdateArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more SchemaChunks.
     * @param {SchemaChunkDeleteManyArgs} args - Arguments to filter SchemaChunks to delete.
     * @example
     * // Delete a few SchemaChunks
     * const { count } = await prisma.schemaChunk.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends SchemaChunkDeleteManyArgs>(args?: SelectSubset<T, SchemaChunkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more SchemaChunks.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many SchemaChunks
     * const schemaChunk = await prisma.schemaChunk.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends SchemaChunkUpdateManyArgs>(args: SelectSubset<T, SchemaChunkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one SchemaChunk.
     * @param {SchemaChunkUpsertArgs} args - Arguments to update or create a SchemaChunk.
     * @example
     * // Update or create a SchemaChunk
     * const schemaChunk = await prisma.schemaChunk.upsert({
     *   create: {
     *     // ... data to create a SchemaChunk
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the SchemaChunk we want to update
     *   }
     * })
     */
    upsert<T extends SchemaChunkUpsertArgs>(args: SelectSubset<T, SchemaChunkUpsertArgs<ExtArgs>>): Prisma__SchemaChunkClient<$Result.GetResult<Prisma.$SchemaChunkPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of SchemaChunks.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkCountArgs} args - Arguments to filter SchemaChunks to count.
     * @example
     * // Count the number of SchemaChunks
     * const count = await prisma.schemaChunk.count({
     *   where: {
     *     // ... the filter for the SchemaChunks we want to count
     *   }
     * })
    **/
    count<T extends SchemaChunkCountArgs>(
      args?: Subset<T, SchemaChunkCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], SchemaChunkCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a SchemaChunk.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends SchemaChunkAggregateArgs>(args: Subset<T, SchemaChunkAggregateArgs>): Prisma.PrismaPromise<GetSchemaChunkAggregateType<T>>

    /**
     * Group by SchemaChunk.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {SchemaChunkGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends SchemaChunkGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: SchemaChunkGroupByArgs['orderBy'] }
        : { orderBy?: SchemaChunkGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, SchemaChunkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSchemaChunkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the SchemaChunk model
   */
  readonly fields: SchemaChunkFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for SchemaChunk.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__SchemaChunkClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the SchemaChunk model
   */ 
  interface SchemaChunkFieldRefs {
    readonly id: FieldRef<"SchemaChunk", 'Int'>
    readonly uuid: FieldRef<"SchemaChunk", 'String'>
    readonly table_name: FieldRef<"SchemaChunk", 'String'>
    readonly chunk: FieldRef<"SchemaChunk", 'String'>
    readonly status_id: FieldRef<"SchemaChunk", 'Int'>
    readonly created_at: FieldRef<"SchemaChunk", 'DateTime'>
    readonly created_by: FieldRef<"SchemaChunk", 'Int'>
    readonly updated_by: FieldRef<"SchemaChunk", 'Int'>
    readonly updated_at: FieldRef<"SchemaChunk", 'DateTime'>
    readonly deleted_by: FieldRef<"SchemaChunk", 'Int'>
    readonly deleted_at: FieldRef<"SchemaChunk", 'DateTime'>
    readonly company_id: FieldRef<"SchemaChunk", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * SchemaChunk findUnique
   */
  export type SchemaChunkFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter, which SchemaChunk to fetch.
     */
    where: SchemaChunkWhereUniqueInput
  }

  /**
   * SchemaChunk findUniqueOrThrow
   */
  export type SchemaChunkFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter, which SchemaChunk to fetch.
     */
    where: SchemaChunkWhereUniqueInput
  }

  /**
   * SchemaChunk findFirst
   */
  export type SchemaChunkFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter, which SchemaChunk to fetch.
     */
    where?: SchemaChunkWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of SchemaChunks to fetch.
     */
    orderBy?: SchemaChunkOrderByWithRelationInput | SchemaChunkOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for SchemaChunks.
     */
    cursor?: SchemaChunkWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` SchemaChunks from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` SchemaChunks.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of SchemaChunks.
     */
    distinct?: SchemaChunkScalarFieldEnum | SchemaChunkScalarFieldEnum[]
  }

  /**
   * SchemaChunk findFirstOrThrow
   */
  export type SchemaChunkFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter, which SchemaChunk to fetch.
     */
    where?: SchemaChunkWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of SchemaChunks to fetch.
     */
    orderBy?: SchemaChunkOrderByWithRelationInput | SchemaChunkOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for SchemaChunks.
     */
    cursor?: SchemaChunkWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` SchemaChunks from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` SchemaChunks.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of SchemaChunks.
     */
    distinct?: SchemaChunkScalarFieldEnum | SchemaChunkScalarFieldEnum[]
  }

  /**
   * SchemaChunk findMany
   */
  export type SchemaChunkFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter, which SchemaChunks to fetch.
     */
    where?: SchemaChunkWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of SchemaChunks to fetch.
     */
    orderBy?: SchemaChunkOrderByWithRelationInput | SchemaChunkOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing SchemaChunks.
     */
    cursor?: SchemaChunkWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` SchemaChunks from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` SchemaChunks.
     */
    skip?: number
    distinct?: SchemaChunkScalarFieldEnum | SchemaChunkScalarFieldEnum[]
  }

  /**
   * SchemaChunk create
   */
  export type SchemaChunkCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * The data needed to create a SchemaChunk.
     */
    data: XOR<SchemaChunkCreateInput, SchemaChunkUncheckedCreateInput>
  }

  /**
   * SchemaChunk createMany
   */
  export type SchemaChunkCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many SchemaChunks.
     */
    data: SchemaChunkCreateManyInput | SchemaChunkCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * SchemaChunk createManyAndReturn
   */
  export type SchemaChunkCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many SchemaChunks.
     */
    data: SchemaChunkCreateManyInput | SchemaChunkCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * SchemaChunk update
   */
  export type SchemaChunkUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * The data needed to update a SchemaChunk.
     */
    data: XOR<SchemaChunkUpdateInput, SchemaChunkUncheckedUpdateInput>
    /**
     * Choose, which SchemaChunk to update.
     */
    where: SchemaChunkWhereUniqueInput
  }

  /**
   * SchemaChunk updateMany
   */
  export type SchemaChunkUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update SchemaChunks.
     */
    data: XOR<SchemaChunkUpdateManyMutationInput, SchemaChunkUncheckedUpdateManyInput>
    /**
     * Filter which SchemaChunks to update
     */
    where?: SchemaChunkWhereInput
  }

  /**
   * SchemaChunk upsert
   */
  export type SchemaChunkUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * The filter to search for the SchemaChunk to update in case it exists.
     */
    where: SchemaChunkWhereUniqueInput
    /**
     * In case the SchemaChunk found by the `where` argument doesn't exist, create a new SchemaChunk with this data.
     */
    create: XOR<SchemaChunkCreateInput, SchemaChunkUncheckedCreateInput>
    /**
     * In case the SchemaChunk was found with the provided `where` argument, update it with this data.
     */
    update: XOR<SchemaChunkUpdateInput, SchemaChunkUncheckedUpdateInput>
  }

  /**
   * SchemaChunk delete
   */
  export type SchemaChunkDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
    /**
     * Filter which SchemaChunk to delete.
     */
    where: SchemaChunkWhereUniqueInput
  }

  /**
   * SchemaChunk deleteMany
   */
  export type SchemaChunkDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which SchemaChunks to delete
     */
    where?: SchemaChunkWhereInput
  }

  /**
   * SchemaChunk without action
   */
  export type SchemaChunkDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the SchemaChunk
     */
    select?: SchemaChunkSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: SchemaChunkInclude<ExtArgs> | null
  }


  /**
   * Model EmbeddingVectorLogs
   */

  export type AggregateEmbeddingVectorLogs = {
    _count: EmbeddingVectorLogsCountAggregateOutputType | null
    _avg: EmbeddingVectorLogsAvgAggregateOutputType | null
    _sum: EmbeddingVectorLogsSumAggregateOutputType | null
    _min: EmbeddingVectorLogsMinAggregateOutputType | null
    _max: EmbeddingVectorLogsMaxAggregateOutputType | null
  }

  export type EmbeddingVectorLogsAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    cost: Decimal | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type EmbeddingVectorLogsSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    cost: Decimal | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type EmbeddingVectorLogsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    cost: Decimal | null
    company_id: number | null
    table_name: string | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type EmbeddingVectorLogsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    cost: Decimal | null
    company_id: number | null
    table_name: string | null
    status_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type EmbeddingVectorLogsCountAggregateOutputType = {
    id: number
    uuid: number
    user_id: number
    cost: number
    company_id: number
    table_name: number
    status_id: number
    created_at: number
    created_by: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type EmbeddingVectorLogsAvgAggregateInputType = {
    id?: true
    user_id?: true
    cost?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type EmbeddingVectorLogsSumAggregateInputType = {
    id?: true
    user_id?: true
    cost?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type EmbeddingVectorLogsMinAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    cost?: true
    company_id?: true
    table_name?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type EmbeddingVectorLogsMaxAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    cost?: true
    company_id?: true
    table_name?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type EmbeddingVectorLogsCountAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    cost?: true
    company_id?: true
    table_name?: true
    status_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type EmbeddingVectorLogsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EmbeddingVectorLogs to aggregate.
     */
    where?: EmbeddingVectorLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmbeddingVectorLogs to fetch.
     */
    orderBy?: EmbeddingVectorLogsOrderByWithRelationInput | EmbeddingVectorLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: EmbeddingVectorLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmbeddingVectorLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmbeddingVectorLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned EmbeddingVectorLogs
    **/
    _count?: true | EmbeddingVectorLogsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: EmbeddingVectorLogsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: EmbeddingVectorLogsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: EmbeddingVectorLogsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: EmbeddingVectorLogsMaxAggregateInputType
  }

  export type GetEmbeddingVectorLogsAggregateType<T extends EmbeddingVectorLogsAggregateArgs> = {
        [P in keyof T & keyof AggregateEmbeddingVectorLogs]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateEmbeddingVectorLogs[P]>
      : GetScalarType<T[P], AggregateEmbeddingVectorLogs[P]>
  }




  export type EmbeddingVectorLogsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: EmbeddingVectorLogsWhereInput
    orderBy?: EmbeddingVectorLogsOrderByWithAggregationInput | EmbeddingVectorLogsOrderByWithAggregationInput[]
    by: EmbeddingVectorLogsScalarFieldEnum[] | EmbeddingVectorLogsScalarFieldEnum
    having?: EmbeddingVectorLogsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: EmbeddingVectorLogsCountAggregateInputType | true
    _avg?: EmbeddingVectorLogsAvgAggregateInputType
    _sum?: EmbeddingVectorLogsSumAggregateInputType
    _min?: EmbeddingVectorLogsMinAggregateInputType
    _max?: EmbeddingVectorLogsMaxAggregateInputType
  }

  export type EmbeddingVectorLogsGroupByOutputType = {
    id: number
    uuid: string
    user_id: number | null
    cost: Decimal
    company_id: number
    table_name: string
    status_id: number
    created_at: Date
    created_by: number
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: EmbeddingVectorLogsCountAggregateOutputType | null
    _avg: EmbeddingVectorLogsAvgAggregateOutputType | null
    _sum: EmbeddingVectorLogsSumAggregateOutputType | null
    _min: EmbeddingVectorLogsMinAggregateOutputType | null
    _max: EmbeddingVectorLogsMaxAggregateOutputType | null
  }

  type GetEmbeddingVectorLogsGroupByPayload<T extends EmbeddingVectorLogsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<EmbeddingVectorLogsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof EmbeddingVectorLogsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], EmbeddingVectorLogsGroupByOutputType[P]>
            : GetScalarType<T[P], EmbeddingVectorLogsGroupByOutputType[P]>
        }
      >
    >


  export type EmbeddingVectorLogsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    cost?: boolean
    company_id?: boolean
    table_name?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["embeddingVectorLogs"]>

  export type EmbeddingVectorLogsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    cost?: boolean
    company_id?: boolean
    table_name?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["embeddingVectorLogs"]>

  export type EmbeddingVectorLogsSelectScalar = {
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    cost?: boolean
    company_id?: boolean
    table_name?: boolean
    status_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type EmbeddingVectorLogsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type EmbeddingVectorLogsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $EmbeddingVectorLogsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "EmbeddingVectorLogs"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      user_id: number | null
      cost: Prisma.Decimal
      company_id: number
      table_name: string
      status_id: number
      created_at: Date
      created_by: number
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["embeddingVectorLogs"]>
    composites: {}
  }

  type EmbeddingVectorLogsGetPayload<S extends boolean | null | undefined | EmbeddingVectorLogsDefaultArgs> = $Result.GetResult<Prisma.$EmbeddingVectorLogsPayload, S>

  type EmbeddingVectorLogsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<EmbeddingVectorLogsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: EmbeddingVectorLogsCountAggregateInputType | true
    }

  export interface EmbeddingVectorLogsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmbeddingVectorLogs'], meta: { name: 'EmbeddingVectorLogs' } }
    /**
     * Find zero or one EmbeddingVectorLogs that matches the filter.
     * @param {EmbeddingVectorLogsFindUniqueArgs} args - Arguments to find a EmbeddingVectorLogs
     * @example
     * // Get one EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends EmbeddingVectorLogsFindUniqueArgs>(args: SelectSubset<T, EmbeddingVectorLogsFindUniqueArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one EmbeddingVectorLogs that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {EmbeddingVectorLogsFindUniqueOrThrowArgs} args - Arguments to find a EmbeddingVectorLogs
     * @example
     * // Get one EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends EmbeddingVectorLogsFindUniqueOrThrowArgs>(args: SelectSubset<T, EmbeddingVectorLogsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first EmbeddingVectorLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsFindFirstArgs} args - Arguments to find a EmbeddingVectorLogs
     * @example
     * // Get one EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends EmbeddingVectorLogsFindFirstArgs>(args?: SelectSubset<T, EmbeddingVectorLogsFindFirstArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first EmbeddingVectorLogs that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsFindFirstOrThrowArgs} args - Arguments to find a EmbeddingVectorLogs
     * @example
     * // Get one EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends EmbeddingVectorLogsFindFirstOrThrowArgs>(args?: SelectSubset<T, EmbeddingVectorLogsFindFirstOrThrowArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more EmbeddingVectorLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findMany()
     * 
     * // Get first 10 EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const embeddingVectorLogsWithIdOnly = await prisma.embeddingVectorLogs.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends EmbeddingVectorLogsFindManyArgs>(args?: SelectSubset<T, EmbeddingVectorLogsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsCreateArgs} args - Arguments to create a EmbeddingVectorLogs.
     * @example
     * // Create one EmbeddingVectorLogs
     * const EmbeddingVectorLogs = await prisma.embeddingVectorLogs.create({
     *   data: {
     *     // ... data to create a EmbeddingVectorLogs
     *   }
     * })
     * 
     */
    create<T extends EmbeddingVectorLogsCreateArgs>(args: SelectSubset<T, EmbeddingVectorLogsCreateArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsCreateManyArgs} args - Arguments to create many EmbeddingVectorLogs.
     * @example
     * // Create many EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends EmbeddingVectorLogsCreateManyArgs>(args?: SelectSubset<T, EmbeddingVectorLogsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many EmbeddingVectorLogs and returns the data saved in the database.
     * @param {EmbeddingVectorLogsCreateManyAndReturnArgs} args - Arguments to create many EmbeddingVectorLogs.
     * @example
     * // Create many EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many EmbeddingVectorLogs and only return the `id`
     * const embeddingVectorLogsWithIdOnly = await prisma.embeddingVectorLogs.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends EmbeddingVectorLogsCreateManyAndReturnArgs>(args?: SelectSubset<T, EmbeddingVectorLogsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsDeleteArgs} args - Arguments to delete one EmbeddingVectorLogs.
     * @example
     * // Delete one EmbeddingVectorLogs
     * const EmbeddingVectorLogs = await prisma.embeddingVectorLogs.delete({
     *   where: {
     *     // ... filter to delete one EmbeddingVectorLogs
     *   }
     * })
     * 
     */
    delete<T extends EmbeddingVectorLogsDeleteArgs>(args: SelectSubset<T, EmbeddingVectorLogsDeleteArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsUpdateArgs} args - Arguments to update one EmbeddingVectorLogs.
     * @example
     * // Update one EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends EmbeddingVectorLogsUpdateArgs>(args: SelectSubset<T, EmbeddingVectorLogsUpdateArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsDeleteManyArgs} args - Arguments to filter EmbeddingVectorLogs to delete.
     * @example
     * // Delete a few EmbeddingVectorLogs
     * const { count } = await prisma.embeddingVectorLogs.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends EmbeddingVectorLogsDeleteManyArgs>(args?: SelectSubset<T, EmbeddingVectorLogsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more EmbeddingVectorLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends EmbeddingVectorLogsUpdateManyArgs>(args: SelectSubset<T, EmbeddingVectorLogsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one EmbeddingVectorLogs.
     * @param {EmbeddingVectorLogsUpsertArgs} args - Arguments to update or create a EmbeddingVectorLogs.
     * @example
     * // Update or create a EmbeddingVectorLogs
     * const embeddingVectorLogs = await prisma.embeddingVectorLogs.upsert({
     *   create: {
     *     // ... data to create a EmbeddingVectorLogs
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the EmbeddingVectorLogs we want to update
     *   }
     * })
     */
    upsert<T extends EmbeddingVectorLogsUpsertArgs>(args: SelectSubset<T, EmbeddingVectorLogsUpsertArgs<ExtArgs>>): Prisma__EmbeddingVectorLogsClient<$Result.GetResult<Prisma.$EmbeddingVectorLogsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of EmbeddingVectorLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsCountArgs} args - Arguments to filter EmbeddingVectorLogs to count.
     * @example
     * // Count the number of EmbeddingVectorLogs
     * const count = await prisma.embeddingVectorLogs.count({
     *   where: {
     *     // ... the filter for the EmbeddingVectorLogs we want to count
     *   }
     * })
    **/
    count<T extends EmbeddingVectorLogsCountArgs>(
      args?: Subset<T, EmbeddingVectorLogsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], EmbeddingVectorLogsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a EmbeddingVectorLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends EmbeddingVectorLogsAggregateArgs>(args: Subset<T, EmbeddingVectorLogsAggregateArgs>): Prisma.PrismaPromise<GetEmbeddingVectorLogsAggregateType<T>>

    /**
     * Group by EmbeddingVectorLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {EmbeddingVectorLogsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends EmbeddingVectorLogsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: EmbeddingVectorLogsGroupByArgs['orderBy'] }
        : { orderBy?: EmbeddingVectorLogsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, EmbeddingVectorLogsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmbeddingVectorLogsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the EmbeddingVectorLogs model
   */
  readonly fields: EmbeddingVectorLogsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for EmbeddingVectorLogs.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__EmbeddingVectorLogsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the EmbeddingVectorLogs model
   */ 
  interface EmbeddingVectorLogsFieldRefs {
    readonly id: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly uuid: FieldRef<"EmbeddingVectorLogs", 'String'>
    readonly user_id: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly cost: FieldRef<"EmbeddingVectorLogs", 'Decimal'>
    readonly company_id: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly table_name: FieldRef<"EmbeddingVectorLogs", 'String'>
    readonly status_id: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly created_at: FieldRef<"EmbeddingVectorLogs", 'DateTime'>
    readonly created_by: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly updated_by: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly updated_at: FieldRef<"EmbeddingVectorLogs", 'DateTime'>
    readonly deleted_by: FieldRef<"EmbeddingVectorLogs", 'Int'>
    readonly deleted_at: FieldRef<"EmbeddingVectorLogs", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * EmbeddingVectorLogs findUnique
   */
  export type EmbeddingVectorLogsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter, which EmbeddingVectorLogs to fetch.
     */
    where: EmbeddingVectorLogsWhereUniqueInput
  }

  /**
   * EmbeddingVectorLogs findUniqueOrThrow
   */
  export type EmbeddingVectorLogsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter, which EmbeddingVectorLogs to fetch.
     */
    where: EmbeddingVectorLogsWhereUniqueInput
  }

  /**
   * EmbeddingVectorLogs findFirst
   */
  export type EmbeddingVectorLogsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter, which EmbeddingVectorLogs to fetch.
     */
    where?: EmbeddingVectorLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmbeddingVectorLogs to fetch.
     */
    orderBy?: EmbeddingVectorLogsOrderByWithRelationInput | EmbeddingVectorLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EmbeddingVectorLogs.
     */
    cursor?: EmbeddingVectorLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmbeddingVectorLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmbeddingVectorLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EmbeddingVectorLogs.
     */
    distinct?: EmbeddingVectorLogsScalarFieldEnum | EmbeddingVectorLogsScalarFieldEnum[]
  }

  /**
   * EmbeddingVectorLogs findFirstOrThrow
   */
  export type EmbeddingVectorLogsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter, which EmbeddingVectorLogs to fetch.
     */
    where?: EmbeddingVectorLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmbeddingVectorLogs to fetch.
     */
    orderBy?: EmbeddingVectorLogsOrderByWithRelationInput | EmbeddingVectorLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for EmbeddingVectorLogs.
     */
    cursor?: EmbeddingVectorLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmbeddingVectorLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmbeddingVectorLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of EmbeddingVectorLogs.
     */
    distinct?: EmbeddingVectorLogsScalarFieldEnum | EmbeddingVectorLogsScalarFieldEnum[]
  }

  /**
   * EmbeddingVectorLogs findMany
   */
  export type EmbeddingVectorLogsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter, which EmbeddingVectorLogs to fetch.
     */
    where?: EmbeddingVectorLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of EmbeddingVectorLogs to fetch.
     */
    orderBy?: EmbeddingVectorLogsOrderByWithRelationInput | EmbeddingVectorLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing EmbeddingVectorLogs.
     */
    cursor?: EmbeddingVectorLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` EmbeddingVectorLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` EmbeddingVectorLogs.
     */
    skip?: number
    distinct?: EmbeddingVectorLogsScalarFieldEnum | EmbeddingVectorLogsScalarFieldEnum[]
  }

  /**
   * EmbeddingVectorLogs create
   */
  export type EmbeddingVectorLogsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * The data needed to create a EmbeddingVectorLogs.
     */
    data: XOR<EmbeddingVectorLogsCreateInput, EmbeddingVectorLogsUncheckedCreateInput>
  }

  /**
   * EmbeddingVectorLogs createMany
   */
  export type EmbeddingVectorLogsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many EmbeddingVectorLogs.
     */
    data: EmbeddingVectorLogsCreateManyInput | EmbeddingVectorLogsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * EmbeddingVectorLogs createManyAndReturn
   */
  export type EmbeddingVectorLogsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many EmbeddingVectorLogs.
     */
    data: EmbeddingVectorLogsCreateManyInput | EmbeddingVectorLogsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * EmbeddingVectorLogs update
   */
  export type EmbeddingVectorLogsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * The data needed to update a EmbeddingVectorLogs.
     */
    data: XOR<EmbeddingVectorLogsUpdateInput, EmbeddingVectorLogsUncheckedUpdateInput>
    /**
     * Choose, which EmbeddingVectorLogs to update.
     */
    where: EmbeddingVectorLogsWhereUniqueInput
  }

  /**
   * EmbeddingVectorLogs updateMany
   */
  export type EmbeddingVectorLogsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update EmbeddingVectorLogs.
     */
    data: XOR<EmbeddingVectorLogsUpdateManyMutationInput, EmbeddingVectorLogsUncheckedUpdateManyInput>
    /**
     * Filter which EmbeddingVectorLogs to update
     */
    where?: EmbeddingVectorLogsWhereInput
  }

  /**
   * EmbeddingVectorLogs upsert
   */
  export type EmbeddingVectorLogsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * The filter to search for the EmbeddingVectorLogs to update in case it exists.
     */
    where: EmbeddingVectorLogsWhereUniqueInput
    /**
     * In case the EmbeddingVectorLogs found by the `where` argument doesn't exist, create a new EmbeddingVectorLogs with this data.
     */
    create: XOR<EmbeddingVectorLogsCreateInput, EmbeddingVectorLogsUncheckedCreateInput>
    /**
     * In case the EmbeddingVectorLogs was found with the provided `where` argument, update it with this data.
     */
    update: XOR<EmbeddingVectorLogsUpdateInput, EmbeddingVectorLogsUncheckedUpdateInput>
  }

  /**
   * EmbeddingVectorLogs delete
   */
  export type EmbeddingVectorLogsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
    /**
     * Filter which EmbeddingVectorLogs to delete.
     */
    where: EmbeddingVectorLogsWhereUniqueInput
  }

  /**
   * EmbeddingVectorLogs deleteMany
   */
  export type EmbeddingVectorLogsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which EmbeddingVectorLogs to delete
     */
    where?: EmbeddingVectorLogsWhereInput
  }

  /**
   * EmbeddingVectorLogs without action
   */
  export type EmbeddingVectorLogsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the EmbeddingVectorLogs
     */
    select?: EmbeddingVectorLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: EmbeddingVectorLogsInclude<ExtArgs> | null
  }


  /**
   * Model OpenaiUsageLog
   */

  export type AggregateOpenaiUsageLog = {
    _count: OpenaiUsageLogCountAggregateOutputType | null
    _avg: OpenaiUsageLogAvgAggregateOutputType | null
    _sum: OpenaiUsageLogSumAggregateOutputType | null
    _min: OpenaiUsageLogMinAggregateOutputType | null
    _max: OpenaiUsageLogMaxAggregateOutputType | null
  }

  export type OpenaiUsageLogAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    prompt_tokens: number | null
    completion_tokens: number | null
    total_tokens: number | null
    cost: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type OpenaiUsageLogSumAggregateOutputType = {
    id: number | null
    user_id: number | null
    prompt_tokens: number | null
    completion_tokens: number | null
    total_tokens: number | null
    cost: Decimal | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type OpenaiUsageLogMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    prompt: string | null
    generated_sql: string | null
    prompt_tokens: number | null
    completion_tokens: number | null
    total_tokens: number | null
    cost: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type OpenaiUsageLogMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    user_id: number | null
    prompt: string | null
    generated_sql: string | null
    prompt_tokens: number | null
    completion_tokens: number | null
    total_tokens: number | null
    cost: Decimal | null
    status_id: number | null
    company_id: number | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type OpenaiUsageLogCountAggregateOutputType = {
    id: number
    uuid: number
    user_id: number
    prompt: number
    generated_sql: number
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: number
    status_id: number
    company_id: number
    created_at: number
    created_by: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type OpenaiUsageLogAvgAggregateInputType = {
    id?: true
    user_id?: true
    prompt_tokens?: true
    completion_tokens?: true
    total_tokens?: true
    cost?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type OpenaiUsageLogSumAggregateInputType = {
    id?: true
    user_id?: true
    prompt_tokens?: true
    completion_tokens?: true
    total_tokens?: true
    cost?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type OpenaiUsageLogMinAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    prompt?: true
    generated_sql?: true
    prompt_tokens?: true
    completion_tokens?: true
    total_tokens?: true
    cost?: true
    status_id?: true
    company_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type OpenaiUsageLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    prompt?: true
    generated_sql?: true
    prompt_tokens?: true
    completion_tokens?: true
    total_tokens?: true
    cost?: true
    status_id?: true
    company_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type OpenaiUsageLogCountAggregateInputType = {
    id?: true
    uuid?: true
    user_id?: true
    prompt?: true
    generated_sql?: true
    prompt_tokens?: true
    completion_tokens?: true
    total_tokens?: true
    cost?: true
    status_id?: true
    company_id?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type OpenaiUsageLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which OpenaiUsageLog to aggregate.
     */
    where?: OpenaiUsageLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of OpenaiUsageLogs to fetch.
     */
    orderBy?: OpenaiUsageLogOrderByWithRelationInput | OpenaiUsageLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: OpenaiUsageLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` OpenaiUsageLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` OpenaiUsageLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned OpenaiUsageLogs
    **/
    _count?: true | OpenaiUsageLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: OpenaiUsageLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: OpenaiUsageLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: OpenaiUsageLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: OpenaiUsageLogMaxAggregateInputType
  }

  export type GetOpenaiUsageLogAggregateType<T extends OpenaiUsageLogAggregateArgs> = {
        [P in keyof T & keyof AggregateOpenaiUsageLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateOpenaiUsageLog[P]>
      : GetScalarType<T[P], AggregateOpenaiUsageLog[P]>
  }




  export type OpenaiUsageLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: OpenaiUsageLogWhereInput
    orderBy?: OpenaiUsageLogOrderByWithAggregationInput | OpenaiUsageLogOrderByWithAggregationInput[]
    by: OpenaiUsageLogScalarFieldEnum[] | OpenaiUsageLogScalarFieldEnum
    having?: OpenaiUsageLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: OpenaiUsageLogCountAggregateInputType | true
    _avg?: OpenaiUsageLogAvgAggregateInputType
    _sum?: OpenaiUsageLogSumAggregateInputType
    _min?: OpenaiUsageLogMinAggregateInputType
    _max?: OpenaiUsageLogMaxAggregateInputType
  }

  export type OpenaiUsageLogGroupByOutputType = {
    id: number
    uuid: string
    user_id: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal
    status_id: number
    company_id: number
    created_at: Date
    created_by: number
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: OpenaiUsageLogCountAggregateOutputType | null
    _avg: OpenaiUsageLogAvgAggregateOutputType | null
    _sum: OpenaiUsageLogSumAggregateOutputType | null
    _min: OpenaiUsageLogMinAggregateOutputType | null
    _max: OpenaiUsageLogMaxAggregateOutputType | null
  }

  type GetOpenaiUsageLogGroupByPayload<T extends OpenaiUsageLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<OpenaiUsageLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof OpenaiUsageLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], OpenaiUsageLogGroupByOutputType[P]>
            : GetScalarType<T[P], OpenaiUsageLogGroupByOutputType[P]>
        }
      >
    >


  export type OpenaiUsageLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    prompt?: boolean
    generated_sql?: boolean
    prompt_tokens?: boolean
    completion_tokens?: boolean
    total_tokens?: boolean
    cost?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["openaiUsageLog"]>

  export type OpenaiUsageLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    prompt?: boolean
    generated_sql?: boolean
    prompt_tokens?: boolean
    completion_tokens?: boolean
    total_tokens?: boolean
    cost?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["openaiUsageLog"]>

  export type OpenaiUsageLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    user_id?: boolean
    prompt?: boolean
    generated_sql?: boolean
    prompt_tokens?: boolean
    completion_tokens?: boolean
    total_tokens?: boolean
    cost?: boolean
    status_id?: boolean
    company_id?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type OpenaiUsageLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type OpenaiUsageLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $OpenaiUsageLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "OpenaiUsageLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      user_id: number | null
      prompt: string
      generated_sql: string
      prompt_tokens: number
      completion_tokens: number
      total_tokens: number
      cost: Prisma.Decimal
      status_id: number
      company_id: number
      created_at: Date
      created_by: number
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["openaiUsageLog"]>
    composites: {}
  }

  type OpenaiUsageLogGetPayload<S extends boolean | null | undefined | OpenaiUsageLogDefaultArgs> = $Result.GetResult<Prisma.$OpenaiUsageLogPayload, S>

  type OpenaiUsageLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<OpenaiUsageLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: OpenaiUsageLogCountAggregateInputType | true
    }

  export interface OpenaiUsageLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OpenaiUsageLog'], meta: { name: 'OpenaiUsageLog' } }
    /**
     * Find zero or one OpenaiUsageLog that matches the filter.
     * @param {OpenaiUsageLogFindUniqueArgs} args - Arguments to find a OpenaiUsageLog
     * @example
     * // Get one OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends OpenaiUsageLogFindUniqueArgs>(args: SelectSubset<T, OpenaiUsageLogFindUniqueArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one OpenaiUsageLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {OpenaiUsageLogFindUniqueOrThrowArgs} args - Arguments to find a OpenaiUsageLog
     * @example
     * // Get one OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends OpenaiUsageLogFindUniqueOrThrowArgs>(args: SelectSubset<T, OpenaiUsageLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first OpenaiUsageLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogFindFirstArgs} args - Arguments to find a OpenaiUsageLog
     * @example
     * // Get one OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends OpenaiUsageLogFindFirstArgs>(args?: SelectSubset<T, OpenaiUsageLogFindFirstArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first OpenaiUsageLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogFindFirstOrThrowArgs} args - Arguments to find a OpenaiUsageLog
     * @example
     * // Get one OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends OpenaiUsageLogFindFirstOrThrowArgs>(args?: SelectSubset<T, OpenaiUsageLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more OpenaiUsageLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all OpenaiUsageLogs
     * const openaiUsageLogs = await prisma.openaiUsageLog.findMany()
     * 
     * // Get first 10 OpenaiUsageLogs
     * const openaiUsageLogs = await prisma.openaiUsageLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const openaiUsageLogWithIdOnly = await prisma.openaiUsageLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends OpenaiUsageLogFindManyArgs>(args?: SelectSubset<T, OpenaiUsageLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a OpenaiUsageLog.
     * @param {OpenaiUsageLogCreateArgs} args - Arguments to create a OpenaiUsageLog.
     * @example
     * // Create one OpenaiUsageLog
     * const OpenaiUsageLog = await prisma.openaiUsageLog.create({
     *   data: {
     *     // ... data to create a OpenaiUsageLog
     *   }
     * })
     * 
     */
    create<T extends OpenaiUsageLogCreateArgs>(args: SelectSubset<T, OpenaiUsageLogCreateArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many OpenaiUsageLogs.
     * @param {OpenaiUsageLogCreateManyArgs} args - Arguments to create many OpenaiUsageLogs.
     * @example
     * // Create many OpenaiUsageLogs
     * const openaiUsageLog = await prisma.openaiUsageLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends OpenaiUsageLogCreateManyArgs>(args?: SelectSubset<T, OpenaiUsageLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many OpenaiUsageLogs and returns the data saved in the database.
     * @param {OpenaiUsageLogCreateManyAndReturnArgs} args - Arguments to create many OpenaiUsageLogs.
     * @example
     * // Create many OpenaiUsageLogs
     * const openaiUsageLog = await prisma.openaiUsageLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many OpenaiUsageLogs and only return the `id`
     * const openaiUsageLogWithIdOnly = await prisma.openaiUsageLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends OpenaiUsageLogCreateManyAndReturnArgs>(args?: SelectSubset<T, OpenaiUsageLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a OpenaiUsageLog.
     * @param {OpenaiUsageLogDeleteArgs} args - Arguments to delete one OpenaiUsageLog.
     * @example
     * // Delete one OpenaiUsageLog
     * const OpenaiUsageLog = await prisma.openaiUsageLog.delete({
     *   where: {
     *     // ... filter to delete one OpenaiUsageLog
     *   }
     * })
     * 
     */
    delete<T extends OpenaiUsageLogDeleteArgs>(args: SelectSubset<T, OpenaiUsageLogDeleteArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one OpenaiUsageLog.
     * @param {OpenaiUsageLogUpdateArgs} args - Arguments to update one OpenaiUsageLog.
     * @example
     * // Update one OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends OpenaiUsageLogUpdateArgs>(args: SelectSubset<T, OpenaiUsageLogUpdateArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more OpenaiUsageLogs.
     * @param {OpenaiUsageLogDeleteManyArgs} args - Arguments to filter OpenaiUsageLogs to delete.
     * @example
     * // Delete a few OpenaiUsageLogs
     * const { count } = await prisma.openaiUsageLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends OpenaiUsageLogDeleteManyArgs>(args?: SelectSubset<T, OpenaiUsageLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more OpenaiUsageLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many OpenaiUsageLogs
     * const openaiUsageLog = await prisma.openaiUsageLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends OpenaiUsageLogUpdateManyArgs>(args: SelectSubset<T, OpenaiUsageLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one OpenaiUsageLog.
     * @param {OpenaiUsageLogUpsertArgs} args - Arguments to update or create a OpenaiUsageLog.
     * @example
     * // Update or create a OpenaiUsageLog
     * const openaiUsageLog = await prisma.openaiUsageLog.upsert({
     *   create: {
     *     // ... data to create a OpenaiUsageLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the OpenaiUsageLog we want to update
     *   }
     * })
     */
    upsert<T extends OpenaiUsageLogUpsertArgs>(args: SelectSubset<T, OpenaiUsageLogUpsertArgs<ExtArgs>>): Prisma__OpenaiUsageLogClient<$Result.GetResult<Prisma.$OpenaiUsageLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of OpenaiUsageLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogCountArgs} args - Arguments to filter OpenaiUsageLogs to count.
     * @example
     * // Count the number of OpenaiUsageLogs
     * const count = await prisma.openaiUsageLog.count({
     *   where: {
     *     // ... the filter for the OpenaiUsageLogs we want to count
     *   }
     * })
    **/
    count<T extends OpenaiUsageLogCountArgs>(
      args?: Subset<T, OpenaiUsageLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], OpenaiUsageLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a OpenaiUsageLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends OpenaiUsageLogAggregateArgs>(args: Subset<T, OpenaiUsageLogAggregateArgs>): Prisma.PrismaPromise<GetOpenaiUsageLogAggregateType<T>>

    /**
     * Group by OpenaiUsageLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {OpenaiUsageLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends OpenaiUsageLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: OpenaiUsageLogGroupByArgs['orderBy'] }
        : { orderBy?: OpenaiUsageLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, OpenaiUsageLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOpenaiUsageLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the OpenaiUsageLog model
   */
  readonly fields: OpenaiUsageLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for OpenaiUsageLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__OpenaiUsageLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the OpenaiUsageLog model
   */ 
  interface OpenaiUsageLogFieldRefs {
    readonly id: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly uuid: FieldRef<"OpenaiUsageLog", 'String'>
    readonly user_id: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly prompt: FieldRef<"OpenaiUsageLog", 'String'>
    readonly generated_sql: FieldRef<"OpenaiUsageLog", 'String'>
    readonly prompt_tokens: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly completion_tokens: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly total_tokens: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly cost: FieldRef<"OpenaiUsageLog", 'Decimal'>
    readonly status_id: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly company_id: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly created_at: FieldRef<"OpenaiUsageLog", 'DateTime'>
    readonly created_by: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly updated_by: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly updated_at: FieldRef<"OpenaiUsageLog", 'DateTime'>
    readonly deleted_by: FieldRef<"OpenaiUsageLog", 'Int'>
    readonly deleted_at: FieldRef<"OpenaiUsageLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * OpenaiUsageLog findUnique
   */
  export type OpenaiUsageLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter, which OpenaiUsageLog to fetch.
     */
    where: OpenaiUsageLogWhereUniqueInput
  }

  /**
   * OpenaiUsageLog findUniqueOrThrow
   */
  export type OpenaiUsageLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter, which OpenaiUsageLog to fetch.
     */
    where: OpenaiUsageLogWhereUniqueInput
  }

  /**
   * OpenaiUsageLog findFirst
   */
  export type OpenaiUsageLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter, which OpenaiUsageLog to fetch.
     */
    where?: OpenaiUsageLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of OpenaiUsageLogs to fetch.
     */
    orderBy?: OpenaiUsageLogOrderByWithRelationInput | OpenaiUsageLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for OpenaiUsageLogs.
     */
    cursor?: OpenaiUsageLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` OpenaiUsageLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` OpenaiUsageLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of OpenaiUsageLogs.
     */
    distinct?: OpenaiUsageLogScalarFieldEnum | OpenaiUsageLogScalarFieldEnum[]
  }

  /**
   * OpenaiUsageLog findFirstOrThrow
   */
  export type OpenaiUsageLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter, which OpenaiUsageLog to fetch.
     */
    where?: OpenaiUsageLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of OpenaiUsageLogs to fetch.
     */
    orderBy?: OpenaiUsageLogOrderByWithRelationInput | OpenaiUsageLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for OpenaiUsageLogs.
     */
    cursor?: OpenaiUsageLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` OpenaiUsageLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` OpenaiUsageLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of OpenaiUsageLogs.
     */
    distinct?: OpenaiUsageLogScalarFieldEnum | OpenaiUsageLogScalarFieldEnum[]
  }

  /**
   * OpenaiUsageLog findMany
   */
  export type OpenaiUsageLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter, which OpenaiUsageLogs to fetch.
     */
    where?: OpenaiUsageLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of OpenaiUsageLogs to fetch.
     */
    orderBy?: OpenaiUsageLogOrderByWithRelationInput | OpenaiUsageLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing OpenaiUsageLogs.
     */
    cursor?: OpenaiUsageLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` OpenaiUsageLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` OpenaiUsageLogs.
     */
    skip?: number
    distinct?: OpenaiUsageLogScalarFieldEnum | OpenaiUsageLogScalarFieldEnum[]
  }

  /**
   * OpenaiUsageLog create
   */
  export type OpenaiUsageLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * The data needed to create a OpenaiUsageLog.
     */
    data: XOR<OpenaiUsageLogCreateInput, OpenaiUsageLogUncheckedCreateInput>
  }

  /**
   * OpenaiUsageLog createMany
   */
  export type OpenaiUsageLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many OpenaiUsageLogs.
     */
    data: OpenaiUsageLogCreateManyInput | OpenaiUsageLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * OpenaiUsageLog createManyAndReturn
   */
  export type OpenaiUsageLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many OpenaiUsageLogs.
     */
    data: OpenaiUsageLogCreateManyInput | OpenaiUsageLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * OpenaiUsageLog update
   */
  export type OpenaiUsageLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * The data needed to update a OpenaiUsageLog.
     */
    data: XOR<OpenaiUsageLogUpdateInput, OpenaiUsageLogUncheckedUpdateInput>
    /**
     * Choose, which OpenaiUsageLog to update.
     */
    where: OpenaiUsageLogWhereUniqueInput
  }

  /**
   * OpenaiUsageLog updateMany
   */
  export type OpenaiUsageLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update OpenaiUsageLogs.
     */
    data: XOR<OpenaiUsageLogUpdateManyMutationInput, OpenaiUsageLogUncheckedUpdateManyInput>
    /**
     * Filter which OpenaiUsageLogs to update
     */
    where?: OpenaiUsageLogWhereInput
  }

  /**
   * OpenaiUsageLog upsert
   */
  export type OpenaiUsageLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * The filter to search for the OpenaiUsageLog to update in case it exists.
     */
    where: OpenaiUsageLogWhereUniqueInput
    /**
     * In case the OpenaiUsageLog found by the `where` argument doesn't exist, create a new OpenaiUsageLog with this data.
     */
    create: XOR<OpenaiUsageLogCreateInput, OpenaiUsageLogUncheckedCreateInput>
    /**
     * In case the OpenaiUsageLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<OpenaiUsageLogUpdateInput, OpenaiUsageLogUncheckedUpdateInput>
  }

  /**
   * OpenaiUsageLog delete
   */
  export type OpenaiUsageLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
    /**
     * Filter which OpenaiUsageLog to delete.
     */
    where: OpenaiUsageLogWhereUniqueInput
  }

  /**
   * OpenaiUsageLog deleteMany
   */
  export type OpenaiUsageLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which OpenaiUsageLogs to delete
     */
    where?: OpenaiUsageLogWhereInput
  }

  /**
   * OpenaiUsageLog without action
   */
  export type OpenaiUsageLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the OpenaiUsageLog
     */
    select?: OpenaiUsageLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: OpenaiUsageLogInclude<ExtArgs> | null
  }


  /**
   * Model QueryExecutionLog
   */

  export type AggregateQueryExecutionLog = {
    _count: QueryExecutionLogCountAggregateOutputType | null
    _avg: QueryExecutionLogAvgAggregateOutputType | null
    _sum: QueryExecutionLogSumAggregateOutputType | null
    _min: QueryExecutionLogMinAggregateOutputType | null
    _max: QueryExecutionLogMaxAggregateOutputType | null
  }

  export type QueryExecutionLogAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type QueryExecutionLogSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type QueryExecutionLogMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    query: string | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type QueryExecutionLogMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    query: string | null
    created_at: Date | null
    created_by: number | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type QueryExecutionLogCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    status_id: number
    query: number
    created_at: number
    created_by: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type QueryExecutionLogAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type QueryExecutionLogSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type QueryExecutionLogMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    query?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type QueryExecutionLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    query?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type QueryExecutionLogCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    query?: true
    created_at?: true
    created_by?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type QueryExecutionLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which QueryExecutionLog to aggregate.
     */
    where?: QueryExecutionLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of QueryExecutionLogs to fetch.
     */
    orderBy?: QueryExecutionLogOrderByWithRelationInput | QueryExecutionLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: QueryExecutionLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` QueryExecutionLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` QueryExecutionLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned QueryExecutionLogs
    **/
    _count?: true | QueryExecutionLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: QueryExecutionLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: QueryExecutionLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: QueryExecutionLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: QueryExecutionLogMaxAggregateInputType
  }

  export type GetQueryExecutionLogAggregateType<T extends QueryExecutionLogAggregateArgs> = {
        [P in keyof T & keyof AggregateQueryExecutionLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateQueryExecutionLog[P]>
      : GetScalarType<T[P], AggregateQueryExecutionLog[P]>
  }




  export type QueryExecutionLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: QueryExecutionLogWhereInput
    orderBy?: QueryExecutionLogOrderByWithAggregationInput | QueryExecutionLogOrderByWithAggregationInput[]
    by: QueryExecutionLogScalarFieldEnum[] | QueryExecutionLogScalarFieldEnum
    having?: QueryExecutionLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: QueryExecutionLogCountAggregateInputType | true
    _avg?: QueryExecutionLogAvgAggregateInputType
    _sum?: QueryExecutionLogSumAggregateInputType
    _min?: QueryExecutionLogMinAggregateInputType
    _max?: QueryExecutionLogMaxAggregateInputType
  }

  export type QueryExecutionLogGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    status_id: number
    query: string
    created_at: Date
    created_by: number
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: QueryExecutionLogCountAggregateOutputType | null
    _avg: QueryExecutionLogAvgAggregateOutputType | null
    _sum: QueryExecutionLogSumAggregateOutputType | null
    _min: QueryExecutionLogMinAggregateOutputType | null
    _max: QueryExecutionLogMaxAggregateOutputType | null
  }

  type GetQueryExecutionLogGroupByPayload<T extends QueryExecutionLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<QueryExecutionLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof QueryExecutionLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], QueryExecutionLogGroupByOutputType[P]>
            : GetScalarType<T[P], QueryExecutionLogGroupByOutputType[P]>
        }
      >
    >


  export type QueryExecutionLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    query?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["queryExecutionLog"]>

  export type QueryExecutionLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    query?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["queryExecutionLog"]>

  export type QueryExecutionLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    query?: boolean
    created_at?: boolean
    created_by?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type QueryExecutionLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type QueryExecutionLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $QueryExecutionLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "QueryExecutionLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      status_id: number
      query: string
      created_at: Date
      created_by: number
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["queryExecutionLog"]>
    composites: {}
  }

  type QueryExecutionLogGetPayload<S extends boolean | null | undefined | QueryExecutionLogDefaultArgs> = $Result.GetResult<Prisma.$QueryExecutionLogPayload, S>

  type QueryExecutionLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<QueryExecutionLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: QueryExecutionLogCountAggregateInputType | true
    }

  export interface QueryExecutionLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['QueryExecutionLog'], meta: { name: 'QueryExecutionLog' } }
    /**
     * Find zero or one QueryExecutionLog that matches the filter.
     * @param {QueryExecutionLogFindUniqueArgs} args - Arguments to find a QueryExecutionLog
     * @example
     * // Get one QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends QueryExecutionLogFindUniqueArgs>(args: SelectSubset<T, QueryExecutionLogFindUniqueArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one QueryExecutionLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {QueryExecutionLogFindUniqueOrThrowArgs} args - Arguments to find a QueryExecutionLog
     * @example
     * // Get one QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends QueryExecutionLogFindUniqueOrThrowArgs>(args: SelectSubset<T, QueryExecutionLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first QueryExecutionLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogFindFirstArgs} args - Arguments to find a QueryExecutionLog
     * @example
     * // Get one QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends QueryExecutionLogFindFirstArgs>(args?: SelectSubset<T, QueryExecutionLogFindFirstArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first QueryExecutionLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogFindFirstOrThrowArgs} args - Arguments to find a QueryExecutionLog
     * @example
     * // Get one QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends QueryExecutionLogFindFirstOrThrowArgs>(args?: SelectSubset<T, QueryExecutionLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more QueryExecutionLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all QueryExecutionLogs
     * const queryExecutionLogs = await prisma.queryExecutionLog.findMany()
     * 
     * // Get first 10 QueryExecutionLogs
     * const queryExecutionLogs = await prisma.queryExecutionLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const queryExecutionLogWithIdOnly = await prisma.queryExecutionLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends QueryExecutionLogFindManyArgs>(args?: SelectSubset<T, QueryExecutionLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a QueryExecutionLog.
     * @param {QueryExecutionLogCreateArgs} args - Arguments to create a QueryExecutionLog.
     * @example
     * // Create one QueryExecutionLog
     * const QueryExecutionLog = await prisma.queryExecutionLog.create({
     *   data: {
     *     // ... data to create a QueryExecutionLog
     *   }
     * })
     * 
     */
    create<T extends QueryExecutionLogCreateArgs>(args: SelectSubset<T, QueryExecutionLogCreateArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many QueryExecutionLogs.
     * @param {QueryExecutionLogCreateManyArgs} args - Arguments to create many QueryExecutionLogs.
     * @example
     * // Create many QueryExecutionLogs
     * const queryExecutionLog = await prisma.queryExecutionLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends QueryExecutionLogCreateManyArgs>(args?: SelectSubset<T, QueryExecutionLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many QueryExecutionLogs and returns the data saved in the database.
     * @param {QueryExecutionLogCreateManyAndReturnArgs} args - Arguments to create many QueryExecutionLogs.
     * @example
     * // Create many QueryExecutionLogs
     * const queryExecutionLog = await prisma.queryExecutionLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many QueryExecutionLogs and only return the `id`
     * const queryExecutionLogWithIdOnly = await prisma.queryExecutionLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends QueryExecutionLogCreateManyAndReturnArgs>(args?: SelectSubset<T, QueryExecutionLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a QueryExecutionLog.
     * @param {QueryExecutionLogDeleteArgs} args - Arguments to delete one QueryExecutionLog.
     * @example
     * // Delete one QueryExecutionLog
     * const QueryExecutionLog = await prisma.queryExecutionLog.delete({
     *   where: {
     *     // ... filter to delete one QueryExecutionLog
     *   }
     * })
     * 
     */
    delete<T extends QueryExecutionLogDeleteArgs>(args: SelectSubset<T, QueryExecutionLogDeleteArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one QueryExecutionLog.
     * @param {QueryExecutionLogUpdateArgs} args - Arguments to update one QueryExecutionLog.
     * @example
     * // Update one QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends QueryExecutionLogUpdateArgs>(args: SelectSubset<T, QueryExecutionLogUpdateArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more QueryExecutionLogs.
     * @param {QueryExecutionLogDeleteManyArgs} args - Arguments to filter QueryExecutionLogs to delete.
     * @example
     * // Delete a few QueryExecutionLogs
     * const { count } = await prisma.queryExecutionLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends QueryExecutionLogDeleteManyArgs>(args?: SelectSubset<T, QueryExecutionLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more QueryExecutionLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many QueryExecutionLogs
     * const queryExecutionLog = await prisma.queryExecutionLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends QueryExecutionLogUpdateManyArgs>(args: SelectSubset<T, QueryExecutionLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one QueryExecutionLog.
     * @param {QueryExecutionLogUpsertArgs} args - Arguments to update or create a QueryExecutionLog.
     * @example
     * // Update or create a QueryExecutionLog
     * const queryExecutionLog = await prisma.queryExecutionLog.upsert({
     *   create: {
     *     // ... data to create a QueryExecutionLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the QueryExecutionLog we want to update
     *   }
     * })
     */
    upsert<T extends QueryExecutionLogUpsertArgs>(args: SelectSubset<T, QueryExecutionLogUpsertArgs<ExtArgs>>): Prisma__QueryExecutionLogClient<$Result.GetResult<Prisma.$QueryExecutionLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of QueryExecutionLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogCountArgs} args - Arguments to filter QueryExecutionLogs to count.
     * @example
     * // Count the number of QueryExecutionLogs
     * const count = await prisma.queryExecutionLog.count({
     *   where: {
     *     // ... the filter for the QueryExecutionLogs we want to count
     *   }
     * })
    **/
    count<T extends QueryExecutionLogCountArgs>(
      args?: Subset<T, QueryExecutionLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], QueryExecutionLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a QueryExecutionLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends QueryExecutionLogAggregateArgs>(args: Subset<T, QueryExecutionLogAggregateArgs>): Prisma.PrismaPromise<GetQueryExecutionLogAggregateType<T>>

    /**
     * Group by QueryExecutionLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {QueryExecutionLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends QueryExecutionLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: QueryExecutionLogGroupByArgs['orderBy'] }
        : { orderBy?: QueryExecutionLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, QueryExecutionLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetQueryExecutionLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the QueryExecutionLog model
   */
  readonly fields: QueryExecutionLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for QueryExecutionLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__QueryExecutionLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the QueryExecutionLog model
   */ 
  interface QueryExecutionLogFieldRefs {
    readonly id: FieldRef<"QueryExecutionLog", 'Int'>
    readonly uuid: FieldRef<"QueryExecutionLog", 'String'>
    readonly company_id: FieldRef<"QueryExecutionLog", 'Int'>
    readonly status_id: FieldRef<"QueryExecutionLog", 'Int'>
    readonly query: FieldRef<"QueryExecutionLog", 'String'>
    readonly created_at: FieldRef<"QueryExecutionLog", 'DateTime'>
    readonly created_by: FieldRef<"QueryExecutionLog", 'Int'>
    readonly updated_by: FieldRef<"QueryExecutionLog", 'Int'>
    readonly updated_at: FieldRef<"QueryExecutionLog", 'DateTime'>
    readonly deleted_by: FieldRef<"QueryExecutionLog", 'Int'>
    readonly deleted_at: FieldRef<"QueryExecutionLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * QueryExecutionLog findUnique
   */
  export type QueryExecutionLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter, which QueryExecutionLog to fetch.
     */
    where: QueryExecutionLogWhereUniqueInput
  }

  /**
   * QueryExecutionLog findUniqueOrThrow
   */
  export type QueryExecutionLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter, which QueryExecutionLog to fetch.
     */
    where: QueryExecutionLogWhereUniqueInput
  }

  /**
   * QueryExecutionLog findFirst
   */
  export type QueryExecutionLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter, which QueryExecutionLog to fetch.
     */
    where?: QueryExecutionLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of QueryExecutionLogs to fetch.
     */
    orderBy?: QueryExecutionLogOrderByWithRelationInput | QueryExecutionLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for QueryExecutionLogs.
     */
    cursor?: QueryExecutionLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` QueryExecutionLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` QueryExecutionLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of QueryExecutionLogs.
     */
    distinct?: QueryExecutionLogScalarFieldEnum | QueryExecutionLogScalarFieldEnum[]
  }

  /**
   * QueryExecutionLog findFirstOrThrow
   */
  export type QueryExecutionLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter, which QueryExecutionLog to fetch.
     */
    where?: QueryExecutionLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of QueryExecutionLogs to fetch.
     */
    orderBy?: QueryExecutionLogOrderByWithRelationInput | QueryExecutionLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for QueryExecutionLogs.
     */
    cursor?: QueryExecutionLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` QueryExecutionLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` QueryExecutionLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of QueryExecutionLogs.
     */
    distinct?: QueryExecutionLogScalarFieldEnum | QueryExecutionLogScalarFieldEnum[]
  }

  /**
   * QueryExecutionLog findMany
   */
  export type QueryExecutionLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter, which QueryExecutionLogs to fetch.
     */
    where?: QueryExecutionLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of QueryExecutionLogs to fetch.
     */
    orderBy?: QueryExecutionLogOrderByWithRelationInput | QueryExecutionLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing QueryExecutionLogs.
     */
    cursor?: QueryExecutionLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` QueryExecutionLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` QueryExecutionLogs.
     */
    skip?: number
    distinct?: QueryExecutionLogScalarFieldEnum | QueryExecutionLogScalarFieldEnum[]
  }

  /**
   * QueryExecutionLog create
   */
  export type QueryExecutionLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * The data needed to create a QueryExecutionLog.
     */
    data: XOR<QueryExecutionLogCreateInput, QueryExecutionLogUncheckedCreateInput>
  }

  /**
   * QueryExecutionLog createMany
   */
  export type QueryExecutionLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many QueryExecutionLogs.
     */
    data: QueryExecutionLogCreateManyInput | QueryExecutionLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * QueryExecutionLog createManyAndReturn
   */
  export type QueryExecutionLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many QueryExecutionLogs.
     */
    data: QueryExecutionLogCreateManyInput | QueryExecutionLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * QueryExecutionLog update
   */
  export type QueryExecutionLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * The data needed to update a QueryExecutionLog.
     */
    data: XOR<QueryExecutionLogUpdateInput, QueryExecutionLogUncheckedUpdateInput>
    /**
     * Choose, which QueryExecutionLog to update.
     */
    where: QueryExecutionLogWhereUniqueInput
  }

  /**
   * QueryExecutionLog updateMany
   */
  export type QueryExecutionLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update QueryExecutionLogs.
     */
    data: XOR<QueryExecutionLogUpdateManyMutationInput, QueryExecutionLogUncheckedUpdateManyInput>
    /**
     * Filter which QueryExecutionLogs to update
     */
    where?: QueryExecutionLogWhereInput
  }

  /**
   * QueryExecutionLog upsert
   */
  export type QueryExecutionLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * The filter to search for the QueryExecutionLog to update in case it exists.
     */
    where: QueryExecutionLogWhereUniqueInput
    /**
     * In case the QueryExecutionLog found by the `where` argument doesn't exist, create a new QueryExecutionLog with this data.
     */
    create: XOR<QueryExecutionLogCreateInput, QueryExecutionLogUncheckedCreateInput>
    /**
     * In case the QueryExecutionLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<QueryExecutionLogUpdateInput, QueryExecutionLogUncheckedUpdateInput>
  }

  /**
   * QueryExecutionLog delete
   */
  export type QueryExecutionLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
    /**
     * Filter which QueryExecutionLog to delete.
     */
    where: QueryExecutionLogWhereUniqueInput
  }

  /**
   * QueryExecutionLog deleteMany
   */
  export type QueryExecutionLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which QueryExecutionLogs to delete
     */
    where?: QueryExecutionLogWhereInput
  }

  /**
   * QueryExecutionLog without action
   */
  export type QueryExecutionLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the QueryExecutionLog
     */
    select?: QueryExecutionLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: QueryExecutionLogInclude<ExtArgs> | null
  }


  /**
   * Model ChildProcess
   */

  export type AggregateChildProcess = {
    _count: ChildProcessCountAggregateOutputType | null
    _avg: ChildProcessAvgAggregateOutputType | null
    _sum: ChildProcessSumAggregateOutputType | null
    _min: ChildProcessMinAggregateOutputType | null
    _max: ChildProcessMaxAggregateOutputType | null
  }

  export type ChildProcessAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ChildProcessSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ChildProcessMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    downloadables: string | null
    command: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ChildProcessMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    slug: string | null
    description: string | null
    downloadables: string | null
    command: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ChildProcessCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    slug: number
    description: number
    downloadables: number
    command: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ChildProcessAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ChildProcessSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ChildProcessMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    downloadables?: true
    command?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ChildProcessMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    downloadables?: true
    command?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ChildProcessCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    slug?: true
    description?: true
    downloadables?: true
    command?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ChildProcessAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ChildProcess to aggregate.
     */
    where?: ChildProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcesses to fetch.
     */
    orderBy?: ChildProcessOrderByWithRelationInput | ChildProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ChildProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ChildProcesses
    **/
    _count?: true | ChildProcessCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ChildProcessAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ChildProcessSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ChildProcessMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ChildProcessMaxAggregateInputType
  }

  export type GetChildProcessAggregateType<T extends ChildProcessAggregateArgs> = {
        [P in keyof T & keyof AggregateChildProcess]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateChildProcess[P]>
      : GetScalarType<T[P], AggregateChildProcess[P]>
  }




  export type ChildProcessGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessWhereInput
    orderBy?: ChildProcessOrderByWithAggregationInput | ChildProcessOrderByWithAggregationInput[]
    by: ChildProcessScalarFieldEnum[] | ChildProcessScalarFieldEnum
    having?: ChildProcessScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ChildProcessCountAggregateInputType | true
    _avg?: ChildProcessAvgAggregateInputType
    _sum?: ChildProcessSumAggregateInputType
    _min?: ChildProcessMinAggregateInputType
    _max?: ChildProcessMaxAggregateInputType
  }

  export type ChildProcessGroupByOutputType = {
    id: number
    uuid: string
    name: string
    slug: string
    description: string | null
    downloadables: string | null
    command: string
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ChildProcessCountAggregateOutputType | null
    _avg: ChildProcessAvgAggregateOutputType | null
    _sum: ChildProcessSumAggregateOutputType | null
    _min: ChildProcessMinAggregateOutputType | null
    _max: ChildProcessMaxAggregateOutputType | null
  }

  type GetChildProcessGroupByPayload<T extends ChildProcessGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ChildProcessGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ChildProcessGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ChildProcessGroupByOutputType[P]>
            : GetScalarType<T[P], ChildProcessGroupByOutputType[P]>
        }
      >
    >


  export type ChildProcessSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    downloadables?: boolean
    command?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process_logs?: boolean | ChildProcess$child_process_logsArgs<ExtArgs>
    _count?: boolean | ChildProcessCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["childProcess"]>

  export type ChildProcessSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    downloadables?: boolean
    command?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["childProcess"]>

  export type ChildProcessSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    slug?: boolean
    description?: boolean
    downloadables?: boolean
    command?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ChildProcessInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process_logs?: boolean | ChildProcess$child_process_logsArgs<ExtArgs>
    _count?: boolean | ChildProcessCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ChildProcessIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ChildProcessPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ChildProcess"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      child_process_logs: Prisma.$ChildProcessLogPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      slug: string
      description: string | null
      downloadables: string | null
      command: string
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["childProcess"]>
    composites: {}
  }

  type ChildProcessGetPayload<S extends boolean | null | undefined | ChildProcessDefaultArgs> = $Result.GetResult<Prisma.$ChildProcessPayload, S>

  type ChildProcessCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ChildProcessFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ChildProcessCountAggregateInputType | true
    }

  export interface ChildProcessDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChildProcess'], meta: { name: 'ChildProcess' } }
    /**
     * Find zero or one ChildProcess that matches the filter.
     * @param {ChildProcessFindUniqueArgs} args - Arguments to find a ChildProcess
     * @example
     * // Get one ChildProcess
     * const childProcess = await prisma.childProcess.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ChildProcessFindUniqueArgs>(args: SelectSubset<T, ChildProcessFindUniqueArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ChildProcess that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ChildProcessFindUniqueOrThrowArgs} args - Arguments to find a ChildProcess
     * @example
     * // Get one ChildProcess
     * const childProcess = await prisma.childProcess.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ChildProcessFindUniqueOrThrowArgs>(args: SelectSubset<T, ChildProcessFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ChildProcess that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessFindFirstArgs} args - Arguments to find a ChildProcess
     * @example
     * // Get one ChildProcess
     * const childProcess = await prisma.childProcess.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ChildProcessFindFirstArgs>(args?: SelectSubset<T, ChildProcessFindFirstArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ChildProcess that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessFindFirstOrThrowArgs} args - Arguments to find a ChildProcess
     * @example
     * // Get one ChildProcess
     * const childProcess = await prisma.childProcess.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ChildProcessFindFirstOrThrowArgs>(args?: SelectSubset<T, ChildProcessFindFirstOrThrowArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ChildProcesses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ChildProcesses
     * const childProcesses = await prisma.childProcess.findMany()
     * 
     * // Get first 10 ChildProcesses
     * const childProcesses = await prisma.childProcess.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const childProcessWithIdOnly = await prisma.childProcess.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ChildProcessFindManyArgs>(args?: SelectSubset<T, ChildProcessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ChildProcess.
     * @param {ChildProcessCreateArgs} args - Arguments to create a ChildProcess.
     * @example
     * // Create one ChildProcess
     * const ChildProcess = await prisma.childProcess.create({
     *   data: {
     *     // ... data to create a ChildProcess
     *   }
     * })
     * 
     */
    create<T extends ChildProcessCreateArgs>(args: SelectSubset<T, ChildProcessCreateArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ChildProcesses.
     * @param {ChildProcessCreateManyArgs} args - Arguments to create many ChildProcesses.
     * @example
     * // Create many ChildProcesses
     * const childProcess = await prisma.childProcess.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ChildProcessCreateManyArgs>(args?: SelectSubset<T, ChildProcessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ChildProcesses and returns the data saved in the database.
     * @param {ChildProcessCreateManyAndReturnArgs} args - Arguments to create many ChildProcesses.
     * @example
     * // Create many ChildProcesses
     * const childProcess = await prisma.childProcess.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ChildProcesses and only return the `id`
     * const childProcessWithIdOnly = await prisma.childProcess.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ChildProcessCreateManyAndReturnArgs>(args?: SelectSubset<T, ChildProcessCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ChildProcess.
     * @param {ChildProcessDeleteArgs} args - Arguments to delete one ChildProcess.
     * @example
     * // Delete one ChildProcess
     * const ChildProcess = await prisma.childProcess.delete({
     *   where: {
     *     // ... filter to delete one ChildProcess
     *   }
     * })
     * 
     */
    delete<T extends ChildProcessDeleteArgs>(args: SelectSubset<T, ChildProcessDeleteArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ChildProcess.
     * @param {ChildProcessUpdateArgs} args - Arguments to update one ChildProcess.
     * @example
     * // Update one ChildProcess
     * const childProcess = await prisma.childProcess.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ChildProcessUpdateArgs>(args: SelectSubset<T, ChildProcessUpdateArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ChildProcesses.
     * @param {ChildProcessDeleteManyArgs} args - Arguments to filter ChildProcesses to delete.
     * @example
     * // Delete a few ChildProcesses
     * const { count } = await prisma.childProcess.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ChildProcessDeleteManyArgs>(args?: SelectSubset<T, ChildProcessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ChildProcesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ChildProcesses
     * const childProcess = await prisma.childProcess.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ChildProcessUpdateManyArgs>(args: SelectSubset<T, ChildProcessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ChildProcess.
     * @param {ChildProcessUpsertArgs} args - Arguments to update or create a ChildProcess.
     * @example
     * // Update or create a ChildProcess
     * const childProcess = await prisma.childProcess.upsert({
     *   create: {
     *     // ... data to create a ChildProcess
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ChildProcess we want to update
     *   }
     * })
     */
    upsert<T extends ChildProcessUpsertArgs>(args: SelectSubset<T, ChildProcessUpsertArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ChildProcesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessCountArgs} args - Arguments to filter ChildProcesses to count.
     * @example
     * // Count the number of ChildProcesses
     * const count = await prisma.childProcess.count({
     *   where: {
     *     // ... the filter for the ChildProcesses we want to count
     *   }
     * })
    **/
    count<T extends ChildProcessCountArgs>(
      args?: Subset<T, ChildProcessCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ChildProcessCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ChildProcess.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ChildProcessAggregateArgs>(args: Subset<T, ChildProcessAggregateArgs>): Prisma.PrismaPromise<GetChildProcessAggregateType<T>>

    /**
     * Group by ChildProcess.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ChildProcessGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ChildProcessGroupByArgs['orderBy'] }
        : { orderBy?: ChildProcessGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ChildProcessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChildProcessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ChildProcess model
   */
  readonly fields: ChildProcessFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ChildProcess.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ChildProcessClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    child_process_logs<T extends ChildProcess$child_process_logsArgs<ExtArgs> = {}>(args?: Subset<T, ChildProcess$child_process_logsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ChildProcess model
   */ 
  interface ChildProcessFieldRefs {
    readonly id: FieldRef<"ChildProcess", 'Int'>
    readonly uuid: FieldRef<"ChildProcess", 'String'>
    readonly name: FieldRef<"ChildProcess", 'String'>
    readonly slug: FieldRef<"ChildProcess", 'String'>
    readonly description: FieldRef<"ChildProcess", 'String'>
    readonly downloadables: FieldRef<"ChildProcess", 'String'>
    readonly command: FieldRef<"ChildProcess", 'String'>
    readonly status_id: FieldRef<"ChildProcess", 'Int'>
    readonly company_id: FieldRef<"ChildProcess", 'Int'>
    readonly created_by: FieldRef<"ChildProcess", 'Int'>
    readonly created_at: FieldRef<"ChildProcess", 'DateTime'>
    readonly updated_by: FieldRef<"ChildProcess", 'Int'>
    readonly updated_at: FieldRef<"ChildProcess", 'DateTime'>
    readonly deleted_by: FieldRef<"ChildProcess", 'Int'>
    readonly deleted_at: FieldRef<"ChildProcess", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ChildProcess findUnique
   */
  export type ChildProcessFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcess to fetch.
     */
    where: ChildProcessWhereUniqueInput
  }

  /**
   * ChildProcess findUniqueOrThrow
   */
  export type ChildProcessFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcess to fetch.
     */
    where: ChildProcessWhereUniqueInput
  }

  /**
   * ChildProcess findFirst
   */
  export type ChildProcessFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcess to fetch.
     */
    where?: ChildProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcesses to fetch.
     */
    orderBy?: ChildProcessOrderByWithRelationInput | ChildProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ChildProcesses.
     */
    cursor?: ChildProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ChildProcesses.
     */
    distinct?: ChildProcessScalarFieldEnum | ChildProcessScalarFieldEnum[]
  }

  /**
   * ChildProcess findFirstOrThrow
   */
  export type ChildProcessFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcess to fetch.
     */
    where?: ChildProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcesses to fetch.
     */
    orderBy?: ChildProcessOrderByWithRelationInput | ChildProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ChildProcesses.
     */
    cursor?: ChildProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcesses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ChildProcesses.
     */
    distinct?: ChildProcessScalarFieldEnum | ChildProcessScalarFieldEnum[]
  }

  /**
   * ChildProcess findMany
   */
  export type ChildProcessFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcesses to fetch.
     */
    where?: ChildProcessWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcesses to fetch.
     */
    orderBy?: ChildProcessOrderByWithRelationInput | ChildProcessOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ChildProcesses.
     */
    cursor?: ChildProcessWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcesses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcesses.
     */
    skip?: number
    distinct?: ChildProcessScalarFieldEnum | ChildProcessScalarFieldEnum[]
  }

  /**
   * ChildProcess create
   */
  export type ChildProcessCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * The data needed to create a ChildProcess.
     */
    data: XOR<ChildProcessCreateInput, ChildProcessUncheckedCreateInput>
  }

  /**
   * ChildProcess createMany
   */
  export type ChildProcessCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ChildProcesses.
     */
    data: ChildProcessCreateManyInput | ChildProcessCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ChildProcess createManyAndReturn
   */
  export type ChildProcessCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ChildProcesses.
     */
    data: ChildProcessCreateManyInput | ChildProcessCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ChildProcess update
   */
  export type ChildProcessUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * The data needed to update a ChildProcess.
     */
    data: XOR<ChildProcessUpdateInput, ChildProcessUncheckedUpdateInput>
    /**
     * Choose, which ChildProcess to update.
     */
    where: ChildProcessWhereUniqueInput
  }

  /**
   * ChildProcess updateMany
   */
  export type ChildProcessUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ChildProcesses.
     */
    data: XOR<ChildProcessUpdateManyMutationInput, ChildProcessUncheckedUpdateManyInput>
    /**
     * Filter which ChildProcesses to update
     */
    where?: ChildProcessWhereInput
  }

  /**
   * ChildProcess upsert
   */
  export type ChildProcessUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * The filter to search for the ChildProcess to update in case it exists.
     */
    where: ChildProcessWhereUniqueInput
    /**
     * In case the ChildProcess found by the `where` argument doesn't exist, create a new ChildProcess with this data.
     */
    create: XOR<ChildProcessCreateInput, ChildProcessUncheckedCreateInput>
    /**
     * In case the ChildProcess was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ChildProcessUpdateInput, ChildProcessUncheckedUpdateInput>
  }

  /**
   * ChildProcess delete
   */
  export type ChildProcessDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
    /**
     * Filter which ChildProcess to delete.
     */
    where: ChildProcessWhereUniqueInput
  }

  /**
   * ChildProcess deleteMany
   */
  export type ChildProcessDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ChildProcesses to delete
     */
    where?: ChildProcessWhereInput
  }

  /**
   * ChildProcess.child_process_logs
   */
  export type ChildProcess$child_process_logsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    where?: ChildProcessLogWhereInput
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    cursor?: ChildProcessLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * ChildProcess without action
   */
  export type ChildProcessDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcess
     */
    select?: ChildProcessSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessInclude<ExtArgs> | null
  }


  /**
   * Model ChildProcessLog
   */

  export type AggregateChildProcessLog = {
    _count: ChildProcessLogCountAggregateOutputType | null
    _avg: ChildProcessLogAvgAggregateOutputType | null
    _sum: ChildProcessLogSumAggregateOutputType | null
    _min: ChildProcessLogMinAggregateOutputType | null
    _max: ChildProcessLogMaxAggregateOutputType | null
  }

  export type ChildProcessLogAvgAggregateOutputType = {
    id: number | null
    child_process_id: number | null
    initiated_by: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ChildProcessLogSumAggregateOutputType = {
    id: number | null
    child_process_id: number | null
    initiated_by: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ChildProcessLogMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    child_process_id: number | null
    process_status: string | null
    downloadables: string | null
    output: string | null
    initiated_by: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ChildProcessLogMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    child_process_id: number | null
    process_status: string | null
    downloadables: string | null
    output: string | null
    initiated_by: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ChildProcessLogCountAggregateOutputType = {
    id: number
    uuid: number
    child_process_id: number
    process_status: number
    downloadables: number
    output: number
    initiated_by: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ChildProcessLogAvgAggregateInputType = {
    id?: true
    child_process_id?: true
    initiated_by?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ChildProcessLogSumAggregateInputType = {
    id?: true
    child_process_id?: true
    initiated_by?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ChildProcessLogMinAggregateInputType = {
    id?: true
    uuid?: true
    child_process_id?: true
    process_status?: true
    downloadables?: true
    output?: true
    initiated_by?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ChildProcessLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    child_process_id?: true
    process_status?: true
    downloadables?: true
    output?: true
    initiated_by?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ChildProcessLogCountAggregateInputType = {
    id?: true
    uuid?: true
    child_process_id?: true
    process_status?: true
    downloadables?: true
    output?: true
    initiated_by?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ChildProcessLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ChildProcessLog to aggregate.
     */
    where?: ChildProcessLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcessLogs to fetch.
     */
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ChildProcessLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcessLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcessLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ChildProcessLogs
    **/
    _count?: true | ChildProcessLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ChildProcessLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ChildProcessLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ChildProcessLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ChildProcessLogMaxAggregateInputType
  }

  export type GetChildProcessLogAggregateType<T extends ChildProcessLogAggregateArgs> = {
        [P in keyof T & keyof AggregateChildProcessLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateChildProcessLog[P]>
      : GetScalarType<T[P], AggregateChildProcessLog[P]>
  }




  export type ChildProcessLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ChildProcessLogWhereInput
    orderBy?: ChildProcessLogOrderByWithAggregationInput | ChildProcessLogOrderByWithAggregationInput[]
    by: ChildProcessLogScalarFieldEnum[] | ChildProcessLogScalarFieldEnum
    having?: ChildProcessLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ChildProcessLogCountAggregateInputType | true
    _avg?: ChildProcessLogAvgAggregateInputType
    _sum?: ChildProcessLogSumAggregateInputType
    _min?: ChildProcessLogMinAggregateInputType
    _max?: ChildProcessLogMaxAggregateInputType
  }

  export type ChildProcessLogGroupByOutputType = {
    id: number
    uuid: string
    child_process_id: number
    process_status: string | null
    downloadables: string | null
    output: string
    initiated_by: number
    status_id: number
    company_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ChildProcessLogCountAggregateOutputType | null
    _avg: ChildProcessLogAvgAggregateOutputType | null
    _sum: ChildProcessLogSumAggregateOutputType | null
    _min: ChildProcessLogMinAggregateOutputType | null
    _max: ChildProcessLogMaxAggregateOutputType | null
  }

  type GetChildProcessLogGroupByPayload<T extends ChildProcessLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ChildProcessLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ChildProcessLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ChildProcessLogGroupByOutputType[P]>
            : GetScalarType<T[P], ChildProcessLogGroupByOutputType[P]>
        }
      >
    >


  export type ChildProcessLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    child_process_id?: boolean
    process_status?: boolean
    downloadables?: boolean
    output?: boolean
    initiated_by?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process?: boolean | ChildProcessDefaultArgs<ExtArgs>
    initiator?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["childProcessLog"]>

  export type ChildProcessLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    child_process_id?: boolean
    process_status?: boolean
    downloadables?: boolean
    output?: boolean
    initiated_by?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process?: boolean | ChildProcessDefaultArgs<ExtArgs>
    initiator?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["childProcessLog"]>

  export type ChildProcessLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    child_process_id?: boolean
    process_status?: boolean
    downloadables?: boolean
    output?: boolean
    initiated_by?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ChildProcessLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process?: boolean | ChildProcessDefaultArgs<ExtArgs>
    initiator?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type ChildProcessLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    child_process?: boolean | ChildProcessDefaultArgs<ExtArgs>
    initiator?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $ChildProcessLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ChildProcessLog"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      child_process: Prisma.$ChildProcessPayload<ExtArgs>
      initiator: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      child_process_id: number
      process_status: string | null
      downloadables: string | null
      output: string
      initiated_by: number
      status_id: number
      company_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["childProcessLog"]>
    composites: {}
  }

  type ChildProcessLogGetPayload<S extends boolean | null | undefined | ChildProcessLogDefaultArgs> = $Result.GetResult<Prisma.$ChildProcessLogPayload, S>

  type ChildProcessLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ChildProcessLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ChildProcessLogCountAggregateInputType | true
    }

  export interface ChildProcessLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChildProcessLog'], meta: { name: 'ChildProcessLog' } }
    /**
     * Find zero or one ChildProcessLog that matches the filter.
     * @param {ChildProcessLogFindUniqueArgs} args - Arguments to find a ChildProcessLog
     * @example
     * // Get one ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ChildProcessLogFindUniqueArgs>(args: SelectSubset<T, ChildProcessLogFindUniqueArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ChildProcessLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ChildProcessLogFindUniqueOrThrowArgs} args - Arguments to find a ChildProcessLog
     * @example
     * // Get one ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ChildProcessLogFindUniqueOrThrowArgs>(args: SelectSubset<T, ChildProcessLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ChildProcessLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogFindFirstArgs} args - Arguments to find a ChildProcessLog
     * @example
     * // Get one ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ChildProcessLogFindFirstArgs>(args?: SelectSubset<T, ChildProcessLogFindFirstArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ChildProcessLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogFindFirstOrThrowArgs} args - Arguments to find a ChildProcessLog
     * @example
     * // Get one ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ChildProcessLogFindFirstOrThrowArgs>(args?: SelectSubset<T, ChildProcessLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ChildProcessLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ChildProcessLogs
     * const childProcessLogs = await prisma.childProcessLog.findMany()
     * 
     * // Get first 10 ChildProcessLogs
     * const childProcessLogs = await prisma.childProcessLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const childProcessLogWithIdOnly = await prisma.childProcessLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ChildProcessLogFindManyArgs>(args?: SelectSubset<T, ChildProcessLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ChildProcessLog.
     * @param {ChildProcessLogCreateArgs} args - Arguments to create a ChildProcessLog.
     * @example
     * // Create one ChildProcessLog
     * const ChildProcessLog = await prisma.childProcessLog.create({
     *   data: {
     *     // ... data to create a ChildProcessLog
     *   }
     * })
     * 
     */
    create<T extends ChildProcessLogCreateArgs>(args: SelectSubset<T, ChildProcessLogCreateArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ChildProcessLogs.
     * @param {ChildProcessLogCreateManyArgs} args - Arguments to create many ChildProcessLogs.
     * @example
     * // Create many ChildProcessLogs
     * const childProcessLog = await prisma.childProcessLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ChildProcessLogCreateManyArgs>(args?: SelectSubset<T, ChildProcessLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ChildProcessLogs and returns the data saved in the database.
     * @param {ChildProcessLogCreateManyAndReturnArgs} args - Arguments to create many ChildProcessLogs.
     * @example
     * // Create many ChildProcessLogs
     * const childProcessLog = await prisma.childProcessLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ChildProcessLogs and only return the `id`
     * const childProcessLogWithIdOnly = await prisma.childProcessLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ChildProcessLogCreateManyAndReturnArgs>(args?: SelectSubset<T, ChildProcessLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ChildProcessLog.
     * @param {ChildProcessLogDeleteArgs} args - Arguments to delete one ChildProcessLog.
     * @example
     * // Delete one ChildProcessLog
     * const ChildProcessLog = await prisma.childProcessLog.delete({
     *   where: {
     *     // ... filter to delete one ChildProcessLog
     *   }
     * })
     * 
     */
    delete<T extends ChildProcessLogDeleteArgs>(args: SelectSubset<T, ChildProcessLogDeleteArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ChildProcessLog.
     * @param {ChildProcessLogUpdateArgs} args - Arguments to update one ChildProcessLog.
     * @example
     * // Update one ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ChildProcessLogUpdateArgs>(args: SelectSubset<T, ChildProcessLogUpdateArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ChildProcessLogs.
     * @param {ChildProcessLogDeleteManyArgs} args - Arguments to filter ChildProcessLogs to delete.
     * @example
     * // Delete a few ChildProcessLogs
     * const { count } = await prisma.childProcessLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ChildProcessLogDeleteManyArgs>(args?: SelectSubset<T, ChildProcessLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ChildProcessLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ChildProcessLogs
     * const childProcessLog = await prisma.childProcessLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ChildProcessLogUpdateManyArgs>(args: SelectSubset<T, ChildProcessLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ChildProcessLog.
     * @param {ChildProcessLogUpsertArgs} args - Arguments to update or create a ChildProcessLog.
     * @example
     * // Update or create a ChildProcessLog
     * const childProcessLog = await prisma.childProcessLog.upsert({
     *   create: {
     *     // ... data to create a ChildProcessLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ChildProcessLog we want to update
     *   }
     * })
     */
    upsert<T extends ChildProcessLogUpsertArgs>(args: SelectSubset<T, ChildProcessLogUpsertArgs<ExtArgs>>): Prisma__ChildProcessLogClient<$Result.GetResult<Prisma.$ChildProcessLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ChildProcessLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogCountArgs} args - Arguments to filter ChildProcessLogs to count.
     * @example
     * // Count the number of ChildProcessLogs
     * const count = await prisma.childProcessLog.count({
     *   where: {
     *     // ... the filter for the ChildProcessLogs we want to count
     *   }
     * })
    **/
    count<T extends ChildProcessLogCountArgs>(
      args?: Subset<T, ChildProcessLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ChildProcessLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ChildProcessLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ChildProcessLogAggregateArgs>(args: Subset<T, ChildProcessLogAggregateArgs>): Prisma.PrismaPromise<GetChildProcessLogAggregateType<T>>

    /**
     * Group by ChildProcessLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ChildProcessLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ChildProcessLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ChildProcessLogGroupByArgs['orderBy'] }
        : { orderBy?: ChildProcessLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ChildProcessLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChildProcessLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ChildProcessLog model
   */
  readonly fields: ChildProcessLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ChildProcessLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ChildProcessLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    child_process<T extends ChildProcessDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ChildProcessDefaultArgs<ExtArgs>>): Prisma__ChildProcessClient<$Result.GetResult<Prisma.$ChildProcessPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    initiator<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ChildProcessLog model
   */ 
  interface ChildProcessLogFieldRefs {
    readonly id: FieldRef<"ChildProcessLog", 'Int'>
    readonly uuid: FieldRef<"ChildProcessLog", 'String'>
    readonly child_process_id: FieldRef<"ChildProcessLog", 'Int'>
    readonly process_status: FieldRef<"ChildProcessLog", 'String'>
    readonly downloadables: FieldRef<"ChildProcessLog", 'String'>
    readonly output: FieldRef<"ChildProcessLog", 'String'>
    readonly initiated_by: FieldRef<"ChildProcessLog", 'Int'>
    readonly status_id: FieldRef<"ChildProcessLog", 'Int'>
    readonly company_id: FieldRef<"ChildProcessLog", 'Int'>
    readonly created_by: FieldRef<"ChildProcessLog", 'Int'>
    readonly created_at: FieldRef<"ChildProcessLog", 'DateTime'>
    readonly updated_by: FieldRef<"ChildProcessLog", 'Int'>
    readonly updated_at: FieldRef<"ChildProcessLog", 'DateTime'>
    readonly deleted_by: FieldRef<"ChildProcessLog", 'Int'>
    readonly deleted_at: FieldRef<"ChildProcessLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ChildProcessLog findUnique
   */
  export type ChildProcessLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcessLog to fetch.
     */
    where: ChildProcessLogWhereUniqueInput
  }

  /**
   * ChildProcessLog findUniqueOrThrow
   */
  export type ChildProcessLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcessLog to fetch.
     */
    where: ChildProcessLogWhereUniqueInput
  }

  /**
   * ChildProcessLog findFirst
   */
  export type ChildProcessLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcessLog to fetch.
     */
    where?: ChildProcessLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcessLogs to fetch.
     */
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ChildProcessLogs.
     */
    cursor?: ChildProcessLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcessLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcessLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ChildProcessLogs.
     */
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * ChildProcessLog findFirstOrThrow
   */
  export type ChildProcessLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcessLog to fetch.
     */
    where?: ChildProcessLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcessLogs to fetch.
     */
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ChildProcessLogs.
     */
    cursor?: ChildProcessLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcessLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcessLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ChildProcessLogs.
     */
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * ChildProcessLog findMany
   */
  export type ChildProcessLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter, which ChildProcessLogs to fetch.
     */
    where?: ChildProcessLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ChildProcessLogs to fetch.
     */
    orderBy?: ChildProcessLogOrderByWithRelationInput | ChildProcessLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ChildProcessLogs.
     */
    cursor?: ChildProcessLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ChildProcessLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ChildProcessLogs.
     */
    skip?: number
    distinct?: ChildProcessLogScalarFieldEnum | ChildProcessLogScalarFieldEnum[]
  }

  /**
   * ChildProcessLog create
   */
  export type ChildProcessLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * The data needed to create a ChildProcessLog.
     */
    data: XOR<ChildProcessLogCreateInput, ChildProcessLogUncheckedCreateInput>
  }

  /**
   * ChildProcessLog createMany
   */
  export type ChildProcessLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ChildProcessLogs.
     */
    data: ChildProcessLogCreateManyInput | ChildProcessLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ChildProcessLog createManyAndReturn
   */
  export type ChildProcessLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ChildProcessLogs.
     */
    data: ChildProcessLogCreateManyInput | ChildProcessLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ChildProcessLog update
   */
  export type ChildProcessLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * The data needed to update a ChildProcessLog.
     */
    data: XOR<ChildProcessLogUpdateInput, ChildProcessLogUncheckedUpdateInput>
    /**
     * Choose, which ChildProcessLog to update.
     */
    where: ChildProcessLogWhereUniqueInput
  }

  /**
   * ChildProcessLog updateMany
   */
  export type ChildProcessLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ChildProcessLogs.
     */
    data: XOR<ChildProcessLogUpdateManyMutationInput, ChildProcessLogUncheckedUpdateManyInput>
    /**
     * Filter which ChildProcessLogs to update
     */
    where?: ChildProcessLogWhereInput
  }

  /**
   * ChildProcessLog upsert
   */
  export type ChildProcessLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * The filter to search for the ChildProcessLog to update in case it exists.
     */
    where: ChildProcessLogWhereUniqueInput
    /**
     * In case the ChildProcessLog found by the `where` argument doesn't exist, create a new ChildProcessLog with this data.
     */
    create: XOR<ChildProcessLogCreateInput, ChildProcessLogUncheckedCreateInput>
    /**
     * In case the ChildProcessLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ChildProcessLogUpdateInput, ChildProcessLogUncheckedUpdateInput>
  }

  /**
   * ChildProcessLog delete
   */
  export type ChildProcessLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
    /**
     * Filter which ChildProcessLog to delete.
     */
    where: ChildProcessLogWhereUniqueInput
  }

  /**
   * ChildProcessLog deleteMany
   */
  export type ChildProcessLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ChildProcessLogs to delete
     */
    where?: ChildProcessLogWhereInput
  }

  /**
   * ChildProcessLog without action
   */
  export type ChildProcessLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ChildProcessLog
     */
    select?: ChildProcessLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ChildProcessLogInclude<ExtArgs> | null
  }


  /**
   * Model Themes
   */

  export type AggregateThemes = {
    _count: ThemesCountAggregateOutputType | null
    _avg: ThemesAvgAggregateOutputType | null
    _sum: ThemesSumAggregateOutputType | null
    _min: ThemesMinAggregateOutputType | null
    _max: ThemesMaxAggregateOutputType | null
  }

  export type ThemesAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemesSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    reference_images: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    description: string | null
    reference_images: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemesCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    description: number
    reference_images: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type ThemesAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemesSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemesMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    reference_images?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemesMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    reference_images?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemesCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    description?: true
    reference_images?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type ThemesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Themes to aggregate.
     */
    where?: ThemesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Themes to fetch.
     */
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ThemesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Themes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Themes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Themes
    **/
    _count?: true | ThemesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ThemesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ThemesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ThemesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ThemesMaxAggregateInputType
  }

  export type GetThemesAggregateType<T extends ThemesAggregateArgs> = {
        [P in keyof T & keyof AggregateThemes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateThemes[P]>
      : GetScalarType<T[P], AggregateThemes[P]>
  }




  export type ThemesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemesWhereInput
    orderBy?: ThemesOrderByWithAggregationInput | ThemesOrderByWithAggregationInput[]
    by: ThemesScalarFieldEnum[] | ThemesScalarFieldEnum
    having?: ThemesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ThemesCountAggregateInputType | true
    _avg?: ThemesAvgAggregateInputType
    _sum?: ThemesSumAggregateInputType
    _min?: ThemesMinAggregateInputType
    _max?: ThemesMaxAggregateInputType
  }

  export type ThemesGroupByOutputType = {
    id: number
    uuid: string
    name: string
    description: string | null
    reference_images: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: ThemesCountAggregateOutputType | null
    _avg: ThemesAvgAggregateOutputType | null
    _sum: ThemesSumAggregateOutputType | null
    _min: ThemesMinAggregateOutputType | null
    _max: ThemesMaxAggregateOutputType | null
  }

  type GetThemesGroupByPayload<T extends ThemesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ThemesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ThemesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ThemesGroupByOutputType[P]>
            : GetScalarType<T[P], ThemesGroupByOutputType[P]>
        }
      >
    >


  export type ThemesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    reference_images?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    theme_attributes?: boolean | Themes$theme_attributesArgs<ExtArgs>
    CreatedTheme?: boolean | Themes$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | Themes$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | Themes$DeletedThemeArgs<ExtArgs>
    _count?: boolean | ThemesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["themes"]>

  export type ThemesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    reference_images?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedTheme?: boolean | Themes$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | Themes$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | Themes$DeletedThemeArgs<ExtArgs>
  }, ExtArgs["result"]["themes"]>

  export type ThemesSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    description?: boolean
    reference_images?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type ThemesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    theme_attributes?: boolean | Themes$theme_attributesArgs<ExtArgs>
    CreatedTheme?: boolean | Themes$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | Themes$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | Themes$DeletedThemeArgs<ExtArgs>
    _count?: boolean | ThemesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ThemesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedTheme?: boolean | Themes$CreatedThemeArgs<ExtArgs>
    UpdatedTheme?: boolean | Themes$UpdatedThemeArgs<ExtArgs>
    DeletedTheme?: boolean | Themes$DeletedThemeArgs<ExtArgs>
  }

  export type $ThemesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Themes"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      theme_attributes: Prisma.$ThemeLineItemsPayload<ExtArgs>[]
      CreatedTheme: Prisma.$UserPayload<ExtArgs> | null
      UpdatedTheme: Prisma.$UserPayload<ExtArgs> | null
      DeletedTheme: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      description: string | null
      reference_images: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["themes"]>
    composites: {}
  }

  type ThemesGetPayload<S extends boolean | null | undefined | ThemesDefaultArgs> = $Result.GetResult<Prisma.$ThemesPayload, S>

  type ThemesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ThemesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ThemesCountAggregateInputType | true
    }

  export interface ThemesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Themes'], meta: { name: 'Themes' } }
    /**
     * Find zero or one Themes that matches the filter.
     * @param {ThemesFindUniqueArgs} args - Arguments to find a Themes
     * @example
     * // Get one Themes
     * const themes = await prisma.themes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ThemesFindUniqueArgs>(args: SelectSubset<T, ThemesFindUniqueArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Themes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ThemesFindUniqueOrThrowArgs} args - Arguments to find a Themes
     * @example
     * // Get one Themes
     * const themes = await prisma.themes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ThemesFindUniqueOrThrowArgs>(args: SelectSubset<T, ThemesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Themes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesFindFirstArgs} args - Arguments to find a Themes
     * @example
     * // Get one Themes
     * const themes = await prisma.themes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ThemesFindFirstArgs>(args?: SelectSubset<T, ThemesFindFirstArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Themes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesFindFirstOrThrowArgs} args - Arguments to find a Themes
     * @example
     * // Get one Themes
     * const themes = await prisma.themes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ThemesFindFirstOrThrowArgs>(args?: SelectSubset<T, ThemesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Themes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Themes
     * const themes = await prisma.themes.findMany()
     * 
     * // Get first 10 Themes
     * const themes = await prisma.themes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const themesWithIdOnly = await prisma.themes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ThemesFindManyArgs>(args?: SelectSubset<T, ThemesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Themes.
     * @param {ThemesCreateArgs} args - Arguments to create a Themes.
     * @example
     * // Create one Themes
     * const Themes = await prisma.themes.create({
     *   data: {
     *     // ... data to create a Themes
     *   }
     * })
     * 
     */
    create<T extends ThemesCreateArgs>(args: SelectSubset<T, ThemesCreateArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Themes.
     * @param {ThemesCreateManyArgs} args - Arguments to create many Themes.
     * @example
     * // Create many Themes
     * const themes = await prisma.themes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ThemesCreateManyArgs>(args?: SelectSubset<T, ThemesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Themes and returns the data saved in the database.
     * @param {ThemesCreateManyAndReturnArgs} args - Arguments to create many Themes.
     * @example
     * // Create many Themes
     * const themes = await prisma.themes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Themes and only return the `id`
     * const themesWithIdOnly = await prisma.themes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ThemesCreateManyAndReturnArgs>(args?: SelectSubset<T, ThemesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Themes.
     * @param {ThemesDeleteArgs} args - Arguments to delete one Themes.
     * @example
     * // Delete one Themes
     * const Themes = await prisma.themes.delete({
     *   where: {
     *     // ... filter to delete one Themes
     *   }
     * })
     * 
     */
    delete<T extends ThemesDeleteArgs>(args: SelectSubset<T, ThemesDeleteArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Themes.
     * @param {ThemesUpdateArgs} args - Arguments to update one Themes.
     * @example
     * // Update one Themes
     * const themes = await prisma.themes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ThemesUpdateArgs>(args: SelectSubset<T, ThemesUpdateArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Themes.
     * @param {ThemesDeleteManyArgs} args - Arguments to filter Themes to delete.
     * @example
     * // Delete a few Themes
     * const { count } = await prisma.themes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ThemesDeleteManyArgs>(args?: SelectSubset<T, ThemesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Themes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Themes
     * const themes = await prisma.themes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ThemesUpdateManyArgs>(args: SelectSubset<T, ThemesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Themes.
     * @param {ThemesUpsertArgs} args - Arguments to update or create a Themes.
     * @example
     * // Update or create a Themes
     * const themes = await prisma.themes.upsert({
     *   create: {
     *     // ... data to create a Themes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Themes we want to update
     *   }
     * })
     */
    upsert<T extends ThemesUpsertArgs>(args: SelectSubset<T, ThemesUpsertArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Themes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesCountArgs} args - Arguments to filter Themes to count.
     * @example
     * // Count the number of Themes
     * const count = await prisma.themes.count({
     *   where: {
     *     // ... the filter for the Themes we want to count
     *   }
     * })
    **/
    count<T extends ThemesCountArgs>(
      args?: Subset<T, ThemesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ThemesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Themes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ThemesAggregateArgs>(args: Subset<T, ThemesAggregateArgs>): Prisma.PrismaPromise<GetThemesAggregateType<T>>

    /**
     * Group by Themes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ThemesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ThemesGroupByArgs['orderBy'] }
        : { orderBy?: ThemesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ThemesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetThemesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Themes model
   */
  readonly fields: ThemesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Themes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ThemesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    theme_attributes<T extends Themes$theme_attributesArgs<ExtArgs> = {}>(args?: Subset<T, Themes$theme_attributesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    CreatedTheme<T extends Themes$CreatedThemeArgs<ExtArgs> = {}>(args?: Subset<T, Themes$CreatedThemeArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    UpdatedTheme<T extends Themes$UpdatedThemeArgs<ExtArgs> = {}>(args?: Subset<T, Themes$UpdatedThemeArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    DeletedTheme<T extends Themes$DeletedThemeArgs<ExtArgs> = {}>(args?: Subset<T, Themes$DeletedThemeArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Themes model
   */ 
  interface ThemesFieldRefs {
    readonly id: FieldRef<"Themes", 'Int'>
    readonly uuid: FieldRef<"Themes", 'String'>
    readonly name: FieldRef<"Themes", 'String'>
    readonly description: FieldRef<"Themes", 'String'>
    readonly reference_images: FieldRef<"Themes", 'String'>
    readonly status_id: FieldRef<"Themes", 'Int'>
    readonly company_id: FieldRef<"Themes", 'Int'>
    readonly created_by: FieldRef<"Themes", 'Int'>
    readonly updated_by: FieldRef<"Themes", 'Int'>
    readonly deleted_by: FieldRef<"Themes", 'Int'>
    readonly created_at: FieldRef<"Themes", 'DateTime'>
    readonly updated_at: FieldRef<"Themes", 'DateTime'>
    readonly deleted_at: FieldRef<"Themes", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Themes findUnique
   */
  export type ThemesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter, which Themes to fetch.
     */
    where: ThemesWhereUniqueInput
  }

  /**
   * Themes findUniqueOrThrow
   */
  export type ThemesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter, which Themes to fetch.
     */
    where: ThemesWhereUniqueInput
  }

  /**
   * Themes findFirst
   */
  export type ThemesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter, which Themes to fetch.
     */
    where?: ThemesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Themes to fetch.
     */
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Themes.
     */
    cursor?: ThemesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Themes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Themes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Themes.
     */
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * Themes findFirstOrThrow
   */
  export type ThemesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter, which Themes to fetch.
     */
    where?: ThemesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Themes to fetch.
     */
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Themes.
     */
    cursor?: ThemesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Themes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Themes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Themes.
     */
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * Themes findMany
   */
  export type ThemesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter, which Themes to fetch.
     */
    where?: ThemesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Themes to fetch.
     */
    orderBy?: ThemesOrderByWithRelationInput | ThemesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Themes.
     */
    cursor?: ThemesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Themes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Themes.
     */
    skip?: number
    distinct?: ThemesScalarFieldEnum | ThemesScalarFieldEnum[]
  }

  /**
   * Themes create
   */
  export type ThemesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * The data needed to create a Themes.
     */
    data: XOR<ThemesCreateInput, ThemesUncheckedCreateInput>
  }

  /**
   * Themes createMany
   */
  export type ThemesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Themes.
     */
    data: ThemesCreateManyInput | ThemesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Themes createManyAndReturn
   */
  export type ThemesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Themes.
     */
    data: ThemesCreateManyInput | ThemesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Themes update
   */
  export type ThemesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * The data needed to update a Themes.
     */
    data: XOR<ThemesUpdateInput, ThemesUncheckedUpdateInput>
    /**
     * Choose, which Themes to update.
     */
    where: ThemesWhereUniqueInput
  }

  /**
   * Themes updateMany
   */
  export type ThemesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Themes.
     */
    data: XOR<ThemesUpdateManyMutationInput, ThemesUncheckedUpdateManyInput>
    /**
     * Filter which Themes to update
     */
    where?: ThemesWhereInput
  }

  /**
   * Themes upsert
   */
  export type ThemesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * The filter to search for the Themes to update in case it exists.
     */
    where: ThemesWhereUniqueInput
    /**
     * In case the Themes found by the `where` argument doesn't exist, create a new Themes with this data.
     */
    create: XOR<ThemesCreateInput, ThemesUncheckedCreateInput>
    /**
     * In case the Themes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ThemesUpdateInput, ThemesUncheckedUpdateInput>
  }

  /**
   * Themes delete
   */
  export type ThemesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
    /**
     * Filter which Themes to delete.
     */
    where: ThemesWhereUniqueInput
  }

  /**
   * Themes deleteMany
   */
  export type ThemesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Themes to delete
     */
    where?: ThemesWhereInput
  }

  /**
   * Themes.theme_attributes
   */
  export type Themes$theme_attributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    cursor?: ThemeLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * Themes.CreatedTheme
   */
  export type Themes$CreatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Themes.UpdatedTheme
   */
  export type Themes$UpdatedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Themes.DeletedTheme
   */
  export type Themes$DeletedThemeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * Themes without action
   */
  export type ThemesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Themes
     */
    select?: ThemesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemesInclude<ExtArgs> | null
  }


  /**
   * Model ThemeLineItems
   */

  export type AggregateThemeLineItems = {
    _count: ThemeLineItemsCountAggregateOutputType | null
    _avg: ThemeLineItemsAvgAggregateOutputType | null
    _sum: ThemeLineItemsSumAggregateOutputType | null
    _min: ThemeLineItemsMinAggregateOutputType | null
    _max: ThemeLineItemsMaxAggregateOutputType | null
  }

  export type ThemeLineItemsAvgAggregateOutputType = {
    id: number | null
    theme_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemeLineItemsSumAggregateOutputType = {
    id: number | null
    theme_id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemeLineItemsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    theme_id: number | null
    attribute: string | null
    value: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemeLineItemsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    theme_id: number | null
    attribute: string | null
    value: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemeLineItemsCountAggregateOutputType = {
    id: number
    uuid: number
    theme_id: number
    attribute: number
    value: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type ThemeLineItemsAvgAggregateInputType = {
    id?: true
    theme_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemeLineItemsSumAggregateInputType = {
    id?: true
    theme_id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemeLineItemsMinAggregateInputType = {
    id?: true
    uuid?: true
    theme_id?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemeLineItemsMaxAggregateInputType = {
    id?: true
    uuid?: true
    theme_id?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemeLineItemsCountAggregateInputType = {
    id?: true
    uuid?: true
    theme_id?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type ThemeLineItemsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ThemeLineItems to aggregate.
     */
    where?: ThemeLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeLineItems to fetch.
     */
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ThemeLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ThemeLineItems
    **/
    _count?: true | ThemeLineItemsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ThemeLineItemsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ThemeLineItemsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ThemeLineItemsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ThemeLineItemsMaxAggregateInputType
  }

  export type GetThemeLineItemsAggregateType<T extends ThemeLineItemsAggregateArgs> = {
        [P in keyof T & keyof AggregateThemeLineItems]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateThemeLineItems[P]>
      : GetScalarType<T[P], AggregateThemeLineItems[P]>
  }




  export type ThemeLineItemsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeLineItemsWhereInput
    orderBy?: ThemeLineItemsOrderByWithAggregationInput | ThemeLineItemsOrderByWithAggregationInput[]
    by: ThemeLineItemsScalarFieldEnum[] | ThemeLineItemsScalarFieldEnum
    having?: ThemeLineItemsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ThemeLineItemsCountAggregateInputType | true
    _avg?: ThemeLineItemsAvgAggregateInputType
    _sum?: ThemeLineItemsSumAggregateInputType
    _min?: ThemeLineItemsMinAggregateInputType
    _max?: ThemeLineItemsMaxAggregateInputType
  }

  export type ThemeLineItemsGroupByOutputType = {
    id: number
    uuid: string
    theme_id: number
    attribute: string
    value: string | null
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: ThemeLineItemsCountAggregateOutputType | null
    _avg: ThemeLineItemsAvgAggregateOutputType | null
    _sum: ThemeLineItemsSumAggregateOutputType | null
    _min: ThemeLineItemsMinAggregateOutputType | null
    _max: ThemeLineItemsMaxAggregateOutputType | null
  }

  type GetThemeLineItemsGroupByPayload<T extends ThemeLineItemsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ThemeLineItemsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ThemeLineItemsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ThemeLineItemsGroupByOutputType[P]>
            : GetScalarType<T[P], ThemeLineItemsGroupByOutputType[P]>
        }
      >
    >


  export type ThemeLineItemsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    theme_id?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    themes?: boolean | ThemesDefaultArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs>
  }, ExtArgs["result"]["themeLineItems"]>

  export type ThemeLineItemsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    theme_id?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    themes?: boolean | ThemesDefaultArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs>
  }, ExtArgs["result"]["themeLineItems"]>

  export type ThemeLineItemsSelectScalar = {
    id?: boolean
    uuid?: boolean
    theme_id?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type ThemeLineItemsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    themes?: boolean | ThemesDefaultArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs>
  }
  export type ThemeLineItemsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    themes?: boolean | ThemesDefaultArgs<ExtArgs>
    CreatedThemeLineItems?: boolean | ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs>
    UpdatedThemeLineItems?: boolean | ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs>
    DeletedThemeLineItems?: boolean | ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs>
  }

  export type $ThemeLineItemsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ThemeLineItems"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      themes: Prisma.$ThemesPayload<ExtArgs>
      CreatedThemeLineItems: Prisma.$UserPayload<ExtArgs> | null
      UpdatedThemeLineItems: Prisma.$UserPayload<ExtArgs> | null
      DeletedThemeLineItems: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      theme_id: number
      attribute: string
      value: string | null
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["themeLineItems"]>
    composites: {}
  }

  type ThemeLineItemsGetPayload<S extends boolean | null | undefined | ThemeLineItemsDefaultArgs> = $Result.GetResult<Prisma.$ThemeLineItemsPayload, S>

  type ThemeLineItemsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ThemeLineItemsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ThemeLineItemsCountAggregateInputType | true
    }

  export interface ThemeLineItemsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ThemeLineItems'], meta: { name: 'ThemeLineItems' } }
    /**
     * Find zero or one ThemeLineItems that matches the filter.
     * @param {ThemeLineItemsFindUniqueArgs} args - Arguments to find a ThemeLineItems
     * @example
     * // Get one ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ThemeLineItemsFindUniqueArgs>(args: SelectSubset<T, ThemeLineItemsFindUniqueArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ThemeLineItems that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ThemeLineItemsFindUniqueOrThrowArgs} args - Arguments to find a ThemeLineItems
     * @example
     * // Get one ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ThemeLineItemsFindUniqueOrThrowArgs>(args: SelectSubset<T, ThemeLineItemsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ThemeLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsFindFirstArgs} args - Arguments to find a ThemeLineItems
     * @example
     * // Get one ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ThemeLineItemsFindFirstArgs>(args?: SelectSubset<T, ThemeLineItemsFindFirstArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ThemeLineItems that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsFindFirstOrThrowArgs} args - Arguments to find a ThemeLineItems
     * @example
     * // Get one ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ThemeLineItemsFindFirstOrThrowArgs>(args?: SelectSubset<T, ThemeLineItemsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ThemeLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findMany()
     * 
     * // Get first 10 ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const themeLineItemsWithIdOnly = await prisma.themeLineItems.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ThemeLineItemsFindManyArgs>(args?: SelectSubset<T, ThemeLineItemsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ThemeLineItems.
     * @param {ThemeLineItemsCreateArgs} args - Arguments to create a ThemeLineItems.
     * @example
     * // Create one ThemeLineItems
     * const ThemeLineItems = await prisma.themeLineItems.create({
     *   data: {
     *     // ... data to create a ThemeLineItems
     *   }
     * })
     * 
     */
    create<T extends ThemeLineItemsCreateArgs>(args: SelectSubset<T, ThemeLineItemsCreateArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ThemeLineItems.
     * @param {ThemeLineItemsCreateManyArgs} args - Arguments to create many ThemeLineItems.
     * @example
     * // Create many ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ThemeLineItemsCreateManyArgs>(args?: SelectSubset<T, ThemeLineItemsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ThemeLineItems and returns the data saved in the database.
     * @param {ThemeLineItemsCreateManyAndReturnArgs} args - Arguments to create many ThemeLineItems.
     * @example
     * // Create many ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ThemeLineItems and only return the `id`
     * const themeLineItemsWithIdOnly = await prisma.themeLineItems.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ThemeLineItemsCreateManyAndReturnArgs>(args?: SelectSubset<T, ThemeLineItemsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ThemeLineItems.
     * @param {ThemeLineItemsDeleteArgs} args - Arguments to delete one ThemeLineItems.
     * @example
     * // Delete one ThemeLineItems
     * const ThemeLineItems = await prisma.themeLineItems.delete({
     *   where: {
     *     // ... filter to delete one ThemeLineItems
     *   }
     * })
     * 
     */
    delete<T extends ThemeLineItemsDeleteArgs>(args: SelectSubset<T, ThemeLineItemsDeleteArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ThemeLineItems.
     * @param {ThemeLineItemsUpdateArgs} args - Arguments to update one ThemeLineItems.
     * @example
     * // Update one ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ThemeLineItemsUpdateArgs>(args: SelectSubset<T, ThemeLineItemsUpdateArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ThemeLineItems.
     * @param {ThemeLineItemsDeleteManyArgs} args - Arguments to filter ThemeLineItems to delete.
     * @example
     * // Delete a few ThemeLineItems
     * const { count } = await prisma.themeLineItems.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ThemeLineItemsDeleteManyArgs>(args?: SelectSubset<T, ThemeLineItemsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ThemeLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ThemeLineItemsUpdateManyArgs>(args: SelectSubset<T, ThemeLineItemsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ThemeLineItems.
     * @param {ThemeLineItemsUpsertArgs} args - Arguments to update or create a ThemeLineItems.
     * @example
     * // Update or create a ThemeLineItems
     * const themeLineItems = await prisma.themeLineItems.upsert({
     *   create: {
     *     // ... data to create a ThemeLineItems
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ThemeLineItems we want to update
     *   }
     * })
     */
    upsert<T extends ThemeLineItemsUpsertArgs>(args: SelectSubset<T, ThemeLineItemsUpsertArgs<ExtArgs>>): Prisma__ThemeLineItemsClient<$Result.GetResult<Prisma.$ThemeLineItemsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ThemeLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsCountArgs} args - Arguments to filter ThemeLineItems to count.
     * @example
     * // Count the number of ThemeLineItems
     * const count = await prisma.themeLineItems.count({
     *   where: {
     *     // ... the filter for the ThemeLineItems we want to count
     *   }
     * })
    **/
    count<T extends ThemeLineItemsCountArgs>(
      args?: Subset<T, ThemeLineItemsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ThemeLineItemsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ThemeLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ThemeLineItemsAggregateArgs>(args: Subset<T, ThemeLineItemsAggregateArgs>): Prisma.PrismaPromise<GetThemeLineItemsAggregateType<T>>

    /**
     * Group by ThemeLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeLineItemsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ThemeLineItemsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ThemeLineItemsGroupByArgs['orderBy'] }
        : { orderBy?: ThemeLineItemsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ThemeLineItemsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetThemeLineItemsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ThemeLineItems model
   */
  readonly fields: ThemeLineItemsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ThemeLineItems.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ThemeLineItemsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    themes<T extends ThemesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ThemesDefaultArgs<ExtArgs>>): Prisma__ThemesClient<$Result.GetResult<Prisma.$ThemesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    CreatedThemeLineItems<T extends ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    UpdatedThemeLineItems<T extends ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    DeletedThemeLineItems<T extends ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs> = {}>(args?: Subset<T, ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ThemeLineItems model
   */ 
  interface ThemeLineItemsFieldRefs {
    readonly id: FieldRef<"ThemeLineItems", 'Int'>
    readonly uuid: FieldRef<"ThemeLineItems", 'String'>
    readonly theme_id: FieldRef<"ThemeLineItems", 'Int'>
    readonly attribute: FieldRef<"ThemeLineItems", 'String'>
    readonly value: FieldRef<"ThemeLineItems", 'String'>
    readonly description: FieldRef<"ThemeLineItems", 'String'>
    readonly status_id: FieldRef<"ThemeLineItems", 'Int'>
    readonly company_id: FieldRef<"ThemeLineItems", 'Int'>
    readonly created_by: FieldRef<"ThemeLineItems", 'Int'>
    readonly updated_by: FieldRef<"ThemeLineItems", 'Int'>
    readonly deleted_by: FieldRef<"ThemeLineItems", 'Int'>
    readonly created_at: FieldRef<"ThemeLineItems", 'DateTime'>
    readonly updated_at: FieldRef<"ThemeLineItems", 'DateTime'>
    readonly deleted_at: FieldRef<"ThemeLineItems", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ThemeLineItems findUnique
   */
  export type ThemeLineItemsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ThemeLineItems to fetch.
     */
    where: ThemeLineItemsWhereUniqueInput
  }

  /**
   * ThemeLineItems findUniqueOrThrow
   */
  export type ThemeLineItemsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ThemeLineItems to fetch.
     */
    where: ThemeLineItemsWhereUniqueInput
  }

  /**
   * ThemeLineItems findFirst
   */
  export type ThemeLineItemsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ThemeLineItems to fetch.
     */
    where?: ThemeLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeLineItems to fetch.
     */
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ThemeLineItems.
     */
    cursor?: ThemeLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ThemeLineItems.
     */
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * ThemeLineItems findFirstOrThrow
   */
  export type ThemeLineItemsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ThemeLineItems to fetch.
     */
    where?: ThemeLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeLineItems to fetch.
     */
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ThemeLineItems.
     */
    cursor?: ThemeLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ThemeLineItems.
     */
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * ThemeLineItems findMany
   */
  export type ThemeLineItemsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ThemeLineItems to fetch.
     */
    where?: ThemeLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeLineItems to fetch.
     */
    orderBy?: ThemeLineItemsOrderByWithRelationInput | ThemeLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ThemeLineItems.
     */
    cursor?: ThemeLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeLineItems.
     */
    skip?: number
    distinct?: ThemeLineItemsScalarFieldEnum | ThemeLineItemsScalarFieldEnum[]
  }

  /**
   * ThemeLineItems create
   */
  export type ThemeLineItemsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to create a ThemeLineItems.
     */
    data: XOR<ThemeLineItemsCreateInput, ThemeLineItemsUncheckedCreateInput>
  }

  /**
   * ThemeLineItems createMany
   */
  export type ThemeLineItemsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ThemeLineItems.
     */
    data: ThemeLineItemsCreateManyInput | ThemeLineItemsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ThemeLineItems createManyAndReturn
   */
  export type ThemeLineItemsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ThemeLineItems.
     */
    data: ThemeLineItemsCreateManyInput | ThemeLineItemsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ThemeLineItems update
   */
  export type ThemeLineItemsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to update a ThemeLineItems.
     */
    data: XOR<ThemeLineItemsUpdateInput, ThemeLineItemsUncheckedUpdateInput>
    /**
     * Choose, which ThemeLineItems to update.
     */
    where: ThemeLineItemsWhereUniqueInput
  }

  /**
   * ThemeLineItems updateMany
   */
  export type ThemeLineItemsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ThemeLineItems.
     */
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyInput>
    /**
     * Filter which ThemeLineItems to update
     */
    where?: ThemeLineItemsWhereInput
  }

  /**
   * ThemeLineItems upsert
   */
  export type ThemeLineItemsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * The filter to search for the ThemeLineItems to update in case it exists.
     */
    where: ThemeLineItemsWhereUniqueInput
    /**
     * In case the ThemeLineItems found by the `where` argument doesn't exist, create a new ThemeLineItems with this data.
     */
    create: XOR<ThemeLineItemsCreateInput, ThemeLineItemsUncheckedCreateInput>
    /**
     * In case the ThemeLineItems was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ThemeLineItemsUpdateInput, ThemeLineItemsUncheckedUpdateInput>
  }

  /**
   * ThemeLineItems delete
   */
  export type ThemeLineItemsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
    /**
     * Filter which ThemeLineItems to delete.
     */
    where: ThemeLineItemsWhereUniqueInput
  }

  /**
   * ThemeLineItems deleteMany
   */
  export type ThemeLineItemsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ThemeLineItems to delete
     */
    where?: ThemeLineItemsWhereInput
  }

  /**
   * ThemeLineItems.CreatedThemeLineItems
   */
  export type ThemeLineItems$CreatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeLineItems.UpdatedThemeLineItems
   */
  export type ThemeLineItems$UpdatedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeLineItems.DeletedThemeLineItems
   */
  export type ThemeLineItems$DeletedThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeLineItems without action
   */
  export type ThemeLineItemsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeLineItems
     */
    select?: ThemeLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeLineItemsInclude<ExtArgs> | null
  }


  /**
   * Model ThemeAttributes
   */

  export type AggregateThemeAttributes = {
    _count: ThemeAttributesCountAggregateOutputType | null
    _avg: ThemeAttributesAvgAggregateOutputType | null
    _sum: ThemeAttributesSumAggregateOutputType | null
    _min: ThemeAttributesMinAggregateOutputType | null
    _max: ThemeAttributesMaxAggregateOutputType | null
  }

  export type ThemeAttributesAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemeAttributesSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ThemeAttributesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    attribute: string | null
    value: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemeAttributesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    attribute: string | null
    value: string | null
    description: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ThemeAttributesCountAggregateOutputType = {
    id: number
    uuid: number
    attribute: number
    value: number
    description: number
    status_id: number
    company_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type ThemeAttributesAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemeAttributesSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ThemeAttributesMinAggregateInputType = {
    id?: true
    uuid?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemeAttributesMaxAggregateInputType = {
    id?: true
    uuid?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ThemeAttributesCountAggregateInputType = {
    id?: true
    uuid?: true
    attribute?: true
    value?: true
    description?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type ThemeAttributesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ThemeAttributes to aggregate.
     */
    where?: ThemeAttributesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeAttributes to fetch.
     */
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ThemeAttributesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeAttributes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeAttributes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ThemeAttributes
    **/
    _count?: true | ThemeAttributesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ThemeAttributesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ThemeAttributesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ThemeAttributesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ThemeAttributesMaxAggregateInputType
  }

  export type GetThemeAttributesAggregateType<T extends ThemeAttributesAggregateArgs> = {
        [P in keyof T & keyof AggregateThemeAttributes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateThemeAttributes[P]>
      : GetScalarType<T[P], AggregateThemeAttributes[P]>
  }




  export type ThemeAttributesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ThemeAttributesWhereInput
    orderBy?: ThemeAttributesOrderByWithAggregationInput | ThemeAttributesOrderByWithAggregationInput[]
    by: ThemeAttributesScalarFieldEnum[] | ThemeAttributesScalarFieldEnum
    having?: ThemeAttributesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ThemeAttributesCountAggregateInputType | true
    _avg?: ThemeAttributesAvgAggregateInputType
    _sum?: ThemeAttributesSumAggregateInputType
    _min?: ThemeAttributesMinAggregateInputType
    _max?: ThemeAttributesMaxAggregateInputType
  }

  export type ThemeAttributesGroupByOutputType = {
    id: number
    uuid: string
    attribute: string
    value: string | null
    description: string | null
    status_id: number
    company_id: number
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: ThemeAttributesCountAggregateOutputType | null
    _avg: ThemeAttributesAvgAggregateOutputType | null
    _sum: ThemeAttributesSumAggregateOutputType | null
    _min: ThemeAttributesMinAggregateOutputType | null
    _max: ThemeAttributesMaxAggregateOutputType | null
  }

  type GetThemeAttributesGroupByPayload<T extends ThemeAttributesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ThemeAttributesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ThemeAttributesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ThemeAttributesGroupByOutputType[P]>
            : GetScalarType<T[P], ThemeAttributesGroupByOutputType[P]>
        }
      >
    >


  export type ThemeAttributesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs>
  }, ExtArgs["result"]["themeAttributes"]>

  export type ThemeAttributesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs>
  }, ExtArgs["result"]["themeAttributes"]>

  export type ThemeAttributesSelectScalar = {
    id?: boolean
    uuid?: boolean
    attribute?: boolean
    value?: boolean
    description?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type ThemeAttributesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs>
  }
  export type ThemeAttributesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    CreatedThemeAttributes?: boolean | ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs>
    UpdatedThemeAttributes?: boolean | ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs>
    DeletedThemeAttributes?: boolean | ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs>
  }

  export type $ThemeAttributesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ThemeAttributes"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      CreatedThemeAttributes: Prisma.$UserPayload<ExtArgs> | null
      UpdatedThemeAttributes: Prisma.$UserPayload<ExtArgs> | null
      DeletedThemeAttributes: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      attribute: string
      value: string | null
      description: string | null
      status_id: number
      company_id: number
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["themeAttributes"]>
    composites: {}
  }

  type ThemeAttributesGetPayload<S extends boolean | null | undefined | ThemeAttributesDefaultArgs> = $Result.GetResult<Prisma.$ThemeAttributesPayload, S>

  type ThemeAttributesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ThemeAttributesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ThemeAttributesCountAggregateInputType | true
    }

  export interface ThemeAttributesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ThemeAttributes'], meta: { name: 'ThemeAttributes' } }
    /**
     * Find zero or one ThemeAttributes that matches the filter.
     * @param {ThemeAttributesFindUniqueArgs} args - Arguments to find a ThemeAttributes
     * @example
     * // Get one ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ThemeAttributesFindUniqueArgs>(args: SelectSubset<T, ThemeAttributesFindUniqueArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ThemeAttributes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ThemeAttributesFindUniqueOrThrowArgs} args - Arguments to find a ThemeAttributes
     * @example
     * // Get one ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ThemeAttributesFindUniqueOrThrowArgs>(args: SelectSubset<T, ThemeAttributesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ThemeAttributes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesFindFirstArgs} args - Arguments to find a ThemeAttributes
     * @example
     * // Get one ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ThemeAttributesFindFirstArgs>(args?: SelectSubset<T, ThemeAttributesFindFirstArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ThemeAttributes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesFindFirstOrThrowArgs} args - Arguments to find a ThemeAttributes
     * @example
     * // Get one ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ThemeAttributesFindFirstOrThrowArgs>(args?: SelectSubset<T, ThemeAttributesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ThemeAttributes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findMany()
     * 
     * // Get first 10 ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const themeAttributesWithIdOnly = await prisma.themeAttributes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ThemeAttributesFindManyArgs>(args?: SelectSubset<T, ThemeAttributesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ThemeAttributes.
     * @param {ThemeAttributesCreateArgs} args - Arguments to create a ThemeAttributes.
     * @example
     * // Create one ThemeAttributes
     * const ThemeAttributes = await prisma.themeAttributes.create({
     *   data: {
     *     // ... data to create a ThemeAttributes
     *   }
     * })
     * 
     */
    create<T extends ThemeAttributesCreateArgs>(args: SelectSubset<T, ThemeAttributesCreateArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ThemeAttributes.
     * @param {ThemeAttributesCreateManyArgs} args - Arguments to create many ThemeAttributes.
     * @example
     * // Create many ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ThemeAttributesCreateManyArgs>(args?: SelectSubset<T, ThemeAttributesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ThemeAttributes and returns the data saved in the database.
     * @param {ThemeAttributesCreateManyAndReturnArgs} args - Arguments to create many ThemeAttributes.
     * @example
     * // Create many ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ThemeAttributes and only return the `id`
     * const themeAttributesWithIdOnly = await prisma.themeAttributes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ThemeAttributesCreateManyAndReturnArgs>(args?: SelectSubset<T, ThemeAttributesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ThemeAttributes.
     * @param {ThemeAttributesDeleteArgs} args - Arguments to delete one ThemeAttributes.
     * @example
     * // Delete one ThemeAttributes
     * const ThemeAttributes = await prisma.themeAttributes.delete({
     *   where: {
     *     // ... filter to delete one ThemeAttributes
     *   }
     * })
     * 
     */
    delete<T extends ThemeAttributesDeleteArgs>(args: SelectSubset<T, ThemeAttributesDeleteArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ThemeAttributes.
     * @param {ThemeAttributesUpdateArgs} args - Arguments to update one ThemeAttributes.
     * @example
     * // Update one ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ThemeAttributesUpdateArgs>(args: SelectSubset<T, ThemeAttributesUpdateArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ThemeAttributes.
     * @param {ThemeAttributesDeleteManyArgs} args - Arguments to filter ThemeAttributes to delete.
     * @example
     * // Delete a few ThemeAttributes
     * const { count } = await prisma.themeAttributes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ThemeAttributesDeleteManyArgs>(args?: SelectSubset<T, ThemeAttributesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ThemeAttributes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ThemeAttributesUpdateManyArgs>(args: SelectSubset<T, ThemeAttributesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ThemeAttributes.
     * @param {ThemeAttributesUpsertArgs} args - Arguments to update or create a ThemeAttributes.
     * @example
     * // Update or create a ThemeAttributes
     * const themeAttributes = await prisma.themeAttributes.upsert({
     *   create: {
     *     // ... data to create a ThemeAttributes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ThemeAttributes we want to update
     *   }
     * })
     */
    upsert<T extends ThemeAttributesUpsertArgs>(args: SelectSubset<T, ThemeAttributesUpsertArgs<ExtArgs>>): Prisma__ThemeAttributesClient<$Result.GetResult<Prisma.$ThemeAttributesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ThemeAttributes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesCountArgs} args - Arguments to filter ThemeAttributes to count.
     * @example
     * // Count the number of ThemeAttributes
     * const count = await prisma.themeAttributes.count({
     *   where: {
     *     // ... the filter for the ThemeAttributes we want to count
     *   }
     * })
    **/
    count<T extends ThemeAttributesCountArgs>(
      args?: Subset<T, ThemeAttributesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ThemeAttributesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ThemeAttributes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ThemeAttributesAggregateArgs>(args: Subset<T, ThemeAttributesAggregateArgs>): Prisma.PrismaPromise<GetThemeAttributesAggregateType<T>>

    /**
     * Group by ThemeAttributes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ThemeAttributesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ThemeAttributesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ThemeAttributesGroupByArgs['orderBy'] }
        : { orderBy?: ThemeAttributesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ThemeAttributesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetThemeAttributesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ThemeAttributes model
   */
  readonly fields: ThemeAttributesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ThemeAttributes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ThemeAttributesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    CreatedThemeAttributes<T extends ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    UpdatedThemeAttributes<T extends ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    DeletedThemeAttributes<T extends ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs> = {}>(args?: Subset<T, ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ThemeAttributes model
   */ 
  interface ThemeAttributesFieldRefs {
    readonly id: FieldRef<"ThemeAttributes", 'Int'>
    readonly uuid: FieldRef<"ThemeAttributes", 'String'>
    readonly attribute: FieldRef<"ThemeAttributes", 'String'>
    readonly value: FieldRef<"ThemeAttributes", 'String'>
    readonly description: FieldRef<"ThemeAttributes", 'String'>
    readonly status_id: FieldRef<"ThemeAttributes", 'Int'>
    readonly company_id: FieldRef<"ThemeAttributes", 'Int'>
    readonly created_by: FieldRef<"ThemeAttributes", 'Int'>
    readonly updated_by: FieldRef<"ThemeAttributes", 'Int'>
    readonly deleted_by: FieldRef<"ThemeAttributes", 'Int'>
    readonly created_at: FieldRef<"ThemeAttributes", 'DateTime'>
    readonly updated_at: FieldRef<"ThemeAttributes", 'DateTime'>
    readonly deleted_at: FieldRef<"ThemeAttributes", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ThemeAttributes findUnique
   */
  export type ThemeAttributesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter, which ThemeAttributes to fetch.
     */
    where: ThemeAttributesWhereUniqueInput
  }

  /**
   * ThemeAttributes findUniqueOrThrow
   */
  export type ThemeAttributesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter, which ThemeAttributes to fetch.
     */
    where: ThemeAttributesWhereUniqueInput
  }

  /**
   * ThemeAttributes findFirst
   */
  export type ThemeAttributesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter, which ThemeAttributes to fetch.
     */
    where?: ThemeAttributesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeAttributes to fetch.
     */
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ThemeAttributes.
     */
    cursor?: ThemeAttributesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeAttributes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeAttributes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ThemeAttributes.
     */
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * ThemeAttributes findFirstOrThrow
   */
  export type ThemeAttributesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter, which ThemeAttributes to fetch.
     */
    where?: ThemeAttributesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeAttributes to fetch.
     */
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ThemeAttributes.
     */
    cursor?: ThemeAttributesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeAttributes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeAttributes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ThemeAttributes.
     */
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * ThemeAttributes findMany
   */
  export type ThemeAttributesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter, which ThemeAttributes to fetch.
     */
    where?: ThemeAttributesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ThemeAttributes to fetch.
     */
    orderBy?: ThemeAttributesOrderByWithRelationInput | ThemeAttributesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ThemeAttributes.
     */
    cursor?: ThemeAttributesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ThemeAttributes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ThemeAttributes.
     */
    skip?: number
    distinct?: ThemeAttributesScalarFieldEnum | ThemeAttributesScalarFieldEnum[]
  }

  /**
   * ThemeAttributes create
   */
  export type ThemeAttributesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * The data needed to create a ThemeAttributes.
     */
    data: XOR<ThemeAttributesCreateInput, ThemeAttributesUncheckedCreateInput>
  }

  /**
   * ThemeAttributes createMany
   */
  export type ThemeAttributesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ThemeAttributes.
     */
    data: ThemeAttributesCreateManyInput | ThemeAttributesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ThemeAttributes createManyAndReturn
   */
  export type ThemeAttributesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ThemeAttributes.
     */
    data: ThemeAttributesCreateManyInput | ThemeAttributesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ThemeAttributes update
   */
  export type ThemeAttributesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * The data needed to update a ThemeAttributes.
     */
    data: XOR<ThemeAttributesUpdateInput, ThemeAttributesUncheckedUpdateInput>
    /**
     * Choose, which ThemeAttributes to update.
     */
    where: ThemeAttributesWhereUniqueInput
  }

  /**
   * ThemeAttributes updateMany
   */
  export type ThemeAttributesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ThemeAttributes.
     */
    data: XOR<ThemeAttributesUpdateManyMutationInput, ThemeAttributesUncheckedUpdateManyInput>
    /**
     * Filter which ThemeAttributes to update
     */
    where?: ThemeAttributesWhereInput
  }

  /**
   * ThemeAttributes upsert
   */
  export type ThemeAttributesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * The filter to search for the ThemeAttributes to update in case it exists.
     */
    where: ThemeAttributesWhereUniqueInput
    /**
     * In case the ThemeAttributes found by the `where` argument doesn't exist, create a new ThemeAttributes with this data.
     */
    create: XOR<ThemeAttributesCreateInput, ThemeAttributesUncheckedCreateInput>
    /**
     * In case the ThemeAttributes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ThemeAttributesUpdateInput, ThemeAttributesUncheckedUpdateInput>
  }

  /**
   * ThemeAttributes delete
   */
  export type ThemeAttributesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
    /**
     * Filter which ThemeAttributes to delete.
     */
    where: ThemeAttributesWhereUniqueInput
  }

  /**
   * ThemeAttributes deleteMany
   */
  export type ThemeAttributesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ThemeAttributes to delete
     */
    where?: ThemeAttributesWhereInput
  }

  /**
   * ThemeAttributes.CreatedThemeAttributes
   */
  export type ThemeAttributes$CreatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeAttributes.UpdatedThemeAttributes
   */
  export type ThemeAttributes$UpdatedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeAttributes.DeletedThemeAttributes
   */
  export type ThemeAttributes$DeletedThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * ThemeAttributes without action
   */
  export type ThemeAttributesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ThemeAttributes
     */
    select?: ThemeAttributesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ThemeAttributesInclude<ExtArgs> | null
  }


  /**
   * Model BarcodeTemplates
   */

  export type AggregateBarcodeTemplates = {
    _count: BarcodeTemplatesCountAggregateOutputType | null
    _avg: BarcodeTemplatesAvgAggregateOutputType | null
    _sum: BarcodeTemplatesSumAggregateOutputType | null
    _min: BarcodeTemplatesMinAggregateOutputType | null
    _max: BarcodeTemplatesMaxAggregateOutputType | null
  }

  export type BarcodeTemplatesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    page_width: number | null
    page_height: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type BarcodeTemplatesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    page_width: number | null
    page_height: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type BarcodeTemplatesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    prefix: string | null
    label_start: string | null
    label_end: string | null
    name: string | null
    page_width: number | null
    page_height: number | null
    zpl_code: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type BarcodeTemplatesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    prefix: string | null
    label_start: string | null
    label_end: string | null
    name: string | null
    page_width: number | null
    page_height: number | null
    zpl_code: string | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type BarcodeTemplatesCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    prefix: number
    label_start: number
    label_end: number
    name: number
    page_width: number
    page_height: number
    zpl_code: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type BarcodeTemplatesAvgAggregateInputType = {
    id?: true
    company_id?: true
    page_width?: true
    page_height?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type BarcodeTemplatesSumAggregateInputType = {
    id?: true
    company_id?: true
    page_width?: true
    page_height?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type BarcodeTemplatesMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    prefix?: true
    label_start?: true
    label_end?: true
    name?: true
    page_width?: true
    page_height?: true
    zpl_code?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type BarcodeTemplatesMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    prefix?: true
    label_start?: true
    label_end?: true
    name?: true
    page_width?: true
    page_height?: true
    zpl_code?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type BarcodeTemplatesCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    prefix?: true
    label_start?: true
    label_end?: true
    name?: true
    page_width?: true
    page_height?: true
    zpl_code?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type BarcodeTemplatesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which BarcodeTemplates to aggregate.
     */
    where?: BarcodeTemplatesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of BarcodeTemplates to fetch.
     */
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: BarcodeTemplatesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` BarcodeTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` BarcodeTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned BarcodeTemplates
    **/
    _count?: true | BarcodeTemplatesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: BarcodeTemplatesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: BarcodeTemplatesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: BarcodeTemplatesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: BarcodeTemplatesMaxAggregateInputType
  }

  export type GetBarcodeTemplatesAggregateType<T extends BarcodeTemplatesAggregateArgs> = {
        [P in keyof T & keyof AggregateBarcodeTemplates]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateBarcodeTemplates[P]>
      : GetScalarType<T[P], AggregateBarcodeTemplates[P]>
  }




  export type BarcodeTemplatesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: BarcodeTemplatesWhereInput
    orderBy?: BarcodeTemplatesOrderByWithAggregationInput | BarcodeTemplatesOrderByWithAggregationInput[]
    by: BarcodeTemplatesScalarFieldEnum[] | BarcodeTemplatesScalarFieldEnum
    having?: BarcodeTemplatesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: BarcodeTemplatesCountAggregateInputType | true
    _avg?: BarcodeTemplatesAvgAggregateInputType
    _sum?: BarcodeTemplatesSumAggregateInputType
    _min?: BarcodeTemplatesMinAggregateInputType
    _max?: BarcodeTemplatesMaxAggregateInputType
  }

  export type BarcodeTemplatesGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: BarcodeTemplatesCountAggregateOutputType | null
    _avg: BarcodeTemplatesAvgAggregateOutputType | null
    _sum: BarcodeTemplatesSumAggregateOutputType | null
    _min: BarcodeTemplatesMinAggregateOutputType | null
    _max: BarcodeTemplatesMaxAggregateOutputType | null
  }

  type GetBarcodeTemplatesGroupByPayload<T extends BarcodeTemplatesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<BarcodeTemplatesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof BarcodeTemplatesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], BarcodeTemplatesGroupByOutputType[P]>
            : GetScalarType<T[P], BarcodeTemplatesGroupByOutputType[P]>
        }
      >
    >


  export type BarcodeTemplatesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    prefix?: boolean
    label_start?: boolean
    label_end?: boolean
    name?: boolean
    page_width?: boolean
    page_height?: boolean
    zpl_code?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_barcode_templates?: boolean | UserDefaultArgs<ExtArgs>
    updated_barcode_templates?: boolean | BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs>
  }, ExtArgs["result"]["barcodeTemplates"]>

  export type BarcodeTemplatesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    prefix?: boolean
    label_start?: boolean
    label_end?: boolean
    name?: boolean
    page_width?: boolean
    page_height?: boolean
    zpl_code?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_barcode_templates?: boolean | UserDefaultArgs<ExtArgs>
    updated_barcode_templates?: boolean | BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs>
  }, ExtArgs["result"]["barcodeTemplates"]>

  export type BarcodeTemplatesSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    prefix?: boolean
    label_start?: boolean
    label_end?: boolean
    name?: boolean
    page_width?: boolean
    page_height?: boolean
    zpl_code?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type BarcodeTemplatesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_barcode_templates?: boolean | UserDefaultArgs<ExtArgs>
    updated_barcode_templates?: boolean | BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs>
  }
  export type BarcodeTemplatesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    created_barcode_templates?: boolean | UserDefaultArgs<ExtArgs>
    updated_barcode_templates?: boolean | BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs>
    deleted_barcode_templates?: boolean | BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs>
  }

  export type $BarcodeTemplatesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "BarcodeTemplates"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      created_barcode_templates: Prisma.$UserPayload<ExtArgs>
      updated_barcode_templates: Prisma.$UserPayload<ExtArgs> | null
      deleted_barcode_templates: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      prefix: string
      label_start: string
      label_end: string
      name: string
      page_width: number
      page_height: number
      zpl_code: string
      status_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["barcodeTemplates"]>
    composites: {}
  }

  type BarcodeTemplatesGetPayload<S extends boolean | null | undefined | BarcodeTemplatesDefaultArgs> = $Result.GetResult<Prisma.$BarcodeTemplatesPayload, S>

  type BarcodeTemplatesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<BarcodeTemplatesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: BarcodeTemplatesCountAggregateInputType | true
    }

  export interface BarcodeTemplatesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BarcodeTemplates'], meta: { name: 'BarcodeTemplates' } }
    /**
     * Find zero or one BarcodeTemplates that matches the filter.
     * @param {BarcodeTemplatesFindUniqueArgs} args - Arguments to find a BarcodeTemplates
     * @example
     * // Get one BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends BarcodeTemplatesFindUniqueArgs>(args: SelectSubset<T, BarcodeTemplatesFindUniqueArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one BarcodeTemplates that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {BarcodeTemplatesFindUniqueOrThrowArgs} args - Arguments to find a BarcodeTemplates
     * @example
     * // Get one BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends BarcodeTemplatesFindUniqueOrThrowArgs>(args: SelectSubset<T, BarcodeTemplatesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first BarcodeTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesFindFirstArgs} args - Arguments to find a BarcodeTemplates
     * @example
     * // Get one BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends BarcodeTemplatesFindFirstArgs>(args?: SelectSubset<T, BarcodeTemplatesFindFirstArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first BarcodeTemplates that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesFindFirstOrThrowArgs} args - Arguments to find a BarcodeTemplates
     * @example
     * // Get one BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends BarcodeTemplatesFindFirstOrThrowArgs>(args?: SelectSubset<T, BarcodeTemplatesFindFirstOrThrowArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more BarcodeTemplates that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findMany()
     * 
     * // Get first 10 BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const barcodeTemplatesWithIdOnly = await prisma.barcodeTemplates.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends BarcodeTemplatesFindManyArgs>(args?: SelectSubset<T, BarcodeTemplatesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a BarcodeTemplates.
     * @param {BarcodeTemplatesCreateArgs} args - Arguments to create a BarcodeTemplates.
     * @example
     * // Create one BarcodeTemplates
     * const BarcodeTemplates = await prisma.barcodeTemplates.create({
     *   data: {
     *     // ... data to create a BarcodeTemplates
     *   }
     * })
     * 
     */
    create<T extends BarcodeTemplatesCreateArgs>(args: SelectSubset<T, BarcodeTemplatesCreateArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many BarcodeTemplates.
     * @param {BarcodeTemplatesCreateManyArgs} args - Arguments to create many BarcodeTemplates.
     * @example
     * // Create many BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends BarcodeTemplatesCreateManyArgs>(args?: SelectSubset<T, BarcodeTemplatesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many BarcodeTemplates and returns the data saved in the database.
     * @param {BarcodeTemplatesCreateManyAndReturnArgs} args - Arguments to create many BarcodeTemplates.
     * @example
     * // Create many BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many BarcodeTemplates and only return the `id`
     * const barcodeTemplatesWithIdOnly = await prisma.barcodeTemplates.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends BarcodeTemplatesCreateManyAndReturnArgs>(args?: SelectSubset<T, BarcodeTemplatesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a BarcodeTemplates.
     * @param {BarcodeTemplatesDeleteArgs} args - Arguments to delete one BarcodeTemplates.
     * @example
     * // Delete one BarcodeTemplates
     * const BarcodeTemplates = await prisma.barcodeTemplates.delete({
     *   where: {
     *     // ... filter to delete one BarcodeTemplates
     *   }
     * })
     * 
     */
    delete<T extends BarcodeTemplatesDeleteArgs>(args: SelectSubset<T, BarcodeTemplatesDeleteArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one BarcodeTemplates.
     * @param {BarcodeTemplatesUpdateArgs} args - Arguments to update one BarcodeTemplates.
     * @example
     * // Update one BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends BarcodeTemplatesUpdateArgs>(args: SelectSubset<T, BarcodeTemplatesUpdateArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more BarcodeTemplates.
     * @param {BarcodeTemplatesDeleteManyArgs} args - Arguments to filter BarcodeTemplates to delete.
     * @example
     * // Delete a few BarcodeTemplates
     * const { count } = await prisma.barcodeTemplates.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends BarcodeTemplatesDeleteManyArgs>(args?: SelectSubset<T, BarcodeTemplatesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more BarcodeTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends BarcodeTemplatesUpdateManyArgs>(args: SelectSubset<T, BarcodeTemplatesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one BarcodeTemplates.
     * @param {BarcodeTemplatesUpsertArgs} args - Arguments to update or create a BarcodeTemplates.
     * @example
     * // Update or create a BarcodeTemplates
     * const barcodeTemplates = await prisma.barcodeTemplates.upsert({
     *   create: {
     *     // ... data to create a BarcodeTemplates
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the BarcodeTemplates we want to update
     *   }
     * })
     */
    upsert<T extends BarcodeTemplatesUpsertArgs>(args: SelectSubset<T, BarcodeTemplatesUpsertArgs<ExtArgs>>): Prisma__BarcodeTemplatesClient<$Result.GetResult<Prisma.$BarcodeTemplatesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of BarcodeTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesCountArgs} args - Arguments to filter BarcodeTemplates to count.
     * @example
     * // Count the number of BarcodeTemplates
     * const count = await prisma.barcodeTemplates.count({
     *   where: {
     *     // ... the filter for the BarcodeTemplates we want to count
     *   }
     * })
    **/
    count<T extends BarcodeTemplatesCountArgs>(
      args?: Subset<T, BarcodeTemplatesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], BarcodeTemplatesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a BarcodeTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends BarcodeTemplatesAggregateArgs>(args: Subset<T, BarcodeTemplatesAggregateArgs>): Prisma.PrismaPromise<GetBarcodeTemplatesAggregateType<T>>

    /**
     * Group by BarcodeTemplates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {BarcodeTemplatesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends BarcodeTemplatesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: BarcodeTemplatesGroupByArgs['orderBy'] }
        : { orderBy?: BarcodeTemplatesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, BarcodeTemplatesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBarcodeTemplatesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the BarcodeTemplates model
   */
  readonly fields: BarcodeTemplatesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for BarcodeTemplates.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__BarcodeTemplatesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    created_barcode_templates<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    updated_barcode_templates<T extends BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs> = {}>(args?: Subset<T, BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    deleted_barcode_templates<T extends BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs> = {}>(args?: Subset<T, BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the BarcodeTemplates model
   */ 
  interface BarcodeTemplatesFieldRefs {
    readonly id: FieldRef<"BarcodeTemplates", 'Int'>
    readonly uuid: FieldRef<"BarcodeTemplates", 'String'>
    readonly company_id: FieldRef<"BarcodeTemplates", 'Int'>
    readonly prefix: FieldRef<"BarcodeTemplates", 'String'>
    readonly label_start: FieldRef<"BarcodeTemplates", 'String'>
    readonly label_end: FieldRef<"BarcodeTemplates", 'String'>
    readonly name: FieldRef<"BarcodeTemplates", 'String'>
    readonly page_width: FieldRef<"BarcodeTemplates", 'Int'>
    readonly page_height: FieldRef<"BarcodeTemplates", 'Int'>
    readonly zpl_code: FieldRef<"BarcodeTemplates", 'String'>
    readonly status_id: FieldRef<"BarcodeTemplates", 'Int'>
    readonly created_by: FieldRef<"BarcodeTemplates", 'Int'>
    readonly created_at: FieldRef<"BarcodeTemplates", 'DateTime'>
    readonly updated_by: FieldRef<"BarcodeTemplates", 'Int'>
    readonly updated_at: FieldRef<"BarcodeTemplates", 'DateTime'>
    readonly deleted_by: FieldRef<"BarcodeTemplates", 'Int'>
    readonly deleted_at: FieldRef<"BarcodeTemplates", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * BarcodeTemplates findUnique
   */
  export type BarcodeTemplatesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter, which BarcodeTemplates to fetch.
     */
    where: BarcodeTemplatesWhereUniqueInput
  }

  /**
   * BarcodeTemplates findUniqueOrThrow
   */
  export type BarcodeTemplatesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter, which BarcodeTemplates to fetch.
     */
    where: BarcodeTemplatesWhereUniqueInput
  }

  /**
   * BarcodeTemplates findFirst
   */
  export type BarcodeTemplatesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter, which BarcodeTemplates to fetch.
     */
    where?: BarcodeTemplatesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of BarcodeTemplates to fetch.
     */
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for BarcodeTemplates.
     */
    cursor?: BarcodeTemplatesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` BarcodeTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` BarcodeTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of BarcodeTemplates.
     */
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * BarcodeTemplates findFirstOrThrow
   */
  export type BarcodeTemplatesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter, which BarcodeTemplates to fetch.
     */
    where?: BarcodeTemplatesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of BarcodeTemplates to fetch.
     */
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for BarcodeTemplates.
     */
    cursor?: BarcodeTemplatesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` BarcodeTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` BarcodeTemplates.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of BarcodeTemplates.
     */
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * BarcodeTemplates findMany
   */
  export type BarcodeTemplatesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter, which BarcodeTemplates to fetch.
     */
    where?: BarcodeTemplatesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of BarcodeTemplates to fetch.
     */
    orderBy?: BarcodeTemplatesOrderByWithRelationInput | BarcodeTemplatesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing BarcodeTemplates.
     */
    cursor?: BarcodeTemplatesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` BarcodeTemplates from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` BarcodeTemplates.
     */
    skip?: number
    distinct?: BarcodeTemplatesScalarFieldEnum | BarcodeTemplatesScalarFieldEnum[]
  }

  /**
   * BarcodeTemplates create
   */
  export type BarcodeTemplatesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * The data needed to create a BarcodeTemplates.
     */
    data: XOR<BarcodeTemplatesCreateInput, BarcodeTemplatesUncheckedCreateInput>
  }

  /**
   * BarcodeTemplates createMany
   */
  export type BarcodeTemplatesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many BarcodeTemplates.
     */
    data: BarcodeTemplatesCreateManyInput | BarcodeTemplatesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * BarcodeTemplates createManyAndReturn
   */
  export type BarcodeTemplatesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many BarcodeTemplates.
     */
    data: BarcodeTemplatesCreateManyInput | BarcodeTemplatesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * BarcodeTemplates update
   */
  export type BarcodeTemplatesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * The data needed to update a BarcodeTemplates.
     */
    data: XOR<BarcodeTemplatesUpdateInput, BarcodeTemplatesUncheckedUpdateInput>
    /**
     * Choose, which BarcodeTemplates to update.
     */
    where: BarcodeTemplatesWhereUniqueInput
  }

  /**
   * BarcodeTemplates updateMany
   */
  export type BarcodeTemplatesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update BarcodeTemplates.
     */
    data: XOR<BarcodeTemplatesUpdateManyMutationInput, BarcodeTemplatesUncheckedUpdateManyInput>
    /**
     * Filter which BarcodeTemplates to update
     */
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * BarcodeTemplates upsert
   */
  export type BarcodeTemplatesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * The filter to search for the BarcodeTemplates to update in case it exists.
     */
    where: BarcodeTemplatesWhereUniqueInput
    /**
     * In case the BarcodeTemplates found by the `where` argument doesn't exist, create a new BarcodeTemplates with this data.
     */
    create: XOR<BarcodeTemplatesCreateInput, BarcodeTemplatesUncheckedCreateInput>
    /**
     * In case the BarcodeTemplates was found with the provided `where` argument, update it with this data.
     */
    update: XOR<BarcodeTemplatesUpdateInput, BarcodeTemplatesUncheckedUpdateInput>
  }

  /**
   * BarcodeTemplates delete
   */
  export type BarcodeTemplatesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
    /**
     * Filter which BarcodeTemplates to delete.
     */
    where: BarcodeTemplatesWhereUniqueInput
  }

  /**
   * BarcodeTemplates deleteMany
   */
  export type BarcodeTemplatesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which BarcodeTemplates to delete
     */
    where?: BarcodeTemplatesWhereInput
  }

  /**
   * BarcodeTemplates.updated_barcode_templates
   */
  export type BarcodeTemplates$updated_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * BarcodeTemplates.deleted_barcode_templates
   */
  export type BarcodeTemplates$deleted_barcode_templatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * BarcodeTemplates without action
   */
  export type BarcodeTemplatesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the BarcodeTemplates
     */
    select?: BarcodeTemplatesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: BarcodeTemplatesInclude<ExtArgs> | null
  }


  /**
   * Model UserLoginHistory
   */

  export type AggregateUserLoginHistory = {
    _count: UserLoginHistoryCountAggregateOutputType | null
    _avg: UserLoginHistoryAvgAggregateOutputType | null
    _sum: UserLoginHistorySumAggregateOutputType | null
    _min: UserLoginHistoryMinAggregateOutputType | null
    _max: UserLoginHistoryMaxAggregateOutputType | null
  }

  export type UserLoginHistoryAvgAggregateOutputType = {
    id: number | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type UserLoginHistorySumAggregateOutputType = {
    id: number | null
    user_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    company_id: number | null
  }

  export type UserLoginHistoryMinAggregateOutputType = {
    id: number | null
    user_id: number | null
    session_id: string | null
    login_time: Date | null
    logout_time: Date | null
    ip_address: string | null
    user_agent: string | null
    login_status: $Enums.LoginStatus | null
    status_id: number | null
    failure_reason: string | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    company_id: number | null
    device_id: string | null
  }

  export type UserLoginHistoryMaxAggregateOutputType = {
    id: number | null
    user_id: number | null
    session_id: string | null
    login_time: Date | null
    logout_time: Date | null
    ip_address: string | null
    user_agent: string | null
    login_status: $Enums.LoginStatus | null
    status_id: number | null
    failure_reason: string | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
    company_id: number | null
    device_id: string | null
  }

  export type UserLoginHistoryCountAggregateOutputType = {
    id: number
    user_id: number
    session_id: number
    login_time: number
    logout_time: number
    ip_address: number
    user_agent: number
    login_status: number
    status_id: number
    failure_reason: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    company_id: number
    device_id: number
    _all: number
  }


  export type UserLoginHistoryAvgAggregateInputType = {
    id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type UserLoginHistorySumAggregateInputType = {
    id?: true
    user_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    company_id?: true
  }

  export type UserLoginHistoryMinAggregateInputType = {
    id?: true
    user_id?: true
    session_id?: true
    login_time?: true
    logout_time?: true
    ip_address?: true
    user_agent?: true
    login_status?: true
    status_id?: true
    failure_reason?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    company_id?: true
    device_id?: true
  }

  export type UserLoginHistoryMaxAggregateInputType = {
    id?: true
    user_id?: true
    session_id?: true
    login_time?: true
    logout_time?: true
    ip_address?: true
    user_agent?: true
    login_status?: true
    status_id?: true
    failure_reason?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    company_id?: true
    device_id?: true
  }

  export type UserLoginHistoryCountAggregateInputType = {
    id?: true
    user_id?: true
    session_id?: true
    login_time?: true
    logout_time?: true
    ip_address?: true
    user_agent?: true
    login_status?: true
    status_id?: true
    failure_reason?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    company_id?: true
    device_id?: true
    _all?: true
  }

  export type UserLoginHistoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserLoginHistory to aggregate.
     */
    where?: UserLoginHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserLoginHistories to fetch.
     */
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: UserLoginHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserLoginHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserLoginHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned UserLoginHistories
    **/
    _count?: true | UserLoginHistoryCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: UserLoginHistoryAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: UserLoginHistorySumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: UserLoginHistoryMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: UserLoginHistoryMaxAggregateInputType
  }

  export type GetUserLoginHistoryAggregateType<T extends UserLoginHistoryAggregateArgs> = {
        [P in keyof T & keyof AggregateUserLoginHistory]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateUserLoginHistory[P]>
      : GetScalarType<T[P], AggregateUserLoginHistory[P]>
  }




  export type UserLoginHistoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: UserLoginHistoryWhereInput
    orderBy?: UserLoginHistoryOrderByWithAggregationInput | UserLoginHistoryOrderByWithAggregationInput[]
    by: UserLoginHistoryScalarFieldEnum[] | UserLoginHistoryScalarFieldEnum
    having?: UserLoginHistoryScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: UserLoginHistoryCountAggregateInputType | true
    _avg?: UserLoginHistoryAvgAggregateInputType
    _sum?: UserLoginHistorySumAggregateInputType
    _min?: UserLoginHistoryMinAggregateInputType
    _max?: UserLoginHistoryMaxAggregateInputType
  }

  export type UserLoginHistoryGroupByOutputType = {
    id: number
    user_id: number
    session_id: string | null
    login_time: Date
    logout_time: Date | null
    ip_address: string | null
    user_agent: string | null
    login_status: $Enums.LoginStatus
    status_id: number
    failure_reason: string | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    company_id: number
    device_id: string | null
    _count: UserLoginHistoryCountAggregateOutputType | null
    _avg: UserLoginHistoryAvgAggregateOutputType | null
    _sum: UserLoginHistorySumAggregateOutputType | null
    _min: UserLoginHistoryMinAggregateOutputType | null
    _max: UserLoginHistoryMaxAggregateOutputType | null
  }

  type GetUserLoginHistoryGroupByPayload<T extends UserLoginHistoryGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<UserLoginHistoryGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof UserLoginHistoryGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], UserLoginHistoryGroupByOutputType[P]>
            : GetScalarType<T[P], UserLoginHistoryGroupByOutputType[P]>
        }
      >
    >


  export type UserLoginHistorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    session_id?: boolean
    login_time?: boolean
    logout_time?: boolean
    ip_address?: boolean
    user_agent?: boolean
    login_status?: boolean
    status_id?: boolean
    failure_reason?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    company_id?: boolean
    device_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userLoginHistory"]>

  export type UserLoginHistorySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    user_id?: boolean
    session_id?: boolean
    login_time?: boolean
    logout_time?: boolean
    ip_address?: boolean
    user_agent?: boolean
    login_status?: boolean
    status_id?: boolean
    failure_reason?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    company_id?: boolean
    device_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["userLoginHistory"]>

  export type UserLoginHistorySelectScalar = {
    id?: boolean
    user_id?: boolean
    session_id?: boolean
    login_time?: boolean
    logout_time?: boolean
    ip_address?: boolean
    user_agent?: boolean
    login_status?: boolean
    status_id?: boolean
    failure_reason?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    company_id?: boolean
    device_id?: boolean
  }

  export type UserLoginHistoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type UserLoginHistoryIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $UserLoginHistoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "UserLoginHistory"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      user_id: number
      session_id: string | null
      login_time: Date
      logout_time: Date | null
      ip_address: string | null
      user_agent: string | null
      login_status: $Enums.LoginStatus
      status_id: number
      failure_reason: string | null
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
      company_id: number
      device_id: string | null
    }, ExtArgs["result"]["userLoginHistory"]>
    composites: {}
  }

  type UserLoginHistoryGetPayload<S extends boolean | null | undefined | UserLoginHistoryDefaultArgs> = $Result.GetResult<Prisma.$UserLoginHistoryPayload, S>

  type UserLoginHistoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<UserLoginHistoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: UserLoginHistoryCountAggregateInputType | true
    }

  export interface UserLoginHistoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserLoginHistory'], meta: { name: 'UserLoginHistory' } }
    /**
     * Find zero or one UserLoginHistory that matches the filter.
     * @param {UserLoginHistoryFindUniqueArgs} args - Arguments to find a UserLoginHistory
     * @example
     * // Get one UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends UserLoginHistoryFindUniqueArgs>(args: SelectSubset<T, UserLoginHistoryFindUniqueArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one UserLoginHistory that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {UserLoginHistoryFindUniqueOrThrowArgs} args - Arguments to find a UserLoginHistory
     * @example
     * // Get one UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends UserLoginHistoryFindUniqueOrThrowArgs>(args: SelectSubset<T, UserLoginHistoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first UserLoginHistory that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryFindFirstArgs} args - Arguments to find a UserLoginHistory
     * @example
     * // Get one UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends UserLoginHistoryFindFirstArgs>(args?: SelectSubset<T, UserLoginHistoryFindFirstArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first UserLoginHistory that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryFindFirstOrThrowArgs} args - Arguments to find a UserLoginHistory
     * @example
     * // Get one UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends UserLoginHistoryFindFirstOrThrowArgs>(args?: SelectSubset<T, UserLoginHistoryFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more UserLoginHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all UserLoginHistories
     * const userLoginHistories = await prisma.userLoginHistory.findMany()
     * 
     * // Get first 10 UserLoginHistories
     * const userLoginHistories = await prisma.userLoginHistory.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const userLoginHistoryWithIdOnly = await prisma.userLoginHistory.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends UserLoginHistoryFindManyArgs>(args?: SelectSubset<T, UserLoginHistoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a UserLoginHistory.
     * @param {UserLoginHistoryCreateArgs} args - Arguments to create a UserLoginHistory.
     * @example
     * // Create one UserLoginHistory
     * const UserLoginHistory = await prisma.userLoginHistory.create({
     *   data: {
     *     // ... data to create a UserLoginHistory
     *   }
     * })
     * 
     */
    create<T extends UserLoginHistoryCreateArgs>(args: SelectSubset<T, UserLoginHistoryCreateArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many UserLoginHistories.
     * @param {UserLoginHistoryCreateManyArgs} args - Arguments to create many UserLoginHistories.
     * @example
     * // Create many UserLoginHistories
     * const userLoginHistory = await prisma.userLoginHistory.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends UserLoginHistoryCreateManyArgs>(args?: SelectSubset<T, UserLoginHistoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many UserLoginHistories and returns the data saved in the database.
     * @param {UserLoginHistoryCreateManyAndReturnArgs} args - Arguments to create many UserLoginHistories.
     * @example
     * // Create many UserLoginHistories
     * const userLoginHistory = await prisma.userLoginHistory.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many UserLoginHistories and only return the `id`
     * const userLoginHistoryWithIdOnly = await prisma.userLoginHistory.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends UserLoginHistoryCreateManyAndReturnArgs>(args?: SelectSubset<T, UserLoginHistoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a UserLoginHistory.
     * @param {UserLoginHistoryDeleteArgs} args - Arguments to delete one UserLoginHistory.
     * @example
     * // Delete one UserLoginHistory
     * const UserLoginHistory = await prisma.userLoginHistory.delete({
     *   where: {
     *     // ... filter to delete one UserLoginHistory
     *   }
     * })
     * 
     */
    delete<T extends UserLoginHistoryDeleteArgs>(args: SelectSubset<T, UserLoginHistoryDeleteArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one UserLoginHistory.
     * @param {UserLoginHistoryUpdateArgs} args - Arguments to update one UserLoginHistory.
     * @example
     * // Update one UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends UserLoginHistoryUpdateArgs>(args: SelectSubset<T, UserLoginHistoryUpdateArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more UserLoginHistories.
     * @param {UserLoginHistoryDeleteManyArgs} args - Arguments to filter UserLoginHistories to delete.
     * @example
     * // Delete a few UserLoginHistories
     * const { count } = await prisma.userLoginHistory.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends UserLoginHistoryDeleteManyArgs>(args?: SelectSubset<T, UserLoginHistoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more UserLoginHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many UserLoginHistories
     * const userLoginHistory = await prisma.userLoginHistory.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends UserLoginHistoryUpdateManyArgs>(args: SelectSubset<T, UserLoginHistoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one UserLoginHistory.
     * @param {UserLoginHistoryUpsertArgs} args - Arguments to update or create a UserLoginHistory.
     * @example
     * // Update or create a UserLoginHistory
     * const userLoginHistory = await prisma.userLoginHistory.upsert({
     *   create: {
     *     // ... data to create a UserLoginHistory
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the UserLoginHistory we want to update
     *   }
     * })
     */
    upsert<T extends UserLoginHistoryUpsertArgs>(args: SelectSubset<T, UserLoginHistoryUpsertArgs<ExtArgs>>): Prisma__UserLoginHistoryClient<$Result.GetResult<Prisma.$UserLoginHistoryPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of UserLoginHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryCountArgs} args - Arguments to filter UserLoginHistories to count.
     * @example
     * // Count the number of UserLoginHistories
     * const count = await prisma.userLoginHistory.count({
     *   where: {
     *     // ... the filter for the UserLoginHistories we want to count
     *   }
     * })
    **/
    count<T extends UserLoginHistoryCountArgs>(
      args?: Subset<T, UserLoginHistoryCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], UserLoginHistoryCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a UserLoginHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends UserLoginHistoryAggregateArgs>(args: Subset<T, UserLoginHistoryAggregateArgs>): Prisma.PrismaPromise<GetUserLoginHistoryAggregateType<T>>

    /**
     * Group by UserLoginHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {UserLoginHistoryGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends UserLoginHistoryGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: UserLoginHistoryGroupByArgs['orderBy'] }
        : { orderBy?: UserLoginHistoryGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, UserLoginHistoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserLoginHistoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the UserLoginHistory model
   */
  readonly fields: UserLoginHistoryFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for UserLoginHistory.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__UserLoginHistoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the UserLoginHistory model
   */ 
  interface UserLoginHistoryFieldRefs {
    readonly id: FieldRef<"UserLoginHistory", 'Int'>
    readonly user_id: FieldRef<"UserLoginHistory", 'Int'>
    readonly session_id: FieldRef<"UserLoginHistory", 'String'>
    readonly login_time: FieldRef<"UserLoginHistory", 'DateTime'>
    readonly logout_time: FieldRef<"UserLoginHistory", 'DateTime'>
    readonly ip_address: FieldRef<"UserLoginHistory", 'String'>
    readonly user_agent: FieldRef<"UserLoginHistory", 'String'>
    readonly login_status: FieldRef<"UserLoginHistory", 'LoginStatus'>
    readonly status_id: FieldRef<"UserLoginHistory", 'Int'>
    readonly failure_reason: FieldRef<"UserLoginHistory", 'String'>
    readonly created_by: FieldRef<"UserLoginHistory", 'Int'>
    readonly updated_by: FieldRef<"UserLoginHistory", 'Int'>
    readonly deleted_by: FieldRef<"UserLoginHistory", 'Int'>
    readonly created_at: FieldRef<"UserLoginHistory", 'DateTime'>
    readonly updated_at: FieldRef<"UserLoginHistory", 'DateTime'>
    readonly deleted_at: FieldRef<"UserLoginHistory", 'DateTime'>
    readonly company_id: FieldRef<"UserLoginHistory", 'Int'>
    readonly device_id: FieldRef<"UserLoginHistory", 'String'>
  }
    

  // Custom InputTypes
  /**
   * UserLoginHistory findUnique
   */
  export type UserLoginHistoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter, which UserLoginHistory to fetch.
     */
    where: UserLoginHistoryWhereUniqueInput
  }

  /**
   * UserLoginHistory findUniqueOrThrow
   */
  export type UserLoginHistoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter, which UserLoginHistory to fetch.
     */
    where: UserLoginHistoryWhereUniqueInput
  }

  /**
   * UserLoginHistory findFirst
   */
  export type UserLoginHistoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter, which UserLoginHistory to fetch.
     */
    where?: UserLoginHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserLoginHistories to fetch.
     */
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserLoginHistories.
     */
    cursor?: UserLoginHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserLoginHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserLoginHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserLoginHistories.
     */
    distinct?: UserLoginHistoryScalarFieldEnum | UserLoginHistoryScalarFieldEnum[]
  }

  /**
   * UserLoginHistory findFirstOrThrow
   */
  export type UserLoginHistoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter, which UserLoginHistory to fetch.
     */
    where?: UserLoginHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserLoginHistories to fetch.
     */
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for UserLoginHistories.
     */
    cursor?: UserLoginHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserLoginHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserLoginHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of UserLoginHistories.
     */
    distinct?: UserLoginHistoryScalarFieldEnum | UserLoginHistoryScalarFieldEnum[]
  }

  /**
   * UserLoginHistory findMany
   */
  export type UserLoginHistoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter, which UserLoginHistories to fetch.
     */
    where?: UserLoginHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of UserLoginHistories to fetch.
     */
    orderBy?: UserLoginHistoryOrderByWithRelationInput | UserLoginHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing UserLoginHistories.
     */
    cursor?: UserLoginHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` UserLoginHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` UserLoginHistories.
     */
    skip?: number
    distinct?: UserLoginHistoryScalarFieldEnum | UserLoginHistoryScalarFieldEnum[]
  }

  /**
   * UserLoginHistory create
   */
  export type UserLoginHistoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * The data needed to create a UserLoginHistory.
     */
    data: XOR<UserLoginHistoryCreateInput, UserLoginHistoryUncheckedCreateInput>
  }

  /**
   * UserLoginHistory createMany
   */
  export type UserLoginHistoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many UserLoginHistories.
     */
    data: UserLoginHistoryCreateManyInput | UserLoginHistoryCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * UserLoginHistory createManyAndReturn
   */
  export type UserLoginHistoryCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many UserLoginHistories.
     */
    data: UserLoginHistoryCreateManyInput | UserLoginHistoryCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * UserLoginHistory update
   */
  export type UserLoginHistoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * The data needed to update a UserLoginHistory.
     */
    data: XOR<UserLoginHistoryUpdateInput, UserLoginHistoryUncheckedUpdateInput>
    /**
     * Choose, which UserLoginHistory to update.
     */
    where: UserLoginHistoryWhereUniqueInput
  }

  /**
   * UserLoginHistory updateMany
   */
  export type UserLoginHistoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update UserLoginHistories.
     */
    data: XOR<UserLoginHistoryUpdateManyMutationInput, UserLoginHistoryUncheckedUpdateManyInput>
    /**
     * Filter which UserLoginHistories to update
     */
    where?: UserLoginHistoryWhereInput
  }

  /**
   * UserLoginHistory upsert
   */
  export type UserLoginHistoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * The filter to search for the UserLoginHistory to update in case it exists.
     */
    where: UserLoginHistoryWhereUniqueInput
    /**
     * In case the UserLoginHistory found by the `where` argument doesn't exist, create a new UserLoginHistory with this data.
     */
    create: XOR<UserLoginHistoryCreateInput, UserLoginHistoryUncheckedCreateInput>
    /**
     * In case the UserLoginHistory was found with the provided `where` argument, update it with this data.
     */
    update: XOR<UserLoginHistoryUpdateInput, UserLoginHistoryUncheckedUpdateInput>
  }

  /**
   * UserLoginHistory delete
   */
  export type UserLoginHistoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
    /**
     * Filter which UserLoginHistory to delete.
     */
    where: UserLoginHistoryWhereUniqueInput
  }

  /**
   * UserLoginHistory deleteMany
   */
  export type UserLoginHistoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which UserLoginHistories to delete
     */
    where?: UserLoginHistoryWhereInput
  }

  /**
   * UserLoginHistory without action
   */
  export type UserLoginHistoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the UserLoginHistory
     */
    select?: UserLoginHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserLoginHistoryInclude<ExtArgs> | null
  }


  /**
   * Model PhoneCountryCodes
   */

  export type AggregatePhoneCountryCodes = {
    _count: PhoneCountryCodesCountAggregateOutputType | null
    _avg: PhoneCountryCodesAvgAggregateOutputType | null
    _sum: PhoneCountryCodesSumAggregateOutputType | null
    _min: PhoneCountryCodesMinAggregateOutputType | null
    _max: PhoneCountryCodesMaxAggregateOutputType | null
  }

  export type PhoneCountryCodesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type PhoneCountryCodesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type PhoneCountryCodesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    country_code: string | null
    iso_code: string | null
    country_name: string | null
    company_id: number | null
    status_id: number | null
  }

  export type PhoneCountryCodesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    country_code: string | null
    iso_code: string | null
    country_name: string | null
    company_id: number | null
    status_id: number | null
  }

  export type PhoneCountryCodesCountAggregateOutputType = {
    id: number
    uuid: number
    country_code: number
    iso_code: number
    country_name: number
    company_id: number
    status_id: number
    _all: number
  }


  export type PhoneCountryCodesAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type PhoneCountryCodesSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type PhoneCountryCodesMinAggregateInputType = {
    id?: true
    uuid?: true
    country_code?: true
    iso_code?: true
    country_name?: true
    company_id?: true
    status_id?: true
  }

  export type PhoneCountryCodesMaxAggregateInputType = {
    id?: true
    uuid?: true
    country_code?: true
    iso_code?: true
    country_name?: true
    company_id?: true
    status_id?: true
  }

  export type PhoneCountryCodesCountAggregateInputType = {
    id?: true
    uuid?: true
    country_code?: true
    iso_code?: true
    country_name?: true
    company_id?: true
    status_id?: true
    _all?: true
  }

  export type PhoneCountryCodesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which PhoneCountryCodes to aggregate.
     */
    where?: PhoneCountryCodesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PhoneCountryCodes to fetch.
     */
    orderBy?: PhoneCountryCodesOrderByWithRelationInput | PhoneCountryCodesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: PhoneCountryCodesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PhoneCountryCodes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PhoneCountryCodes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned PhoneCountryCodes
    **/
    _count?: true | PhoneCountryCodesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: PhoneCountryCodesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: PhoneCountryCodesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: PhoneCountryCodesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: PhoneCountryCodesMaxAggregateInputType
  }

  export type GetPhoneCountryCodesAggregateType<T extends PhoneCountryCodesAggregateArgs> = {
        [P in keyof T & keyof AggregatePhoneCountryCodes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregatePhoneCountryCodes[P]>
      : GetScalarType<T[P], AggregatePhoneCountryCodes[P]>
  }




  export type PhoneCountryCodesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PhoneCountryCodesWhereInput
    orderBy?: PhoneCountryCodesOrderByWithAggregationInput | PhoneCountryCodesOrderByWithAggregationInput[]
    by: PhoneCountryCodesScalarFieldEnum[] | PhoneCountryCodesScalarFieldEnum
    having?: PhoneCountryCodesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: PhoneCountryCodesCountAggregateInputType | true
    _avg?: PhoneCountryCodesAvgAggregateInputType
    _sum?: PhoneCountryCodesSumAggregateInputType
    _min?: PhoneCountryCodesMinAggregateInputType
    _max?: PhoneCountryCodesMaxAggregateInputType
  }

  export type PhoneCountryCodesGroupByOutputType = {
    id: number
    uuid: string
    country_code: string
    iso_code: string
    country_name: string
    company_id: number
    status_id: number
    _count: PhoneCountryCodesCountAggregateOutputType | null
    _avg: PhoneCountryCodesAvgAggregateOutputType | null
    _sum: PhoneCountryCodesSumAggregateOutputType | null
    _min: PhoneCountryCodesMinAggregateOutputType | null
    _max: PhoneCountryCodesMaxAggregateOutputType | null
  }

  type GetPhoneCountryCodesGroupByPayload<T extends PhoneCountryCodesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<PhoneCountryCodesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof PhoneCountryCodesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], PhoneCountryCodesGroupByOutputType[P]>
            : GetScalarType<T[P], PhoneCountryCodesGroupByOutputType[P]>
        }
      >
    >


  export type PhoneCountryCodesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    country_code?: boolean
    iso_code?: boolean
    country_name?: boolean
    company_id?: boolean
    status_id?: boolean
  }, ExtArgs["result"]["phoneCountryCodes"]>

  export type PhoneCountryCodesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    country_code?: boolean
    iso_code?: boolean
    country_name?: boolean
    company_id?: boolean
    status_id?: boolean
  }, ExtArgs["result"]["phoneCountryCodes"]>

  export type PhoneCountryCodesSelectScalar = {
    id?: boolean
    uuid?: boolean
    country_code?: boolean
    iso_code?: boolean
    country_name?: boolean
    company_id?: boolean
    status_id?: boolean
  }


  export type $PhoneCountryCodesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "PhoneCountryCodes"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      country_code: string
      iso_code: string
      country_name: string
      company_id: number
      status_id: number
    }, ExtArgs["result"]["phoneCountryCodes"]>
    composites: {}
  }

  type PhoneCountryCodesGetPayload<S extends boolean | null | undefined | PhoneCountryCodesDefaultArgs> = $Result.GetResult<Prisma.$PhoneCountryCodesPayload, S>

  type PhoneCountryCodesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<PhoneCountryCodesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: PhoneCountryCodesCountAggregateInputType | true
    }

  export interface PhoneCountryCodesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PhoneCountryCodes'], meta: { name: 'PhoneCountryCodes' } }
    /**
     * Find zero or one PhoneCountryCodes that matches the filter.
     * @param {PhoneCountryCodesFindUniqueArgs} args - Arguments to find a PhoneCountryCodes
     * @example
     * // Get one PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends PhoneCountryCodesFindUniqueArgs>(args: SelectSubset<T, PhoneCountryCodesFindUniqueArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one PhoneCountryCodes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {PhoneCountryCodesFindUniqueOrThrowArgs} args - Arguments to find a PhoneCountryCodes
     * @example
     * // Get one PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends PhoneCountryCodesFindUniqueOrThrowArgs>(args: SelectSubset<T, PhoneCountryCodesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first PhoneCountryCodes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesFindFirstArgs} args - Arguments to find a PhoneCountryCodes
     * @example
     * // Get one PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends PhoneCountryCodesFindFirstArgs>(args?: SelectSubset<T, PhoneCountryCodesFindFirstArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first PhoneCountryCodes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesFindFirstOrThrowArgs} args - Arguments to find a PhoneCountryCodes
     * @example
     * // Get one PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends PhoneCountryCodesFindFirstOrThrowArgs>(args?: SelectSubset<T, PhoneCountryCodesFindFirstOrThrowArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more PhoneCountryCodes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findMany()
     * 
     * // Get first 10 PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const phoneCountryCodesWithIdOnly = await prisma.phoneCountryCodes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends PhoneCountryCodesFindManyArgs>(args?: SelectSubset<T, PhoneCountryCodesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a PhoneCountryCodes.
     * @param {PhoneCountryCodesCreateArgs} args - Arguments to create a PhoneCountryCodes.
     * @example
     * // Create one PhoneCountryCodes
     * const PhoneCountryCodes = await prisma.phoneCountryCodes.create({
     *   data: {
     *     // ... data to create a PhoneCountryCodes
     *   }
     * })
     * 
     */
    create<T extends PhoneCountryCodesCreateArgs>(args: SelectSubset<T, PhoneCountryCodesCreateArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many PhoneCountryCodes.
     * @param {PhoneCountryCodesCreateManyArgs} args - Arguments to create many PhoneCountryCodes.
     * @example
     * // Create many PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends PhoneCountryCodesCreateManyArgs>(args?: SelectSubset<T, PhoneCountryCodesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many PhoneCountryCodes and returns the data saved in the database.
     * @param {PhoneCountryCodesCreateManyAndReturnArgs} args - Arguments to create many PhoneCountryCodes.
     * @example
     * // Create many PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many PhoneCountryCodes and only return the `id`
     * const phoneCountryCodesWithIdOnly = await prisma.phoneCountryCodes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends PhoneCountryCodesCreateManyAndReturnArgs>(args?: SelectSubset<T, PhoneCountryCodesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a PhoneCountryCodes.
     * @param {PhoneCountryCodesDeleteArgs} args - Arguments to delete one PhoneCountryCodes.
     * @example
     * // Delete one PhoneCountryCodes
     * const PhoneCountryCodes = await prisma.phoneCountryCodes.delete({
     *   where: {
     *     // ... filter to delete one PhoneCountryCodes
     *   }
     * })
     * 
     */
    delete<T extends PhoneCountryCodesDeleteArgs>(args: SelectSubset<T, PhoneCountryCodesDeleteArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one PhoneCountryCodes.
     * @param {PhoneCountryCodesUpdateArgs} args - Arguments to update one PhoneCountryCodes.
     * @example
     * // Update one PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends PhoneCountryCodesUpdateArgs>(args: SelectSubset<T, PhoneCountryCodesUpdateArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more PhoneCountryCodes.
     * @param {PhoneCountryCodesDeleteManyArgs} args - Arguments to filter PhoneCountryCodes to delete.
     * @example
     * // Delete a few PhoneCountryCodes
     * const { count } = await prisma.phoneCountryCodes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends PhoneCountryCodesDeleteManyArgs>(args?: SelectSubset<T, PhoneCountryCodesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more PhoneCountryCodes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends PhoneCountryCodesUpdateManyArgs>(args: SelectSubset<T, PhoneCountryCodesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one PhoneCountryCodes.
     * @param {PhoneCountryCodesUpsertArgs} args - Arguments to update or create a PhoneCountryCodes.
     * @example
     * // Update or create a PhoneCountryCodes
     * const phoneCountryCodes = await prisma.phoneCountryCodes.upsert({
     *   create: {
     *     // ... data to create a PhoneCountryCodes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the PhoneCountryCodes we want to update
     *   }
     * })
     */
    upsert<T extends PhoneCountryCodesUpsertArgs>(args: SelectSubset<T, PhoneCountryCodesUpsertArgs<ExtArgs>>): Prisma__PhoneCountryCodesClient<$Result.GetResult<Prisma.$PhoneCountryCodesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of PhoneCountryCodes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesCountArgs} args - Arguments to filter PhoneCountryCodes to count.
     * @example
     * // Count the number of PhoneCountryCodes
     * const count = await prisma.phoneCountryCodes.count({
     *   where: {
     *     // ... the filter for the PhoneCountryCodes we want to count
     *   }
     * })
    **/
    count<T extends PhoneCountryCodesCountArgs>(
      args?: Subset<T, PhoneCountryCodesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], PhoneCountryCodesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a PhoneCountryCodes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends PhoneCountryCodesAggregateArgs>(args: Subset<T, PhoneCountryCodesAggregateArgs>): Prisma.PrismaPromise<GetPhoneCountryCodesAggregateType<T>>

    /**
     * Group by PhoneCountryCodes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PhoneCountryCodesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends PhoneCountryCodesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: PhoneCountryCodesGroupByArgs['orderBy'] }
        : { orderBy?: PhoneCountryCodesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, PhoneCountryCodesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPhoneCountryCodesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the PhoneCountryCodes model
   */
  readonly fields: PhoneCountryCodesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for PhoneCountryCodes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__PhoneCountryCodesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the PhoneCountryCodes model
   */ 
  interface PhoneCountryCodesFieldRefs {
    readonly id: FieldRef<"PhoneCountryCodes", 'Int'>
    readonly uuid: FieldRef<"PhoneCountryCodes", 'String'>
    readonly country_code: FieldRef<"PhoneCountryCodes", 'String'>
    readonly iso_code: FieldRef<"PhoneCountryCodes", 'String'>
    readonly country_name: FieldRef<"PhoneCountryCodes", 'String'>
    readonly company_id: FieldRef<"PhoneCountryCodes", 'Int'>
    readonly status_id: FieldRef<"PhoneCountryCodes", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * PhoneCountryCodes findUnique
   */
  export type PhoneCountryCodesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter, which PhoneCountryCodes to fetch.
     */
    where: PhoneCountryCodesWhereUniqueInput
  }

  /**
   * PhoneCountryCodes findUniqueOrThrow
   */
  export type PhoneCountryCodesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter, which PhoneCountryCodes to fetch.
     */
    where: PhoneCountryCodesWhereUniqueInput
  }

  /**
   * PhoneCountryCodes findFirst
   */
  export type PhoneCountryCodesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter, which PhoneCountryCodes to fetch.
     */
    where?: PhoneCountryCodesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PhoneCountryCodes to fetch.
     */
    orderBy?: PhoneCountryCodesOrderByWithRelationInput | PhoneCountryCodesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for PhoneCountryCodes.
     */
    cursor?: PhoneCountryCodesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PhoneCountryCodes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PhoneCountryCodes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of PhoneCountryCodes.
     */
    distinct?: PhoneCountryCodesScalarFieldEnum | PhoneCountryCodesScalarFieldEnum[]
  }

  /**
   * PhoneCountryCodes findFirstOrThrow
   */
  export type PhoneCountryCodesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter, which PhoneCountryCodes to fetch.
     */
    where?: PhoneCountryCodesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PhoneCountryCodes to fetch.
     */
    orderBy?: PhoneCountryCodesOrderByWithRelationInput | PhoneCountryCodesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for PhoneCountryCodes.
     */
    cursor?: PhoneCountryCodesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PhoneCountryCodes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PhoneCountryCodes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of PhoneCountryCodes.
     */
    distinct?: PhoneCountryCodesScalarFieldEnum | PhoneCountryCodesScalarFieldEnum[]
  }

  /**
   * PhoneCountryCodes findMany
   */
  export type PhoneCountryCodesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter, which PhoneCountryCodes to fetch.
     */
    where?: PhoneCountryCodesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PhoneCountryCodes to fetch.
     */
    orderBy?: PhoneCountryCodesOrderByWithRelationInput | PhoneCountryCodesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing PhoneCountryCodes.
     */
    cursor?: PhoneCountryCodesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PhoneCountryCodes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PhoneCountryCodes.
     */
    skip?: number
    distinct?: PhoneCountryCodesScalarFieldEnum | PhoneCountryCodesScalarFieldEnum[]
  }

  /**
   * PhoneCountryCodes create
   */
  export type PhoneCountryCodesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * The data needed to create a PhoneCountryCodes.
     */
    data: XOR<PhoneCountryCodesCreateInput, PhoneCountryCodesUncheckedCreateInput>
  }

  /**
   * PhoneCountryCodes createMany
   */
  export type PhoneCountryCodesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many PhoneCountryCodes.
     */
    data: PhoneCountryCodesCreateManyInput | PhoneCountryCodesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * PhoneCountryCodes createManyAndReturn
   */
  export type PhoneCountryCodesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many PhoneCountryCodes.
     */
    data: PhoneCountryCodesCreateManyInput | PhoneCountryCodesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * PhoneCountryCodes update
   */
  export type PhoneCountryCodesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * The data needed to update a PhoneCountryCodes.
     */
    data: XOR<PhoneCountryCodesUpdateInput, PhoneCountryCodesUncheckedUpdateInput>
    /**
     * Choose, which PhoneCountryCodes to update.
     */
    where: PhoneCountryCodesWhereUniqueInput
  }

  /**
   * PhoneCountryCodes updateMany
   */
  export type PhoneCountryCodesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update PhoneCountryCodes.
     */
    data: XOR<PhoneCountryCodesUpdateManyMutationInput, PhoneCountryCodesUncheckedUpdateManyInput>
    /**
     * Filter which PhoneCountryCodes to update
     */
    where?: PhoneCountryCodesWhereInput
  }

  /**
   * PhoneCountryCodes upsert
   */
  export type PhoneCountryCodesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * The filter to search for the PhoneCountryCodes to update in case it exists.
     */
    where: PhoneCountryCodesWhereUniqueInput
    /**
     * In case the PhoneCountryCodes found by the `where` argument doesn't exist, create a new PhoneCountryCodes with this data.
     */
    create: XOR<PhoneCountryCodesCreateInput, PhoneCountryCodesUncheckedCreateInput>
    /**
     * In case the PhoneCountryCodes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<PhoneCountryCodesUpdateInput, PhoneCountryCodesUncheckedUpdateInput>
  }

  /**
   * PhoneCountryCodes delete
   */
  export type PhoneCountryCodesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
    /**
     * Filter which PhoneCountryCodes to delete.
     */
    where: PhoneCountryCodesWhereUniqueInput
  }

  /**
   * PhoneCountryCodes deleteMany
   */
  export type PhoneCountryCodesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which PhoneCountryCodes to delete
     */
    where?: PhoneCountryCodesWhereInput
  }

  /**
   * PhoneCountryCodes without action
   */
  export type PhoneCountryCodesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PhoneCountryCodes
     */
    select?: PhoneCountryCodesSelect<ExtArgs> | null
  }


  /**
   * Model TreeBuilderExample
   */

  export type AggregateTreeBuilderExample = {
    _count: TreeBuilderExampleCountAggregateOutputType | null
    _avg: TreeBuilderExampleAvgAggregateOutputType | null
    _sum: TreeBuilderExampleSumAggregateOutputType | null
    _min: TreeBuilderExampleMinAggregateOutputType | null
    _max: TreeBuilderExampleMaxAggregateOutputType | null
  }

  export type TreeBuilderExampleAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type TreeBuilderExampleSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type TreeBuilderExampleMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type TreeBuilderExampleMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    company_id: number | null
    status_id: number | null
    parent_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type TreeBuilderExampleCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    code: number
    company_id: number
    status_id: number
    parent_id: number
    created_by: number
    updated_by: number
    deleted_by: number
    created_at: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type TreeBuilderExampleAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type TreeBuilderExampleSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type TreeBuilderExampleMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type TreeBuilderExampleMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
  }

  export type TreeBuilderExampleCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    company_id?: true
    status_id?: true
    parent_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    created_at?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type TreeBuilderExampleAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which TreeBuilderExample to aggregate.
     */
    where?: TreeBuilderExampleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TreeBuilderExamples to fetch.
     */
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: TreeBuilderExampleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TreeBuilderExamples from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TreeBuilderExamples.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned TreeBuilderExamples
    **/
    _count?: true | TreeBuilderExampleCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: TreeBuilderExampleAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: TreeBuilderExampleSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: TreeBuilderExampleMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: TreeBuilderExampleMaxAggregateInputType
  }

  export type GetTreeBuilderExampleAggregateType<T extends TreeBuilderExampleAggregateArgs> = {
        [P in keyof T & keyof AggregateTreeBuilderExample]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateTreeBuilderExample[P]>
      : GetScalarType<T[P], AggregateTreeBuilderExample[P]>
  }




  export type TreeBuilderExampleGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: TreeBuilderExampleWhereInput
    orderBy?: TreeBuilderExampleOrderByWithAggregationInput | TreeBuilderExampleOrderByWithAggregationInput[]
    by: TreeBuilderExampleScalarFieldEnum[] | TreeBuilderExampleScalarFieldEnum
    having?: TreeBuilderExampleScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: TreeBuilderExampleCountAggregateInputType | true
    _avg?: TreeBuilderExampleAvgAggregateInputType
    _sum?: TreeBuilderExampleSumAggregateInputType
    _min?: TreeBuilderExampleMinAggregateInputType
    _max?: TreeBuilderExampleMaxAggregateInputType
  }

  export type TreeBuilderExampleGroupByOutputType = {
    id: number
    uuid: string
    name: string
    code: string
    company_id: number
    status_id: number
    parent_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    created_at: Date
    updated_at: Date
    deleted_at: Date | null
    _count: TreeBuilderExampleCountAggregateOutputType | null
    _avg: TreeBuilderExampleAvgAggregateOutputType | null
    _sum: TreeBuilderExampleSumAggregateOutputType | null
    _min: TreeBuilderExampleMinAggregateOutputType | null
    _max: TreeBuilderExampleMaxAggregateOutputType | null
  }

  type GetTreeBuilderExampleGroupByPayload<T extends TreeBuilderExampleGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<TreeBuilderExampleGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof TreeBuilderExampleGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], TreeBuilderExampleGroupByOutputType[P]>
            : GetScalarType<T[P], TreeBuilderExampleGroupByOutputType[P]>
        }
      >
    >


  export type TreeBuilderExampleSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    parent?: boolean | TreeBuilderExample$parentArgs<ExtArgs>
    children?: boolean | TreeBuilderExample$childrenArgs<ExtArgs>
    _count?: boolean | TreeBuilderExampleCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["treeBuilderExample"]>

  export type TreeBuilderExampleSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    parent?: boolean | TreeBuilderExample$parentArgs<ExtArgs>
  }, ExtArgs["result"]["treeBuilderExample"]>

  export type TreeBuilderExampleSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    company_id?: boolean
    status_id?: boolean
    parent_id?: boolean
    created_by?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    created_at?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type TreeBuilderExampleInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    parent?: boolean | TreeBuilderExample$parentArgs<ExtArgs>
    children?: boolean | TreeBuilderExample$childrenArgs<ExtArgs>
    _count?: boolean | TreeBuilderExampleCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type TreeBuilderExampleIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    parent?: boolean | TreeBuilderExample$parentArgs<ExtArgs>
  }

  export type $TreeBuilderExamplePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "TreeBuilderExample"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      parent: Prisma.$TreeBuilderExamplePayload<ExtArgs> | null
      children: Prisma.$TreeBuilderExamplePayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      code: string
      company_id: number
      status_id: number
      parent_id: number | null
      created_by: number | null
      updated_by: number | null
      deleted_by: number | null
      created_at: Date
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["treeBuilderExample"]>
    composites: {}
  }

  type TreeBuilderExampleGetPayload<S extends boolean | null | undefined | TreeBuilderExampleDefaultArgs> = $Result.GetResult<Prisma.$TreeBuilderExamplePayload, S>

  type TreeBuilderExampleCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<TreeBuilderExampleFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: TreeBuilderExampleCountAggregateInputType | true
    }

  export interface TreeBuilderExampleDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TreeBuilderExample'], meta: { name: 'TreeBuilderExample' } }
    /**
     * Find zero or one TreeBuilderExample that matches the filter.
     * @param {TreeBuilderExampleFindUniqueArgs} args - Arguments to find a TreeBuilderExample
     * @example
     * // Get one TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends TreeBuilderExampleFindUniqueArgs>(args: SelectSubset<T, TreeBuilderExampleFindUniqueArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one TreeBuilderExample that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {TreeBuilderExampleFindUniqueOrThrowArgs} args - Arguments to find a TreeBuilderExample
     * @example
     * // Get one TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends TreeBuilderExampleFindUniqueOrThrowArgs>(args: SelectSubset<T, TreeBuilderExampleFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first TreeBuilderExample that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleFindFirstArgs} args - Arguments to find a TreeBuilderExample
     * @example
     * // Get one TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends TreeBuilderExampleFindFirstArgs>(args?: SelectSubset<T, TreeBuilderExampleFindFirstArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first TreeBuilderExample that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleFindFirstOrThrowArgs} args - Arguments to find a TreeBuilderExample
     * @example
     * // Get one TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends TreeBuilderExampleFindFirstOrThrowArgs>(args?: SelectSubset<T, TreeBuilderExampleFindFirstOrThrowArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more TreeBuilderExamples that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all TreeBuilderExamples
     * const treeBuilderExamples = await prisma.treeBuilderExample.findMany()
     * 
     * // Get first 10 TreeBuilderExamples
     * const treeBuilderExamples = await prisma.treeBuilderExample.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const treeBuilderExampleWithIdOnly = await prisma.treeBuilderExample.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends TreeBuilderExampleFindManyArgs>(args?: SelectSubset<T, TreeBuilderExampleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findMany">>

    /**
     * Create a TreeBuilderExample.
     * @param {TreeBuilderExampleCreateArgs} args - Arguments to create a TreeBuilderExample.
     * @example
     * // Create one TreeBuilderExample
     * const TreeBuilderExample = await prisma.treeBuilderExample.create({
     *   data: {
     *     // ... data to create a TreeBuilderExample
     *   }
     * })
     * 
     */
    create<T extends TreeBuilderExampleCreateArgs>(args: SelectSubset<T, TreeBuilderExampleCreateArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many TreeBuilderExamples.
     * @param {TreeBuilderExampleCreateManyArgs} args - Arguments to create many TreeBuilderExamples.
     * @example
     * // Create many TreeBuilderExamples
     * const treeBuilderExample = await prisma.treeBuilderExample.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends TreeBuilderExampleCreateManyArgs>(args?: SelectSubset<T, TreeBuilderExampleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many TreeBuilderExamples and returns the data saved in the database.
     * @param {TreeBuilderExampleCreateManyAndReturnArgs} args - Arguments to create many TreeBuilderExamples.
     * @example
     * // Create many TreeBuilderExamples
     * const treeBuilderExample = await prisma.treeBuilderExample.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many TreeBuilderExamples and only return the `id`
     * const treeBuilderExampleWithIdOnly = await prisma.treeBuilderExample.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends TreeBuilderExampleCreateManyAndReturnArgs>(args?: SelectSubset<T, TreeBuilderExampleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a TreeBuilderExample.
     * @param {TreeBuilderExampleDeleteArgs} args - Arguments to delete one TreeBuilderExample.
     * @example
     * // Delete one TreeBuilderExample
     * const TreeBuilderExample = await prisma.treeBuilderExample.delete({
     *   where: {
     *     // ... filter to delete one TreeBuilderExample
     *   }
     * })
     * 
     */
    delete<T extends TreeBuilderExampleDeleteArgs>(args: SelectSubset<T, TreeBuilderExampleDeleteArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one TreeBuilderExample.
     * @param {TreeBuilderExampleUpdateArgs} args - Arguments to update one TreeBuilderExample.
     * @example
     * // Update one TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends TreeBuilderExampleUpdateArgs>(args: SelectSubset<T, TreeBuilderExampleUpdateArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more TreeBuilderExamples.
     * @param {TreeBuilderExampleDeleteManyArgs} args - Arguments to filter TreeBuilderExamples to delete.
     * @example
     * // Delete a few TreeBuilderExamples
     * const { count } = await prisma.treeBuilderExample.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends TreeBuilderExampleDeleteManyArgs>(args?: SelectSubset<T, TreeBuilderExampleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more TreeBuilderExamples.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many TreeBuilderExamples
     * const treeBuilderExample = await prisma.treeBuilderExample.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends TreeBuilderExampleUpdateManyArgs>(args: SelectSubset<T, TreeBuilderExampleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one TreeBuilderExample.
     * @param {TreeBuilderExampleUpsertArgs} args - Arguments to update or create a TreeBuilderExample.
     * @example
     * // Update or create a TreeBuilderExample
     * const treeBuilderExample = await prisma.treeBuilderExample.upsert({
     *   create: {
     *     // ... data to create a TreeBuilderExample
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the TreeBuilderExample we want to update
     *   }
     * })
     */
    upsert<T extends TreeBuilderExampleUpsertArgs>(args: SelectSubset<T, TreeBuilderExampleUpsertArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of TreeBuilderExamples.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleCountArgs} args - Arguments to filter TreeBuilderExamples to count.
     * @example
     * // Count the number of TreeBuilderExamples
     * const count = await prisma.treeBuilderExample.count({
     *   where: {
     *     // ... the filter for the TreeBuilderExamples we want to count
     *   }
     * })
    **/
    count<T extends TreeBuilderExampleCountArgs>(
      args?: Subset<T, TreeBuilderExampleCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], TreeBuilderExampleCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a TreeBuilderExample.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends TreeBuilderExampleAggregateArgs>(args: Subset<T, TreeBuilderExampleAggregateArgs>): Prisma.PrismaPromise<GetTreeBuilderExampleAggregateType<T>>

    /**
     * Group by TreeBuilderExample.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TreeBuilderExampleGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends TreeBuilderExampleGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: TreeBuilderExampleGroupByArgs['orderBy'] }
        : { orderBy?: TreeBuilderExampleGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, TreeBuilderExampleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTreeBuilderExampleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the TreeBuilderExample model
   */
  readonly fields: TreeBuilderExampleFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for TreeBuilderExample.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__TreeBuilderExampleClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    parent<T extends TreeBuilderExample$parentArgs<ExtArgs> = {}>(args?: Subset<T, TreeBuilderExample$parentArgs<ExtArgs>>): Prisma__TreeBuilderExampleClient<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    children<T extends TreeBuilderExample$childrenArgs<ExtArgs> = {}>(args?: Subset<T, TreeBuilderExample$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TreeBuilderExamplePayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the TreeBuilderExample model
   */ 
  interface TreeBuilderExampleFieldRefs {
    readonly id: FieldRef<"TreeBuilderExample", 'Int'>
    readonly uuid: FieldRef<"TreeBuilderExample", 'String'>
    readonly name: FieldRef<"TreeBuilderExample", 'String'>
    readonly code: FieldRef<"TreeBuilderExample", 'String'>
    readonly company_id: FieldRef<"TreeBuilderExample", 'Int'>
    readonly status_id: FieldRef<"TreeBuilderExample", 'Int'>
    readonly parent_id: FieldRef<"TreeBuilderExample", 'Int'>
    readonly created_by: FieldRef<"TreeBuilderExample", 'Int'>
    readonly updated_by: FieldRef<"TreeBuilderExample", 'Int'>
    readonly deleted_by: FieldRef<"TreeBuilderExample", 'Int'>
    readonly created_at: FieldRef<"TreeBuilderExample", 'DateTime'>
    readonly updated_at: FieldRef<"TreeBuilderExample", 'DateTime'>
    readonly deleted_at: FieldRef<"TreeBuilderExample", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * TreeBuilderExample findUnique
   */
  export type TreeBuilderExampleFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter, which TreeBuilderExample to fetch.
     */
    where: TreeBuilderExampleWhereUniqueInput
  }

  /**
   * TreeBuilderExample findUniqueOrThrow
   */
  export type TreeBuilderExampleFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter, which TreeBuilderExample to fetch.
     */
    where: TreeBuilderExampleWhereUniqueInput
  }

  /**
   * TreeBuilderExample findFirst
   */
  export type TreeBuilderExampleFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter, which TreeBuilderExample to fetch.
     */
    where?: TreeBuilderExampleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TreeBuilderExamples to fetch.
     */
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for TreeBuilderExamples.
     */
    cursor?: TreeBuilderExampleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TreeBuilderExamples from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TreeBuilderExamples.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of TreeBuilderExamples.
     */
    distinct?: TreeBuilderExampleScalarFieldEnum | TreeBuilderExampleScalarFieldEnum[]
  }

  /**
   * TreeBuilderExample findFirstOrThrow
   */
  export type TreeBuilderExampleFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter, which TreeBuilderExample to fetch.
     */
    where?: TreeBuilderExampleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TreeBuilderExamples to fetch.
     */
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for TreeBuilderExamples.
     */
    cursor?: TreeBuilderExampleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TreeBuilderExamples from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TreeBuilderExamples.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of TreeBuilderExamples.
     */
    distinct?: TreeBuilderExampleScalarFieldEnum | TreeBuilderExampleScalarFieldEnum[]
  }

  /**
   * TreeBuilderExample findMany
   */
  export type TreeBuilderExampleFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter, which TreeBuilderExamples to fetch.
     */
    where?: TreeBuilderExampleWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TreeBuilderExamples to fetch.
     */
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing TreeBuilderExamples.
     */
    cursor?: TreeBuilderExampleWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TreeBuilderExamples from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TreeBuilderExamples.
     */
    skip?: number
    distinct?: TreeBuilderExampleScalarFieldEnum | TreeBuilderExampleScalarFieldEnum[]
  }

  /**
   * TreeBuilderExample create
   */
  export type TreeBuilderExampleCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * The data needed to create a TreeBuilderExample.
     */
    data: XOR<TreeBuilderExampleCreateInput, TreeBuilderExampleUncheckedCreateInput>
  }

  /**
   * TreeBuilderExample createMany
   */
  export type TreeBuilderExampleCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many TreeBuilderExamples.
     */
    data: TreeBuilderExampleCreateManyInput | TreeBuilderExampleCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * TreeBuilderExample createManyAndReturn
   */
  export type TreeBuilderExampleCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many TreeBuilderExamples.
     */
    data: TreeBuilderExampleCreateManyInput | TreeBuilderExampleCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * TreeBuilderExample update
   */
  export type TreeBuilderExampleUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * The data needed to update a TreeBuilderExample.
     */
    data: XOR<TreeBuilderExampleUpdateInput, TreeBuilderExampleUncheckedUpdateInput>
    /**
     * Choose, which TreeBuilderExample to update.
     */
    where: TreeBuilderExampleWhereUniqueInput
  }

  /**
   * TreeBuilderExample updateMany
   */
  export type TreeBuilderExampleUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update TreeBuilderExamples.
     */
    data: XOR<TreeBuilderExampleUpdateManyMutationInput, TreeBuilderExampleUncheckedUpdateManyInput>
    /**
     * Filter which TreeBuilderExamples to update
     */
    where?: TreeBuilderExampleWhereInput
  }

  /**
   * TreeBuilderExample upsert
   */
  export type TreeBuilderExampleUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * The filter to search for the TreeBuilderExample to update in case it exists.
     */
    where: TreeBuilderExampleWhereUniqueInput
    /**
     * In case the TreeBuilderExample found by the `where` argument doesn't exist, create a new TreeBuilderExample with this data.
     */
    create: XOR<TreeBuilderExampleCreateInput, TreeBuilderExampleUncheckedCreateInput>
    /**
     * In case the TreeBuilderExample was found with the provided `where` argument, update it with this data.
     */
    update: XOR<TreeBuilderExampleUpdateInput, TreeBuilderExampleUncheckedUpdateInput>
  }

  /**
   * TreeBuilderExample delete
   */
  export type TreeBuilderExampleDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    /**
     * Filter which TreeBuilderExample to delete.
     */
    where: TreeBuilderExampleWhereUniqueInput
  }

  /**
   * TreeBuilderExample deleteMany
   */
  export type TreeBuilderExampleDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which TreeBuilderExamples to delete
     */
    where?: TreeBuilderExampleWhereInput
  }

  /**
   * TreeBuilderExample.parent
   */
  export type TreeBuilderExample$parentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    where?: TreeBuilderExampleWhereInput
  }

  /**
   * TreeBuilderExample.children
   */
  export type TreeBuilderExample$childrenArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
    where?: TreeBuilderExampleWhereInput
    orderBy?: TreeBuilderExampleOrderByWithRelationInput | TreeBuilderExampleOrderByWithRelationInput[]
    cursor?: TreeBuilderExampleWhereUniqueInput
    take?: number
    skip?: number
    distinct?: TreeBuilderExampleScalarFieldEnum | TreeBuilderExampleScalarFieldEnum[]
  }

  /**
   * TreeBuilderExample without action
   */
  export type TreeBuilderExampleDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TreeBuilderExample
     */
    select?: TreeBuilderExampleSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TreeBuilderExampleInclude<ExtArgs> | null
  }


  /**
   * Model DeliveryNotes
   */

  export type AggregateDeliveryNotes = {
    _count: DeliveryNotesCountAggregateOutputType | null
    _avg: DeliveryNotesAvgAggregateOutputType | null
    _sum: DeliveryNotesSumAggregateOutputType | null
    _min: DeliveryNotesMinAggregateOutputType | null
    _max: DeliveryNotesMaxAggregateOutputType | null
  }

  export type DeliveryNotesAvgAggregateOutputType = {
    id: number | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    customer_delivery_address_id: number | null
    customer_id: number | null
    status_id: number | null
    dn_status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeliveryNotesSumAggregateOutputType = {
    id: number | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    customer_delivery_address_id: number | null
    customer_id: number | null
    status_id: number | null
    dn_status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeliveryNotesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_number: string | null
    date_of_issue: Date | null
    customer_order_number: string | null
    reference_number: string | null
    shipment_type: string | null
    supply_agreement: string | null
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    customer_delivery_address_id: number | null
    customer_id: number | null
    status_id: number | null
    dn_status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_info: string | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
  }

  export type DeliveryNotesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_number: string | null
    date_of_issue: Date | null
    customer_order_number: string | null
    reference_number: string | null
    shipment_type: string | null
    supply_agreement: string | null
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    customer_delivery_address_id: number | null
    customer_id: number | null
    status_id: number | null
    dn_status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_info: string | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
  }

  export type DeliveryNotesCountAggregateOutputType = {
    id: number
    uuid: number
    delivery_note_number: number
    date_of_issue: number
    customer_order_number: number
    reference_number: number
    shipment_type: number
    supply_agreement: number
    purchase_reference: number
    alloy: number
    temper: number
    color: number
    aluminium_profiles: number
    number_of_boxes: number
    number_of_bundles: number
    customer_delivery_address_id: number
    customer_id: number
    status_id: number
    dn_status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    customer_delivery_contact_info: number
    customer_delivery_contact_name: number
    customer_delivery_contact_email: number
    customer_delivery_contact_number: number
    _all: number
  }


  export type DeliveryNotesAvgAggregateInputType = {
    id?: true
    number_of_boxes?: true
    number_of_bundles?: true
    customer_delivery_address_id?: true
    customer_id?: true
    status_id?: true
    dn_status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeliveryNotesSumAggregateInputType = {
    id?: true
    number_of_boxes?: true
    number_of_bundles?: true
    customer_delivery_address_id?: true
    customer_id?: true
    status_id?: true
    dn_status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeliveryNotesMinAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    customer_delivery_address_id?: true
    customer_id?: true
    status_id?: true
    dn_status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_info?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
  }

  export type DeliveryNotesMaxAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    customer_delivery_address_id?: true
    customer_id?: true
    status_id?: true
    dn_status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_info?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
  }

  export type DeliveryNotesCountAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    customer_delivery_address_id?: true
    customer_id?: true
    status_id?: true
    dn_status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_info?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
    _all?: true
  }

  export type DeliveryNotesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNotes to aggregate.
     */
    where?: DeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNotes to fetch.
     */
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DeliveryNotes
    **/
    _count?: true | DeliveryNotesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DeliveryNotesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DeliveryNotesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DeliveryNotesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DeliveryNotesMaxAggregateInputType
  }

  export type GetDeliveryNotesAggregateType<T extends DeliveryNotesAggregateArgs> = {
        [P in keyof T & keyof AggregateDeliveryNotes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDeliveryNotes[P]>
      : GetScalarType<T[P], AggregateDeliveryNotes[P]>
  }




  export type DeliveryNotesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNotesWhereInput
    orderBy?: DeliveryNotesOrderByWithAggregationInput | DeliveryNotesOrderByWithAggregationInput[]
    by: DeliveryNotesScalarFieldEnum[] | DeliveryNotesScalarFieldEnum
    having?: DeliveryNotesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DeliveryNotesCountAggregateInputType | true
    _avg?: DeliveryNotesAvgAggregateInputType
    _sum?: DeliveryNotesSumAggregateInputType
    _min?: DeliveryNotesMinAggregateInputType
    _max?: DeliveryNotesMaxAggregateInputType
  }

  export type DeliveryNotesGroupByOutputType = {
    id: number
    uuid: string
    delivery_note_number: string
    date_of_issue: Date
    customer_order_number: string
    reference_number: string
    shipment_type: string | null
    supply_agreement: string | null
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id: number
    dn_status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_info: string | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
    _count: DeliveryNotesCountAggregateOutputType | null
    _avg: DeliveryNotesAvgAggregateOutputType | null
    _sum: DeliveryNotesSumAggregateOutputType | null
    _min: DeliveryNotesMinAggregateOutputType | null
    _max: DeliveryNotesMaxAggregateOutputType | null
  }

  type GetDeliveryNotesGroupByPayload<T extends DeliveryNotesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DeliveryNotesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DeliveryNotesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DeliveryNotesGroupByOutputType[P]>
            : GetScalarType<T[P], DeliveryNotesGroupByOutputType[P]>
        }
      >
    >


  export type DeliveryNotesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    customer_delivery_address_id?: boolean
    customer_id?: boolean
    status_id?: boolean
    dn_status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_info?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
    customer_delivery_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    dn_status?: boolean | DeliveryNoteStatusDefaultArgs<ExtArgs>
    delivery_note_line_items?: boolean | DeliveryNotes$delivery_note_line_itemsArgs<ExtArgs>
    shipment_delivery_notes?: boolean | DeliveryNotes$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | DeliveryNotesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNotes"]>

  export type DeliveryNotesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    customer_delivery_address_id?: boolean
    customer_id?: boolean
    status_id?: boolean
    dn_status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_info?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
    customer_delivery_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    dn_status?: boolean | DeliveryNoteStatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNotes"]>

  export type DeliveryNotesSelectScalar = {
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    customer_delivery_address_id?: boolean
    customer_id?: boolean
    status_id?: boolean
    dn_status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_info?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
  }

  export type DeliveryNotesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    customer_delivery_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    dn_status?: boolean | DeliveryNoteStatusDefaultArgs<ExtArgs>
    delivery_note_line_items?: boolean | DeliveryNotes$delivery_note_line_itemsArgs<ExtArgs>
    shipment_delivery_notes?: boolean | DeliveryNotes$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | DeliveryNotesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type DeliveryNotesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    customer_delivery_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    dn_status?: boolean | DeliveryNoteStatusDefaultArgs<ExtArgs>
  }

  export type $DeliveryNotesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DeliveryNotes"
    objects: {
      customer_delivery_address: Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>
      customer: Prisma.$UserPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
      dn_status: Prisma.$DeliveryNoteStatusPayload<ExtArgs>
      delivery_note_line_items: Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>[]
      shipment_delivery_notes: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      delivery_note_number: string
      date_of_issue: Date
      customer_order_number: string
      reference_number: string
      shipment_type: string | null
      supply_agreement: string | null
      purchase_reference: string | null
      alloy: string | null
      temper: string | null
      color: string | null
      aluminium_profiles: string | null
      number_of_boxes: number | null
      number_of_bundles: number | null
      customer_delivery_address_id: number
      customer_id: number
      status_id: number
      dn_status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      customer_delivery_contact_info: string | null
      customer_delivery_contact_name: string | null
      customer_delivery_contact_email: string | null
      customer_delivery_contact_number: string | null
    }, ExtArgs["result"]["deliveryNotes"]>
    composites: {}
  }

  type DeliveryNotesGetPayload<S extends boolean | null | undefined | DeliveryNotesDefaultArgs> = $Result.GetResult<Prisma.$DeliveryNotesPayload, S>

  type DeliveryNotesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DeliveryNotesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DeliveryNotesCountAggregateInputType | true
    }

  export interface DeliveryNotesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeliveryNotes'], meta: { name: 'DeliveryNotes' } }
    /**
     * Find zero or one DeliveryNotes that matches the filter.
     * @param {DeliveryNotesFindUniqueArgs} args - Arguments to find a DeliveryNotes
     * @example
     * // Get one DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DeliveryNotesFindUniqueArgs>(args: SelectSubset<T, DeliveryNotesFindUniqueArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DeliveryNotes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DeliveryNotesFindUniqueOrThrowArgs} args - Arguments to find a DeliveryNotes
     * @example
     * // Get one DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DeliveryNotesFindUniqueOrThrowArgs>(args: SelectSubset<T, DeliveryNotesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DeliveryNotes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesFindFirstArgs} args - Arguments to find a DeliveryNotes
     * @example
     * // Get one DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DeliveryNotesFindFirstArgs>(args?: SelectSubset<T, DeliveryNotesFindFirstArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DeliveryNotes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesFindFirstOrThrowArgs} args - Arguments to find a DeliveryNotes
     * @example
     * // Get one DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DeliveryNotesFindFirstOrThrowArgs>(args?: SelectSubset<T, DeliveryNotesFindFirstOrThrowArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DeliveryNotes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findMany()
     * 
     * // Get first 10 DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const deliveryNotesWithIdOnly = await prisma.deliveryNotes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DeliveryNotesFindManyArgs>(args?: SelectSubset<T, DeliveryNotesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DeliveryNotes.
     * @param {DeliveryNotesCreateArgs} args - Arguments to create a DeliveryNotes.
     * @example
     * // Create one DeliveryNotes
     * const DeliveryNotes = await prisma.deliveryNotes.create({
     *   data: {
     *     // ... data to create a DeliveryNotes
     *   }
     * })
     * 
     */
    create<T extends DeliveryNotesCreateArgs>(args: SelectSubset<T, DeliveryNotesCreateArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DeliveryNotes.
     * @param {DeliveryNotesCreateManyArgs} args - Arguments to create many DeliveryNotes.
     * @example
     * // Create many DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DeliveryNotesCreateManyArgs>(args?: SelectSubset<T, DeliveryNotesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DeliveryNotes and returns the data saved in the database.
     * @param {DeliveryNotesCreateManyAndReturnArgs} args - Arguments to create many DeliveryNotes.
     * @example
     * // Create many DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DeliveryNotes and only return the `id`
     * const deliveryNotesWithIdOnly = await prisma.deliveryNotes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DeliveryNotesCreateManyAndReturnArgs>(args?: SelectSubset<T, DeliveryNotesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DeliveryNotes.
     * @param {DeliveryNotesDeleteArgs} args - Arguments to delete one DeliveryNotes.
     * @example
     * // Delete one DeliveryNotes
     * const DeliveryNotes = await prisma.deliveryNotes.delete({
     *   where: {
     *     // ... filter to delete one DeliveryNotes
     *   }
     * })
     * 
     */
    delete<T extends DeliveryNotesDeleteArgs>(args: SelectSubset<T, DeliveryNotesDeleteArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DeliveryNotes.
     * @param {DeliveryNotesUpdateArgs} args - Arguments to update one DeliveryNotes.
     * @example
     * // Update one DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DeliveryNotesUpdateArgs>(args: SelectSubset<T, DeliveryNotesUpdateArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DeliveryNotes.
     * @param {DeliveryNotesDeleteManyArgs} args - Arguments to filter DeliveryNotes to delete.
     * @example
     * // Delete a few DeliveryNotes
     * const { count } = await prisma.deliveryNotes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DeliveryNotesDeleteManyArgs>(args?: SelectSubset<T, DeliveryNotesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DeliveryNotesUpdateManyArgs>(args: SelectSubset<T, DeliveryNotesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DeliveryNotes.
     * @param {DeliveryNotesUpsertArgs} args - Arguments to update or create a DeliveryNotes.
     * @example
     * // Update or create a DeliveryNotes
     * const deliveryNotes = await prisma.deliveryNotes.upsert({
     *   create: {
     *     // ... data to create a DeliveryNotes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DeliveryNotes we want to update
     *   }
     * })
     */
    upsert<T extends DeliveryNotesUpsertArgs>(args: SelectSubset<T, DeliveryNotesUpsertArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesCountArgs} args - Arguments to filter DeliveryNotes to count.
     * @example
     * // Count the number of DeliveryNotes
     * const count = await prisma.deliveryNotes.count({
     *   where: {
     *     // ... the filter for the DeliveryNotes we want to count
     *   }
     * })
    **/
    count<T extends DeliveryNotesCountArgs>(
      args?: Subset<T, DeliveryNotesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DeliveryNotesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DeliveryNotesAggregateArgs>(args: Subset<T, DeliveryNotesAggregateArgs>): Prisma.PrismaPromise<GetDeliveryNotesAggregateType<T>>

    /**
     * Group by DeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNotesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DeliveryNotesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DeliveryNotesGroupByArgs['orderBy'] }
        : { orderBy?: DeliveryNotesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DeliveryNotesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeliveryNotesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DeliveryNotes model
   */
  readonly fields: DeliveryNotesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DeliveryNotes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DeliveryNotesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    customer_delivery_address<T extends CustomerDeliveryAddressesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CustomerDeliveryAddressesDefaultArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    customer<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    dn_status<T extends DeliveryNoteStatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNoteStatusDefaultArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    delivery_note_line_items<T extends DeliveryNotes$delivery_note_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNotes$delivery_note_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_delivery_notes<T extends DeliveryNotes$shipment_delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNotes$shipment_delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DeliveryNotes model
   */ 
  interface DeliveryNotesFieldRefs {
    readonly id: FieldRef<"DeliveryNotes", 'Int'>
    readonly uuid: FieldRef<"DeliveryNotes", 'String'>
    readonly delivery_note_number: FieldRef<"DeliveryNotes", 'String'>
    readonly date_of_issue: FieldRef<"DeliveryNotes", 'DateTime'>
    readonly customer_order_number: FieldRef<"DeliveryNotes", 'String'>
    readonly reference_number: FieldRef<"DeliveryNotes", 'String'>
    readonly shipment_type: FieldRef<"DeliveryNotes", 'String'>
    readonly supply_agreement: FieldRef<"DeliveryNotes", 'String'>
    readonly purchase_reference: FieldRef<"DeliveryNotes", 'String'>
    readonly alloy: FieldRef<"DeliveryNotes", 'String'>
    readonly temper: FieldRef<"DeliveryNotes", 'String'>
    readonly color: FieldRef<"DeliveryNotes", 'String'>
    readonly aluminium_profiles: FieldRef<"DeliveryNotes", 'String'>
    readonly number_of_boxes: FieldRef<"DeliveryNotes", 'Int'>
    readonly number_of_bundles: FieldRef<"DeliveryNotes", 'Int'>
    readonly customer_delivery_address_id: FieldRef<"DeliveryNotes", 'Int'>
    readonly customer_id: FieldRef<"DeliveryNotes", 'Int'>
    readonly status_id: FieldRef<"DeliveryNotes", 'Int'>
    readonly dn_status_id: FieldRef<"DeliveryNotes", 'Int'>
    readonly company_id: FieldRef<"DeliveryNotes", 'Int'>
    readonly created_by: FieldRef<"DeliveryNotes", 'Int'>
    readonly created_at: FieldRef<"DeliveryNotes", 'DateTime'>
    readonly updated_by: FieldRef<"DeliveryNotes", 'Int'>
    readonly updated_at: FieldRef<"DeliveryNotes", 'DateTime'>
    readonly deleted_by: FieldRef<"DeliveryNotes", 'Int'>
    readonly deleted_at: FieldRef<"DeliveryNotes", 'DateTime'>
    readonly customer_delivery_contact_info: FieldRef<"DeliveryNotes", 'String'>
    readonly customer_delivery_contact_name: FieldRef<"DeliveryNotes", 'String'>
    readonly customer_delivery_contact_email: FieldRef<"DeliveryNotes", 'String'>
    readonly customer_delivery_contact_number: FieldRef<"DeliveryNotes", 'String'>
  }
    

  // Custom InputTypes
  /**
   * DeliveryNotes findUnique
   */
  export type DeliveryNotesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNotes to fetch.
     */
    where: DeliveryNotesWhereUniqueInput
  }

  /**
   * DeliveryNotes findUniqueOrThrow
   */
  export type DeliveryNotesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNotes to fetch.
     */
    where: DeliveryNotesWhereUniqueInput
  }

  /**
   * DeliveryNotes findFirst
   */
  export type DeliveryNotesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNotes to fetch.
     */
    where?: DeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNotes to fetch.
     */
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNotes.
     */
    cursor?: DeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNotes.
     */
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * DeliveryNotes findFirstOrThrow
   */
  export type DeliveryNotesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNotes to fetch.
     */
    where?: DeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNotes to fetch.
     */
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNotes.
     */
    cursor?: DeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNotes.
     */
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * DeliveryNotes findMany
   */
  export type DeliveryNotesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNotes to fetch.
     */
    where?: DeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNotes to fetch.
     */
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DeliveryNotes.
     */
    cursor?: DeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNotes.
     */
    skip?: number
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * DeliveryNotes create
   */
  export type DeliveryNotesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * The data needed to create a DeliveryNotes.
     */
    data: XOR<DeliveryNotesCreateInput, DeliveryNotesUncheckedCreateInput>
  }

  /**
   * DeliveryNotes createMany
   */
  export type DeliveryNotesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DeliveryNotes.
     */
    data: DeliveryNotesCreateManyInput | DeliveryNotesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DeliveryNotes createManyAndReturn
   */
  export type DeliveryNotesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DeliveryNotes.
     */
    data: DeliveryNotesCreateManyInput | DeliveryNotesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DeliveryNotes update
   */
  export type DeliveryNotesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * The data needed to update a DeliveryNotes.
     */
    data: XOR<DeliveryNotesUpdateInput, DeliveryNotesUncheckedUpdateInput>
    /**
     * Choose, which DeliveryNotes to update.
     */
    where: DeliveryNotesWhereUniqueInput
  }

  /**
   * DeliveryNotes updateMany
   */
  export type DeliveryNotesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DeliveryNotes.
     */
    data: XOR<DeliveryNotesUpdateManyMutationInput, DeliveryNotesUncheckedUpdateManyInput>
    /**
     * Filter which DeliveryNotes to update
     */
    where?: DeliveryNotesWhereInput
  }

  /**
   * DeliveryNotes upsert
   */
  export type DeliveryNotesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * The filter to search for the DeliveryNotes to update in case it exists.
     */
    where: DeliveryNotesWhereUniqueInput
    /**
     * In case the DeliveryNotes found by the `where` argument doesn't exist, create a new DeliveryNotes with this data.
     */
    create: XOR<DeliveryNotesCreateInput, DeliveryNotesUncheckedCreateInput>
    /**
     * In case the DeliveryNotes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DeliveryNotesUpdateInput, DeliveryNotesUncheckedUpdateInput>
  }

  /**
   * DeliveryNotes delete
   */
  export type DeliveryNotesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter which DeliveryNotes to delete.
     */
    where: DeliveryNotesWhereUniqueInput
  }

  /**
   * DeliveryNotes deleteMany
   */
  export type DeliveryNotesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNotes to delete
     */
    where?: DeliveryNotesWhereInput
  }

  /**
   * DeliveryNotes.delivery_note_line_items
   */
  export type DeliveryNotes$delivery_note_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    where?: DeliveryNoteLineItemsWhereInput
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNoteLineItemsScalarFieldEnum | DeliveryNoteLineItemsScalarFieldEnum[]
  }

  /**
   * DeliveryNotes.shipment_delivery_notes
   */
  export type DeliveryNotes$shipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * DeliveryNotes without action
   */
  export type DeliveryNotesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
  }


  /**
   * Model DeliveryNoteStatus
   */

  export type AggregateDeliveryNoteStatus = {
    _count: DeliveryNoteStatusCountAggregateOutputType | null
    _avg: DeliveryNoteStatusAvgAggregateOutputType | null
    _sum: DeliveryNoteStatusSumAggregateOutputType | null
    _min: DeliveryNoteStatusMinAggregateOutputType | null
    _max: DeliveryNoteStatusMaxAggregateOutputType | null
  }

  export type DeliveryNoteStatusAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type DeliveryNoteStatusSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type DeliveryNoteStatusMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    status_id: number | null
    company_id: number | null
  }

  export type DeliveryNoteStatusMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    name: string | null
    code: string | null
    status_id: number | null
    company_id: number | null
  }

  export type DeliveryNoteStatusCountAggregateOutputType = {
    id: number
    uuid: number
    name: number
    code: number
    status_id: number
    company_id: number
    _all: number
  }


  export type DeliveryNoteStatusAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type DeliveryNoteStatusSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type DeliveryNoteStatusMinAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    status_id?: true
    company_id?: true
  }

  export type DeliveryNoteStatusMaxAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    status_id?: true
    company_id?: true
  }

  export type DeliveryNoteStatusCountAggregateInputType = {
    id?: true
    uuid?: true
    name?: true
    code?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type DeliveryNoteStatusAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNoteStatus to aggregate.
     */
    where?: DeliveryNoteStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteStatuses to fetch.
     */
    orderBy?: DeliveryNoteStatusOrderByWithRelationInput | DeliveryNoteStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DeliveryNoteStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DeliveryNoteStatuses
    **/
    _count?: true | DeliveryNoteStatusCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DeliveryNoteStatusAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DeliveryNoteStatusSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DeliveryNoteStatusMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DeliveryNoteStatusMaxAggregateInputType
  }

  export type GetDeliveryNoteStatusAggregateType<T extends DeliveryNoteStatusAggregateArgs> = {
        [P in keyof T & keyof AggregateDeliveryNoteStatus]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDeliveryNoteStatus[P]>
      : GetScalarType<T[P], AggregateDeliveryNoteStatus[P]>
  }




  export type DeliveryNoteStatusGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNoteStatusWhereInput
    orderBy?: DeliveryNoteStatusOrderByWithAggregationInput | DeliveryNoteStatusOrderByWithAggregationInput[]
    by: DeliveryNoteStatusScalarFieldEnum[] | DeliveryNoteStatusScalarFieldEnum
    having?: DeliveryNoteStatusScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DeliveryNoteStatusCountAggregateInputType | true
    _avg?: DeliveryNoteStatusAvgAggregateInputType
    _sum?: DeliveryNoteStatusSumAggregateInputType
    _min?: DeliveryNoteStatusMinAggregateInputType
    _max?: DeliveryNoteStatusMaxAggregateInputType
  }

  export type DeliveryNoteStatusGroupByOutputType = {
    id: number
    uuid: string
    name: string
    code: string
    status_id: number
    company_id: number
    _count: DeliveryNoteStatusCountAggregateOutputType | null
    _avg: DeliveryNoteStatusAvgAggregateOutputType | null
    _sum: DeliveryNoteStatusSumAggregateOutputType | null
    _min: DeliveryNoteStatusMinAggregateOutputType | null
    _max: DeliveryNoteStatusMaxAggregateOutputType | null
  }

  type GetDeliveryNoteStatusGroupByPayload<T extends DeliveryNoteStatusGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DeliveryNoteStatusGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DeliveryNoteStatusGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DeliveryNoteStatusGroupByOutputType[P]>
            : GetScalarType<T[P], DeliveryNoteStatusGroupByOutputType[P]>
        }
      >
    >


  export type DeliveryNoteStatusSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    delivery_notes?: boolean | DeliveryNoteStatus$delivery_notesArgs<ExtArgs>
    _count?: boolean | DeliveryNoteStatusCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNoteStatus"]>

  export type DeliveryNoteStatusSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNoteStatus"]>

  export type DeliveryNoteStatusSelectScalar = {
    id?: boolean
    uuid?: boolean
    name?: boolean
    code?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type DeliveryNoteStatusInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    delivery_notes?: boolean | DeliveryNoteStatus$delivery_notesArgs<ExtArgs>
    _count?: boolean | DeliveryNoteStatusCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type DeliveryNoteStatusIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $DeliveryNoteStatusPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DeliveryNoteStatus"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      delivery_notes: Prisma.$DeliveryNotesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      name: string
      code: string
      status_id: number
      company_id: number
    }, ExtArgs["result"]["deliveryNoteStatus"]>
    composites: {}
  }

  type DeliveryNoteStatusGetPayload<S extends boolean | null | undefined | DeliveryNoteStatusDefaultArgs> = $Result.GetResult<Prisma.$DeliveryNoteStatusPayload, S>

  type DeliveryNoteStatusCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DeliveryNoteStatusFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DeliveryNoteStatusCountAggregateInputType | true
    }

  export interface DeliveryNoteStatusDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeliveryNoteStatus'], meta: { name: 'DeliveryNoteStatus' } }
    /**
     * Find zero or one DeliveryNoteStatus that matches the filter.
     * @param {DeliveryNoteStatusFindUniqueArgs} args - Arguments to find a DeliveryNoteStatus
     * @example
     * // Get one DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DeliveryNoteStatusFindUniqueArgs>(args: SelectSubset<T, DeliveryNoteStatusFindUniqueArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DeliveryNoteStatus that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DeliveryNoteStatusFindUniqueOrThrowArgs} args - Arguments to find a DeliveryNoteStatus
     * @example
     * // Get one DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DeliveryNoteStatusFindUniqueOrThrowArgs>(args: SelectSubset<T, DeliveryNoteStatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DeliveryNoteStatus that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusFindFirstArgs} args - Arguments to find a DeliveryNoteStatus
     * @example
     * // Get one DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DeliveryNoteStatusFindFirstArgs>(args?: SelectSubset<T, DeliveryNoteStatusFindFirstArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DeliveryNoteStatus that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusFindFirstOrThrowArgs} args - Arguments to find a DeliveryNoteStatus
     * @example
     * // Get one DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DeliveryNoteStatusFindFirstOrThrowArgs>(args?: SelectSubset<T, DeliveryNoteStatusFindFirstOrThrowArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DeliveryNoteStatuses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DeliveryNoteStatuses
     * const deliveryNoteStatuses = await prisma.deliveryNoteStatus.findMany()
     * 
     * // Get first 10 DeliveryNoteStatuses
     * const deliveryNoteStatuses = await prisma.deliveryNoteStatus.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const deliveryNoteStatusWithIdOnly = await prisma.deliveryNoteStatus.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DeliveryNoteStatusFindManyArgs>(args?: SelectSubset<T, DeliveryNoteStatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DeliveryNoteStatus.
     * @param {DeliveryNoteStatusCreateArgs} args - Arguments to create a DeliveryNoteStatus.
     * @example
     * // Create one DeliveryNoteStatus
     * const DeliveryNoteStatus = await prisma.deliveryNoteStatus.create({
     *   data: {
     *     // ... data to create a DeliveryNoteStatus
     *   }
     * })
     * 
     */
    create<T extends DeliveryNoteStatusCreateArgs>(args: SelectSubset<T, DeliveryNoteStatusCreateArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DeliveryNoteStatuses.
     * @param {DeliveryNoteStatusCreateManyArgs} args - Arguments to create many DeliveryNoteStatuses.
     * @example
     * // Create many DeliveryNoteStatuses
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DeliveryNoteStatusCreateManyArgs>(args?: SelectSubset<T, DeliveryNoteStatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DeliveryNoteStatuses and returns the data saved in the database.
     * @param {DeliveryNoteStatusCreateManyAndReturnArgs} args - Arguments to create many DeliveryNoteStatuses.
     * @example
     * // Create many DeliveryNoteStatuses
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DeliveryNoteStatuses and only return the `id`
     * const deliveryNoteStatusWithIdOnly = await prisma.deliveryNoteStatus.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DeliveryNoteStatusCreateManyAndReturnArgs>(args?: SelectSubset<T, DeliveryNoteStatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DeliveryNoteStatus.
     * @param {DeliveryNoteStatusDeleteArgs} args - Arguments to delete one DeliveryNoteStatus.
     * @example
     * // Delete one DeliveryNoteStatus
     * const DeliveryNoteStatus = await prisma.deliveryNoteStatus.delete({
     *   where: {
     *     // ... filter to delete one DeliveryNoteStatus
     *   }
     * })
     * 
     */
    delete<T extends DeliveryNoteStatusDeleteArgs>(args: SelectSubset<T, DeliveryNoteStatusDeleteArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DeliveryNoteStatus.
     * @param {DeliveryNoteStatusUpdateArgs} args - Arguments to update one DeliveryNoteStatus.
     * @example
     * // Update one DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DeliveryNoteStatusUpdateArgs>(args: SelectSubset<T, DeliveryNoteStatusUpdateArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DeliveryNoteStatuses.
     * @param {DeliveryNoteStatusDeleteManyArgs} args - Arguments to filter DeliveryNoteStatuses to delete.
     * @example
     * // Delete a few DeliveryNoteStatuses
     * const { count } = await prisma.deliveryNoteStatus.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DeliveryNoteStatusDeleteManyArgs>(args?: SelectSubset<T, DeliveryNoteStatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DeliveryNoteStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DeliveryNoteStatuses
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DeliveryNoteStatusUpdateManyArgs>(args: SelectSubset<T, DeliveryNoteStatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DeliveryNoteStatus.
     * @param {DeliveryNoteStatusUpsertArgs} args - Arguments to update or create a DeliveryNoteStatus.
     * @example
     * // Update or create a DeliveryNoteStatus
     * const deliveryNoteStatus = await prisma.deliveryNoteStatus.upsert({
     *   create: {
     *     // ... data to create a DeliveryNoteStatus
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DeliveryNoteStatus we want to update
     *   }
     * })
     */
    upsert<T extends DeliveryNoteStatusUpsertArgs>(args: SelectSubset<T, DeliveryNoteStatusUpsertArgs<ExtArgs>>): Prisma__DeliveryNoteStatusClient<$Result.GetResult<Prisma.$DeliveryNoteStatusPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DeliveryNoteStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusCountArgs} args - Arguments to filter DeliveryNoteStatuses to count.
     * @example
     * // Count the number of DeliveryNoteStatuses
     * const count = await prisma.deliveryNoteStatus.count({
     *   where: {
     *     // ... the filter for the DeliveryNoteStatuses we want to count
     *   }
     * })
    **/
    count<T extends DeliveryNoteStatusCountArgs>(
      args?: Subset<T, DeliveryNoteStatusCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DeliveryNoteStatusCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DeliveryNoteStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DeliveryNoteStatusAggregateArgs>(args: Subset<T, DeliveryNoteStatusAggregateArgs>): Prisma.PrismaPromise<GetDeliveryNoteStatusAggregateType<T>>

    /**
     * Group by DeliveryNoteStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteStatusGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DeliveryNoteStatusGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DeliveryNoteStatusGroupByArgs['orderBy'] }
        : { orderBy?: DeliveryNoteStatusGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DeliveryNoteStatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeliveryNoteStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DeliveryNoteStatus model
   */
  readonly fields: DeliveryNoteStatusFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DeliveryNoteStatus.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DeliveryNoteStatusClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    delivery_notes<T extends DeliveryNoteStatus$delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNoteStatus$delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DeliveryNoteStatus model
   */ 
  interface DeliveryNoteStatusFieldRefs {
    readonly id: FieldRef<"DeliveryNoteStatus", 'Int'>
    readonly uuid: FieldRef<"DeliveryNoteStatus", 'String'>
    readonly name: FieldRef<"DeliveryNoteStatus", 'String'>
    readonly code: FieldRef<"DeliveryNoteStatus", 'String'>
    readonly status_id: FieldRef<"DeliveryNoteStatus", 'Int'>
    readonly company_id: FieldRef<"DeliveryNoteStatus", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * DeliveryNoteStatus findUnique
   */
  export type DeliveryNoteStatusFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteStatus to fetch.
     */
    where: DeliveryNoteStatusWhereUniqueInput
  }

  /**
   * DeliveryNoteStatus findUniqueOrThrow
   */
  export type DeliveryNoteStatusFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteStatus to fetch.
     */
    where: DeliveryNoteStatusWhereUniqueInput
  }

  /**
   * DeliveryNoteStatus findFirst
   */
  export type DeliveryNoteStatusFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteStatus to fetch.
     */
    where?: DeliveryNoteStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteStatuses to fetch.
     */
    orderBy?: DeliveryNoteStatusOrderByWithRelationInput | DeliveryNoteStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNoteStatuses.
     */
    cursor?: DeliveryNoteStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNoteStatuses.
     */
    distinct?: DeliveryNoteStatusScalarFieldEnum | DeliveryNoteStatusScalarFieldEnum[]
  }

  /**
   * DeliveryNoteStatus findFirstOrThrow
   */
  export type DeliveryNoteStatusFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteStatus to fetch.
     */
    where?: DeliveryNoteStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteStatuses to fetch.
     */
    orderBy?: DeliveryNoteStatusOrderByWithRelationInput | DeliveryNoteStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNoteStatuses.
     */
    cursor?: DeliveryNoteStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNoteStatuses.
     */
    distinct?: DeliveryNoteStatusScalarFieldEnum | DeliveryNoteStatusScalarFieldEnum[]
  }

  /**
   * DeliveryNoteStatus findMany
   */
  export type DeliveryNoteStatusFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteStatuses to fetch.
     */
    where?: DeliveryNoteStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteStatuses to fetch.
     */
    orderBy?: DeliveryNoteStatusOrderByWithRelationInput | DeliveryNoteStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DeliveryNoteStatuses.
     */
    cursor?: DeliveryNoteStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteStatuses.
     */
    skip?: number
    distinct?: DeliveryNoteStatusScalarFieldEnum | DeliveryNoteStatusScalarFieldEnum[]
  }

  /**
   * DeliveryNoteStatus create
   */
  export type DeliveryNoteStatusCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * The data needed to create a DeliveryNoteStatus.
     */
    data: XOR<DeliveryNoteStatusCreateInput, DeliveryNoteStatusUncheckedCreateInput>
  }

  /**
   * DeliveryNoteStatus createMany
   */
  export type DeliveryNoteStatusCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DeliveryNoteStatuses.
     */
    data: DeliveryNoteStatusCreateManyInput | DeliveryNoteStatusCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DeliveryNoteStatus createManyAndReturn
   */
  export type DeliveryNoteStatusCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DeliveryNoteStatuses.
     */
    data: DeliveryNoteStatusCreateManyInput | DeliveryNoteStatusCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DeliveryNoteStatus update
   */
  export type DeliveryNoteStatusUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * The data needed to update a DeliveryNoteStatus.
     */
    data: XOR<DeliveryNoteStatusUpdateInput, DeliveryNoteStatusUncheckedUpdateInput>
    /**
     * Choose, which DeliveryNoteStatus to update.
     */
    where: DeliveryNoteStatusWhereUniqueInput
  }

  /**
   * DeliveryNoteStatus updateMany
   */
  export type DeliveryNoteStatusUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DeliveryNoteStatuses.
     */
    data: XOR<DeliveryNoteStatusUpdateManyMutationInput, DeliveryNoteStatusUncheckedUpdateManyInput>
    /**
     * Filter which DeliveryNoteStatuses to update
     */
    where?: DeliveryNoteStatusWhereInput
  }

  /**
   * DeliveryNoteStatus upsert
   */
  export type DeliveryNoteStatusUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * The filter to search for the DeliveryNoteStatus to update in case it exists.
     */
    where: DeliveryNoteStatusWhereUniqueInput
    /**
     * In case the DeliveryNoteStatus found by the `where` argument doesn't exist, create a new DeliveryNoteStatus with this data.
     */
    create: XOR<DeliveryNoteStatusCreateInput, DeliveryNoteStatusUncheckedCreateInput>
    /**
     * In case the DeliveryNoteStatus was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DeliveryNoteStatusUpdateInput, DeliveryNoteStatusUncheckedUpdateInput>
  }

  /**
   * DeliveryNoteStatus delete
   */
  export type DeliveryNoteStatusDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
    /**
     * Filter which DeliveryNoteStatus to delete.
     */
    where: DeliveryNoteStatusWhereUniqueInput
  }

  /**
   * DeliveryNoteStatus deleteMany
   */
  export type DeliveryNoteStatusDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNoteStatuses to delete
     */
    where?: DeliveryNoteStatusWhereInput
  }

  /**
   * DeliveryNoteStatus.delivery_notes
   */
  export type DeliveryNoteStatus$delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    where?: DeliveryNotesWhereInput
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    cursor?: DeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * DeliveryNoteStatus without action
   */
  export type DeliveryNoteStatusDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteStatus
     */
    select?: DeliveryNoteStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteStatusInclude<ExtArgs> | null
  }


  /**
   * Model DeliveryNoteLineItems
   */

  export type AggregateDeliveryNoteLineItems = {
    _count: DeliveryNoteLineItemsCountAggregateOutputType | null
    _avg: DeliveryNoteLineItemsAvgAggregateOutputType | null
    _sum: DeliveryNoteLineItemsSumAggregateOutputType | null
    _min: DeliveryNoteLineItemsMinAggregateOutputType | null
    _max: DeliveryNoteLineItemsMaxAggregateOutputType | null
  }

  export type DeliveryNoteLineItemsAvgAggregateOutputType = {
    id: number | null
    delivery_note_id: number | null
    length: Decimal | null
    quantity: number | null
    weight: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeliveryNoteLineItemsSumAggregateOutputType = {
    id: number | null
    delivery_note_id: number | null
    length: Decimal | null
    quantity: number | null
    weight: number | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type DeliveryNoteLineItemsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_id: number | null
    length: Decimal | null
    quantity: number | null
    weight: number | null
    item_description: string | null
    slip_no: string | null
    section_number: string | null
    item_code: string | null
    remarks: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DeliveryNoteLineItemsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_id: number | null
    length: Decimal | null
    quantity: number | null
    weight: number | null
    item_description: string | null
    slip_no: string | null
    section_number: string | null
    item_code: string | null
    remarks: string | null
    status_id: number | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type DeliveryNoteLineItemsCountAggregateOutputType = {
    id: number
    uuid: number
    delivery_note_id: number
    length: number
    quantity: number
    weight: number
    item_description: number
    slip_no: number
    section_number: number
    item_code: number
    remarks: number
    status_id: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type DeliveryNoteLineItemsAvgAggregateInputType = {
    id?: true
    delivery_note_id?: true
    length?: true
    quantity?: true
    weight?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeliveryNoteLineItemsSumAggregateInputType = {
    id?: true
    delivery_note_id?: true
    length?: true
    quantity?: true
    weight?: true
    status_id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type DeliveryNoteLineItemsMinAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    length?: true
    quantity?: true
    weight?: true
    item_description?: true
    slip_no?: true
    section_number?: true
    item_code?: true
    remarks?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DeliveryNoteLineItemsMaxAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    length?: true
    quantity?: true
    weight?: true
    item_description?: true
    slip_no?: true
    section_number?: true
    item_code?: true
    remarks?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type DeliveryNoteLineItemsCountAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    length?: true
    quantity?: true
    weight?: true
    item_description?: true
    slip_no?: true
    section_number?: true
    item_code?: true
    remarks?: true
    status_id?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type DeliveryNoteLineItemsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNoteLineItems to aggregate.
     */
    where?: DeliveryNoteLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteLineItems to fetch.
     */
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned DeliveryNoteLineItems
    **/
    _count?: true | DeliveryNoteLineItemsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: DeliveryNoteLineItemsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: DeliveryNoteLineItemsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: DeliveryNoteLineItemsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: DeliveryNoteLineItemsMaxAggregateInputType
  }

  export type GetDeliveryNoteLineItemsAggregateType<T extends DeliveryNoteLineItemsAggregateArgs> = {
        [P in keyof T & keyof AggregateDeliveryNoteLineItems]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateDeliveryNoteLineItems[P]>
      : GetScalarType<T[P], AggregateDeliveryNoteLineItems[P]>
  }




  export type DeliveryNoteLineItemsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: DeliveryNoteLineItemsWhereInput
    orderBy?: DeliveryNoteLineItemsOrderByWithAggregationInput | DeliveryNoteLineItemsOrderByWithAggregationInput[]
    by: DeliveryNoteLineItemsScalarFieldEnum[] | DeliveryNoteLineItemsScalarFieldEnum
    having?: DeliveryNoteLineItemsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: DeliveryNoteLineItemsCountAggregateInputType | true
    _avg?: DeliveryNoteLineItemsAvgAggregateInputType
    _sum?: DeliveryNoteLineItemsSumAggregateInputType
    _min?: DeliveryNoteLineItemsMinAggregateInputType
    _max?: DeliveryNoteLineItemsMaxAggregateInputType
  }

  export type DeliveryNoteLineItemsGroupByOutputType = {
    id: number
    uuid: string
    delivery_note_id: number
    length: Decimal
    quantity: number
    weight: number
    item_description: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks: string | null
    status_id: number
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: DeliveryNoteLineItemsCountAggregateOutputType | null
    _avg: DeliveryNoteLineItemsAvgAggregateOutputType | null
    _sum: DeliveryNoteLineItemsSumAggregateOutputType | null
    _min: DeliveryNoteLineItemsMinAggregateOutputType | null
    _max: DeliveryNoteLineItemsMaxAggregateOutputType | null
  }

  type GetDeliveryNoteLineItemsGroupByPayload<T extends DeliveryNoteLineItemsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<DeliveryNoteLineItemsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof DeliveryNoteLineItemsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], DeliveryNoteLineItemsGroupByOutputType[P]>
            : GetScalarType<T[P], DeliveryNoteLineItemsGroupByOutputType[P]>
        }
      >
    >


  export type DeliveryNoteLineItemsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    length?: boolean
    quantity?: boolean
    weight?: boolean
    item_description?: boolean
    slip_no?: boolean
    section_number?: boolean
    item_code?: boolean
    remarks?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNoteLineItems"]>

  export type DeliveryNoteLineItemsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    length?: boolean
    quantity?: boolean
    weight?: boolean
    item_description?: boolean
    slip_no?: boolean
    section_number?: boolean
    item_code?: boolean
    remarks?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["deliveryNoteLineItems"]>

  export type DeliveryNoteLineItemsSelectScalar = {
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    length?: boolean
    quantity?: boolean
    weight?: boolean
    item_description?: boolean
    slip_no?: boolean
    section_number?: boolean
    item_code?: boolean
    remarks?: boolean
    status_id?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type DeliveryNoteLineItemsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type DeliveryNoteLineItemsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $DeliveryNoteLineItemsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "DeliveryNoteLineItems"
    objects: {
      delivery_note: Prisma.$DeliveryNotesPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      delivery_note_id: number
      length: Prisma.Decimal
      quantity: number
      weight: number
      item_description: string | null
      slip_no: string
      section_number: string
      item_code: string
      remarks: string | null
      status_id: number
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["deliveryNoteLineItems"]>
    composites: {}
  }

  type DeliveryNoteLineItemsGetPayload<S extends boolean | null | undefined | DeliveryNoteLineItemsDefaultArgs> = $Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload, S>

  type DeliveryNoteLineItemsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<DeliveryNoteLineItemsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: DeliveryNoteLineItemsCountAggregateInputType | true
    }

  export interface DeliveryNoteLineItemsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeliveryNoteLineItems'], meta: { name: 'DeliveryNoteLineItems' } }
    /**
     * Find zero or one DeliveryNoteLineItems that matches the filter.
     * @param {DeliveryNoteLineItemsFindUniqueArgs} args - Arguments to find a DeliveryNoteLineItems
     * @example
     * // Get one DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends DeliveryNoteLineItemsFindUniqueArgs>(args: SelectSubset<T, DeliveryNoteLineItemsFindUniqueArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one DeliveryNoteLineItems that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {DeliveryNoteLineItemsFindUniqueOrThrowArgs} args - Arguments to find a DeliveryNoteLineItems
     * @example
     * // Get one DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends DeliveryNoteLineItemsFindUniqueOrThrowArgs>(args: SelectSubset<T, DeliveryNoteLineItemsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first DeliveryNoteLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsFindFirstArgs} args - Arguments to find a DeliveryNoteLineItems
     * @example
     * // Get one DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends DeliveryNoteLineItemsFindFirstArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsFindFirstArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first DeliveryNoteLineItems that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsFindFirstOrThrowArgs} args - Arguments to find a DeliveryNoteLineItems
     * @example
     * // Get one DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends DeliveryNoteLineItemsFindFirstOrThrowArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsFindFirstOrThrowArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more DeliveryNoteLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findMany()
     * 
     * // Get first 10 DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const deliveryNoteLineItemsWithIdOnly = await prisma.deliveryNoteLineItems.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends DeliveryNoteLineItemsFindManyArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsCreateArgs} args - Arguments to create a DeliveryNoteLineItems.
     * @example
     * // Create one DeliveryNoteLineItems
     * const DeliveryNoteLineItems = await prisma.deliveryNoteLineItems.create({
     *   data: {
     *     // ... data to create a DeliveryNoteLineItems
     *   }
     * })
     * 
     */
    create<T extends DeliveryNoteLineItemsCreateArgs>(args: SelectSubset<T, DeliveryNoteLineItemsCreateArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsCreateManyArgs} args - Arguments to create many DeliveryNoteLineItems.
     * @example
     * // Create many DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends DeliveryNoteLineItemsCreateManyArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many DeliveryNoteLineItems and returns the data saved in the database.
     * @param {DeliveryNoteLineItemsCreateManyAndReturnArgs} args - Arguments to create many DeliveryNoteLineItems.
     * @example
     * // Create many DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many DeliveryNoteLineItems and only return the `id`
     * const deliveryNoteLineItemsWithIdOnly = await prisma.deliveryNoteLineItems.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends DeliveryNoteLineItemsCreateManyAndReturnArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsDeleteArgs} args - Arguments to delete one DeliveryNoteLineItems.
     * @example
     * // Delete one DeliveryNoteLineItems
     * const DeliveryNoteLineItems = await prisma.deliveryNoteLineItems.delete({
     *   where: {
     *     // ... filter to delete one DeliveryNoteLineItems
     *   }
     * })
     * 
     */
    delete<T extends DeliveryNoteLineItemsDeleteArgs>(args: SelectSubset<T, DeliveryNoteLineItemsDeleteArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsUpdateArgs} args - Arguments to update one DeliveryNoteLineItems.
     * @example
     * // Update one DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends DeliveryNoteLineItemsUpdateArgs>(args: SelectSubset<T, DeliveryNoteLineItemsUpdateArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsDeleteManyArgs} args - Arguments to filter DeliveryNoteLineItems to delete.
     * @example
     * // Delete a few DeliveryNoteLineItems
     * const { count } = await prisma.deliveryNoteLineItems.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends DeliveryNoteLineItemsDeleteManyArgs>(args?: SelectSubset<T, DeliveryNoteLineItemsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more DeliveryNoteLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends DeliveryNoteLineItemsUpdateManyArgs>(args: SelectSubset<T, DeliveryNoteLineItemsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one DeliveryNoteLineItems.
     * @param {DeliveryNoteLineItemsUpsertArgs} args - Arguments to update or create a DeliveryNoteLineItems.
     * @example
     * // Update or create a DeliveryNoteLineItems
     * const deliveryNoteLineItems = await prisma.deliveryNoteLineItems.upsert({
     *   create: {
     *     // ... data to create a DeliveryNoteLineItems
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the DeliveryNoteLineItems we want to update
     *   }
     * })
     */
    upsert<T extends DeliveryNoteLineItemsUpsertArgs>(args: SelectSubset<T, DeliveryNoteLineItemsUpsertArgs<ExtArgs>>): Prisma__DeliveryNoteLineItemsClient<$Result.GetResult<Prisma.$DeliveryNoteLineItemsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of DeliveryNoteLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsCountArgs} args - Arguments to filter DeliveryNoteLineItems to count.
     * @example
     * // Count the number of DeliveryNoteLineItems
     * const count = await prisma.deliveryNoteLineItems.count({
     *   where: {
     *     // ... the filter for the DeliveryNoteLineItems we want to count
     *   }
     * })
    **/
    count<T extends DeliveryNoteLineItemsCountArgs>(
      args?: Subset<T, DeliveryNoteLineItemsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], DeliveryNoteLineItemsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a DeliveryNoteLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends DeliveryNoteLineItemsAggregateArgs>(args: Subset<T, DeliveryNoteLineItemsAggregateArgs>): Prisma.PrismaPromise<GetDeliveryNoteLineItemsAggregateType<T>>

    /**
     * Group by DeliveryNoteLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {DeliveryNoteLineItemsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends DeliveryNoteLineItemsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: DeliveryNoteLineItemsGroupByArgs['orderBy'] }
        : { orderBy?: DeliveryNoteLineItemsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, DeliveryNoteLineItemsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeliveryNoteLineItemsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the DeliveryNoteLineItems model
   */
  readonly fields: DeliveryNoteLineItemsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for DeliveryNoteLineItems.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__DeliveryNoteLineItemsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    delivery_note<T extends DeliveryNotesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNotesDefaultArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the DeliveryNoteLineItems model
   */ 
  interface DeliveryNoteLineItemsFieldRefs {
    readonly id: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly uuid: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly delivery_note_id: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly length: FieldRef<"DeliveryNoteLineItems", 'Decimal'>
    readonly quantity: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly weight: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly item_description: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly slip_no: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly section_number: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly item_code: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly remarks: FieldRef<"DeliveryNoteLineItems", 'String'>
    readonly status_id: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly company_id: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly created_by: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly created_at: FieldRef<"DeliveryNoteLineItems", 'DateTime'>
    readonly updated_by: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly updated_at: FieldRef<"DeliveryNoteLineItems", 'DateTime'>
    readonly deleted_by: FieldRef<"DeliveryNoteLineItems", 'Int'>
    readonly deleted_at: FieldRef<"DeliveryNoteLineItems", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * DeliveryNoteLineItems findUnique
   */
  export type DeliveryNoteLineItemsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteLineItems to fetch.
     */
    where: DeliveryNoteLineItemsWhereUniqueInput
  }

  /**
   * DeliveryNoteLineItems findUniqueOrThrow
   */
  export type DeliveryNoteLineItemsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteLineItems to fetch.
     */
    where: DeliveryNoteLineItemsWhereUniqueInput
  }

  /**
   * DeliveryNoteLineItems findFirst
   */
  export type DeliveryNoteLineItemsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteLineItems to fetch.
     */
    where?: DeliveryNoteLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteLineItems to fetch.
     */
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNoteLineItems.
     */
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNoteLineItems.
     */
    distinct?: DeliveryNoteLineItemsScalarFieldEnum | DeliveryNoteLineItemsScalarFieldEnum[]
  }

  /**
   * DeliveryNoteLineItems findFirstOrThrow
   */
  export type DeliveryNoteLineItemsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteLineItems to fetch.
     */
    where?: DeliveryNoteLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteLineItems to fetch.
     */
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for DeliveryNoteLineItems.
     */
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of DeliveryNoteLineItems.
     */
    distinct?: DeliveryNoteLineItemsScalarFieldEnum | DeliveryNoteLineItemsScalarFieldEnum[]
  }

  /**
   * DeliveryNoteLineItems findMany
   */
  export type DeliveryNoteLineItemsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which DeliveryNoteLineItems to fetch.
     */
    where?: DeliveryNoteLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of DeliveryNoteLineItems to fetch.
     */
    orderBy?: DeliveryNoteLineItemsOrderByWithRelationInput | DeliveryNoteLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing DeliveryNoteLineItems.
     */
    cursor?: DeliveryNoteLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` DeliveryNoteLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` DeliveryNoteLineItems.
     */
    skip?: number
    distinct?: DeliveryNoteLineItemsScalarFieldEnum | DeliveryNoteLineItemsScalarFieldEnum[]
  }

  /**
   * DeliveryNoteLineItems create
   */
  export type DeliveryNoteLineItemsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to create a DeliveryNoteLineItems.
     */
    data: XOR<DeliveryNoteLineItemsCreateInput, DeliveryNoteLineItemsUncheckedCreateInput>
  }

  /**
   * DeliveryNoteLineItems createMany
   */
  export type DeliveryNoteLineItemsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many DeliveryNoteLineItems.
     */
    data: DeliveryNoteLineItemsCreateManyInput | DeliveryNoteLineItemsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * DeliveryNoteLineItems createManyAndReturn
   */
  export type DeliveryNoteLineItemsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many DeliveryNoteLineItems.
     */
    data: DeliveryNoteLineItemsCreateManyInput | DeliveryNoteLineItemsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * DeliveryNoteLineItems update
   */
  export type DeliveryNoteLineItemsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to update a DeliveryNoteLineItems.
     */
    data: XOR<DeliveryNoteLineItemsUpdateInput, DeliveryNoteLineItemsUncheckedUpdateInput>
    /**
     * Choose, which DeliveryNoteLineItems to update.
     */
    where: DeliveryNoteLineItemsWhereUniqueInput
  }

  /**
   * DeliveryNoteLineItems updateMany
   */
  export type DeliveryNoteLineItemsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update DeliveryNoteLineItems.
     */
    data: XOR<DeliveryNoteLineItemsUpdateManyMutationInput, DeliveryNoteLineItemsUncheckedUpdateManyInput>
    /**
     * Filter which DeliveryNoteLineItems to update
     */
    where?: DeliveryNoteLineItemsWhereInput
  }

  /**
   * DeliveryNoteLineItems upsert
   */
  export type DeliveryNoteLineItemsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * The filter to search for the DeliveryNoteLineItems to update in case it exists.
     */
    where: DeliveryNoteLineItemsWhereUniqueInput
    /**
     * In case the DeliveryNoteLineItems found by the `where` argument doesn't exist, create a new DeliveryNoteLineItems with this data.
     */
    create: XOR<DeliveryNoteLineItemsCreateInput, DeliveryNoteLineItemsUncheckedCreateInput>
    /**
     * In case the DeliveryNoteLineItems was found with the provided `where` argument, update it with this data.
     */
    update: XOR<DeliveryNoteLineItemsUpdateInput, DeliveryNoteLineItemsUncheckedUpdateInput>
  }

  /**
   * DeliveryNoteLineItems delete
   */
  export type DeliveryNoteLineItemsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
    /**
     * Filter which DeliveryNoteLineItems to delete.
     */
    where: DeliveryNoteLineItemsWhereUniqueInput
  }

  /**
   * DeliveryNoteLineItems deleteMany
   */
  export type DeliveryNoteLineItemsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which DeliveryNoteLineItems to delete
     */
    where?: DeliveryNoteLineItemsWhereInput
  }

  /**
   * DeliveryNoteLineItems without action
   */
  export type DeliveryNoteLineItemsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNoteLineItems
     */
    select?: DeliveryNoteLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNoteLineItemsInclude<ExtArgs> | null
  }


  /**
   * Model CustomerDeliveryAddresses
   */

  export type AggregateCustomerDeliveryAddresses = {
    _count: CustomerDeliveryAddressesCountAggregateOutputType | null
    _avg: CustomerDeliveryAddressesAvgAggregateOutputType | null
    _sum: CustomerDeliveryAddressesSumAggregateOutputType | null
    _min: CustomerDeliveryAddressesMinAggregateOutputType | null
    _max: CustomerDeliveryAddressesMaxAggregateOutputType | null
  }

  export type CustomerDeliveryAddressesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type CustomerDeliveryAddressesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type CustomerDeliveryAddressesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_address_code: string | null
    company_id: number | null
    status_id: number | null
    billing_address: string | null
    shipping_address: string | null
    delivery_location: string | null
    customer_contact_no: string | null
    delivery_address_lat_long: string | null
  }

  export type CustomerDeliveryAddressesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_address_code: string | null
    company_id: number | null
    status_id: number | null
    billing_address: string | null
    shipping_address: string | null
    delivery_location: string | null
    customer_contact_no: string | null
    delivery_address_lat_long: string | null
  }

  export type CustomerDeliveryAddressesCountAggregateOutputType = {
    id: number
    uuid: number
    delivery_address_code: number
    company_id: number
    status_id: number
    billing_address: number
    shipping_address: number
    delivery_location: number
    customer_contact_no: number
    delivery_address_lat_long: number
    _all: number
  }


  export type CustomerDeliveryAddressesAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type CustomerDeliveryAddressesSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
  }

  export type CustomerDeliveryAddressesMinAggregateInputType = {
    id?: true
    uuid?: true
    delivery_address_code?: true
    company_id?: true
    status_id?: true
    billing_address?: true
    shipping_address?: true
    delivery_location?: true
    customer_contact_no?: true
    delivery_address_lat_long?: true
  }

  export type CustomerDeliveryAddressesMaxAggregateInputType = {
    id?: true
    uuid?: true
    delivery_address_code?: true
    company_id?: true
    status_id?: true
    billing_address?: true
    shipping_address?: true
    delivery_location?: true
    customer_contact_no?: true
    delivery_address_lat_long?: true
  }

  export type CustomerDeliveryAddressesCountAggregateInputType = {
    id?: true
    uuid?: true
    delivery_address_code?: true
    company_id?: true
    status_id?: true
    billing_address?: true
    shipping_address?: true
    delivery_location?: true
    customer_contact_no?: true
    delivery_address_lat_long?: true
    _all?: true
  }

  export type CustomerDeliveryAddressesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CustomerDeliveryAddresses to aggregate.
     */
    where?: CustomerDeliveryAddressesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerDeliveryAddresses to fetch.
     */
    orderBy?: CustomerDeliveryAddressesOrderByWithRelationInput | CustomerDeliveryAddressesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CustomerDeliveryAddressesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerDeliveryAddresses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerDeliveryAddresses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned CustomerDeliveryAddresses
    **/
    _count?: true | CustomerDeliveryAddressesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CustomerDeliveryAddressesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CustomerDeliveryAddressesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CustomerDeliveryAddressesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CustomerDeliveryAddressesMaxAggregateInputType
  }

  export type GetCustomerDeliveryAddressesAggregateType<T extends CustomerDeliveryAddressesAggregateArgs> = {
        [P in keyof T & keyof AggregateCustomerDeliveryAddresses]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCustomerDeliveryAddresses[P]>
      : GetScalarType<T[P], AggregateCustomerDeliveryAddresses[P]>
  }




  export type CustomerDeliveryAddressesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerDeliveryAddressesWhereInput
    orderBy?: CustomerDeliveryAddressesOrderByWithAggregationInput | CustomerDeliveryAddressesOrderByWithAggregationInput[]
    by: CustomerDeliveryAddressesScalarFieldEnum[] | CustomerDeliveryAddressesScalarFieldEnum
    having?: CustomerDeliveryAddressesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CustomerDeliveryAddressesCountAggregateInputType | true
    _avg?: CustomerDeliveryAddressesAvgAggregateInputType
    _sum?: CustomerDeliveryAddressesSumAggregateInputType
    _min?: CustomerDeliveryAddressesMinAggregateInputType
    _max?: CustomerDeliveryAddressesMaxAggregateInputType
  }

  export type CustomerDeliveryAddressesGroupByOutputType = {
    id: number
    uuid: string
    delivery_address_code: string
    company_id: number
    status_id: number
    billing_address: string | null
    shipping_address: string | null
    delivery_location: string
    customer_contact_no: string | null
    delivery_address_lat_long: string | null
    _count: CustomerDeliveryAddressesCountAggregateOutputType | null
    _avg: CustomerDeliveryAddressesAvgAggregateOutputType | null
    _sum: CustomerDeliveryAddressesSumAggregateOutputType | null
    _min: CustomerDeliveryAddressesMinAggregateOutputType | null
    _max: CustomerDeliveryAddressesMaxAggregateOutputType | null
  }

  type GetCustomerDeliveryAddressesGroupByPayload<T extends CustomerDeliveryAddressesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CustomerDeliveryAddressesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CustomerDeliveryAddressesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CustomerDeliveryAddressesGroupByOutputType[P]>
            : GetScalarType<T[P], CustomerDeliveryAddressesGroupByOutputType[P]>
        }
      >
    >


  export type CustomerDeliveryAddressesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_address_code?: boolean
    company_id?: boolean
    status_id?: boolean
    billing_address?: boolean
    shipping_address?: boolean
    delivery_location?: boolean
    customer_contact_no?: boolean
    delivery_address_lat_long?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    delivery_notes?: boolean | CustomerDeliveryAddresses$delivery_notesArgs<ExtArgs>
    shipment_location?: boolean | CustomerDeliveryAddresses$shipment_locationArgs<ExtArgs>
    _count?: boolean | CustomerDeliveryAddressesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["customerDeliveryAddresses"]>

  export type CustomerDeliveryAddressesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_address_code?: boolean
    company_id?: boolean
    status_id?: boolean
    billing_address?: boolean
    shipping_address?: boolean
    delivery_location?: boolean
    customer_contact_no?: boolean
    delivery_address_lat_long?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["customerDeliveryAddresses"]>

  export type CustomerDeliveryAddressesSelectScalar = {
    id?: boolean
    uuid?: boolean
    delivery_address_code?: boolean
    company_id?: boolean
    status_id?: boolean
    billing_address?: boolean
    shipping_address?: boolean
    delivery_location?: boolean
    customer_contact_no?: boolean
    delivery_address_lat_long?: boolean
  }

  export type CustomerDeliveryAddressesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    delivery_notes?: boolean | CustomerDeliveryAddresses$delivery_notesArgs<ExtArgs>
    shipment_location?: boolean | CustomerDeliveryAddresses$shipment_locationArgs<ExtArgs>
    _count?: boolean | CustomerDeliveryAddressesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type CustomerDeliveryAddressesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $CustomerDeliveryAddressesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "CustomerDeliveryAddresses"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      delivery_notes: Prisma.$DeliveryNotesPayload<ExtArgs>[]
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      delivery_address_code: string
      company_id: number
      status_id: number
      billing_address: string | null
      shipping_address: string | null
      delivery_location: string
      customer_contact_no: string | null
      delivery_address_lat_long: string | null
    }, ExtArgs["result"]["customerDeliveryAddresses"]>
    composites: {}
  }

  type CustomerDeliveryAddressesGetPayload<S extends boolean | null | undefined | CustomerDeliveryAddressesDefaultArgs> = $Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload, S>

  type CustomerDeliveryAddressesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CustomerDeliveryAddressesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CustomerDeliveryAddressesCountAggregateInputType | true
    }

  export interface CustomerDeliveryAddressesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CustomerDeliveryAddresses'], meta: { name: 'CustomerDeliveryAddresses' } }
    /**
     * Find zero or one CustomerDeliveryAddresses that matches the filter.
     * @param {CustomerDeliveryAddressesFindUniqueArgs} args - Arguments to find a CustomerDeliveryAddresses
     * @example
     * // Get one CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CustomerDeliveryAddressesFindUniqueArgs>(args: SelectSubset<T, CustomerDeliveryAddressesFindUniqueArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one CustomerDeliveryAddresses that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CustomerDeliveryAddressesFindUniqueOrThrowArgs} args - Arguments to find a CustomerDeliveryAddresses
     * @example
     * // Get one CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CustomerDeliveryAddressesFindUniqueOrThrowArgs>(args: SelectSubset<T, CustomerDeliveryAddressesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first CustomerDeliveryAddresses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesFindFirstArgs} args - Arguments to find a CustomerDeliveryAddresses
     * @example
     * // Get one CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CustomerDeliveryAddressesFindFirstArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesFindFirstArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first CustomerDeliveryAddresses that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesFindFirstOrThrowArgs} args - Arguments to find a CustomerDeliveryAddresses
     * @example
     * // Get one CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CustomerDeliveryAddressesFindFirstOrThrowArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesFindFirstOrThrowArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more CustomerDeliveryAddresses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findMany()
     * 
     * // Get first 10 CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const customerDeliveryAddressesWithIdOnly = await prisma.customerDeliveryAddresses.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CustomerDeliveryAddressesFindManyArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesCreateArgs} args - Arguments to create a CustomerDeliveryAddresses.
     * @example
     * // Create one CustomerDeliveryAddresses
     * const CustomerDeliveryAddresses = await prisma.customerDeliveryAddresses.create({
     *   data: {
     *     // ... data to create a CustomerDeliveryAddresses
     *   }
     * })
     * 
     */
    create<T extends CustomerDeliveryAddressesCreateArgs>(args: SelectSubset<T, CustomerDeliveryAddressesCreateArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesCreateManyArgs} args - Arguments to create many CustomerDeliveryAddresses.
     * @example
     * // Create many CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CustomerDeliveryAddressesCreateManyArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many CustomerDeliveryAddresses and returns the data saved in the database.
     * @param {CustomerDeliveryAddressesCreateManyAndReturnArgs} args - Arguments to create many CustomerDeliveryAddresses.
     * @example
     * // Create many CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many CustomerDeliveryAddresses and only return the `id`
     * const customerDeliveryAddressesWithIdOnly = await prisma.customerDeliveryAddresses.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CustomerDeliveryAddressesCreateManyAndReturnArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesDeleteArgs} args - Arguments to delete one CustomerDeliveryAddresses.
     * @example
     * // Delete one CustomerDeliveryAddresses
     * const CustomerDeliveryAddresses = await prisma.customerDeliveryAddresses.delete({
     *   where: {
     *     // ... filter to delete one CustomerDeliveryAddresses
     *   }
     * })
     * 
     */
    delete<T extends CustomerDeliveryAddressesDeleteArgs>(args: SelectSubset<T, CustomerDeliveryAddressesDeleteArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesUpdateArgs} args - Arguments to update one CustomerDeliveryAddresses.
     * @example
     * // Update one CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CustomerDeliveryAddressesUpdateArgs>(args: SelectSubset<T, CustomerDeliveryAddressesUpdateArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesDeleteManyArgs} args - Arguments to filter CustomerDeliveryAddresses to delete.
     * @example
     * // Delete a few CustomerDeliveryAddresses
     * const { count } = await prisma.customerDeliveryAddresses.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CustomerDeliveryAddressesDeleteManyArgs>(args?: SelectSubset<T, CustomerDeliveryAddressesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more CustomerDeliveryAddresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CustomerDeliveryAddressesUpdateManyArgs>(args: SelectSubset<T, CustomerDeliveryAddressesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one CustomerDeliveryAddresses.
     * @param {CustomerDeliveryAddressesUpsertArgs} args - Arguments to update or create a CustomerDeliveryAddresses.
     * @example
     * // Update or create a CustomerDeliveryAddresses
     * const customerDeliveryAddresses = await prisma.customerDeliveryAddresses.upsert({
     *   create: {
     *     // ... data to create a CustomerDeliveryAddresses
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the CustomerDeliveryAddresses we want to update
     *   }
     * })
     */
    upsert<T extends CustomerDeliveryAddressesUpsertArgs>(args: SelectSubset<T, CustomerDeliveryAddressesUpsertArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of CustomerDeliveryAddresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesCountArgs} args - Arguments to filter CustomerDeliveryAddresses to count.
     * @example
     * // Count the number of CustomerDeliveryAddresses
     * const count = await prisma.customerDeliveryAddresses.count({
     *   where: {
     *     // ... the filter for the CustomerDeliveryAddresses we want to count
     *   }
     * })
    **/
    count<T extends CustomerDeliveryAddressesCountArgs>(
      args?: Subset<T, CustomerDeliveryAddressesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CustomerDeliveryAddressesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a CustomerDeliveryAddresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CustomerDeliveryAddressesAggregateArgs>(args: Subset<T, CustomerDeliveryAddressesAggregateArgs>): Prisma.PrismaPromise<GetCustomerDeliveryAddressesAggregateType<T>>

    /**
     * Group by CustomerDeliveryAddresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerDeliveryAddressesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CustomerDeliveryAddressesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CustomerDeliveryAddressesGroupByArgs['orderBy'] }
        : { orderBy?: CustomerDeliveryAddressesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CustomerDeliveryAddressesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCustomerDeliveryAddressesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the CustomerDeliveryAddresses model
   */
  readonly fields: CustomerDeliveryAddressesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for CustomerDeliveryAddresses.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CustomerDeliveryAddressesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    delivery_notes<T extends CustomerDeliveryAddresses$delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, CustomerDeliveryAddresses$delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_location<T extends CustomerDeliveryAddresses$shipment_locationArgs<ExtArgs> = {}>(args?: Subset<T, CustomerDeliveryAddresses$shipment_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the CustomerDeliveryAddresses model
   */ 
  interface CustomerDeliveryAddressesFieldRefs {
    readonly id: FieldRef<"CustomerDeliveryAddresses", 'Int'>
    readonly uuid: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly delivery_address_code: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly company_id: FieldRef<"CustomerDeliveryAddresses", 'Int'>
    readonly status_id: FieldRef<"CustomerDeliveryAddresses", 'Int'>
    readonly billing_address: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly shipping_address: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly delivery_location: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly customer_contact_no: FieldRef<"CustomerDeliveryAddresses", 'String'>
    readonly delivery_address_lat_long: FieldRef<"CustomerDeliveryAddresses", 'String'>
  }
    

  // Custom InputTypes
  /**
   * CustomerDeliveryAddresses findUnique
   */
  export type CustomerDeliveryAddressesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter, which CustomerDeliveryAddresses to fetch.
     */
    where: CustomerDeliveryAddressesWhereUniqueInput
  }

  /**
   * CustomerDeliveryAddresses findUniqueOrThrow
   */
  export type CustomerDeliveryAddressesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter, which CustomerDeliveryAddresses to fetch.
     */
    where: CustomerDeliveryAddressesWhereUniqueInput
  }

  /**
   * CustomerDeliveryAddresses findFirst
   */
  export type CustomerDeliveryAddressesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter, which CustomerDeliveryAddresses to fetch.
     */
    where?: CustomerDeliveryAddressesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerDeliveryAddresses to fetch.
     */
    orderBy?: CustomerDeliveryAddressesOrderByWithRelationInput | CustomerDeliveryAddressesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CustomerDeliveryAddresses.
     */
    cursor?: CustomerDeliveryAddressesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerDeliveryAddresses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerDeliveryAddresses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CustomerDeliveryAddresses.
     */
    distinct?: CustomerDeliveryAddressesScalarFieldEnum | CustomerDeliveryAddressesScalarFieldEnum[]
  }

  /**
   * CustomerDeliveryAddresses findFirstOrThrow
   */
  export type CustomerDeliveryAddressesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter, which CustomerDeliveryAddresses to fetch.
     */
    where?: CustomerDeliveryAddressesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerDeliveryAddresses to fetch.
     */
    orderBy?: CustomerDeliveryAddressesOrderByWithRelationInput | CustomerDeliveryAddressesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CustomerDeliveryAddresses.
     */
    cursor?: CustomerDeliveryAddressesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerDeliveryAddresses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerDeliveryAddresses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CustomerDeliveryAddresses.
     */
    distinct?: CustomerDeliveryAddressesScalarFieldEnum | CustomerDeliveryAddressesScalarFieldEnum[]
  }

  /**
   * CustomerDeliveryAddresses findMany
   */
  export type CustomerDeliveryAddressesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter, which CustomerDeliveryAddresses to fetch.
     */
    where?: CustomerDeliveryAddressesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerDeliveryAddresses to fetch.
     */
    orderBy?: CustomerDeliveryAddressesOrderByWithRelationInput | CustomerDeliveryAddressesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing CustomerDeliveryAddresses.
     */
    cursor?: CustomerDeliveryAddressesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerDeliveryAddresses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerDeliveryAddresses.
     */
    skip?: number
    distinct?: CustomerDeliveryAddressesScalarFieldEnum | CustomerDeliveryAddressesScalarFieldEnum[]
  }

  /**
   * CustomerDeliveryAddresses create
   */
  export type CustomerDeliveryAddressesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * The data needed to create a CustomerDeliveryAddresses.
     */
    data: XOR<CustomerDeliveryAddressesCreateInput, CustomerDeliveryAddressesUncheckedCreateInput>
  }

  /**
   * CustomerDeliveryAddresses createMany
   */
  export type CustomerDeliveryAddressesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many CustomerDeliveryAddresses.
     */
    data: CustomerDeliveryAddressesCreateManyInput | CustomerDeliveryAddressesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * CustomerDeliveryAddresses createManyAndReturn
   */
  export type CustomerDeliveryAddressesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many CustomerDeliveryAddresses.
     */
    data: CustomerDeliveryAddressesCreateManyInput | CustomerDeliveryAddressesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * CustomerDeliveryAddresses update
   */
  export type CustomerDeliveryAddressesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * The data needed to update a CustomerDeliveryAddresses.
     */
    data: XOR<CustomerDeliveryAddressesUpdateInput, CustomerDeliveryAddressesUncheckedUpdateInput>
    /**
     * Choose, which CustomerDeliveryAddresses to update.
     */
    where: CustomerDeliveryAddressesWhereUniqueInput
  }

  /**
   * CustomerDeliveryAddresses updateMany
   */
  export type CustomerDeliveryAddressesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update CustomerDeliveryAddresses.
     */
    data: XOR<CustomerDeliveryAddressesUpdateManyMutationInput, CustomerDeliveryAddressesUncheckedUpdateManyInput>
    /**
     * Filter which CustomerDeliveryAddresses to update
     */
    where?: CustomerDeliveryAddressesWhereInput
  }

  /**
   * CustomerDeliveryAddresses upsert
   */
  export type CustomerDeliveryAddressesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * The filter to search for the CustomerDeliveryAddresses to update in case it exists.
     */
    where: CustomerDeliveryAddressesWhereUniqueInput
    /**
     * In case the CustomerDeliveryAddresses found by the `where` argument doesn't exist, create a new CustomerDeliveryAddresses with this data.
     */
    create: XOR<CustomerDeliveryAddressesCreateInput, CustomerDeliveryAddressesUncheckedCreateInput>
    /**
     * In case the CustomerDeliveryAddresses was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CustomerDeliveryAddressesUpdateInput, CustomerDeliveryAddressesUncheckedUpdateInput>
  }

  /**
   * CustomerDeliveryAddresses delete
   */
  export type CustomerDeliveryAddressesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
    /**
     * Filter which CustomerDeliveryAddresses to delete.
     */
    where: CustomerDeliveryAddressesWhereUniqueInput
  }

  /**
   * CustomerDeliveryAddresses deleteMany
   */
  export type CustomerDeliveryAddressesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CustomerDeliveryAddresses to delete
     */
    where?: CustomerDeliveryAddressesWhereInput
  }

  /**
   * CustomerDeliveryAddresses.delivery_notes
   */
  export type CustomerDeliveryAddresses$delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the DeliveryNotes
     */
    select?: DeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: DeliveryNotesInclude<ExtArgs> | null
    where?: DeliveryNotesWhereInput
    orderBy?: DeliveryNotesOrderByWithRelationInput | DeliveryNotesOrderByWithRelationInput[]
    cursor?: DeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: DeliveryNotesScalarFieldEnum | DeliveryNotesScalarFieldEnum[]
  }

  /**
   * CustomerDeliveryAddresses.shipment_location
   */
  export type CustomerDeliveryAddresses$shipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * CustomerDeliveryAddresses without action
   */
  export type CustomerDeliveryAddressesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerDeliveryAddresses
     */
    select?: CustomerDeliveryAddressesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerDeliveryAddressesInclude<ExtArgs> | null
  }


  /**
   * Model Shipments
   */

  export type AggregateShipments = {
    _count: ShipmentsCountAggregateOutputType | null
    _avg: ShipmentsAvgAggregateOutputType | null
    _sum: ShipmentsSumAggregateOutputType | null
    _min: ShipmentsMinAggregateOutputType | null
    _max: ShipmentsMaxAggregateOutputType | null
  }

  export type ShipmentsAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    vehicle_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    driver_id: number | null
  }

  export type ShipmentsSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    vehicle_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    driver_id: number | null
  }

  export type ShipmentsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_number: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    reason: string | null
    vehicle_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    driver_id: number | null
    mobile_build_version: string | null
    shipment_delivered_at: Date | null
  }

  export type ShipmentsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_number: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    reason: string | null
    vehicle_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    driver_id: number | null
    mobile_build_version: string | null
    shipment_delivered_at: Date | null
  }

  export type ShipmentsCountAggregateOutputType = {
    id: number
    uuid: number
    shipment_number: number
    company_id: number
    status_id: number
    shipment_status_id: number
    reason: number
    vehicle_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    driver_id: number
    mobile_build_version: number
    shipment_delivered_at: number
    _all: number
  }


  export type ShipmentsAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    vehicle_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    driver_id?: true
  }

  export type ShipmentsSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    vehicle_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    driver_id?: true
  }

  export type ShipmentsMinAggregateInputType = {
    id?: true
    uuid?: true
    shipment_number?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    reason?: true
    vehicle_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    driver_id?: true
    mobile_build_version?: true
    shipment_delivered_at?: true
  }

  export type ShipmentsMaxAggregateInputType = {
    id?: true
    uuid?: true
    shipment_number?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    reason?: true
    vehicle_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    driver_id?: true
    mobile_build_version?: true
    shipment_delivered_at?: true
  }

  export type ShipmentsCountAggregateInputType = {
    id?: true
    uuid?: true
    shipment_number?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    reason?: true
    vehicle_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    driver_id?: true
    mobile_build_version?: true
    shipment_delivered_at?: true
    _all?: true
  }

  export type ShipmentsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Shipments to aggregate.
     */
    where?: ShipmentsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Shipments to fetch.
     */
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Shipments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Shipments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Shipments
    **/
    _count?: true | ShipmentsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentsMaxAggregateInputType
  }

  export type GetShipmentsAggregateType<T extends ShipmentsAggregateArgs> = {
        [P in keyof T & keyof AggregateShipments]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipments[P]>
      : GetScalarType<T[P], AggregateShipments[P]>
  }




  export type ShipmentsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsWhereInput
    orderBy?: ShipmentsOrderByWithAggregationInput | ShipmentsOrderByWithAggregationInput[]
    by: ShipmentsScalarFieldEnum[] | ShipmentsScalarFieldEnum
    having?: ShipmentsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentsCountAggregateInputType | true
    _avg?: ShipmentsAvgAggregateInputType
    _sum?: ShipmentsSumAggregateInputType
    _min?: ShipmentsMinAggregateInputType
    _max?: ShipmentsMaxAggregateInputType
  }

  export type ShipmentsGroupByOutputType = {
    id: number
    uuid: string
    shipment_number: string
    company_id: number
    status_id: number
    shipment_status_id: number
    reason: string | null
    vehicle_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    driver_id: number | null
    mobile_build_version: string | null
    shipment_delivered_at: Date | null
    _count: ShipmentsCountAggregateOutputType | null
    _avg: ShipmentsAvgAggregateOutputType | null
    _sum: ShipmentsSumAggregateOutputType | null
    _min: ShipmentsMinAggregateOutputType | null
    _max: ShipmentsMaxAggregateOutputType | null
  }

  type GetShipmentsGroupByPayload<T extends ShipmentsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentsGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentsGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_number?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    reason?: boolean
    vehicle_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    driver_id?: boolean
    mobile_build_version?: boolean
    shipment_delivered_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    shipment_customers?: boolean | Shipments$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | Shipments$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | Shipments$shipment_delivery_notesArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Shipments$vehicle_geofence_historyArgs<ExtArgs>
    _count?: boolean | ShipmentsCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipments"]>

  export type ShipmentsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_number?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    reason?: boolean
    vehicle_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    driver_id?: boolean
    mobile_build_version?: boolean
    shipment_delivered_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipments"]>

  export type ShipmentsSelectScalar = {
    id?: boolean
    uuid?: boolean
    shipment_number?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    reason?: boolean
    vehicle_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    driver_id?: boolean
    mobile_build_version?: boolean
    shipment_delivered_at?: boolean
  }

  export type ShipmentsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    shipment_customers?: boolean | Shipments$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | Shipments$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | Shipments$shipment_delivery_notesArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Shipments$vehicle_geofence_historyArgs<ExtArgs>
    _count?: boolean | ShipmentsCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ShipmentsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
  }

  export type $ShipmentsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Shipments"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      shipment_status: Prisma.$ShipmentStatusPayload<ExtArgs>
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      shipment_customers: Prisma.$ShipmentCustomersPayload<ExtArgs>[]
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
      shipment_delivery_notes: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>[]
      vehicle_geofence_history: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      shipment_number: string
      company_id: number
      status_id: number
      shipment_status_id: number
      reason: string | null
      vehicle_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      driver_id: number | null
      mobile_build_version: string | null
      shipment_delivered_at: Date | null
    }, ExtArgs["result"]["shipments"]>
    composites: {}
  }

  type ShipmentsGetPayload<S extends boolean | null | undefined | ShipmentsDefaultArgs> = $Result.GetResult<Prisma.$ShipmentsPayload, S>

  type ShipmentsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentsCountAggregateInputType | true
    }

  export interface ShipmentsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Shipments'], meta: { name: 'Shipments' } }
    /**
     * Find zero or one Shipments that matches the filter.
     * @param {ShipmentsFindUniqueArgs} args - Arguments to find a Shipments
     * @example
     * // Get one Shipments
     * const shipments = await prisma.shipments.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentsFindUniqueArgs>(args: SelectSubset<T, ShipmentsFindUniqueArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Shipments that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentsFindUniqueOrThrowArgs} args - Arguments to find a Shipments
     * @example
     * // Get one Shipments
     * const shipments = await prisma.shipments.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentsFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Shipments that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsFindFirstArgs} args - Arguments to find a Shipments
     * @example
     * // Get one Shipments
     * const shipments = await prisma.shipments.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentsFindFirstArgs>(args?: SelectSubset<T, ShipmentsFindFirstArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Shipments that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsFindFirstOrThrowArgs} args - Arguments to find a Shipments
     * @example
     * // Get one Shipments
     * const shipments = await prisma.shipments.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentsFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Shipments that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shipments
     * const shipments = await prisma.shipments.findMany()
     * 
     * // Get first 10 Shipments
     * const shipments = await prisma.shipments.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentsWithIdOnly = await prisma.shipments.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentsFindManyArgs>(args?: SelectSubset<T, ShipmentsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Shipments.
     * @param {ShipmentsCreateArgs} args - Arguments to create a Shipments.
     * @example
     * // Create one Shipments
     * const Shipments = await prisma.shipments.create({
     *   data: {
     *     // ... data to create a Shipments
     *   }
     * })
     * 
     */
    create<T extends ShipmentsCreateArgs>(args: SelectSubset<T, ShipmentsCreateArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Shipments.
     * @param {ShipmentsCreateManyArgs} args - Arguments to create many Shipments.
     * @example
     * // Create many Shipments
     * const shipments = await prisma.shipments.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentsCreateManyArgs>(args?: SelectSubset<T, ShipmentsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Shipments and returns the data saved in the database.
     * @param {ShipmentsCreateManyAndReturnArgs} args - Arguments to create many Shipments.
     * @example
     * // Create many Shipments
     * const shipments = await prisma.shipments.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Shipments and only return the `id`
     * const shipmentsWithIdOnly = await prisma.shipments.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentsCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Shipments.
     * @param {ShipmentsDeleteArgs} args - Arguments to delete one Shipments.
     * @example
     * // Delete one Shipments
     * const Shipments = await prisma.shipments.delete({
     *   where: {
     *     // ... filter to delete one Shipments
     *   }
     * })
     * 
     */
    delete<T extends ShipmentsDeleteArgs>(args: SelectSubset<T, ShipmentsDeleteArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Shipments.
     * @param {ShipmentsUpdateArgs} args - Arguments to update one Shipments.
     * @example
     * // Update one Shipments
     * const shipments = await prisma.shipments.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentsUpdateArgs>(args: SelectSubset<T, ShipmentsUpdateArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Shipments.
     * @param {ShipmentsDeleteManyArgs} args - Arguments to filter Shipments to delete.
     * @example
     * // Delete a few Shipments
     * const { count } = await prisma.shipments.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentsDeleteManyArgs>(args?: SelectSubset<T, ShipmentsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Shipments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shipments
     * const shipments = await prisma.shipments.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentsUpdateManyArgs>(args: SelectSubset<T, ShipmentsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Shipments.
     * @param {ShipmentsUpsertArgs} args - Arguments to update or create a Shipments.
     * @example
     * // Update or create a Shipments
     * const shipments = await prisma.shipments.upsert({
     *   create: {
     *     // ... data to create a Shipments
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shipments we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentsUpsertArgs>(args: SelectSubset<T, ShipmentsUpsertArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Shipments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsCountArgs} args - Arguments to filter Shipments to count.
     * @example
     * // Count the number of Shipments
     * const count = await prisma.shipments.count({
     *   where: {
     *     // ... the filter for the Shipments we want to count
     *   }
     * })
    **/
    count<T extends ShipmentsCountArgs>(
      args?: Subset<T, ShipmentsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Shipments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentsAggregateArgs>(args: Subset<T, ShipmentsAggregateArgs>): Prisma.PrismaPromise<GetShipmentsAggregateType<T>>

    /**
     * Group by Shipments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentsGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Shipments model
   */
  readonly fields: ShipmentsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Shipments.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_status<T extends ShipmentStatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatusDefaultArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_customers<T extends Shipments$shipment_customersArgs<ExtArgs> = {}>(args?: Subset<T, Shipments$shipment_customersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_location<T extends Shipments$shipment_locationArgs<ExtArgs> = {}>(args?: Subset<T, Shipments$shipment_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_delivery_notes<T extends Shipments$shipment_delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, Shipments$shipment_delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history<T extends Shipments$vehicle_geofence_historyArgs<ExtArgs> = {}>(args?: Subset<T, Shipments$vehicle_geofence_historyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Shipments model
   */ 
  interface ShipmentsFieldRefs {
    readonly id: FieldRef<"Shipments", 'Int'>
    readonly uuid: FieldRef<"Shipments", 'String'>
    readonly shipment_number: FieldRef<"Shipments", 'String'>
    readonly company_id: FieldRef<"Shipments", 'Int'>
    readonly status_id: FieldRef<"Shipments", 'Int'>
    readonly shipment_status_id: FieldRef<"Shipments", 'Int'>
    readonly reason: FieldRef<"Shipments", 'String'>
    readonly vehicle_id: FieldRef<"Shipments", 'Int'>
    readonly created_by: FieldRef<"Shipments", 'Int'>
    readonly created_at: FieldRef<"Shipments", 'DateTime'>
    readonly updated_by: FieldRef<"Shipments", 'Int'>
    readonly updated_at: FieldRef<"Shipments", 'DateTime'>
    readonly deleted_by: FieldRef<"Shipments", 'Int'>
    readonly deleted_at: FieldRef<"Shipments", 'DateTime'>
    readonly driver_id: FieldRef<"Shipments", 'Int'>
    readonly mobile_build_version: FieldRef<"Shipments", 'String'>
    readonly shipment_delivered_at: FieldRef<"Shipments", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Shipments findUnique
   */
  export type ShipmentsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter, which Shipments to fetch.
     */
    where: ShipmentsWhereUniqueInput
  }

  /**
   * Shipments findUniqueOrThrow
   */
  export type ShipmentsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter, which Shipments to fetch.
     */
    where: ShipmentsWhereUniqueInput
  }

  /**
   * Shipments findFirst
   */
  export type ShipmentsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter, which Shipments to fetch.
     */
    where?: ShipmentsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Shipments to fetch.
     */
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Shipments.
     */
    cursor?: ShipmentsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Shipments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Shipments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Shipments.
     */
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * Shipments findFirstOrThrow
   */
  export type ShipmentsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter, which Shipments to fetch.
     */
    where?: ShipmentsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Shipments to fetch.
     */
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Shipments.
     */
    cursor?: ShipmentsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Shipments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Shipments.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Shipments.
     */
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * Shipments findMany
   */
  export type ShipmentsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter, which Shipments to fetch.
     */
    where?: ShipmentsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Shipments to fetch.
     */
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Shipments.
     */
    cursor?: ShipmentsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Shipments from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Shipments.
     */
    skip?: number
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * Shipments create
   */
  export type ShipmentsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * The data needed to create a Shipments.
     */
    data: XOR<ShipmentsCreateInput, ShipmentsUncheckedCreateInput>
  }

  /**
   * Shipments createMany
   */
  export type ShipmentsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Shipments.
     */
    data: ShipmentsCreateManyInput | ShipmentsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Shipments createManyAndReturn
   */
  export type ShipmentsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Shipments.
     */
    data: ShipmentsCreateManyInput | ShipmentsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Shipments update
   */
  export type ShipmentsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * The data needed to update a Shipments.
     */
    data: XOR<ShipmentsUpdateInput, ShipmentsUncheckedUpdateInput>
    /**
     * Choose, which Shipments to update.
     */
    where: ShipmentsWhereUniqueInput
  }

  /**
   * Shipments updateMany
   */
  export type ShipmentsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Shipments.
     */
    data: XOR<ShipmentsUpdateManyMutationInput, ShipmentsUncheckedUpdateManyInput>
    /**
     * Filter which Shipments to update
     */
    where?: ShipmentsWhereInput
  }

  /**
   * Shipments upsert
   */
  export type ShipmentsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * The filter to search for the Shipments to update in case it exists.
     */
    where: ShipmentsWhereUniqueInput
    /**
     * In case the Shipments found by the `where` argument doesn't exist, create a new Shipments with this data.
     */
    create: XOR<ShipmentsCreateInput, ShipmentsUncheckedCreateInput>
    /**
     * In case the Shipments was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentsUpdateInput, ShipmentsUncheckedUpdateInput>
  }

  /**
   * Shipments delete
   */
  export type ShipmentsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    /**
     * Filter which Shipments to delete.
     */
    where: ShipmentsWhereUniqueInput
  }

  /**
   * Shipments deleteMany
   */
  export type ShipmentsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Shipments to delete
     */
    where?: ShipmentsWhereInput
  }

  /**
   * Shipments.shipment_customers
   */
  export type Shipments$shipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    where?: ShipmentCustomersWhereInput
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    cursor?: ShipmentCustomersWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * Shipments.shipment_location
   */
  export type Shipments$shipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * Shipments.shipment_delivery_notes
   */
  export type Shipments$shipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * Shipments.vehicle_geofence_history
   */
  export type Shipments$vehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * Shipments without action
   */
  export type ShipmentsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentCustomers
   */

  export type AggregateShipmentCustomers = {
    _count: ShipmentCustomersCountAggregateOutputType | null
    _avg: ShipmentCustomersAvgAggregateOutputType | null
    _sum: ShipmentCustomersSumAggregateOutputType | null
    _min: ShipmentCustomersMinAggregateOutputType | null
    _max: ShipmentCustomersMaxAggregateOutputType | null
  }

  export type ShipmentCustomersAvgAggregateOutputType = {
    id: number | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    customer_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentCustomersSumAggregateOutputType = {
    id: number | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    customer_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentCustomersMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_id: number | null
    shipment_customer_uid: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    customer_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ShipmentCustomersMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_id: number | null
    shipment_customer_uid: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    customer_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ShipmentCustomersCountAggregateOutputType = {
    id: number
    uuid: number
    shipment_id: number
    shipment_customer_uid: number
    company_id: number
    status_id: number
    shipment_status_id: number
    customer_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ShipmentCustomersAvgAggregateInputType = {
    id?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    customer_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentCustomersSumAggregateInputType = {
    id?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    customer_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentCustomersMinAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_customer_uid?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ShipmentCustomersMaxAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_customer_uid?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ShipmentCustomersCountAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_customer_uid?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ShipmentCustomersAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentCustomers to aggregate.
     */
    where?: ShipmentCustomersWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentCustomers to fetch.
     */
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentCustomersWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentCustomers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentCustomers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentCustomers
    **/
    _count?: true | ShipmentCustomersCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentCustomersAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentCustomersSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentCustomersMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentCustomersMaxAggregateInputType
  }

  export type GetShipmentCustomersAggregateType<T extends ShipmentCustomersAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentCustomers]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentCustomers[P]>
      : GetScalarType<T[P], AggregateShipmentCustomers[P]>
  }




  export type ShipmentCustomersGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentCustomersWhereInput
    orderBy?: ShipmentCustomersOrderByWithAggregationInput | ShipmentCustomersOrderByWithAggregationInput[]
    by: ShipmentCustomersScalarFieldEnum[] | ShipmentCustomersScalarFieldEnum
    having?: ShipmentCustomersScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentCustomersCountAggregateInputType | true
    _avg?: ShipmentCustomersAvgAggregateInputType
    _sum?: ShipmentCustomersSumAggregateInputType
    _min?: ShipmentCustomersMinAggregateInputType
    _max?: ShipmentCustomersMaxAggregateInputType
  }

  export type ShipmentCustomersGroupByOutputType = {
    id: number
    uuid: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id: number
    shipment_status_id: number
    customer_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ShipmentCustomersCountAggregateOutputType | null
    _avg: ShipmentCustomersAvgAggregateOutputType | null
    _sum: ShipmentCustomersSumAggregateOutputType | null
    _min: ShipmentCustomersMinAggregateOutputType | null
    _max: ShipmentCustomersMaxAggregateOutputType | null
  }

  type GetShipmentCustomersGroupByPayload<T extends ShipmentCustomersGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentCustomersGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentCustomersGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentCustomersGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentCustomersGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentCustomersSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_customer_uid?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentCustomers$shipment_locationArgs<ExtArgs>
    _count?: boolean | ShipmentCustomersCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentCustomers"]>

  export type ShipmentCustomersSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_customer_uid?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentCustomers"]>

  export type ShipmentCustomersSelectScalar = {
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_customer_uid?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ShipmentCustomersInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentCustomers$shipment_locationArgs<ExtArgs>
    _count?: boolean | ShipmentCustomersCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ShipmentCustomersIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $ShipmentCustomersPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentCustomers"
    objects: {
      shipments: Prisma.$ShipmentsPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
      shipment_status: Prisma.$ShipmentStatusPayload<ExtArgs>
      customer: Prisma.$UserPayload<ExtArgs>
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      shipment_id: number
      shipment_customer_uid: string
      company_id: number
      status_id: number
      shipment_status_id: number
      customer_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["shipmentCustomers"]>
    composites: {}
  }

  type ShipmentCustomersGetPayload<S extends boolean | null | undefined | ShipmentCustomersDefaultArgs> = $Result.GetResult<Prisma.$ShipmentCustomersPayload, S>

  type ShipmentCustomersCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentCustomersFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentCustomersCountAggregateInputType | true
    }

  export interface ShipmentCustomersDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentCustomers'], meta: { name: 'ShipmentCustomers' } }
    /**
     * Find zero or one ShipmentCustomers that matches the filter.
     * @param {ShipmentCustomersFindUniqueArgs} args - Arguments to find a ShipmentCustomers
     * @example
     * // Get one ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentCustomersFindUniqueArgs>(args: SelectSubset<T, ShipmentCustomersFindUniqueArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentCustomers that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentCustomersFindUniqueOrThrowArgs} args - Arguments to find a ShipmentCustomers
     * @example
     * // Get one ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentCustomersFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentCustomersFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentCustomers that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersFindFirstArgs} args - Arguments to find a ShipmentCustomers
     * @example
     * // Get one ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentCustomersFindFirstArgs>(args?: SelectSubset<T, ShipmentCustomersFindFirstArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentCustomers that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersFindFirstOrThrowArgs} args - Arguments to find a ShipmentCustomers
     * @example
     * // Get one ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentCustomersFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentCustomersFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentCustomers that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findMany()
     * 
     * // Get first 10 ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentCustomersWithIdOnly = await prisma.shipmentCustomers.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentCustomersFindManyArgs>(args?: SelectSubset<T, ShipmentCustomersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentCustomers.
     * @param {ShipmentCustomersCreateArgs} args - Arguments to create a ShipmentCustomers.
     * @example
     * // Create one ShipmentCustomers
     * const ShipmentCustomers = await prisma.shipmentCustomers.create({
     *   data: {
     *     // ... data to create a ShipmentCustomers
     *   }
     * })
     * 
     */
    create<T extends ShipmentCustomersCreateArgs>(args: SelectSubset<T, ShipmentCustomersCreateArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentCustomers.
     * @param {ShipmentCustomersCreateManyArgs} args - Arguments to create many ShipmentCustomers.
     * @example
     * // Create many ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentCustomersCreateManyArgs>(args?: SelectSubset<T, ShipmentCustomersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentCustomers and returns the data saved in the database.
     * @param {ShipmentCustomersCreateManyAndReturnArgs} args - Arguments to create many ShipmentCustomers.
     * @example
     * // Create many ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentCustomers and only return the `id`
     * const shipmentCustomersWithIdOnly = await prisma.shipmentCustomers.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentCustomersCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentCustomersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentCustomers.
     * @param {ShipmentCustomersDeleteArgs} args - Arguments to delete one ShipmentCustomers.
     * @example
     * // Delete one ShipmentCustomers
     * const ShipmentCustomers = await prisma.shipmentCustomers.delete({
     *   where: {
     *     // ... filter to delete one ShipmentCustomers
     *   }
     * })
     * 
     */
    delete<T extends ShipmentCustomersDeleteArgs>(args: SelectSubset<T, ShipmentCustomersDeleteArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentCustomers.
     * @param {ShipmentCustomersUpdateArgs} args - Arguments to update one ShipmentCustomers.
     * @example
     * // Update one ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentCustomersUpdateArgs>(args: SelectSubset<T, ShipmentCustomersUpdateArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentCustomers.
     * @param {ShipmentCustomersDeleteManyArgs} args - Arguments to filter ShipmentCustomers to delete.
     * @example
     * // Delete a few ShipmentCustomers
     * const { count } = await prisma.shipmentCustomers.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentCustomersDeleteManyArgs>(args?: SelectSubset<T, ShipmentCustomersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentCustomers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentCustomersUpdateManyArgs>(args: SelectSubset<T, ShipmentCustomersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentCustomers.
     * @param {ShipmentCustomersUpsertArgs} args - Arguments to update or create a ShipmentCustomers.
     * @example
     * // Update or create a ShipmentCustomers
     * const shipmentCustomers = await prisma.shipmentCustomers.upsert({
     *   create: {
     *     // ... data to create a ShipmentCustomers
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentCustomers we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentCustomersUpsertArgs>(args: SelectSubset<T, ShipmentCustomersUpsertArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentCustomers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersCountArgs} args - Arguments to filter ShipmentCustomers to count.
     * @example
     * // Count the number of ShipmentCustomers
     * const count = await prisma.shipmentCustomers.count({
     *   where: {
     *     // ... the filter for the ShipmentCustomers we want to count
     *   }
     * })
    **/
    count<T extends ShipmentCustomersCountArgs>(
      args?: Subset<T, ShipmentCustomersCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentCustomersCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentCustomers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentCustomersAggregateArgs>(args: Subset<T, ShipmentCustomersAggregateArgs>): Prisma.PrismaPromise<GetShipmentCustomersAggregateType<T>>

    /**
     * Group by ShipmentCustomers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentCustomersGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentCustomersGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentCustomersGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentCustomersGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentCustomersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentCustomersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentCustomers model
   */
  readonly fields: ShipmentCustomersFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentCustomers.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentCustomersClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    shipments<T extends ShipmentsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsDefaultArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_status<T extends ShipmentStatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatusDefaultArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    customer<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_location<T extends ShipmentCustomers$shipment_locationArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentCustomers$shipment_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentCustomers model
   */ 
  interface ShipmentCustomersFieldRefs {
    readonly id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly uuid: FieldRef<"ShipmentCustomers", 'String'>
    readonly shipment_id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly shipment_customer_uid: FieldRef<"ShipmentCustomers", 'String'>
    readonly company_id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly status_id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly shipment_status_id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly customer_id: FieldRef<"ShipmentCustomers", 'Int'>
    readonly created_by: FieldRef<"ShipmentCustomers", 'Int'>
    readonly created_at: FieldRef<"ShipmentCustomers", 'DateTime'>
    readonly updated_by: FieldRef<"ShipmentCustomers", 'Int'>
    readonly updated_at: FieldRef<"ShipmentCustomers", 'DateTime'>
    readonly deleted_by: FieldRef<"ShipmentCustomers", 'Int'>
    readonly deleted_at: FieldRef<"ShipmentCustomers", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentCustomers findUnique
   */
  export type ShipmentCustomersFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentCustomers to fetch.
     */
    where: ShipmentCustomersWhereUniqueInput
  }

  /**
   * ShipmentCustomers findUniqueOrThrow
   */
  export type ShipmentCustomersFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentCustomers to fetch.
     */
    where: ShipmentCustomersWhereUniqueInput
  }

  /**
   * ShipmentCustomers findFirst
   */
  export type ShipmentCustomersFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentCustomers to fetch.
     */
    where?: ShipmentCustomersWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentCustomers to fetch.
     */
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentCustomers.
     */
    cursor?: ShipmentCustomersWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentCustomers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentCustomers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentCustomers.
     */
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * ShipmentCustomers findFirstOrThrow
   */
  export type ShipmentCustomersFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentCustomers to fetch.
     */
    where?: ShipmentCustomersWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentCustomers to fetch.
     */
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentCustomers.
     */
    cursor?: ShipmentCustomersWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentCustomers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentCustomers.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentCustomers.
     */
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * ShipmentCustomers findMany
   */
  export type ShipmentCustomersFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentCustomers to fetch.
     */
    where?: ShipmentCustomersWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentCustomers to fetch.
     */
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentCustomers.
     */
    cursor?: ShipmentCustomersWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentCustomers from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentCustomers.
     */
    skip?: number
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * ShipmentCustomers create
   */
  export type ShipmentCustomersCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentCustomers.
     */
    data: XOR<ShipmentCustomersCreateInput, ShipmentCustomersUncheckedCreateInput>
  }

  /**
   * ShipmentCustomers createMany
   */
  export type ShipmentCustomersCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentCustomers.
     */
    data: ShipmentCustomersCreateManyInput | ShipmentCustomersCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentCustomers createManyAndReturn
   */
  export type ShipmentCustomersCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentCustomers.
     */
    data: ShipmentCustomersCreateManyInput | ShipmentCustomersCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentCustomers update
   */
  export type ShipmentCustomersUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentCustomers.
     */
    data: XOR<ShipmentCustomersUpdateInput, ShipmentCustomersUncheckedUpdateInput>
    /**
     * Choose, which ShipmentCustomers to update.
     */
    where: ShipmentCustomersWhereUniqueInput
  }

  /**
   * ShipmentCustomers updateMany
   */
  export type ShipmentCustomersUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentCustomers.
     */
    data: XOR<ShipmentCustomersUpdateManyMutationInput, ShipmentCustomersUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentCustomers to update
     */
    where?: ShipmentCustomersWhereInput
  }

  /**
   * ShipmentCustomers upsert
   */
  export type ShipmentCustomersUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentCustomers to update in case it exists.
     */
    where: ShipmentCustomersWhereUniqueInput
    /**
     * In case the ShipmentCustomers found by the `where` argument doesn't exist, create a new ShipmentCustomers with this data.
     */
    create: XOR<ShipmentCustomersCreateInput, ShipmentCustomersUncheckedCreateInput>
    /**
     * In case the ShipmentCustomers was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentCustomersUpdateInput, ShipmentCustomersUncheckedUpdateInput>
  }

  /**
   * ShipmentCustomers delete
   */
  export type ShipmentCustomersDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    /**
     * Filter which ShipmentCustomers to delete.
     */
    where: ShipmentCustomersWhereUniqueInput
  }

  /**
   * ShipmentCustomers deleteMany
   */
  export type ShipmentCustomersDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentCustomers to delete
     */
    where?: ShipmentCustomersWhereInput
  }

  /**
   * ShipmentCustomers.shipment_location
   */
  export type ShipmentCustomers$shipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * ShipmentCustomers without action
   */
  export type ShipmentCustomersDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentsLocation
   */

  export type AggregateShipmentsLocation = {
    _count: ShipmentsLocationCountAggregateOutputType | null
    _avg: ShipmentsLocationAvgAggregateOutputType | null
    _sum: ShipmentsLocationSumAggregateOutputType | null
    _min: ShipmentsLocationMinAggregateOutputType | null
    _max: ShipmentsLocationMaxAggregateOutputType | null
  }

  export type ShipmentsLocationAvgAggregateOutputType = {
    id: number | null
    customer_address_id: number | null
    pod_status_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentsLocationSumAggregateOutputType = {
    id: number | null
    customer_address_id: number | null
    pod_status_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentsLocationMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    customer_address_id: number | null
    otp_status: $Enums.OtpStatus | null
    pod_status_id: number | null
    otp_number: string | null
    pod_images: string | null
    customer_signature: string | null
    loaded_images: string | null
    shipment_location_lat_long: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_location_uid: string | null
    shipment_customer_uid: string | null
    shipment_id: number | null
    pod_at: Date | null
    loaded_at: Date | null
    latest_otp_generated_at: Date | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
  }

  export type ShipmentsLocationMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    customer_address_id: number | null
    otp_status: $Enums.OtpStatus | null
    pod_status_id: number | null
    otp_number: string | null
    pod_images: string | null
    customer_signature: string | null
    loaded_images: string | null
    shipment_location_lat_long: string | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_location_uid: string | null
    shipment_customer_uid: string | null
    shipment_id: number | null
    pod_at: Date | null
    loaded_at: Date | null
    latest_otp_generated_at: Date | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
  }

  export type ShipmentsLocationCountAggregateOutputType = {
    id: number
    uuid: number
    customer_address_id: number
    otp_status: number
    pod_status_id: number
    otp_number: number
    pod_images: number
    customer_signature: number
    loaded_images: number
    shipment_location_lat_long: number
    company_id: number
    status_id: number
    shipment_status_id: number
    shipment_location_uid: number
    shipment_customer_uid: number
    shipment_id: number
    pod_at: number
    loaded_at: number
    latest_otp_generated_at: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    customer_delivery_contact_name: number
    customer_delivery_contact_email: number
    customer_delivery_contact_number: number
    _all: number
  }


  export type ShipmentsLocationAvgAggregateInputType = {
    id?: true
    customer_address_id?: true
    pod_status_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentsLocationSumAggregateInputType = {
    id?: true
    customer_address_id?: true
    pod_status_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentsLocationMinAggregateInputType = {
    id?: true
    uuid?: true
    customer_address_id?: true
    otp_status?: true
    pod_status_id?: true
    otp_number?: true
    pod_images?: true
    customer_signature?: true
    loaded_images?: true
    shipment_location_lat_long?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_customer_uid?: true
    shipment_id?: true
    pod_at?: true
    loaded_at?: true
    latest_otp_generated_at?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
  }

  export type ShipmentsLocationMaxAggregateInputType = {
    id?: true
    uuid?: true
    customer_address_id?: true
    otp_status?: true
    pod_status_id?: true
    otp_number?: true
    pod_images?: true
    customer_signature?: true
    loaded_images?: true
    shipment_location_lat_long?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_customer_uid?: true
    shipment_id?: true
    pod_at?: true
    loaded_at?: true
    latest_otp_generated_at?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
  }

  export type ShipmentsLocationCountAggregateInputType = {
    id?: true
    uuid?: true
    customer_address_id?: true
    otp_status?: true
    pod_status_id?: true
    otp_number?: true
    pod_images?: true
    customer_signature?: true
    loaded_images?: true
    shipment_location_lat_long?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_customer_uid?: true
    shipment_id?: true
    pod_at?: true
    loaded_at?: true
    latest_otp_generated_at?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    customer_delivery_contact_name?: true
    customer_delivery_contact_email?: true
    customer_delivery_contact_number?: true
    _all?: true
  }

  export type ShipmentsLocationAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentsLocation to aggregate.
     */
    where?: ShipmentsLocationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentsLocations to fetch.
     */
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentsLocationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentsLocations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentsLocations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentsLocations
    **/
    _count?: true | ShipmentsLocationCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentsLocationAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentsLocationSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentsLocationMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentsLocationMaxAggregateInputType
  }

  export type GetShipmentsLocationAggregateType<T extends ShipmentsLocationAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentsLocation]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentsLocation[P]>
      : GetScalarType<T[P], AggregateShipmentsLocation[P]>
  }




  export type ShipmentsLocationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithAggregationInput | ShipmentsLocationOrderByWithAggregationInput[]
    by: ShipmentsLocationScalarFieldEnum[] | ShipmentsLocationScalarFieldEnum
    having?: ShipmentsLocationScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentsLocationCountAggregateInputType | true
    _avg?: ShipmentsLocationAvgAggregateInputType
    _sum?: ShipmentsLocationSumAggregateInputType
    _min?: ShipmentsLocationMinAggregateInputType
    _max?: ShipmentsLocationMaxAggregateInputType
  }

  export type ShipmentsLocationGroupByOutputType = {
    id: number
    uuid: string
    customer_address_id: number
    otp_status: $Enums.OtpStatus | null
    pod_status_id: number
    otp_number: string | null
    pod_images: string | null
    customer_signature: string | null
    loaded_images: string | null
    shipment_location_lat_long: string | null
    company_id: number
    status_id: number
    shipment_status_id: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at: Date | null
    loaded_at: Date | null
    latest_otp_generated_at: Date | null
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    customer_delivery_contact_name: string | null
    customer_delivery_contact_email: string | null
    customer_delivery_contact_number: string | null
    _count: ShipmentsLocationCountAggregateOutputType | null
    _avg: ShipmentsLocationAvgAggregateOutputType | null
    _sum: ShipmentsLocationSumAggregateOutputType | null
    _min: ShipmentsLocationMinAggregateOutputType | null
    _max: ShipmentsLocationMaxAggregateOutputType | null
  }

  type GetShipmentsLocationGroupByPayload<T extends ShipmentsLocationGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentsLocationGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentsLocationGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentsLocationGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentsLocationGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentsLocationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    customer_address_id?: boolean
    otp_status?: boolean
    pod_status_id?: boolean
    otp_number?: boolean
    pod_images?: boolean
    customer_signature?: boolean
    loaded_images?: boolean
    shipment_location_lat_long?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_customer_uid?: boolean
    shipment_id?: boolean
    pod_at?: boolean
    loaded_at?: boolean
    latest_otp_generated_at?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
    customer_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    pod_status?: boolean | ShipmentsLocation$pod_statusArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentCustomersDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    shipment_delivery_notes?: boolean | ShipmentsLocation$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | ShipmentsLocationCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentsLocation"]>

  export type ShipmentsLocationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    customer_address_id?: boolean
    otp_status?: boolean
    pod_status_id?: boolean
    otp_number?: boolean
    pod_images?: boolean
    customer_signature?: boolean
    loaded_images?: boolean
    shipment_location_lat_long?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_customer_uid?: boolean
    shipment_id?: boolean
    pod_at?: boolean
    loaded_at?: boolean
    latest_otp_generated_at?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
    customer_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    pod_status?: boolean | ShipmentsLocation$pod_statusArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentCustomersDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentsLocation"]>

  export type ShipmentsLocationSelectScalar = {
    id?: boolean
    uuid?: boolean
    customer_address_id?: boolean
    otp_status?: boolean
    pod_status_id?: boolean
    otp_number?: boolean
    pod_images?: boolean
    customer_signature?: boolean
    loaded_images?: boolean
    shipment_location_lat_long?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_customer_uid?: boolean
    shipment_id?: boolean
    pod_at?: boolean
    loaded_at?: boolean
    latest_otp_generated_at?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    customer_delivery_contact_name?: boolean
    customer_delivery_contact_email?: boolean
    customer_delivery_contact_number?: boolean
  }

  export type ShipmentsLocationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    customer_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    pod_status?: boolean | ShipmentsLocation$pod_statusArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentCustomersDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
    shipment_delivery_notes?: boolean | ShipmentsLocation$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | ShipmentsLocationCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ShipmentsLocationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    customer_address?: boolean | CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    pod_status?: boolean | ShipmentsLocation$pod_statusArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentCustomersDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }

  export type $ShipmentsLocationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentsLocation"
    objects: {
      customer_address: Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>
      pod_status: Prisma.$PodStatusPayload<ExtArgs> | null
      status: Prisma.$StatusPayload<ExtArgs>
      shipment_status: Prisma.$ShipmentStatusPayload<ExtArgs>
      shipment_customers: Prisma.$ShipmentCustomersPayload<ExtArgs>
      shipments: Prisma.$ShipmentsPayload<ExtArgs>
      shipment_delivery_notes: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      customer_address_id: number
      otp_status: $Enums.OtpStatus | null
      pod_status_id: number
      otp_number: string | null
      pod_images: string | null
      customer_signature: string | null
      loaded_images: string | null
      shipment_location_lat_long: string | null
      company_id: number
      status_id: number
      shipment_status_id: number
      shipment_location_uid: string
      shipment_customer_uid: string
      shipment_id: number
      pod_at: Date | null
      loaded_at: Date | null
      latest_otp_generated_at: Date | null
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
      customer_delivery_contact_name: string | null
      customer_delivery_contact_email: string | null
      customer_delivery_contact_number: string | null
    }, ExtArgs["result"]["shipmentsLocation"]>
    composites: {}
  }

  type ShipmentsLocationGetPayload<S extends boolean | null | undefined | ShipmentsLocationDefaultArgs> = $Result.GetResult<Prisma.$ShipmentsLocationPayload, S>

  type ShipmentsLocationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentsLocationFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentsLocationCountAggregateInputType | true
    }

  export interface ShipmentsLocationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentsLocation'], meta: { name: 'ShipmentsLocation' } }
    /**
     * Find zero or one ShipmentsLocation that matches the filter.
     * @param {ShipmentsLocationFindUniqueArgs} args - Arguments to find a ShipmentsLocation
     * @example
     * // Get one ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentsLocationFindUniqueArgs>(args: SelectSubset<T, ShipmentsLocationFindUniqueArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentsLocation that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentsLocationFindUniqueOrThrowArgs} args - Arguments to find a ShipmentsLocation
     * @example
     * // Get one ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentsLocationFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentsLocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentsLocation that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationFindFirstArgs} args - Arguments to find a ShipmentsLocation
     * @example
     * // Get one ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentsLocationFindFirstArgs>(args?: SelectSubset<T, ShipmentsLocationFindFirstArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentsLocation that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationFindFirstOrThrowArgs} args - Arguments to find a ShipmentsLocation
     * @example
     * // Get one ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentsLocationFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentsLocationFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentsLocations that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentsLocations
     * const shipmentsLocations = await prisma.shipmentsLocation.findMany()
     * 
     * // Get first 10 ShipmentsLocations
     * const shipmentsLocations = await prisma.shipmentsLocation.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentsLocationWithIdOnly = await prisma.shipmentsLocation.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentsLocationFindManyArgs>(args?: SelectSubset<T, ShipmentsLocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentsLocation.
     * @param {ShipmentsLocationCreateArgs} args - Arguments to create a ShipmentsLocation.
     * @example
     * // Create one ShipmentsLocation
     * const ShipmentsLocation = await prisma.shipmentsLocation.create({
     *   data: {
     *     // ... data to create a ShipmentsLocation
     *   }
     * })
     * 
     */
    create<T extends ShipmentsLocationCreateArgs>(args: SelectSubset<T, ShipmentsLocationCreateArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentsLocations.
     * @param {ShipmentsLocationCreateManyArgs} args - Arguments to create many ShipmentsLocations.
     * @example
     * // Create many ShipmentsLocations
     * const shipmentsLocation = await prisma.shipmentsLocation.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentsLocationCreateManyArgs>(args?: SelectSubset<T, ShipmentsLocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentsLocations and returns the data saved in the database.
     * @param {ShipmentsLocationCreateManyAndReturnArgs} args - Arguments to create many ShipmentsLocations.
     * @example
     * // Create many ShipmentsLocations
     * const shipmentsLocation = await prisma.shipmentsLocation.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentsLocations and only return the `id`
     * const shipmentsLocationWithIdOnly = await prisma.shipmentsLocation.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentsLocationCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentsLocationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentsLocation.
     * @param {ShipmentsLocationDeleteArgs} args - Arguments to delete one ShipmentsLocation.
     * @example
     * // Delete one ShipmentsLocation
     * const ShipmentsLocation = await prisma.shipmentsLocation.delete({
     *   where: {
     *     // ... filter to delete one ShipmentsLocation
     *   }
     * })
     * 
     */
    delete<T extends ShipmentsLocationDeleteArgs>(args: SelectSubset<T, ShipmentsLocationDeleteArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentsLocation.
     * @param {ShipmentsLocationUpdateArgs} args - Arguments to update one ShipmentsLocation.
     * @example
     * // Update one ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentsLocationUpdateArgs>(args: SelectSubset<T, ShipmentsLocationUpdateArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentsLocations.
     * @param {ShipmentsLocationDeleteManyArgs} args - Arguments to filter ShipmentsLocations to delete.
     * @example
     * // Delete a few ShipmentsLocations
     * const { count } = await prisma.shipmentsLocation.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentsLocationDeleteManyArgs>(args?: SelectSubset<T, ShipmentsLocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentsLocations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentsLocations
     * const shipmentsLocation = await prisma.shipmentsLocation.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentsLocationUpdateManyArgs>(args: SelectSubset<T, ShipmentsLocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentsLocation.
     * @param {ShipmentsLocationUpsertArgs} args - Arguments to update or create a ShipmentsLocation.
     * @example
     * // Update or create a ShipmentsLocation
     * const shipmentsLocation = await prisma.shipmentsLocation.upsert({
     *   create: {
     *     // ... data to create a ShipmentsLocation
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentsLocation we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentsLocationUpsertArgs>(args: SelectSubset<T, ShipmentsLocationUpsertArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentsLocations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationCountArgs} args - Arguments to filter ShipmentsLocations to count.
     * @example
     * // Count the number of ShipmentsLocations
     * const count = await prisma.shipmentsLocation.count({
     *   where: {
     *     // ... the filter for the ShipmentsLocations we want to count
     *   }
     * })
    **/
    count<T extends ShipmentsLocationCountArgs>(
      args?: Subset<T, ShipmentsLocationCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentsLocationCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentsLocation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentsLocationAggregateArgs>(args: Subset<T, ShipmentsLocationAggregateArgs>): Prisma.PrismaPromise<GetShipmentsLocationAggregateType<T>>

    /**
     * Group by ShipmentsLocation.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentsLocationGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentsLocationGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentsLocationGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentsLocationGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentsLocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentsLocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentsLocation model
   */
  readonly fields: ShipmentsLocationFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentsLocation.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentsLocationClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    customer_address<T extends CustomerDeliveryAddressesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CustomerDeliveryAddressesDefaultArgs<ExtArgs>>): Prisma__CustomerDeliveryAddressesClient<$Result.GetResult<Prisma.$CustomerDeliveryAddressesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    pod_status<T extends ShipmentsLocation$pod_statusArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsLocation$pod_statusArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_status<T extends ShipmentStatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatusDefaultArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_customers<T extends ShipmentCustomersDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentCustomersDefaultArgs<ExtArgs>>): Prisma__ShipmentCustomersClient<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipments<T extends ShipmentsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsDefaultArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_delivery_notes<T extends ShipmentsLocation$shipment_delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsLocation$shipment_delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentsLocation model
   */ 
  interface ShipmentsLocationFieldRefs {
    readonly id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly uuid: FieldRef<"ShipmentsLocation", 'String'>
    readonly customer_address_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly otp_status: FieldRef<"ShipmentsLocation", 'OtpStatus'>
    readonly pod_status_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly otp_number: FieldRef<"ShipmentsLocation", 'String'>
    readonly pod_images: FieldRef<"ShipmentsLocation", 'String'>
    readonly customer_signature: FieldRef<"ShipmentsLocation", 'String'>
    readonly loaded_images: FieldRef<"ShipmentsLocation", 'String'>
    readonly shipment_location_lat_long: FieldRef<"ShipmentsLocation", 'String'>
    readonly company_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly status_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly shipment_status_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly shipment_location_uid: FieldRef<"ShipmentsLocation", 'String'>
    readonly shipment_customer_uid: FieldRef<"ShipmentsLocation", 'String'>
    readonly shipment_id: FieldRef<"ShipmentsLocation", 'Int'>
    readonly pod_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly loaded_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly latest_otp_generated_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly created_by: FieldRef<"ShipmentsLocation", 'Int'>
    readonly created_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly updated_by: FieldRef<"ShipmentsLocation", 'Int'>
    readonly updated_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly deleted_by: FieldRef<"ShipmentsLocation", 'Int'>
    readonly deleted_at: FieldRef<"ShipmentsLocation", 'DateTime'>
    readonly customer_delivery_contact_name: FieldRef<"ShipmentsLocation", 'String'>
    readonly customer_delivery_contact_email: FieldRef<"ShipmentsLocation", 'String'>
    readonly customer_delivery_contact_number: FieldRef<"ShipmentsLocation", 'String'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentsLocation findUnique
   */
  export type ShipmentsLocationFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentsLocation to fetch.
     */
    where: ShipmentsLocationWhereUniqueInput
  }

  /**
   * ShipmentsLocation findUniqueOrThrow
   */
  export type ShipmentsLocationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentsLocation to fetch.
     */
    where: ShipmentsLocationWhereUniqueInput
  }

  /**
   * ShipmentsLocation findFirst
   */
  export type ShipmentsLocationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentsLocation to fetch.
     */
    where?: ShipmentsLocationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentsLocations to fetch.
     */
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentsLocations.
     */
    cursor?: ShipmentsLocationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentsLocations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentsLocations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentsLocations.
     */
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * ShipmentsLocation findFirstOrThrow
   */
  export type ShipmentsLocationFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentsLocation to fetch.
     */
    where?: ShipmentsLocationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentsLocations to fetch.
     */
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentsLocations.
     */
    cursor?: ShipmentsLocationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentsLocations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentsLocations.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentsLocations.
     */
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * ShipmentsLocation findMany
   */
  export type ShipmentsLocationFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentsLocations to fetch.
     */
    where?: ShipmentsLocationWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentsLocations to fetch.
     */
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentsLocations.
     */
    cursor?: ShipmentsLocationWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentsLocations from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentsLocations.
     */
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * ShipmentsLocation create
   */
  export type ShipmentsLocationCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentsLocation.
     */
    data: XOR<ShipmentsLocationCreateInput, ShipmentsLocationUncheckedCreateInput>
  }

  /**
   * ShipmentsLocation createMany
   */
  export type ShipmentsLocationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentsLocations.
     */
    data: ShipmentsLocationCreateManyInput | ShipmentsLocationCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentsLocation createManyAndReturn
   */
  export type ShipmentsLocationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentsLocations.
     */
    data: ShipmentsLocationCreateManyInput | ShipmentsLocationCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentsLocation update
   */
  export type ShipmentsLocationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentsLocation.
     */
    data: XOR<ShipmentsLocationUpdateInput, ShipmentsLocationUncheckedUpdateInput>
    /**
     * Choose, which ShipmentsLocation to update.
     */
    where: ShipmentsLocationWhereUniqueInput
  }

  /**
   * ShipmentsLocation updateMany
   */
  export type ShipmentsLocationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentsLocations.
     */
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentsLocations to update
     */
    where?: ShipmentsLocationWhereInput
  }

  /**
   * ShipmentsLocation upsert
   */
  export type ShipmentsLocationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentsLocation to update in case it exists.
     */
    where: ShipmentsLocationWhereUniqueInput
    /**
     * In case the ShipmentsLocation found by the `where` argument doesn't exist, create a new ShipmentsLocation with this data.
     */
    create: XOR<ShipmentsLocationCreateInput, ShipmentsLocationUncheckedCreateInput>
    /**
     * In case the ShipmentsLocation was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentsLocationUpdateInput, ShipmentsLocationUncheckedUpdateInput>
  }

  /**
   * ShipmentsLocation delete
   */
  export type ShipmentsLocationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    /**
     * Filter which ShipmentsLocation to delete.
     */
    where: ShipmentsLocationWhereUniqueInput
  }

  /**
   * ShipmentsLocation deleteMany
   */
  export type ShipmentsLocationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentsLocations to delete
     */
    where?: ShipmentsLocationWhereInput
  }

  /**
   * ShipmentsLocation.pod_status
   */
  export type ShipmentsLocation$pod_statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    where?: PodStatusWhereInput
  }

  /**
   * ShipmentsLocation.shipment_delivery_notes
   */
  export type ShipmentsLocation$shipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * ShipmentsLocation without action
   */
  export type ShipmentsLocationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentDeliveryNotes
   */

  export type AggregateShipmentDeliveryNotes = {
    _count: ShipmentDeliveryNotesCountAggregateOutputType | null
    _avg: ShipmentDeliveryNotesAvgAggregateOutputType | null
    _sum: ShipmentDeliveryNotesSumAggregateOutputType | null
    _min: ShipmentDeliveryNotesMinAggregateOutputType | null
    _max: ShipmentDeliveryNotesMaxAggregateOutputType | null
  }

  export type ShipmentDeliveryNotesAvgAggregateOutputType = {
    id: number | null
    delivery_note_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentDeliveryNotesSumAggregateOutputType = {
    id: number | null
    delivery_note_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ShipmentDeliveryNotesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_location_uid: string | null
    shipment_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ShipmentDeliveryNotesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_status_id: number | null
    shipment_location_uid: string | null
    shipment_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type ShipmentDeliveryNotesCountAggregateOutputType = {
    id: number
    uuid: number
    delivery_note_id: number
    company_id: number
    status_id: number
    shipment_status_id: number
    shipment_location_uid: number
    shipment_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type ShipmentDeliveryNotesAvgAggregateInputType = {
    id?: true
    delivery_note_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentDeliveryNotesSumAggregateInputType = {
    id?: true
    delivery_note_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ShipmentDeliveryNotesMinAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ShipmentDeliveryNotesMaxAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type ShipmentDeliveryNotesCountAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_id?: true
    company_id?: true
    status_id?: true
    shipment_status_id?: true
    shipment_location_uid?: true
    shipment_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type ShipmentDeliveryNotesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentDeliveryNotes to aggregate.
     */
    where?: ShipmentDeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentDeliveryNotes to fetch.
     */
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentDeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentDeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentDeliveryNotes
    **/
    _count?: true | ShipmentDeliveryNotesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentDeliveryNotesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentDeliveryNotesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentDeliveryNotesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentDeliveryNotesMaxAggregateInputType
  }

  export type GetShipmentDeliveryNotesAggregateType<T extends ShipmentDeliveryNotesAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentDeliveryNotes]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentDeliveryNotes[P]>
      : GetScalarType<T[P], AggregateShipmentDeliveryNotes[P]>
  }




  export type ShipmentDeliveryNotesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithAggregationInput | ShipmentDeliveryNotesOrderByWithAggregationInput[]
    by: ShipmentDeliveryNotesScalarFieldEnum[] | ShipmentDeliveryNotesScalarFieldEnum
    having?: ShipmentDeliveryNotesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentDeliveryNotesCountAggregateInputType | true
    _avg?: ShipmentDeliveryNotesAvgAggregateInputType
    _sum?: ShipmentDeliveryNotesSumAggregateInputType
    _min?: ShipmentDeliveryNotesMinAggregateInputType
    _max?: ShipmentDeliveryNotesMaxAggregateInputType
  }

  export type ShipmentDeliveryNotesGroupByOutputType = {
    id: number
    uuid: string
    delivery_note_id: number
    company_id: number
    status_id: number
    shipment_status_id: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: ShipmentDeliveryNotesCountAggregateOutputType | null
    _avg: ShipmentDeliveryNotesAvgAggregateOutputType | null
    _sum: ShipmentDeliveryNotesSumAggregateOutputType | null
    _min: ShipmentDeliveryNotesMinAggregateOutputType | null
    _max: ShipmentDeliveryNotesMaxAggregateOutputType | null
  }

  type GetShipmentDeliveryNotesGroupByPayload<T extends ShipmentDeliveryNotesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentDeliveryNotesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentDeliveryNotesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentDeliveryNotesGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentDeliveryNotesGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentDeliveryNotesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentsLocationDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentDeliveryNotes"]>

  export type ShipmentDeliveryNotesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentsLocationDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentDeliveryNotes"]>

  export type ShipmentDeliveryNotesSelectScalar = {
    id?: boolean
    uuid?: boolean
    delivery_note_id?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_status_id?: boolean
    shipment_location_uid?: boolean
    shipment_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type ShipmentDeliveryNotesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentsLocationDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }
  export type ShipmentDeliveryNotesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    delivery_note?: boolean | DeliveryNotesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipment_status?: boolean | ShipmentStatusDefaultArgs<ExtArgs>
    shipment_location?: boolean | ShipmentsLocationDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentsDefaultArgs<ExtArgs>
  }

  export type $ShipmentDeliveryNotesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentDeliveryNotes"
    objects: {
      delivery_note: Prisma.$DeliveryNotesPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
      shipment_status: Prisma.$ShipmentStatusPayload<ExtArgs>
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>
      shipments: Prisma.$ShipmentsPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      delivery_note_id: number
      company_id: number
      status_id: number
      shipment_status_id: number
      shipment_location_uid: string
      shipment_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["shipmentDeliveryNotes"]>
    composites: {}
  }

  type ShipmentDeliveryNotesGetPayload<S extends boolean | null | undefined | ShipmentDeliveryNotesDefaultArgs> = $Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload, S>

  type ShipmentDeliveryNotesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentDeliveryNotesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentDeliveryNotesCountAggregateInputType | true
    }

  export interface ShipmentDeliveryNotesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentDeliveryNotes'], meta: { name: 'ShipmentDeliveryNotes' } }
    /**
     * Find zero or one ShipmentDeliveryNotes that matches the filter.
     * @param {ShipmentDeliveryNotesFindUniqueArgs} args - Arguments to find a ShipmentDeliveryNotes
     * @example
     * // Get one ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentDeliveryNotesFindUniqueArgs>(args: SelectSubset<T, ShipmentDeliveryNotesFindUniqueArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentDeliveryNotes that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentDeliveryNotesFindUniqueOrThrowArgs} args - Arguments to find a ShipmentDeliveryNotes
     * @example
     * // Get one ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentDeliveryNotesFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentDeliveryNotesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentDeliveryNotes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesFindFirstArgs} args - Arguments to find a ShipmentDeliveryNotes
     * @example
     * // Get one ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentDeliveryNotesFindFirstArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesFindFirstArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentDeliveryNotes that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesFindFirstOrThrowArgs} args - Arguments to find a ShipmentDeliveryNotes
     * @example
     * // Get one ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentDeliveryNotesFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentDeliveryNotes that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findMany()
     * 
     * // Get first 10 ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentDeliveryNotesWithIdOnly = await prisma.shipmentDeliveryNotes.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentDeliveryNotesFindManyArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesCreateArgs} args - Arguments to create a ShipmentDeliveryNotes.
     * @example
     * // Create one ShipmentDeliveryNotes
     * const ShipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.create({
     *   data: {
     *     // ... data to create a ShipmentDeliveryNotes
     *   }
     * })
     * 
     */
    create<T extends ShipmentDeliveryNotesCreateArgs>(args: SelectSubset<T, ShipmentDeliveryNotesCreateArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesCreateManyArgs} args - Arguments to create many ShipmentDeliveryNotes.
     * @example
     * // Create many ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentDeliveryNotesCreateManyArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentDeliveryNotes and returns the data saved in the database.
     * @param {ShipmentDeliveryNotesCreateManyAndReturnArgs} args - Arguments to create many ShipmentDeliveryNotes.
     * @example
     * // Create many ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentDeliveryNotes and only return the `id`
     * const shipmentDeliveryNotesWithIdOnly = await prisma.shipmentDeliveryNotes.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentDeliveryNotesCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesDeleteArgs} args - Arguments to delete one ShipmentDeliveryNotes.
     * @example
     * // Delete one ShipmentDeliveryNotes
     * const ShipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.delete({
     *   where: {
     *     // ... filter to delete one ShipmentDeliveryNotes
     *   }
     * })
     * 
     */
    delete<T extends ShipmentDeliveryNotesDeleteArgs>(args: SelectSubset<T, ShipmentDeliveryNotesDeleteArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesUpdateArgs} args - Arguments to update one ShipmentDeliveryNotes.
     * @example
     * // Update one ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentDeliveryNotesUpdateArgs>(args: SelectSubset<T, ShipmentDeliveryNotesUpdateArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesDeleteManyArgs} args - Arguments to filter ShipmentDeliveryNotes to delete.
     * @example
     * // Delete a few ShipmentDeliveryNotes
     * const { count } = await prisma.shipmentDeliveryNotes.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentDeliveryNotesDeleteManyArgs>(args?: SelectSubset<T, ShipmentDeliveryNotesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentDeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentDeliveryNotesUpdateManyArgs>(args: SelectSubset<T, ShipmentDeliveryNotesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentDeliveryNotes.
     * @param {ShipmentDeliveryNotesUpsertArgs} args - Arguments to update or create a ShipmentDeliveryNotes.
     * @example
     * // Update or create a ShipmentDeliveryNotes
     * const shipmentDeliveryNotes = await prisma.shipmentDeliveryNotes.upsert({
     *   create: {
     *     // ... data to create a ShipmentDeliveryNotes
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentDeliveryNotes we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentDeliveryNotesUpsertArgs>(args: SelectSubset<T, ShipmentDeliveryNotesUpsertArgs<ExtArgs>>): Prisma__ShipmentDeliveryNotesClient<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentDeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesCountArgs} args - Arguments to filter ShipmentDeliveryNotes to count.
     * @example
     * // Count the number of ShipmentDeliveryNotes
     * const count = await prisma.shipmentDeliveryNotes.count({
     *   where: {
     *     // ... the filter for the ShipmentDeliveryNotes we want to count
     *   }
     * })
    **/
    count<T extends ShipmentDeliveryNotesCountArgs>(
      args?: Subset<T, ShipmentDeliveryNotesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentDeliveryNotesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentDeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentDeliveryNotesAggregateArgs>(args: Subset<T, ShipmentDeliveryNotesAggregateArgs>): Prisma.PrismaPromise<GetShipmentDeliveryNotesAggregateType<T>>

    /**
     * Group by ShipmentDeliveryNotes.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentDeliveryNotesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentDeliveryNotesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentDeliveryNotesGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentDeliveryNotesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentDeliveryNotesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentDeliveryNotesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentDeliveryNotes model
   */
  readonly fields: ShipmentDeliveryNotesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentDeliveryNotes.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentDeliveryNotesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    delivery_note<T extends DeliveryNotesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, DeliveryNotesDefaultArgs<ExtArgs>>): Prisma__DeliveryNotesClient<$Result.GetResult<Prisma.$DeliveryNotesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_status<T extends ShipmentStatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatusDefaultArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment_location<T extends ShipmentsLocationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsLocationDefaultArgs<ExtArgs>>): Prisma__ShipmentsLocationClient<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipments<T extends ShipmentsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsDefaultArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentDeliveryNotes model
   */ 
  interface ShipmentDeliveryNotesFieldRefs {
    readonly id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly uuid: FieldRef<"ShipmentDeliveryNotes", 'String'>
    readonly delivery_note_id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly company_id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly status_id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly shipment_status_id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly shipment_location_uid: FieldRef<"ShipmentDeliveryNotes", 'String'>
    readonly shipment_id: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly created_by: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly created_at: FieldRef<"ShipmentDeliveryNotes", 'DateTime'>
    readonly updated_by: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly updated_at: FieldRef<"ShipmentDeliveryNotes", 'DateTime'>
    readonly deleted_by: FieldRef<"ShipmentDeliveryNotes", 'Int'>
    readonly deleted_at: FieldRef<"ShipmentDeliveryNotes", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentDeliveryNotes findUnique
   */
  export type ShipmentDeliveryNotesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentDeliveryNotes to fetch.
     */
    where: ShipmentDeliveryNotesWhereUniqueInput
  }

  /**
   * ShipmentDeliveryNotes findUniqueOrThrow
   */
  export type ShipmentDeliveryNotesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentDeliveryNotes to fetch.
     */
    where: ShipmentDeliveryNotesWhereUniqueInput
  }

  /**
   * ShipmentDeliveryNotes findFirst
   */
  export type ShipmentDeliveryNotesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentDeliveryNotes to fetch.
     */
    where?: ShipmentDeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentDeliveryNotes to fetch.
     */
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentDeliveryNotes.
     */
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentDeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentDeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentDeliveryNotes.
     */
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * ShipmentDeliveryNotes findFirstOrThrow
   */
  export type ShipmentDeliveryNotesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentDeliveryNotes to fetch.
     */
    where?: ShipmentDeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentDeliveryNotes to fetch.
     */
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentDeliveryNotes.
     */
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentDeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentDeliveryNotes.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentDeliveryNotes.
     */
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * ShipmentDeliveryNotes findMany
   */
  export type ShipmentDeliveryNotesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentDeliveryNotes to fetch.
     */
    where?: ShipmentDeliveryNotesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentDeliveryNotes to fetch.
     */
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentDeliveryNotes.
     */
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentDeliveryNotes from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentDeliveryNotes.
     */
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * ShipmentDeliveryNotes create
   */
  export type ShipmentDeliveryNotesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentDeliveryNotes.
     */
    data: XOR<ShipmentDeliveryNotesCreateInput, ShipmentDeliveryNotesUncheckedCreateInput>
  }

  /**
   * ShipmentDeliveryNotes createMany
   */
  export type ShipmentDeliveryNotesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentDeliveryNotes.
     */
    data: ShipmentDeliveryNotesCreateManyInput | ShipmentDeliveryNotesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentDeliveryNotes createManyAndReturn
   */
  export type ShipmentDeliveryNotesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentDeliveryNotes.
     */
    data: ShipmentDeliveryNotesCreateManyInput | ShipmentDeliveryNotesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentDeliveryNotes update
   */
  export type ShipmentDeliveryNotesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentDeliveryNotes.
     */
    data: XOR<ShipmentDeliveryNotesUpdateInput, ShipmentDeliveryNotesUncheckedUpdateInput>
    /**
     * Choose, which ShipmentDeliveryNotes to update.
     */
    where: ShipmentDeliveryNotesWhereUniqueInput
  }

  /**
   * ShipmentDeliveryNotes updateMany
   */
  export type ShipmentDeliveryNotesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentDeliveryNotes.
     */
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentDeliveryNotes to update
     */
    where?: ShipmentDeliveryNotesWhereInput
  }

  /**
   * ShipmentDeliveryNotes upsert
   */
  export type ShipmentDeliveryNotesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentDeliveryNotes to update in case it exists.
     */
    where: ShipmentDeliveryNotesWhereUniqueInput
    /**
     * In case the ShipmentDeliveryNotes found by the `where` argument doesn't exist, create a new ShipmentDeliveryNotes with this data.
     */
    create: XOR<ShipmentDeliveryNotesCreateInput, ShipmentDeliveryNotesUncheckedCreateInput>
    /**
     * In case the ShipmentDeliveryNotes was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentDeliveryNotesUpdateInput, ShipmentDeliveryNotesUncheckedUpdateInput>
  }

  /**
   * ShipmentDeliveryNotes delete
   */
  export type ShipmentDeliveryNotesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    /**
     * Filter which ShipmentDeliveryNotes to delete.
     */
    where: ShipmentDeliveryNotesWhereUniqueInput
  }

  /**
   * ShipmentDeliveryNotes deleteMany
   */
  export type ShipmentDeliveryNotesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentDeliveryNotes to delete
     */
    where?: ShipmentDeliveryNotesWhereInput
  }

  /**
   * ShipmentDeliveryNotes without action
   */
  export type ShipmentDeliveryNotesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
  }


  /**
   * Model Vehicles
   */

  export type AggregateVehicles = {
    _count: VehiclesCountAggregateOutputType | null
    _avg: VehiclesAvgAggregateOutputType | null
    _sum: VehiclesSumAggregateOutputType | null
    _min: VehiclesMinAggregateOutputType | null
    _max: VehiclesMaxAggregateOutputType | null
  }

  export type VehiclesAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type VehiclesSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type VehiclesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_plate_number: string | null
    vehicle_register_number: string | null
    company_id: number | null
    status_id: number | null
    is_assigned: boolean | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type VehiclesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_plate_number: string | null
    vehicle_register_number: string | null
    company_id: number | null
    status_id: number | null
    is_assigned: boolean | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type VehiclesCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_plate_number: number
    vehicle_register_number: number
    company_id: number
    status_id: number
    is_assigned: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type VehiclesAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type VehiclesSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type VehiclesMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_plate_number?: true
    vehicle_register_number?: true
    company_id?: true
    status_id?: true
    is_assigned?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type VehiclesMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_plate_number?: true
    vehicle_register_number?: true
    company_id?: true
    status_id?: true
    is_assigned?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type VehiclesCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_plate_number?: true
    vehicle_register_number?: true
    company_id?: true
    status_id?: true
    is_assigned?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type VehiclesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Vehicles to aggregate.
     */
    where?: VehiclesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Vehicles to fetch.
     */
    orderBy?: VehiclesOrderByWithRelationInput | VehiclesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehiclesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Vehicles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Vehicles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned Vehicles
    **/
    _count?: true | VehiclesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehiclesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehiclesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehiclesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehiclesMaxAggregateInputType
  }

  export type GetVehiclesAggregateType<T extends VehiclesAggregateArgs> = {
        [P in keyof T & keyof AggregateVehicles]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehicles[P]>
      : GetScalarType<T[P], AggregateVehicles[P]>
  }




  export type VehiclesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesWhereInput
    orderBy?: VehiclesOrderByWithAggregationInput | VehiclesOrderByWithAggregationInput[]
    by: VehiclesScalarFieldEnum[] | VehiclesScalarFieldEnum
    having?: VehiclesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehiclesCountAggregateInputType | true
    _avg?: VehiclesAvgAggregateInputType
    _sum?: VehiclesSumAggregateInputType
    _min?: VehiclesMinAggregateInputType
    _max?: VehiclesMaxAggregateInputType
  }

  export type VehiclesGroupByOutputType = {
    id: number
    uuid: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id: number
    is_assigned: boolean
    created_by: number | null
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: VehiclesCountAggregateOutputType | null
    _avg: VehiclesAvgAggregateOutputType | null
    _sum: VehiclesSumAggregateOutputType | null
    _min: VehiclesMinAggregateOutputType | null
    _max: VehiclesMaxAggregateOutputType | null
  }

  type GetVehiclesGroupByPayload<T extends VehiclesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehiclesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehiclesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehiclesGroupByOutputType[P]>
            : GetScalarType<T[P], VehiclesGroupByOutputType[P]>
        }
      >
    >


  export type VehiclesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_plate_number?: boolean
    vehicle_register_number?: boolean
    company_id?: boolean
    status_id?: boolean
    is_assigned?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle_gps_data?: boolean | Vehicles$vehicle_gps_dataArgs<ExtArgs>
    vehicle_gps_data_log?: boolean | Vehicles$vehicle_gps_data_logArgs<ExtArgs>
    geo_fence_tracking?: boolean | Vehicles$geo_fence_trackingArgs<ExtArgs>
    vehicle_user_mapping?: boolean | Vehicles$vehicle_user_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Vehicles$vehicle_geofence_historyArgs<ExtArgs>
    shipments?: boolean | Vehicles$shipmentsArgs<ExtArgs>
    vehicle_trip_histories?: boolean | Vehicles$vehicle_trip_historiesArgs<ExtArgs>
    _count?: boolean | VehiclesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicles"]>

  export type VehiclesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_plate_number?: boolean
    vehicle_register_number?: boolean
    company_id?: boolean
    status_id?: boolean
    is_assigned?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicles"]>

  export type VehiclesSelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_plate_number?: boolean
    vehicle_register_number?: boolean
    company_id?: boolean
    status_id?: boolean
    is_assigned?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type VehiclesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle_gps_data?: boolean | Vehicles$vehicle_gps_dataArgs<ExtArgs>
    vehicle_gps_data_log?: boolean | Vehicles$vehicle_gps_data_logArgs<ExtArgs>
    geo_fence_tracking?: boolean | Vehicles$geo_fence_trackingArgs<ExtArgs>
    vehicle_user_mapping?: boolean | Vehicles$vehicle_user_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | Vehicles$vehicle_geofence_historyArgs<ExtArgs>
    shipments?: boolean | Vehicles$shipmentsArgs<ExtArgs>
    vehicle_trip_histories?: boolean | Vehicles$vehicle_trip_historiesArgs<ExtArgs>
    _count?: boolean | VehiclesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type VehiclesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $VehiclesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "Vehicles"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      vehicle_gps_data: Prisma.$VehiclesGpsDataPayload<ExtArgs>[]
      vehicle_gps_data_log: Prisma.$VehiclesGpsDataLogPayload<ExtArgs>[]
      geo_fence_tracking: Prisma.$GeoFenceTrackingPayload<ExtArgs>[]
      vehicle_user_mapping: Prisma.$VehicleUserMappingPayload<ExtArgs>[]
      vehicle_geofence_history: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
      shipments: Prisma.$ShipmentsPayload<ExtArgs>[]
      vehicle_trip_histories: Prisma.$VehicleTripHistoriesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_plate_number: string
      vehicle_register_number: string
      company_id: number
      status_id: number
      is_assigned: boolean
      created_by: number | null
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["vehicles"]>
    composites: {}
  }

  type VehiclesGetPayload<S extends boolean | null | undefined | VehiclesDefaultArgs> = $Result.GetResult<Prisma.$VehiclesPayload, S>

  type VehiclesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehiclesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehiclesCountAggregateInputType | true
    }

  export interface VehiclesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Vehicles'], meta: { name: 'Vehicles' } }
    /**
     * Find zero or one Vehicles that matches the filter.
     * @param {VehiclesFindUniqueArgs} args - Arguments to find a Vehicles
     * @example
     * // Get one Vehicles
     * const vehicles = await prisma.vehicles.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehiclesFindUniqueArgs>(args: SelectSubset<T, VehiclesFindUniqueArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Vehicles that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehiclesFindUniqueOrThrowArgs} args - Arguments to find a Vehicles
     * @example
     * // Get one Vehicles
     * const vehicles = await prisma.vehicles.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehiclesFindUniqueOrThrowArgs>(args: SelectSubset<T, VehiclesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Vehicles that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesFindFirstArgs} args - Arguments to find a Vehicles
     * @example
     * // Get one Vehicles
     * const vehicles = await prisma.vehicles.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehiclesFindFirstArgs>(args?: SelectSubset<T, VehiclesFindFirstArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Vehicles that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesFindFirstOrThrowArgs} args - Arguments to find a Vehicles
     * @example
     * // Get one Vehicles
     * const vehicles = await prisma.vehicles.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehiclesFindFirstOrThrowArgs>(args?: SelectSubset<T, VehiclesFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Vehicles that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Vehicles
     * const vehicles = await prisma.vehicles.findMany()
     * 
     * // Get first 10 Vehicles
     * const vehicles = await prisma.vehicles.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehiclesWithIdOnly = await prisma.vehicles.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehiclesFindManyArgs>(args?: SelectSubset<T, VehiclesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Vehicles.
     * @param {VehiclesCreateArgs} args - Arguments to create a Vehicles.
     * @example
     * // Create one Vehicles
     * const Vehicles = await prisma.vehicles.create({
     *   data: {
     *     // ... data to create a Vehicles
     *   }
     * })
     * 
     */
    create<T extends VehiclesCreateArgs>(args: SelectSubset<T, VehiclesCreateArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Vehicles.
     * @param {VehiclesCreateManyArgs} args - Arguments to create many Vehicles.
     * @example
     * // Create many Vehicles
     * const vehicles = await prisma.vehicles.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehiclesCreateManyArgs>(args?: SelectSubset<T, VehiclesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Vehicles and returns the data saved in the database.
     * @param {VehiclesCreateManyAndReturnArgs} args - Arguments to create many Vehicles.
     * @example
     * // Create many Vehicles
     * const vehicles = await prisma.vehicles.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Vehicles and only return the `id`
     * const vehiclesWithIdOnly = await prisma.vehicles.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehiclesCreateManyAndReturnArgs>(args?: SelectSubset<T, VehiclesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Vehicles.
     * @param {VehiclesDeleteArgs} args - Arguments to delete one Vehicles.
     * @example
     * // Delete one Vehicles
     * const Vehicles = await prisma.vehicles.delete({
     *   where: {
     *     // ... filter to delete one Vehicles
     *   }
     * })
     * 
     */
    delete<T extends VehiclesDeleteArgs>(args: SelectSubset<T, VehiclesDeleteArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Vehicles.
     * @param {VehiclesUpdateArgs} args - Arguments to update one Vehicles.
     * @example
     * // Update one Vehicles
     * const vehicles = await prisma.vehicles.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehiclesUpdateArgs>(args: SelectSubset<T, VehiclesUpdateArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Vehicles.
     * @param {VehiclesDeleteManyArgs} args - Arguments to filter Vehicles to delete.
     * @example
     * // Delete a few Vehicles
     * const { count } = await prisma.vehicles.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehiclesDeleteManyArgs>(args?: SelectSubset<T, VehiclesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Vehicles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Vehicles
     * const vehicles = await prisma.vehicles.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehiclesUpdateManyArgs>(args: SelectSubset<T, VehiclesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Vehicles.
     * @param {VehiclesUpsertArgs} args - Arguments to update or create a Vehicles.
     * @example
     * // Update or create a Vehicles
     * const vehicles = await prisma.vehicles.upsert({
     *   create: {
     *     // ... data to create a Vehicles
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Vehicles we want to update
     *   }
     * })
     */
    upsert<T extends VehiclesUpsertArgs>(args: SelectSubset<T, VehiclesUpsertArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Vehicles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesCountArgs} args - Arguments to filter Vehicles to count.
     * @example
     * // Count the number of Vehicles
     * const count = await prisma.vehicles.count({
     *   where: {
     *     // ... the filter for the Vehicles we want to count
     *   }
     * })
    **/
    count<T extends VehiclesCountArgs>(
      args?: Subset<T, VehiclesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehiclesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Vehicles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehiclesAggregateArgs>(args: Subset<T, VehiclesAggregateArgs>): Prisma.PrismaPromise<GetVehiclesAggregateType<T>>

    /**
     * Group by Vehicles.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehiclesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehiclesGroupByArgs['orderBy'] }
        : { orderBy?: VehiclesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehiclesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehiclesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the Vehicles model
   */
  readonly fields: VehiclesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for Vehicles.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehiclesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    vehicle_gps_data<T extends Vehicles$vehicle_gps_dataArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$vehicle_gps_dataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_gps_data_log<T extends Vehicles$vehicle_gps_data_logArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$vehicle_gps_data_logArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findMany"> | Null>
    geo_fence_tracking<T extends Vehicles$geo_fence_trackingArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$geo_fence_trackingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_user_mapping<T extends Vehicles$vehicle_user_mappingArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$vehicle_user_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history<T extends Vehicles$vehicle_geofence_historyArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$vehicle_geofence_historyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    shipments<T extends Vehicles$shipmentsArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$shipmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_trip_histories<T extends Vehicles$vehicle_trip_historiesArgs<ExtArgs> = {}>(args?: Subset<T, Vehicles$vehicle_trip_historiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the Vehicles model
   */ 
  interface VehiclesFieldRefs {
    readonly id: FieldRef<"Vehicles", 'Int'>
    readonly uuid: FieldRef<"Vehicles", 'String'>
    readonly vehicle_plate_number: FieldRef<"Vehicles", 'String'>
    readonly vehicle_register_number: FieldRef<"Vehicles", 'String'>
    readonly company_id: FieldRef<"Vehicles", 'Int'>
    readonly status_id: FieldRef<"Vehicles", 'Int'>
    readonly is_assigned: FieldRef<"Vehicles", 'Boolean'>
    readonly created_by: FieldRef<"Vehicles", 'Int'>
    readonly created_at: FieldRef<"Vehicles", 'DateTime'>
    readonly updated_by: FieldRef<"Vehicles", 'Int'>
    readonly updated_at: FieldRef<"Vehicles", 'DateTime'>
    readonly deleted_by: FieldRef<"Vehicles", 'Int'>
    readonly deleted_at: FieldRef<"Vehicles", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * Vehicles findUnique
   */
  export type VehiclesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter, which Vehicles to fetch.
     */
    where: VehiclesWhereUniqueInput
  }

  /**
   * Vehicles findUniqueOrThrow
   */
  export type VehiclesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter, which Vehicles to fetch.
     */
    where: VehiclesWhereUniqueInput
  }

  /**
   * Vehicles findFirst
   */
  export type VehiclesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter, which Vehicles to fetch.
     */
    where?: VehiclesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Vehicles to fetch.
     */
    orderBy?: VehiclesOrderByWithRelationInput | VehiclesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Vehicles.
     */
    cursor?: VehiclesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Vehicles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Vehicles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Vehicles.
     */
    distinct?: VehiclesScalarFieldEnum | VehiclesScalarFieldEnum[]
  }

  /**
   * Vehicles findFirstOrThrow
   */
  export type VehiclesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter, which Vehicles to fetch.
     */
    where?: VehiclesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Vehicles to fetch.
     */
    orderBy?: VehiclesOrderByWithRelationInput | VehiclesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for Vehicles.
     */
    cursor?: VehiclesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Vehicles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Vehicles.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of Vehicles.
     */
    distinct?: VehiclesScalarFieldEnum | VehiclesScalarFieldEnum[]
  }

  /**
   * Vehicles findMany
   */
  export type VehiclesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter, which Vehicles to fetch.
     */
    where?: VehiclesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of Vehicles to fetch.
     */
    orderBy?: VehiclesOrderByWithRelationInput | VehiclesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing Vehicles.
     */
    cursor?: VehiclesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` Vehicles from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` Vehicles.
     */
    skip?: number
    distinct?: VehiclesScalarFieldEnum | VehiclesScalarFieldEnum[]
  }

  /**
   * Vehicles create
   */
  export type VehiclesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * The data needed to create a Vehicles.
     */
    data: XOR<VehiclesCreateInput, VehiclesUncheckedCreateInput>
  }

  /**
   * Vehicles createMany
   */
  export type VehiclesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many Vehicles.
     */
    data: VehiclesCreateManyInput | VehiclesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * Vehicles createManyAndReturn
   */
  export type VehiclesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many Vehicles.
     */
    data: VehiclesCreateManyInput | VehiclesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * Vehicles update
   */
  export type VehiclesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * The data needed to update a Vehicles.
     */
    data: XOR<VehiclesUpdateInput, VehiclesUncheckedUpdateInput>
    /**
     * Choose, which Vehicles to update.
     */
    where: VehiclesWhereUniqueInput
  }

  /**
   * Vehicles updateMany
   */
  export type VehiclesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update Vehicles.
     */
    data: XOR<VehiclesUpdateManyMutationInput, VehiclesUncheckedUpdateManyInput>
    /**
     * Filter which Vehicles to update
     */
    where?: VehiclesWhereInput
  }

  /**
   * Vehicles upsert
   */
  export type VehiclesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * The filter to search for the Vehicles to update in case it exists.
     */
    where: VehiclesWhereUniqueInput
    /**
     * In case the Vehicles found by the `where` argument doesn't exist, create a new Vehicles with this data.
     */
    create: XOR<VehiclesCreateInput, VehiclesUncheckedCreateInput>
    /**
     * In case the Vehicles was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehiclesUpdateInput, VehiclesUncheckedUpdateInput>
  }

  /**
   * Vehicles delete
   */
  export type VehiclesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
    /**
     * Filter which Vehicles to delete.
     */
    where: VehiclesWhereUniqueInput
  }

  /**
   * Vehicles deleteMany
   */
  export type VehiclesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which Vehicles to delete
     */
    where?: VehiclesWhereInput
  }

  /**
   * Vehicles.vehicle_gps_data
   */
  export type Vehicles$vehicle_gps_dataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    where?: VehiclesGpsDataWhereInput
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    cursor?: VehiclesGpsDataWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * Vehicles.vehicle_gps_data_log
   */
  export type Vehicles$vehicle_gps_data_logArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    where?: VehiclesGpsDataLogWhereInput
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehiclesGpsDataLogScalarFieldEnum | VehiclesGpsDataLogScalarFieldEnum[]
  }

  /**
   * Vehicles.geo_fence_tracking
   */
  export type Vehicles$geo_fence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    where?: GeoFenceTrackingWhereInput
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    cursor?: GeoFenceTrackingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * Vehicles.vehicle_user_mapping
   */
  export type Vehicles$vehicle_user_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    where?: VehicleUserMappingWhereInput
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    cursor?: VehicleUserMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * Vehicles.vehicle_geofence_history
   */
  export type Vehicles$vehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * Vehicles.shipments
   */
  export type Vehicles$shipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    where?: ShipmentsWhereInput
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    cursor?: ShipmentsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * Vehicles.vehicle_trip_histories
   */
  export type Vehicles$vehicle_trip_historiesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    where?: VehicleTripHistoriesWhereInput
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    cursor?: VehicleTripHistoriesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * Vehicles without action
   */
  export type VehiclesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Vehicles
     */
    select?: VehiclesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesInclude<ExtArgs> | null
  }


  /**
   * Model VehicleUserMapping
   */

  export type AggregateVehicleUserMapping = {
    _count: VehicleUserMappingCountAggregateOutputType | null
    _avg: VehicleUserMappingAvgAggregateOutputType | null
    _sum: VehicleUserMappingSumAggregateOutputType | null
    _min: VehicleUserMappingMinAggregateOutputType | null
    _max: VehicleUserMappingMaxAggregateOutputType | null
  }

  export type VehicleUserMappingAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    vehicle_id: number | null
    user_id: number | null
    created_by: number | null
  }

  export type VehicleUserMappingSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    vehicle_id: number | null
    user_id: number | null
    created_by: number | null
  }

  export type VehicleUserMappingMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    vehicle_id: number | null
    user_id: number | null
    created_by: number | null
    created_at: Date | null
  }

  export type VehicleUserMappingMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    vehicle_id: number | null
    user_id: number | null
    created_by: number | null
    created_at: Date | null
  }

  export type VehicleUserMappingCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    status_id: number
    vehicle_id: number
    user_id: number
    created_by: number
    created_at: number
    _all: number
  }


  export type VehicleUserMappingAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    vehicle_id?: true
    user_id?: true
    created_by?: true
  }

  export type VehicleUserMappingSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    vehicle_id?: true
    user_id?: true
    created_by?: true
  }

  export type VehicleUserMappingMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    vehicle_id?: true
    user_id?: true
    created_by?: true
    created_at?: true
  }

  export type VehicleUserMappingMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    vehicle_id?: true
    user_id?: true
    created_by?: true
    created_at?: true
  }

  export type VehicleUserMappingCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    vehicle_id?: true
    user_id?: true
    created_by?: true
    created_at?: true
    _all?: true
  }

  export type VehicleUserMappingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleUserMapping to aggregate.
     */
    where?: VehicleUserMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleUserMappings to fetch.
     */
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehicleUserMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleUserMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleUserMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned VehicleUserMappings
    **/
    _count?: true | VehicleUserMappingCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehicleUserMappingAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehicleUserMappingSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehicleUserMappingMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehicleUserMappingMaxAggregateInputType
  }

  export type GetVehicleUserMappingAggregateType<T extends VehicleUserMappingAggregateArgs> = {
        [P in keyof T & keyof AggregateVehicleUserMapping]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehicleUserMapping[P]>
      : GetScalarType<T[P], AggregateVehicleUserMapping[P]>
  }




  export type VehicleUserMappingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleUserMappingWhereInput
    orderBy?: VehicleUserMappingOrderByWithAggregationInput | VehicleUserMappingOrderByWithAggregationInput[]
    by: VehicleUserMappingScalarFieldEnum[] | VehicleUserMappingScalarFieldEnum
    having?: VehicleUserMappingScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehicleUserMappingCountAggregateInputType | true
    _avg?: VehicleUserMappingAvgAggregateInputType
    _sum?: VehicleUserMappingSumAggregateInputType
    _min?: VehicleUserMappingMinAggregateInputType
    _max?: VehicleUserMappingMaxAggregateInputType
  }

  export type VehicleUserMappingGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    status_id: number
    vehicle_id: number
    user_id: number
    created_by: number | null
    created_at: Date | null
    _count: VehicleUserMappingCountAggregateOutputType | null
    _avg: VehicleUserMappingAvgAggregateOutputType | null
    _sum: VehicleUserMappingSumAggregateOutputType | null
    _min: VehicleUserMappingMinAggregateOutputType | null
    _max: VehicleUserMappingMaxAggregateOutputType | null
  }

  type GetVehicleUserMappingGroupByPayload<T extends VehicleUserMappingGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehicleUserMappingGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehicleUserMappingGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehicleUserMappingGroupByOutputType[P]>
            : GetScalarType<T[P], VehicleUserMappingGroupByOutputType[P]>
        }
      >
    >


  export type VehicleUserMappingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    vehicle_id?: boolean
    user_id?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleUserMapping"]>

  export type VehicleUserMappingSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    vehicle_id?: boolean
    user_id?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleUserMapping"]>

  export type VehicleUserMappingSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    vehicle_id?: boolean
    user_id?: boolean
    created_by?: boolean
    created_at?: boolean
  }

  export type VehicleUserMappingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type VehicleUserMappingIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $VehicleUserMappingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "VehicleUserMapping"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      status_id: number
      vehicle_id: number
      user_id: number
      created_by: number | null
      created_at: Date | null
    }, ExtArgs["result"]["vehicleUserMapping"]>
    composites: {}
  }

  type VehicleUserMappingGetPayload<S extends boolean | null | undefined | VehicleUserMappingDefaultArgs> = $Result.GetResult<Prisma.$VehicleUserMappingPayload, S>

  type VehicleUserMappingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehicleUserMappingFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehicleUserMappingCountAggregateInputType | true
    }

  export interface VehicleUserMappingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VehicleUserMapping'], meta: { name: 'VehicleUserMapping' } }
    /**
     * Find zero or one VehicleUserMapping that matches the filter.
     * @param {VehicleUserMappingFindUniqueArgs} args - Arguments to find a VehicleUserMapping
     * @example
     * // Get one VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehicleUserMappingFindUniqueArgs>(args: SelectSubset<T, VehicleUserMappingFindUniqueArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one VehicleUserMapping that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehicleUserMappingFindUniqueOrThrowArgs} args - Arguments to find a VehicleUserMapping
     * @example
     * // Get one VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehicleUserMappingFindUniqueOrThrowArgs>(args: SelectSubset<T, VehicleUserMappingFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first VehicleUserMapping that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingFindFirstArgs} args - Arguments to find a VehicleUserMapping
     * @example
     * // Get one VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehicleUserMappingFindFirstArgs>(args?: SelectSubset<T, VehicleUserMappingFindFirstArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first VehicleUserMapping that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingFindFirstOrThrowArgs} args - Arguments to find a VehicleUserMapping
     * @example
     * // Get one VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehicleUserMappingFindFirstOrThrowArgs>(args?: SelectSubset<T, VehicleUserMappingFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more VehicleUserMappings that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all VehicleUserMappings
     * const vehicleUserMappings = await prisma.vehicleUserMapping.findMany()
     * 
     * // Get first 10 VehicleUserMappings
     * const vehicleUserMappings = await prisma.vehicleUserMapping.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehicleUserMappingWithIdOnly = await prisma.vehicleUserMapping.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehicleUserMappingFindManyArgs>(args?: SelectSubset<T, VehicleUserMappingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a VehicleUserMapping.
     * @param {VehicleUserMappingCreateArgs} args - Arguments to create a VehicleUserMapping.
     * @example
     * // Create one VehicleUserMapping
     * const VehicleUserMapping = await prisma.vehicleUserMapping.create({
     *   data: {
     *     // ... data to create a VehicleUserMapping
     *   }
     * })
     * 
     */
    create<T extends VehicleUserMappingCreateArgs>(args: SelectSubset<T, VehicleUserMappingCreateArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many VehicleUserMappings.
     * @param {VehicleUserMappingCreateManyArgs} args - Arguments to create many VehicleUserMappings.
     * @example
     * // Create many VehicleUserMappings
     * const vehicleUserMapping = await prisma.vehicleUserMapping.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehicleUserMappingCreateManyArgs>(args?: SelectSubset<T, VehicleUserMappingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many VehicleUserMappings and returns the data saved in the database.
     * @param {VehicleUserMappingCreateManyAndReturnArgs} args - Arguments to create many VehicleUserMappings.
     * @example
     * // Create many VehicleUserMappings
     * const vehicleUserMapping = await prisma.vehicleUserMapping.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many VehicleUserMappings and only return the `id`
     * const vehicleUserMappingWithIdOnly = await prisma.vehicleUserMapping.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehicleUserMappingCreateManyAndReturnArgs>(args?: SelectSubset<T, VehicleUserMappingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a VehicleUserMapping.
     * @param {VehicleUserMappingDeleteArgs} args - Arguments to delete one VehicleUserMapping.
     * @example
     * // Delete one VehicleUserMapping
     * const VehicleUserMapping = await prisma.vehicleUserMapping.delete({
     *   where: {
     *     // ... filter to delete one VehicleUserMapping
     *   }
     * })
     * 
     */
    delete<T extends VehicleUserMappingDeleteArgs>(args: SelectSubset<T, VehicleUserMappingDeleteArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one VehicleUserMapping.
     * @param {VehicleUserMappingUpdateArgs} args - Arguments to update one VehicleUserMapping.
     * @example
     * // Update one VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehicleUserMappingUpdateArgs>(args: SelectSubset<T, VehicleUserMappingUpdateArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more VehicleUserMappings.
     * @param {VehicleUserMappingDeleteManyArgs} args - Arguments to filter VehicleUserMappings to delete.
     * @example
     * // Delete a few VehicleUserMappings
     * const { count } = await prisma.vehicleUserMapping.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehicleUserMappingDeleteManyArgs>(args?: SelectSubset<T, VehicleUserMappingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more VehicleUserMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many VehicleUserMappings
     * const vehicleUserMapping = await prisma.vehicleUserMapping.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehicleUserMappingUpdateManyArgs>(args: SelectSubset<T, VehicleUserMappingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one VehicleUserMapping.
     * @param {VehicleUserMappingUpsertArgs} args - Arguments to update or create a VehicleUserMapping.
     * @example
     * // Update or create a VehicleUserMapping
     * const vehicleUserMapping = await prisma.vehicleUserMapping.upsert({
     *   create: {
     *     // ... data to create a VehicleUserMapping
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the VehicleUserMapping we want to update
     *   }
     * })
     */
    upsert<T extends VehicleUserMappingUpsertArgs>(args: SelectSubset<T, VehicleUserMappingUpsertArgs<ExtArgs>>): Prisma__VehicleUserMappingClient<$Result.GetResult<Prisma.$VehicleUserMappingPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of VehicleUserMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingCountArgs} args - Arguments to filter VehicleUserMappings to count.
     * @example
     * // Count the number of VehicleUserMappings
     * const count = await prisma.vehicleUserMapping.count({
     *   where: {
     *     // ... the filter for the VehicleUserMappings we want to count
     *   }
     * })
    **/
    count<T extends VehicleUserMappingCountArgs>(
      args?: Subset<T, VehicleUserMappingCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehicleUserMappingCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a VehicleUserMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehicleUserMappingAggregateArgs>(args: Subset<T, VehicleUserMappingAggregateArgs>): Prisma.PrismaPromise<GetVehicleUserMappingAggregateType<T>>

    /**
     * Group by VehicleUserMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleUserMappingGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehicleUserMappingGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehicleUserMappingGroupByArgs['orderBy'] }
        : { orderBy?: VehicleUserMappingGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehicleUserMappingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehicleUserMappingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the VehicleUserMapping model
   */
  readonly fields: VehicleUserMappingFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for VehicleUserMapping.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehicleUserMappingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the VehicleUserMapping model
   */ 
  interface VehicleUserMappingFieldRefs {
    readonly id: FieldRef<"VehicleUserMapping", 'Int'>
    readonly uuid: FieldRef<"VehicleUserMapping", 'String'>
    readonly company_id: FieldRef<"VehicleUserMapping", 'Int'>
    readonly status_id: FieldRef<"VehicleUserMapping", 'Int'>
    readonly vehicle_id: FieldRef<"VehicleUserMapping", 'Int'>
    readonly user_id: FieldRef<"VehicleUserMapping", 'Int'>
    readonly created_by: FieldRef<"VehicleUserMapping", 'Int'>
    readonly created_at: FieldRef<"VehicleUserMapping", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * VehicleUserMapping findUnique
   */
  export type VehicleUserMappingFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter, which VehicleUserMapping to fetch.
     */
    where: VehicleUserMappingWhereUniqueInput
  }

  /**
   * VehicleUserMapping findUniqueOrThrow
   */
  export type VehicleUserMappingFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter, which VehicleUserMapping to fetch.
     */
    where: VehicleUserMappingWhereUniqueInput
  }

  /**
   * VehicleUserMapping findFirst
   */
  export type VehicleUserMappingFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter, which VehicleUserMapping to fetch.
     */
    where?: VehicleUserMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleUserMappings to fetch.
     */
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleUserMappings.
     */
    cursor?: VehicleUserMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleUserMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleUserMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleUserMappings.
     */
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * VehicleUserMapping findFirstOrThrow
   */
  export type VehicleUserMappingFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter, which VehicleUserMapping to fetch.
     */
    where?: VehicleUserMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleUserMappings to fetch.
     */
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleUserMappings.
     */
    cursor?: VehicleUserMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleUserMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleUserMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleUserMappings.
     */
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * VehicleUserMapping findMany
   */
  export type VehicleUserMappingFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter, which VehicleUserMappings to fetch.
     */
    where?: VehicleUserMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleUserMappings to fetch.
     */
    orderBy?: VehicleUserMappingOrderByWithRelationInput | VehicleUserMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing VehicleUserMappings.
     */
    cursor?: VehicleUserMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleUserMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleUserMappings.
     */
    skip?: number
    distinct?: VehicleUserMappingScalarFieldEnum | VehicleUserMappingScalarFieldEnum[]
  }

  /**
   * VehicleUserMapping create
   */
  export type VehicleUserMappingCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * The data needed to create a VehicleUserMapping.
     */
    data: XOR<VehicleUserMappingCreateInput, VehicleUserMappingUncheckedCreateInput>
  }

  /**
   * VehicleUserMapping createMany
   */
  export type VehicleUserMappingCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many VehicleUserMappings.
     */
    data: VehicleUserMappingCreateManyInput | VehicleUserMappingCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * VehicleUserMapping createManyAndReturn
   */
  export type VehicleUserMappingCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many VehicleUserMappings.
     */
    data: VehicleUserMappingCreateManyInput | VehicleUserMappingCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * VehicleUserMapping update
   */
  export type VehicleUserMappingUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * The data needed to update a VehicleUserMapping.
     */
    data: XOR<VehicleUserMappingUpdateInput, VehicleUserMappingUncheckedUpdateInput>
    /**
     * Choose, which VehicleUserMapping to update.
     */
    where: VehicleUserMappingWhereUniqueInput
  }

  /**
   * VehicleUserMapping updateMany
   */
  export type VehicleUserMappingUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update VehicleUserMappings.
     */
    data: XOR<VehicleUserMappingUpdateManyMutationInput, VehicleUserMappingUncheckedUpdateManyInput>
    /**
     * Filter which VehicleUserMappings to update
     */
    where?: VehicleUserMappingWhereInput
  }

  /**
   * VehicleUserMapping upsert
   */
  export type VehicleUserMappingUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * The filter to search for the VehicleUserMapping to update in case it exists.
     */
    where: VehicleUserMappingWhereUniqueInput
    /**
     * In case the VehicleUserMapping found by the `where` argument doesn't exist, create a new VehicleUserMapping with this data.
     */
    create: XOR<VehicleUserMappingCreateInput, VehicleUserMappingUncheckedCreateInput>
    /**
     * In case the VehicleUserMapping was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehicleUserMappingUpdateInput, VehicleUserMappingUncheckedUpdateInput>
  }

  /**
   * VehicleUserMapping delete
   */
  export type VehicleUserMappingDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
    /**
     * Filter which VehicleUserMapping to delete.
     */
    where: VehicleUserMappingWhereUniqueInput
  }

  /**
   * VehicleUserMapping deleteMany
   */
  export type VehicleUserMappingDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleUserMappings to delete
     */
    where?: VehicleUserMappingWhereInput
  }

  /**
   * VehicleUserMapping without action
   */
  export type VehicleUserMappingDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleUserMapping
     */
    select?: VehicleUserMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleUserMappingInclude<ExtArgs> | null
  }


  /**
   * Model VehiclesGpsData
   */

  export type AggregateVehiclesGpsData = {
    _count: VehiclesGpsDataCountAggregateOutputType | null
    _avg: VehiclesGpsDataAvgAggregateOutputType | null
    _sum: VehiclesGpsDataSumAggregateOutputType | null
    _min: VehiclesGpsDataMinAggregateOutputType | null
    _max: VehiclesGpsDataMaxAggregateOutputType | null
  }

  export type VehiclesGpsDataAvgAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
  }

  export type VehiclesGpsDataSumAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
  }

  export type VehiclesGpsDataMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
  }

  export type VehiclesGpsDataMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
  }

  export type VehiclesGpsDataCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_id: number
    latitude: number
    longitude: number
    gps_timestamp: number
    unique_gps_data_id: number
    driver_id: number
    created_at: number
    company_id: number
    status_id: number
    shipment_id: number
    process_status_id: number
    processed_at: number
    _all: number
  }


  export type VehiclesGpsDataAvgAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
  }

  export type VehiclesGpsDataSumAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
  }

  export type VehiclesGpsDataMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
  }

  export type VehiclesGpsDataMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
  }

  export type VehiclesGpsDataCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
    _all?: true
  }

  export type VehiclesGpsDataAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehiclesGpsData to aggregate.
     */
    where?: VehiclesGpsDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsData to fetch.
     */
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehiclesGpsDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned VehiclesGpsData
    **/
    _count?: true | VehiclesGpsDataCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehiclesGpsDataAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehiclesGpsDataSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehiclesGpsDataMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehiclesGpsDataMaxAggregateInputType
  }

  export type GetVehiclesGpsDataAggregateType<T extends VehiclesGpsDataAggregateArgs> = {
        [P in keyof T & keyof AggregateVehiclesGpsData]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehiclesGpsData[P]>
      : GetScalarType<T[P], AggregateVehiclesGpsData[P]>
  }




  export type VehiclesGpsDataGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataWhereInput
    orderBy?: VehiclesGpsDataOrderByWithAggregationInput | VehiclesGpsDataOrderByWithAggregationInput[]
    by: VehiclesGpsDataScalarFieldEnum[] | VehiclesGpsDataScalarFieldEnum
    having?: VehiclesGpsDataScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehiclesGpsDataCountAggregateInputType | true
    _avg?: VehiclesGpsDataAvgAggregateInputType
    _sum?: VehiclesGpsDataSumAggregateInputType
    _min?: VehiclesGpsDataMinAggregateInputType
    _max?: VehiclesGpsDataMaxAggregateInputType
  }

  export type VehiclesGpsDataGroupByOutputType = {
    id: number
    uuid: string
    vehicle_id: number
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date
    unique_gps_data_id: string
    driver_id: number | null
    created_at: Date
    company_id: number
    status_id: number
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
    _count: VehiclesGpsDataCountAggregateOutputType | null
    _avg: VehiclesGpsDataAvgAggregateOutputType | null
    _sum: VehiclesGpsDataSumAggregateOutputType | null
    _min: VehiclesGpsDataMinAggregateOutputType | null
    _max: VehiclesGpsDataMaxAggregateOutputType | null
  }

  type GetVehiclesGpsDataGroupByPayload<T extends VehiclesGpsDataGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehiclesGpsDataGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehiclesGpsDataGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehiclesGpsDataGroupByOutputType[P]>
            : GetScalarType<T[P], VehiclesGpsDataGroupByOutputType[P]>
        }
      >
    >


  export type VehiclesGpsDataSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsData$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehiclesGpsData"]>

  export type VehiclesGpsDataSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsData$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehiclesGpsData"]>

  export type VehiclesGpsDataSelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
  }

  export type VehiclesGpsDataInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsData$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type VehiclesGpsDataIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsData$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $VehiclesGpsDataPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "VehiclesGpsData"
    objects: {
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs> | null
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_id: number
      latitude: number | null
      longitude: number | null
      gps_timestamp: Date
      unique_gps_data_id: string
      driver_id: number | null
      created_at: Date
      company_id: number
      status_id: number
      shipment_id: number | null
      process_status_id: number | null
      processed_at: Date | null
    }, ExtArgs["result"]["vehiclesGpsData"]>
    composites: {}
  }

  type VehiclesGpsDataGetPayload<S extends boolean | null | undefined | VehiclesGpsDataDefaultArgs> = $Result.GetResult<Prisma.$VehiclesGpsDataPayload, S>

  type VehiclesGpsDataCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehiclesGpsDataFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehiclesGpsDataCountAggregateInputType | true
    }

  export interface VehiclesGpsDataDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VehiclesGpsData'], meta: { name: 'VehiclesGpsData' } }
    /**
     * Find zero or one VehiclesGpsData that matches the filter.
     * @param {VehiclesGpsDataFindUniqueArgs} args - Arguments to find a VehiclesGpsData
     * @example
     * // Get one VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehiclesGpsDataFindUniqueArgs>(args: SelectSubset<T, VehiclesGpsDataFindUniqueArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one VehiclesGpsData that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehiclesGpsDataFindUniqueOrThrowArgs} args - Arguments to find a VehiclesGpsData
     * @example
     * // Get one VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehiclesGpsDataFindUniqueOrThrowArgs>(args: SelectSubset<T, VehiclesGpsDataFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first VehiclesGpsData that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataFindFirstArgs} args - Arguments to find a VehiclesGpsData
     * @example
     * // Get one VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehiclesGpsDataFindFirstArgs>(args?: SelectSubset<T, VehiclesGpsDataFindFirstArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first VehiclesGpsData that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataFindFirstOrThrowArgs} args - Arguments to find a VehiclesGpsData
     * @example
     * // Get one VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehiclesGpsDataFindFirstOrThrowArgs>(args?: SelectSubset<T, VehiclesGpsDataFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more VehiclesGpsData that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findMany()
     * 
     * // Get first 10 VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehiclesGpsDataWithIdOnly = await prisma.vehiclesGpsData.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehiclesGpsDataFindManyArgs>(args?: SelectSubset<T, VehiclesGpsDataFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a VehiclesGpsData.
     * @param {VehiclesGpsDataCreateArgs} args - Arguments to create a VehiclesGpsData.
     * @example
     * // Create one VehiclesGpsData
     * const VehiclesGpsData = await prisma.vehiclesGpsData.create({
     *   data: {
     *     // ... data to create a VehiclesGpsData
     *   }
     * })
     * 
     */
    create<T extends VehiclesGpsDataCreateArgs>(args: SelectSubset<T, VehiclesGpsDataCreateArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many VehiclesGpsData.
     * @param {VehiclesGpsDataCreateManyArgs} args - Arguments to create many VehiclesGpsData.
     * @example
     * // Create many VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehiclesGpsDataCreateManyArgs>(args?: SelectSubset<T, VehiclesGpsDataCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many VehiclesGpsData and returns the data saved in the database.
     * @param {VehiclesGpsDataCreateManyAndReturnArgs} args - Arguments to create many VehiclesGpsData.
     * @example
     * // Create many VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many VehiclesGpsData and only return the `id`
     * const vehiclesGpsDataWithIdOnly = await prisma.vehiclesGpsData.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehiclesGpsDataCreateManyAndReturnArgs>(args?: SelectSubset<T, VehiclesGpsDataCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a VehiclesGpsData.
     * @param {VehiclesGpsDataDeleteArgs} args - Arguments to delete one VehiclesGpsData.
     * @example
     * // Delete one VehiclesGpsData
     * const VehiclesGpsData = await prisma.vehiclesGpsData.delete({
     *   where: {
     *     // ... filter to delete one VehiclesGpsData
     *   }
     * })
     * 
     */
    delete<T extends VehiclesGpsDataDeleteArgs>(args: SelectSubset<T, VehiclesGpsDataDeleteArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one VehiclesGpsData.
     * @param {VehiclesGpsDataUpdateArgs} args - Arguments to update one VehiclesGpsData.
     * @example
     * // Update one VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehiclesGpsDataUpdateArgs>(args: SelectSubset<T, VehiclesGpsDataUpdateArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more VehiclesGpsData.
     * @param {VehiclesGpsDataDeleteManyArgs} args - Arguments to filter VehiclesGpsData to delete.
     * @example
     * // Delete a few VehiclesGpsData
     * const { count } = await prisma.vehiclesGpsData.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehiclesGpsDataDeleteManyArgs>(args?: SelectSubset<T, VehiclesGpsDataDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more VehiclesGpsData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehiclesGpsDataUpdateManyArgs>(args: SelectSubset<T, VehiclesGpsDataUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one VehiclesGpsData.
     * @param {VehiclesGpsDataUpsertArgs} args - Arguments to update or create a VehiclesGpsData.
     * @example
     * // Update or create a VehiclesGpsData
     * const vehiclesGpsData = await prisma.vehiclesGpsData.upsert({
     *   create: {
     *     // ... data to create a VehiclesGpsData
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the VehiclesGpsData we want to update
     *   }
     * })
     */
    upsert<T extends VehiclesGpsDataUpsertArgs>(args: SelectSubset<T, VehiclesGpsDataUpsertArgs<ExtArgs>>): Prisma__VehiclesGpsDataClient<$Result.GetResult<Prisma.$VehiclesGpsDataPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of VehiclesGpsData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataCountArgs} args - Arguments to filter VehiclesGpsData to count.
     * @example
     * // Count the number of VehiclesGpsData
     * const count = await prisma.vehiclesGpsData.count({
     *   where: {
     *     // ... the filter for the VehiclesGpsData we want to count
     *   }
     * })
    **/
    count<T extends VehiclesGpsDataCountArgs>(
      args?: Subset<T, VehiclesGpsDataCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehiclesGpsDataCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a VehiclesGpsData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehiclesGpsDataAggregateArgs>(args: Subset<T, VehiclesGpsDataAggregateArgs>): Prisma.PrismaPromise<GetVehiclesGpsDataAggregateType<T>>

    /**
     * Group by VehiclesGpsData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehiclesGpsDataGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehiclesGpsDataGroupByArgs['orderBy'] }
        : { orderBy?: VehiclesGpsDataGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehiclesGpsDataGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehiclesGpsDataGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the VehiclesGpsData model
   */
  readonly fields: VehiclesGpsDataFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for VehiclesGpsData.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehiclesGpsDataClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends VehiclesGpsData$userArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesGpsData$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the VehiclesGpsData model
   */ 
  interface VehiclesGpsDataFieldRefs {
    readonly id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly uuid: FieldRef<"VehiclesGpsData", 'String'>
    readonly vehicle_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly latitude: FieldRef<"VehiclesGpsData", 'Float'>
    readonly longitude: FieldRef<"VehiclesGpsData", 'Float'>
    readonly gps_timestamp: FieldRef<"VehiclesGpsData", 'DateTime'>
    readonly unique_gps_data_id: FieldRef<"VehiclesGpsData", 'String'>
    readonly driver_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly created_at: FieldRef<"VehiclesGpsData", 'DateTime'>
    readonly company_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly status_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly shipment_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly process_status_id: FieldRef<"VehiclesGpsData", 'Int'>
    readonly processed_at: FieldRef<"VehiclesGpsData", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * VehiclesGpsData findUnique
   */
  export type VehiclesGpsDataFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsData to fetch.
     */
    where: VehiclesGpsDataWhereUniqueInput
  }

  /**
   * VehiclesGpsData findUniqueOrThrow
   */
  export type VehiclesGpsDataFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsData to fetch.
     */
    where: VehiclesGpsDataWhereUniqueInput
  }

  /**
   * VehiclesGpsData findFirst
   */
  export type VehiclesGpsDataFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsData to fetch.
     */
    where?: VehiclesGpsDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsData to fetch.
     */
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehiclesGpsData.
     */
    cursor?: VehiclesGpsDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehiclesGpsData.
     */
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * VehiclesGpsData findFirstOrThrow
   */
  export type VehiclesGpsDataFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsData to fetch.
     */
    where?: VehiclesGpsDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsData to fetch.
     */
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehiclesGpsData.
     */
    cursor?: VehiclesGpsDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehiclesGpsData.
     */
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * VehiclesGpsData findMany
   */
  export type VehiclesGpsDataFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsData to fetch.
     */
    where?: VehiclesGpsDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsData to fetch.
     */
    orderBy?: VehiclesGpsDataOrderByWithRelationInput | VehiclesGpsDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing VehiclesGpsData.
     */
    cursor?: VehiclesGpsDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsData.
     */
    skip?: number
    distinct?: VehiclesGpsDataScalarFieldEnum | VehiclesGpsDataScalarFieldEnum[]
  }

  /**
   * VehiclesGpsData create
   */
  export type VehiclesGpsDataCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * The data needed to create a VehiclesGpsData.
     */
    data: XOR<VehiclesGpsDataCreateInput, VehiclesGpsDataUncheckedCreateInput>
  }

  /**
   * VehiclesGpsData createMany
   */
  export type VehiclesGpsDataCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many VehiclesGpsData.
     */
    data: VehiclesGpsDataCreateManyInput | VehiclesGpsDataCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * VehiclesGpsData createManyAndReturn
   */
  export type VehiclesGpsDataCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many VehiclesGpsData.
     */
    data: VehiclesGpsDataCreateManyInput | VehiclesGpsDataCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * VehiclesGpsData update
   */
  export type VehiclesGpsDataUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * The data needed to update a VehiclesGpsData.
     */
    data: XOR<VehiclesGpsDataUpdateInput, VehiclesGpsDataUncheckedUpdateInput>
    /**
     * Choose, which VehiclesGpsData to update.
     */
    where: VehiclesGpsDataWhereUniqueInput
  }

  /**
   * VehiclesGpsData updateMany
   */
  export type VehiclesGpsDataUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update VehiclesGpsData.
     */
    data: XOR<VehiclesGpsDataUpdateManyMutationInput, VehiclesGpsDataUncheckedUpdateManyInput>
    /**
     * Filter which VehiclesGpsData to update
     */
    where?: VehiclesGpsDataWhereInput
  }

  /**
   * VehiclesGpsData upsert
   */
  export type VehiclesGpsDataUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * The filter to search for the VehiclesGpsData to update in case it exists.
     */
    where: VehiclesGpsDataWhereUniqueInput
    /**
     * In case the VehiclesGpsData found by the `where` argument doesn't exist, create a new VehiclesGpsData with this data.
     */
    create: XOR<VehiclesGpsDataCreateInput, VehiclesGpsDataUncheckedCreateInput>
    /**
     * In case the VehiclesGpsData was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehiclesGpsDataUpdateInput, VehiclesGpsDataUncheckedUpdateInput>
  }

  /**
   * VehiclesGpsData delete
   */
  export type VehiclesGpsDataDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
    /**
     * Filter which VehiclesGpsData to delete.
     */
    where: VehiclesGpsDataWhereUniqueInput
  }

  /**
   * VehiclesGpsData deleteMany
   */
  export type VehiclesGpsDataDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehiclesGpsData to delete
     */
    where?: VehiclesGpsDataWhereInput
  }

  /**
   * VehiclesGpsData.user
   */
  export type VehiclesGpsData$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * VehiclesGpsData without action
   */
  export type VehiclesGpsDataDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsData
     */
    select?: VehiclesGpsDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataInclude<ExtArgs> | null
  }


  /**
   * Model VehiclesGpsDataLog
   */

  export type AggregateVehiclesGpsDataLog = {
    _count: VehiclesGpsDataLogCountAggregateOutputType | null
    _avg: VehiclesGpsDataLogAvgAggregateOutputType | null
    _sum: VehiclesGpsDataLogSumAggregateOutputType | null
    _min: VehiclesGpsDataLogMinAggregateOutputType | null
    _max: VehiclesGpsDataLogMaxAggregateOutputType | null
  }

  export type VehiclesGpsDataLogAvgAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
  }

  export type VehiclesGpsDataLogSumAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
  }

  export type VehiclesGpsDataLogMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
  }

  export type VehiclesGpsDataLogMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
  }

  export type VehiclesGpsDataLogCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_id: number
    latitude: number
    longitude: number
    gps_timestamp: number
    unique_gps_data_id: number
    driver_id: number
    created_at: number
    company_id: number
    status_id: number
    shipment_id: number
    process_status_id: number
    processed_at: number
    _all: number
  }


  export type VehiclesGpsDataLogAvgAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
  }

  export type VehiclesGpsDataLogSumAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
  }

  export type VehiclesGpsDataLogMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
  }

  export type VehiclesGpsDataLogMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
  }

  export type VehiclesGpsDataLogCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
    process_status_id?: true
    processed_at?: true
    _all?: true
  }

  export type VehiclesGpsDataLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehiclesGpsDataLog to aggregate.
     */
    where?: VehiclesGpsDataLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsDataLogs to fetch.
     */
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsDataLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsDataLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned VehiclesGpsDataLogs
    **/
    _count?: true | VehiclesGpsDataLogCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehiclesGpsDataLogAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehiclesGpsDataLogSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehiclesGpsDataLogMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehiclesGpsDataLogMaxAggregateInputType
  }

  export type GetVehiclesGpsDataLogAggregateType<T extends VehiclesGpsDataLogAggregateArgs> = {
        [P in keyof T & keyof AggregateVehiclesGpsDataLog]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehiclesGpsDataLog[P]>
      : GetScalarType<T[P], AggregateVehiclesGpsDataLog[P]>
  }




  export type VehiclesGpsDataLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehiclesGpsDataLogWhereInput
    orderBy?: VehiclesGpsDataLogOrderByWithAggregationInput | VehiclesGpsDataLogOrderByWithAggregationInput[]
    by: VehiclesGpsDataLogScalarFieldEnum[] | VehiclesGpsDataLogScalarFieldEnum
    having?: VehiclesGpsDataLogScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehiclesGpsDataLogCountAggregateInputType | true
    _avg?: VehiclesGpsDataLogAvgAggregateInputType
    _sum?: VehiclesGpsDataLogSumAggregateInputType
    _min?: VehiclesGpsDataLogMinAggregateInputType
    _max?: VehiclesGpsDataLogMaxAggregateInputType
  }

  export type VehiclesGpsDataLogGroupByOutputType = {
    id: number
    uuid: string
    vehicle_id: number
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date
    unique_gps_data_id: string
    driver_id: number | null
    created_at: Date
    company_id: number
    status_id: number
    shipment_id: number | null
    process_status_id: number | null
    processed_at: Date | null
    _count: VehiclesGpsDataLogCountAggregateOutputType | null
    _avg: VehiclesGpsDataLogAvgAggregateOutputType | null
    _sum: VehiclesGpsDataLogSumAggregateOutputType | null
    _min: VehiclesGpsDataLogMinAggregateOutputType | null
    _max: VehiclesGpsDataLogMaxAggregateOutputType | null
  }

  type GetVehiclesGpsDataLogGroupByPayload<T extends VehiclesGpsDataLogGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehiclesGpsDataLogGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehiclesGpsDataLogGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehiclesGpsDataLogGroupByOutputType[P]>
            : GetScalarType<T[P], VehiclesGpsDataLogGroupByOutputType[P]>
        }
      >
    >


  export type VehiclesGpsDataLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsDataLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["vehiclesGpsDataLog"]>

  export type VehiclesGpsDataLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsDataLog$userArgs<ExtArgs>
  }, ExtArgs["result"]["vehiclesGpsDataLog"]>

  export type VehiclesGpsDataLogSelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_id?: boolean
    process_status_id?: boolean
    processed_at?: boolean
  }

  export type VehiclesGpsDataLogInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsDataLog$userArgs<ExtArgs>
  }
  export type VehiclesGpsDataLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehiclesGpsDataLog$userArgs<ExtArgs>
  }

  export type $VehiclesGpsDataLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "VehiclesGpsDataLog"
    objects: {
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_id: number
      latitude: number | null
      longitude: number | null
      gps_timestamp: Date
      unique_gps_data_id: string
      driver_id: number | null
      created_at: Date
      company_id: number
      status_id: number
      shipment_id: number | null
      process_status_id: number | null
      processed_at: Date | null
    }, ExtArgs["result"]["vehiclesGpsDataLog"]>
    composites: {}
  }

  type VehiclesGpsDataLogGetPayload<S extends boolean | null | undefined | VehiclesGpsDataLogDefaultArgs> = $Result.GetResult<Prisma.$VehiclesGpsDataLogPayload, S>

  type VehiclesGpsDataLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehiclesGpsDataLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehiclesGpsDataLogCountAggregateInputType | true
    }

  export interface VehiclesGpsDataLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VehiclesGpsDataLog'], meta: { name: 'VehiclesGpsDataLog' } }
    /**
     * Find zero or one VehiclesGpsDataLog that matches the filter.
     * @param {VehiclesGpsDataLogFindUniqueArgs} args - Arguments to find a VehiclesGpsDataLog
     * @example
     * // Get one VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehiclesGpsDataLogFindUniqueArgs>(args: SelectSubset<T, VehiclesGpsDataLogFindUniqueArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one VehiclesGpsDataLog that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehiclesGpsDataLogFindUniqueOrThrowArgs} args - Arguments to find a VehiclesGpsDataLog
     * @example
     * // Get one VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehiclesGpsDataLogFindUniqueOrThrowArgs>(args: SelectSubset<T, VehiclesGpsDataLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first VehiclesGpsDataLog that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogFindFirstArgs} args - Arguments to find a VehiclesGpsDataLog
     * @example
     * // Get one VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehiclesGpsDataLogFindFirstArgs>(args?: SelectSubset<T, VehiclesGpsDataLogFindFirstArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first VehiclesGpsDataLog that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogFindFirstOrThrowArgs} args - Arguments to find a VehiclesGpsDataLog
     * @example
     * // Get one VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehiclesGpsDataLogFindFirstOrThrowArgs>(args?: SelectSubset<T, VehiclesGpsDataLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more VehiclesGpsDataLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all VehiclesGpsDataLogs
     * const vehiclesGpsDataLogs = await prisma.vehiclesGpsDataLog.findMany()
     * 
     * // Get first 10 VehiclesGpsDataLogs
     * const vehiclesGpsDataLogs = await prisma.vehiclesGpsDataLog.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehiclesGpsDataLogWithIdOnly = await prisma.vehiclesGpsDataLog.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehiclesGpsDataLogFindManyArgs>(args?: SelectSubset<T, VehiclesGpsDataLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a VehiclesGpsDataLog.
     * @param {VehiclesGpsDataLogCreateArgs} args - Arguments to create a VehiclesGpsDataLog.
     * @example
     * // Create one VehiclesGpsDataLog
     * const VehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.create({
     *   data: {
     *     // ... data to create a VehiclesGpsDataLog
     *   }
     * })
     * 
     */
    create<T extends VehiclesGpsDataLogCreateArgs>(args: SelectSubset<T, VehiclesGpsDataLogCreateArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many VehiclesGpsDataLogs.
     * @param {VehiclesGpsDataLogCreateManyArgs} args - Arguments to create many VehiclesGpsDataLogs.
     * @example
     * // Create many VehiclesGpsDataLogs
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehiclesGpsDataLogCreateManyArgs>(args?: SelectSubset<T, VehiclesGpsDataLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many VehiclesGpsDataLogs and returns the data saved in the database.
     * @param {VehiclesGpsDataLogCreateManyAndReturnArgs} args - Arguments to create many VehiclesGpsDataLogs.
     * @example
     * // Create many VehiclesGpsDataLogs
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many VehiclesGpsDataLogs and only return the `id`
     * const vehiclesGpsDataLogWithIdOnly = await prisma.vehiclesGpsDataLog.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehiclesGpsDataLogCreateManyAndReturnArgs>(args?: SelectSubset<T, VehiclesGpsDataLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a VehiclesGpsDataLog.
     * @param {VehiclesGpsDataLogDeleteArgs} args - Arguments to delete one VehiclesGpsDataLog.
     * @example
     * // Delete one VehiclesGpsDataLog
     * const VehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.delete({
     *   where: {
     *     // ... filter to delete one VehiclesGpsDataLog
     *   }
     * })
     * 
     */
    delete<T extends VehiclesGpsDataLogDeleteArgs>(args: SelectSubset<T, VehiclesGpsDataLogDeleteArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one VehiclesGpsDataLog.
     * @param {VehiclesGpsDataLogUpdateArgs} args - Arguments to update one VehiclesGpsDataLog.
     * @example
     * // Update one VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehiclesGpsDataLogUpdateArgs>(args: SelectSubset<T, VehiclesGpsDataLogUpdateArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more VehiclesGpsDataLogs.
     * @param {VehiclesGpsDataLogDeleteManyArgs} args - Arguments to filter VehiclesGpsDataLogs to delete.
     * @example
     * // Delete a few VehiclesGpsDataLogs
     * const { count } = await prisma.vehiclesGpsDataLog.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehiclesGpsDataLogDeleteManyArgs>(args?: SelectSubset<T, VehiclesGpsDataLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more VehiclesGpsDataLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many VehiclesGpsDataLogs
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehiclesGpsDataLogUpdateManyArgs>(args: SelectSubset<T, VehiclesGpsDataLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one VehiclesGpsDataLog.
     * @param {VehiclesGpsDataLogUpsertArgs} args - Arguments to update or create a VehiclesGpsDataLog.
     * @example
     * // Update or create a VehiclesGpsDataLog
     * const vehiclesGpsDataLog = await prisma.vehiclesGpsDataLog.upsert({
     *   create: {
     *     // ... data to create a VehiclesGpsDataLog
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the VehiclesGpsDataLog we want to update
     *   }
     * })
     */
    upsert<T extends VehiclesGpsDataLogUpsertArgs>(args: SelectSubset<T, VehiclesGpsDataLogUpsertArgs<ExtArgs>>): Prisma__VehiclesGpsDataLogClient<$Result.GetResult<Prisma.$VehiclesGpsDataLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of VehiclesGpsDataLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogCountArgs} args - Arguments to filter VehiclesGpsDataLogs to count.
     * @example
     * // Count the number of VehiclesGpsDataLogs
     * const count = await prisma.vehiclesGpsDataLog.count({
     *   where: {
     *     // ... the filter for the VehiclesGpsDataLogs we want to count
     *   }
     * })
    **/
    count<T extends VehiclesGpsDataLogCountArgs>(
      args?: Subset<T, VehiclesGpsDataLogCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehiclesGpsDataLogCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a VehiclesGpsDataLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehiclesGpsDataLogAggregateArgs>(args: Subset<T, VehiclesGpsDataLogAggregateArgs>): Prisma.PrismaPromise<GetVehiclesGpsDataLogAggregateType<T>>

    /**
     * Group by VehiclesGpsDataLog.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehiclesGpsDataLogGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehiclesGpsDataLogGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehiclesGpsDataLogGroupByArgs['orderBy'] }
        : { orderBy?: VehiclesGpsDataLogGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehiclesGpsDataLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehiclesGpsDataLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the VehiclesGpsDataLog model
   */
  readonly fields: VehiclesGpsDataLogFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for VehiclesGpsDataLog.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehiclesGpsDataLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends VehiclesGpsDataLog$userArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesGpsDataLog$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the VehiclesGpsDataLog model
   */ 
  interface VehiclesGpsDataLogFieldRefs {
    readonly id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly uuid: FieldRef<"VehiclesGpsDataLog", 'String'>
    readonly vehicle_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly latitude: FieldRef<"VehiclesGpsDataLog", 'Float'>
    readonly longitude: FieldRef<"VehiclesGpsDataLog", 'Float'>
    readonly gps_timestamp: FieldRef<"VehiclesGpsDataLog", 'DateTime'>
    readonly unique_gps_data_id: FieldRef<"VehiclesGpsDataLog", 'String'>
    readonly driver_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly created_at: FieldRef<"VehiclesGpsDataLog", 'DateTime'>
    readonly company_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly status_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly shipment_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly process_status_id: FieldRef<"VehiclesGpsDataLog", 'Int'>
    readonly processed_at: FieldRef<"VehiclesGpsDataLog", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * VehiclesGpsDataLog findUnique
   */
  export type VehiclesGpsDataLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsDataLog to fetch.
     */
    where: VehiclesGpsDataLogWhereUniqueInput
  }

  /**
   * VehiclesGpsDataLog findUniqueOrThrow
   */
  export type VehiclesGpsDataLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsDataLog to fetch.
     */
    where: VehiclesGpsDataLogWhereUniqueInput
  }

  /**
   * VehiclesGpsDataLog findFirst
   */
  export type VehiclesGpsDataLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsDataLog to fetch.
     */
    where?: VehiclesGpsDataLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsDataLogs to fetch.
     */
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehiclesGpsDataLogs.
     */
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsDataLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsDataLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehiclesGpsDataLogs.
     */
    distinct?: VehiclesGpsDataLogScalarFieldEnum | VehiclesGpsDataLogScalarFieldEnum[]
  }

  /**
   * VehiclesGpsDataLog findFirstOrThrow
   */
  export type VehiclesGpsDataLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsDataLog to fetch.
     */
    where?: VehiclesGpsDataLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsDataLogs to fetch.
     */
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehiclesGpsDataLogs.
     */
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsDataLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsDataLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehiclesGpsDataLogs.
     */
    distinct?: VehiclesGpsDataLogScalarFieldEnum | VehiclesGpsDataLogScalarFieldEnum[]
  }

  /**
   * VehiclesGpsDataLog findMany
   */
  export type VehiclesGpsDataLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter, which VehiclesGpsDataLogs to fetch.
     */
    where?: VehiclesGpsDataLogWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehiclesGpsDataLogs to fetch.
     */
    orderBy?: VehiclesGpsDataLogOrderByWithRelationInput | VehiclesGpsDataLogOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing VehiclesGpsDataLogs.
     */
    cursor?: VehiclesGpsDataLogWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehiclesGpsDataLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehiclesGpsDataLogs.
     */
    skip?: number
    distinct?: VehiclesGpsDataLogScalarFieldEnum | VehiclesGpsDataLogScalarFieldEnum[]
  }

  /**
   * VehiclesGpsDataLog create
   */
  export type VehiclesGpsDataLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * The data needed to create a VehiclesGpsDataLog.
     */
    data: XOR<VehiclesGpsDataLogCreateInput, VehiclesGpsDataLogUncheckedCreateInput>
  }

  /**
   * VehiclesGpsDataLog createMany
   */
  export type VehiclesGpsDataLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many VehiclesGpsDataLogs.
     */
    data: VehiclesGpsDataLogCreateManyInput | VehiclesGpsDataLogCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * VehiclesGpsDataLog createManyAndReturn
   */
  export type VehiclesGpsDataLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many VehiclesGpsDataLogs.
     */
    data: VehiclesGpsDataLogCreateManyInput | VehiclesGpsDataLogCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * VehiclesGpsDataLog update
   */
  export type VehiclesGpsDataLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * The data needed to update a VehiclesGpsDataLog.
     */
    data: XOR<VehiclesGpsDataLogUpdateInput, VehiclesGpsDataLogUncheckedUpdateInput>
    /**
     * Choose, which VehiclesGpsDataLog to update.
     */
    where: VehiclesGpsDataLogWhereUniqueInput
  }

  /**
   * VehiclesGpsDataLog updateMany
   */
  export type VehiclesGpsDataLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update VehiclesGpsDataLogs.
     */
    data: XOR<VehiclesGpsDataLogUpdateManyMutationInput, VehiclesGpsDataLogUncheckedUpdateManyInput>
    /**
     * Filter which VehiclesGpsDataLogs to update
     */
    where?: VehiclesGpsDataLogWhereInput
  }

  /**
   * VehiclesGpsDataLog upsert
   */
  export type VehiclesGpsDataLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * The filter to search for the VehiclesGpsDataLog to update in case it exists.
     */
    where: VehiclesGpsDataLogWhereUniqueInput
    /**
     * In case the VehiclesGpsDataLog found by the `where` argument doesn't exist, create a new VehiclesGpsDataLog with this data.
     */
    create: XOR<VehiclesGpsDataLogCreateInput, VehiclesGpsDataLogUncheckedCreateInput>
    /**
     * In case the VehiclesGpsDataLog was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehiclesGpsDataLogUpdateInput, VehiclesGpsDataLogUncheckedUpdateInput>
  }

  /**
   * VehiclesGpsDataLog delete
   */
  export type VehiclesGpsDataLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
    /**
     * Filter which VehiclesGpsDataLog to delete.
     */
    where: VehiclesGpsDataLogWhereUniqueInput
  }

  /**
   * VehiclesGpsDataLog deleteMany
   */
  export type VehiclesGpsDataLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehiclesGpsDataLogs to delete
     */
    where?: VehiclesGpsDataLogWhereInput
  }

  /**
   * VehiclesGpsDataLog.user
   */
  export type VehiclesGpsDataLog$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * VehiclesGpsDataLog without action
   */
  export type VehiclesGpsDataLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehiclesGpsDataLog
     */
    select?: VehiclesGpsDataLogSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehiclesGpsDataLogInclude<ExtArgs> | null
  }


  /**
   * Model VehicleTripHistories
   */

  export type AggregateVehicleTripHistories = {
    _count: VehicleTripHistoriesCountAggregateOutputType | null
    _avg: VehicleTripHistoriesAvgAggregateOutputType | null
    _sum: VehicleTripHistoriesSumAggregateOutputType | null
    _min: VehicleTripHistoriesMinAggregateOutputType | null
    _max: VehicleTripHistoriesMaxAggregateOutputType | null
  }

  export type VehicleTripHistoriesAvgAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
  }

  export type VehicleTripHistoriesSumAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    driver_id: number | null
    company_id: number | null
    status_id: number | null
    shipment_id: number | null
  }

  export type VehicleTripHistoriesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_location_uid: string | null
    trip_type: string | null
    shipment_id: number | null
  }

  export type VehicleTripHistoriesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date | null
    unique_gps_data_id: string | null
    driver_id: number | null
    created_at: Date | null
    company_id: number | null
    status_id: number | null
    shipment_location_uid: string | null
    trip_type: string | null
    shipment_id: number | null
  }

  export type VehicleTripHistoriesCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_id: number
    latitude: number
    longitude: number
    gps_timestamp: number
    unique_gps_data_id: number
    driver_id: number
    created_at: number
    company_id: number
    status_id: number
    shipment_location_uid: number
    trip_type: number
    shipment_id: number
    _all: number
  }


  export type VehicleTripHistoriesAvgAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
  }

  export type VehicleTripHistoriesSumAggregateInputType = {
    id?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    driver_id?: true
    company_id?: true
    status_id?: true
    shipment_id?: true
  }

  export type VehicleTripHistoriesMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_location_uid?: true
    trip_type?: true
    shipment_id?: true
  }

  export type VehicleTripHistoriesMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_location_uid?: true
    trip_type?: true
    shipment_id?: true
  }

  export type VehicleTripHistoriesCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    latitude?: true
    longitude?: true
    gps_timestamp?: true
    unique_gps_data_id?: true
    driver_id?: true
    created_at?: true
    company_id?: true
    status_id?: true
    shipment_location_uid?: true
    trip_type?: true
    shipment_id?: true
    _all?: true
  }

  export type VehicleTripHistoriesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleTripHistories to aggregate.
     */
    where?: VehicleTripHistoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleTripHistories to fetch.
     */
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehicleTripHistoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleTripHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleTripHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned VehicleTripHistories
    **/
    _count?: true | VehicleTripHistoriesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehicleTripHistoriesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehicleTripHistoriesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehicleTripHistoriesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehicleTripHistoriesMaxAggregateInputType
  }

  export type GetVehicleTripHistoriesAggregateType<T extends VehicleTripHistoriesAggregateArgs> = {
        [P in keyof T & keyof AggregateVehicleTripHistories]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehicleTripHistories[P]>
      : GetScalarType<T[P], AggregateVehicleTripHistories[P]>
  }




  export type VehicleTripHistoriesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleTripHistoriesWhereInput
    orderBy?: VehicleTripHistoriesOrderByWithAggregationInput | VehicleTripHistoriesOrderByWithAggregationInput[]
    by: VehicleTripHistoriesScalarFieldEnum[] | VehicleTripHistoriesScalarFieldEnum
    having?: VehicleTripHistoriesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehicleTripHistoriesCountAggregateInputType | true
    _avg?: VehicleTripHistoriesAvgAggregateInputType
    _sum?: VehicleTripHistoriesSumAggregateInputType
    _min?: VehicleTripHistoriesMinAggregateInputType
    _max?: VehicleTripHistoriesMaxAggregateInputType
  }

  export type VehicleTripHistoriesGroupByOutputType = {
    id: number
    uuid: string
    vehicle_id: number
    latitude: number | null
    longitude: number | null
    gps_timestamp: Date
    unique_gps_data_id: string
    driver_id: number | null
    created_at: Date
    company_id: number
    status_id: number
    shipment_location_uid: string | null
    trip_type: string | null
    shipment_id: number | null
    _count: VehicleTripHistoriesCountAggregateOutputType | null
    _avg: VehicleTripHistoriesAvgAggregateOutputType | null
    _sum: VehicleTripHistoriesSumAggregateOutputType | null
    _min: VehicleTripHistoriesMinAggregateOutputType | null
    _max: VehicleTripHistoriesMaxAggregateOutputType | null
  }

  type GetVehicleTripHistoriesGroupByPayload<T extends VehicleTripHistoriesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehicleTripHistoriesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehicleTripHistoriesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehicleTripHistoriesGroupByOutputType[P]>
            : GetScalarType<T[P], VehicleTripHistoriesGroupByOutputType[P]>
        }
      >
    >


  export type VehicleTripHistoriesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_location_uid?: boolean
    trip_type?: boolean
    shipment_id?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehicleTripHistories$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleTripHistories"]>

  export type VehicleTripHistoriesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_location_uid?: boolean
    trip_type?: boolean
    shipment_id?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehicleTripHistories$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleTripHistories"]>

  export type VehicleTripHistoriesSelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    latitude?: boolean
    longitude?: boolean
    gps_timestamp?: boolean
    unique_gps_data_id?: boolean
    driver_id?: boolean
    created_at?: boolean
    company_id?: boolean
    status_id?: boolean
    shipment_location_uid?: boolean
    trip_type?: boolean
    shipment_id?: boolean
  }

  export type VehicleTripHistoriesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehicleTripHistories$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type VehicleTripHistoriesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    user?: boolean | VehicleTripHistories$userArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $VehicleTripHistoriesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "VehicleTripHistories"
    objects: {
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs> | null
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_id: number
      latitude: number | null
      longitude: number | null
      gps_timestamp: Date
      unique_gps_data_id: string
      driver_id: number | null
      created_at: Date
      company_id: number
      status_id: number
      shipment_location_uid: string | null
      trip_type: string | null
      shipment_id: number | null
    }, ExtArgs["result"]["vehicleTripHistories"]>
    composites: {}
  }

  type VehicleTripHistoriesGetPayload<S extends boolean | null | undefined | VehicleTripHistoriesDefaultArgs> = $Result.GetResult<Prisma.$VehicleTripHistoriesPayload, S>

  type VehicleTripHistoriesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehicleTripHistoriesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehicleTripHistoriesCountAggregateInputType | true
    }

  export interface VehicleTripHistoriesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VehicleTripHistories'], meta: { name: 'VehicleTripHistories' } }
    /**
     * Find zero or one VehicleTripHistories that matches the filter.
     * @param {VehicleTripHistoriesFindUniqueArgs} args - Arguments to find a VehicleTripHistories
     * @example
     * // Get one VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehicleTripHistoriesFindUniqueArgs>(args: SelectSubset<T, VehicleTripHistoriesFindUniqueArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one VehicleTripHistories that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehicleTripHistoriesFindUniqueOrThrowArgs} args - Arguments to find a VehicleTripHistories
     * @example
     * // Get one VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehicleTripHistoriesFindUniqueOrThrowArgs>(args: SelectSubset<T, VehicleTripHistoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first VehicleTripHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesFindFirstArgs} args - Arguments to find a VehicleTripHistories
     * @example
     * // Get one VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehicleTripHistoriesFindFirstArgs>(args?: SelectSubset<T, VehicleTripHistoriesFindFirstArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first VehicleTripHistories that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesFindFirstOrThrowArgs} args - Arguments to find a VehicleTripHistories
     * @example
     * // Get one VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehicleTripHistoriesFindFirstOrThrowArgs>(args?: SelectSubset<T, VehicleTripHistoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more VehicleTripHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findMany()
     * 
     * // Get first 10 VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehicleTripHistoriesWithIdOnly = await prisma.vehicleTripHistories.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehicleTripHistoriesFindManyArgs>(args?: SelectSubset<T, VehicleTripHistoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a VehicleTripHistories.
     * @param {VehicleTripHistoriesCreateArgs} args - Arguments to create a VehicleTripHistories.
     * @example
     * // Create one VehicleTripHistories
     * const VehicleTripHistories = await prisma.vehicleTripHistories.create({
     *   data: {
     *     // ... data to create a VehicleTripHistories
     *   }
     * })
     * 
     */
    create<T extends VehicleTripHistoriesCreateArgs>(args: SelectSubset<T, VehicleTripHistoriesCreateArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many VehicleTripHistories.
     * @param {VehicleTripHistoriesCreateManyArgs} args - Arguments to create many VehicleTripHistories.
     * @example
     * // Create many VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehicleTripHistoriesCreateManyArgs>(args?: SelectSubset<T, VehicleTripHistoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many VehicleTripHistories and returns the data saved in the database.
     * @param {VehicleTripHistoriesCreateManyAndReturnArgs} args - Arguments to create many VehicleTripHistories.
     * @example
     * // Create many VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many VehicleTripHistories and only return the `id`
     * const vehicleTripHistoriesWithIdOnly = await prisma.vehicleTripHistories.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehicleTripHistoriesCreateManyAndReturnArgs>(args?: SelectSubset<T, VehicleTripHistoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a VehicleTripHistories.
     * @param {VehicleTripHistoriesDeleteArgs} args - Arguments to delete one VehicleTripHistories.
     * @example
     * // Delete one VehicleTripHistories
     * const VehicleTripHistories = await prisma.vehicleTripHistories.delete({
     *   where: {
     *     // ... filter to delete one VehicleTripHistories
     *   }
     * })
     * 
     */
    delete<T extends VehicleTripHistoriesDeleteArgs>(args: SelectSubset<T, VehicleTripHistoriesDeleteArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one VehicleTripHistories.
     * @param {VehicleTripHistoriesUpdateArgs} args - Arguments to update one VehicleTripHistories.
     * @example
     * // Update one VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehicleTripHistoriesUpdateArgs>(args: SelectSubset<T, VehicleTripHistoriesUpdateArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more VehicleTripHistories.
     * @param {VehicleTripHistoriesDeleteManyArgs} args - Arguments to filter VehicleTripHistories to delete.
     * @example
     * // Delete a few VehicleTripHistories
     * const { count } = await prisma.vehicleTripHistories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehicleTripHistoriesDeleteManyArgs>(args?: SelectSubset<T, VehicleTripHistoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more VehicleTripHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehicleTripHistoriesUpdateManyArgs>(args: SelectSubset<T, VehicleTripHistoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one VehicleTripHistories.
     * @param {VehicleTripHistoriesUpsertArgs} args - Arguments to update or create a VehicleTripHistories.
     * @example
     * // Update or create a VehicleTripHistories
     * const vehicleTripHistories = await prisma.vehicleTripHistories.upsert({
     *   create: {
     *     // ... data to create a VehicleTripHistories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the VehicleTripHistories we want to update
     *   }
     * })
     */
    upsert<T extends VehicleTripHistoriesUpsertArgs>(args: SelectSubset<T, VehicleTripHistoriesUpsertArgs<ExtArgs>>): Prisma__VehicleTripHistoriesClient<$Result.GetResult<Prisma.$VehicleTripHistoriesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of VehicleTripHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesCountArgs} args - Arguments to filter VehicleTripHistories to count.
     * @example
     * // Count the number of VehicleTripHistories
     * const count = await prisma.vehicleTripHistories.count({
     *   where: {
     *     // ... the filter for the VehicleTripHistories we want to count
     *   }
     * })
    **/
    count<T extends VehicleTripHistoriesCountArgs>(
      args?: Subset<T, VehicleTripHistoriesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehicleTripHistoriesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a VehicleTripHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehicleTripHistoriesAggregateArgs>(args: Subset<T, VehicleTripHistoriesAggregateArgs>): Prisma.PrismaPromise<GetVehicleTripHistoriesAggregateType<T>>

    /**
     * Group by VehicleTripHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleTripHistoriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehicleTripHistoriesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehicleTripHistoriesGroupByArgs['orderBy'] }
        : { orderBy?: VehicleTripHistoriesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehicleTripHistoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehicleTripHistoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the VehicleTripHistories model
   */
  readonly fields: VehicleTripHistoriesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for VehicleTripHistories.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehicleTripHistoriesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends VehicleTripHistories$userArgs<ExtArgs> = {}>(args?: Subset<T, VehicleTripHistories$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the VehicleTripHistories model
   */ 
  interface VehicleTripHistoriesFieldRefs {
    readonly id: FieldRef<"VehicleTripHistories", 'Int'>
    readonly uuid: FieldRef<"VehicleTripHistories", 'String'>
    readonly vehicle_id: FieldRef<"VehicleTripHistories", 'Int'>
    readonly latitude: FieldRef<"VehicleTripHistories", 'Float'>
    readonly longitude: FieldRef<"VehicleTripHistories", 'Float'>
    readonly gps_timestamp: FieldRef<"VehicleTripHistories", 'DateTime'>
    readonly unique_gps_data_id: FieldRef<"VehicleTripHistories", 'String'>
    readonly driver_id: FieldRef<"VehicleTripHistories", 'Int'>
    readonly created_at: FieldRef<"VehicleTripHistories", 'DateTime'>
    readonly company_id: FieldRef<"VehicleTripHistories", 'Int'>
    readonly status_id: FieldRef<"VehicleTripHistories", 'Int'>
    readonly shipment_location_uid: FieldRef<"VehicleTripHistories", 'String'>
    readonly trip_type: FieldRef<"VehicleTripHistories", 'String'>
    readonly shipment_id: FieldRef<"VehicleTripHistories", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * VehicleTripHistories findUnique
   */
  export type VehicleTripHistoriesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter, which VehicleTripHistories to fetch.
     */
    where: VehicleTripHistoriesWhereUniqueInput
  }

  /**
   * VehicleTripHistories findUniqueOrThrow
   */
  export type VehicleTripHistoriesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter, which VehicleTripHistories to fetch.
     */
    where: VehicleTripHistoriesWhereUniqueInput
  }

  /**
   * VehicleTripHistories findFirst
   */
  export type VehicleTripHistoriesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter, which VehicleTripHistories to fetch.
     */
    where?: VehicleTripHistoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleTripHistories to fetch.
     */
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleTripHistories.
     */
    cursor?: VehicleTripHistoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleTripHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleTripHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleTripHistories.
     */
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * VehicleTripHistories findFirstOrThrow
   */
  export type VehicleTripHistoriesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter, which VehicleTripHistories to fetch.
     */
    where?: VehicleTripHistoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleTripHistories to fetch.
     */
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleTripHistories.
     */
    cursor?: VehicleTripHistoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleTripHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleTripHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleTripHistories.
     */
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * VehicleTripHistories findMany
   */
  export type VehicleTripHistoriesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter, which VehicleTripHistories to fetch.
     */
    where?: VehicleTripHistoriesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleTripHistories to fetch.
     */
    orderBy?: VehicleTripHistoriesOrderByWithRelationInput | VehicleTripHistoriesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing VehicleTripHistories.
     */
    cursor?: VehicleTripHistoriesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleTripHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleTripHistories.
     */
    skip?: number
    distinct?: VehicleTripHistoriesScalarFieldEnum | VehicleTripHistoriesScalarFieldEnum[]
  }

  /**
   * VehicleTripHistories create
   */
  export type VehicleTripHistoriesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * The data needed to create a VehicleTripHistories.
     */
    data: XOR<VehicleTripHistoriesCreateInput, VehicleTripHistoriesUncheckedCreateInput>
  }

  /**
   * VehicleTripHistories createMany
   */
  export type VehicleTripHistoriesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many VehicleTripHistories.
     */
    data: VehicleTripHistoriesCreateManyInput | VehicleTripHistoriesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * VehicleTripHistories createManyAndReturn
   */
  export type VehicleTripHistoriesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many VehicleTripHistories.
     */
    data: VehicleTripHistoriesCreateManyInput | VehicleTripHistoriesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * VehicleTripHistories update
   */
  export type VehicleTripHistoriesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * The data needed to update a VehicleTripHistories.
     */
    data: XOR<VehicleTripHistoriesUpdateInput, VehicleTripHistoriesUncheckedUpdateInput>
    /**
     * Choose, which VehicleTripHistories to update.
     */
    where: VehicleTripHistoriesWhereUniqueInput
  }

  /**
   * VehicleTripHistories updateMany
   */
  export type VehicleTripHistoriesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update VehicleTripHistories.
     */
    data: XOR<VehicleTripHistoriesUpdateManyMutationInput, VehicleTripHistoriesUncheckedUpdateManyInput>
    /**
     * Filter which VehicleTripHistories to update
     */
    where?: VehicleTripHistoriesWhereInput
  }

  /**
   * VehicleTripHistories upsert
   */
  export type VehicleTripHistoriesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * The filter to search for the VehicleTripHistories to update in case it exists.
     */
    where: VehicleTripHistoriesWhereUniqueInput
    /**
     * In case the VehicleTripHistories found by the `where` argument doesn't exist, create a new VehicleTripHistories with this data.
     */
    create: XOR<VehicleTripHistoriesCreateInput, VehicleTripHistoriesUncheckedCreateInput>
    /**
     * In case the VehicleTripHistories was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehicleTripHistoriesUpdateInput, VehicleTripHistoriesUncheckedUpdateInput>
  }

  /**
   * VehicleTripHistories delete
   */
  export type VehicleTripHistoriesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
    /**
     * Filter which VehicleTripHistories to delete.
     */
    where: VehicleTripHistoriesWhereUniqueInput
  }

  /**
   * VehicleTripHistories deleteMany
   */
  export type VehicleTripHistoriesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleTripHistories to delete
     */
    where?: VehicleTripHistoriesWhereInput
  }

  /**
   * VehicleTripHistories.user
   */
  export type VehicleTripHistories$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * VehicleTripHistories without action
   */
  export type VehicleTripHistoriesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleTripHistories
     */
    select?: VehicleTripHistoriesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleTripHistoriesInclude<ExtArgs> | null
  }


  /**
   * Model GeoFences
   */

  export type AggregateGeoFences = {
    _count: GeoFencesCountAggregateOutputType | null
    _avg: GeoFencesAvgAggregateOutputType | null
    _sum: GeoFencesSumAggregateOutputType | null
    _min: GeoFencesMinAggregateOutputType | null
    _max: GeoFencesMaxAggregateOutputType | null
  }

  export type GeoFencesAvgAggregateOutputType = {
    id: number | null
    latitude_coords: number | null
    longitude_coords: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type GeoFencesSumAggregateOutputType = {
    id: number | null
    latitude_coords: number | null
    longitude_coords: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type GeoFencesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    zone_name: string | null
    zone_type: $Enums.ZoneType | null
    radius: string | null
    category: $Enums.GeoCategory | null
    latitude_coords: number | null
    longitude_coords: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type GeoFencesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    zone_name: string | null
    zone_type: $Enums.ZoneType | null
    radius: string | null
    category: $Enums.GeoCategory | null
    latitude_coords: number | null
    longitude_coords: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    updated_at: Date | null
    deleted_by: number | null
    deleted_at: Date | null
  }

  export type GeoFencesCountAggregateOutputType = {
    id: number
    uuid: number
    zone_name: number
    zone_type: number
    radius: number
    category: number
    latitude_coords: number
    longitude_coords: number
    paths: number
    company_id: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    updated_at: number
    deleted_by: number
    deleted_at: number
    _all: number
  }


  export type GeoFencesAvgAggregateInputType = {
    id?: true
    latitude_coords?: true
    longitude_coords?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type GeoFencesSumAggregateInputType = {
    id?: true
    latitude_coords?: true
    longitude_coords?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type GeoFencesMinAggregateInputType = {
    id?: true
    uuid?: true
    zone_name?: true
    zone_type?: true
    radius?: true
    category?: true
    latitude_coords?: true
    longitude_coords?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type GeoFencesMaxAggregateInputType = {
    id?: true
    uuid?: true
    zone_name?: true
    zone_type?: true
    radius?: true
    category?: true
    latitude_coords?: true
    longitude_coords?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
  }

  export type GeoFencesCountAggregateInputType = {
    id?: true
    uuid?: true
    zone_name?: true
    zone_type?: true
    radius?: true
    category?: true
    latitude_coords?: true
    longitude_coords?: true
    paths?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    updated_at?: true
    deleted_by?: true
    deleted_at?: true
    _all?: true
  }

  export type GeoFencesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which GeoFences to aggregate.
     */
    where?: GeoFencesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFences to fetch.
     */
    orderBy?: GeoFencesOrderByWithRelationInput | GeoFencesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: GeoFencesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned GeoFences
    **/
    _count?: true | GeoFencesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: GeoFencesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: GeoFencesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: GeoFencesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: GeoFencesMaxAggregateInputType
  }

  export type GetGeoFencesAggregateType<T extends GeoFencesAggregateArgs> = {
        [P in keyof T & keyof AggregateGeoFences]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateGeoFences[P]>
      : GetScalarType<T[P], AggregateGeoFences[P]>
  }




  export type GeoFencesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFencesWhereInput
    orderBy?: GeoFencesOrderByWithAggregationInput | GeoFencesOrderByWithAggregationInput[]
    by: GeoFencesScalarFieldEnum[] | GeoFencesScalarFieldEnum
    having?: GeoFencesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: GeoFencesCountAggregateInputType | true
    _avg?: GeoFencesAvgAggregateInputType
    _sum?: GeoFencesSumAggregateInputType
    _min?: GeoFencesMinAggregateInputType
    _max?: GeoFencesMaxAggregateInputType
  }

  export type GeoFencesGroupByOutputType = {
    id: number
    uuid: string
    zone_name: string
    zone_type: $Enums.ZoneType
    radius: string | null
    category: $Enums.GeoCategory
    latitude_coords: number | null
    longitude_coords: number | null
    paths: JsonValue | null
    company_id: number
    status_id: number
    created_by: number
    created_at: Date
    updated_by: number | null
    updated_at: Date
    deleted_by: number | null
    deleted_at: Date | null
    _count: GeoFencesCountAggregateOutputType | null
    _avg: GeoFencesAvgAggregateOutputType | null
    _sum: GeoFencesSumAggregateOutputType | null
    _min: GeoFencesMinAggregateOutputType | null
    _max: GeoFencesMaxAggregateOutputType | null
  }

  type GetGeoFencesGroupByPayload<T extends GeoFencesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<GeoFencesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof GeoFencesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], GeoFencesGroupByOutputType[P]>
            : GetScalarType<T[P], GeoFencesGroupByOutputType[P]>
        }
      >
    >


  export type GeoFencesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    zone_name?: boolean
    zone_type?: boolean
    radius?: boolean
    category?: boolean
    latitude_coords?: boolean
    longitude_coords?: boolean
    paths?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence_tracking?: boolean | GeoFences$geofence_trackingArgs<ExtArgs>
    customer_geofence_mapping?: boolean | GeoFences$customer_geofence_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | GeoFences$vehicle_geofence_historyArgs<ExtArgs>
    _count?: boolean | GeoFencesCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["geoFences"]>

  export type GeoFencesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    zone_name?: boolean
    zone_type?: boolean
    radius?: boolean
    category?: boolean
    latitude_coords?: boolean
    longitude_coords?: boolean
    paths?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["geoFences"]>

  export type GeoFencesSelectScalar = {
    id?: boolean
    uuid?: boolean
    zone_name?: boolean
    zone_type?: boolean
    radius?: boolean
    category?: boolean
    latitude_coords?: boolean
    longitude_coords?: boolean
    paths?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    updated_at?: boolean
    deleted_by?: boolean
    deleted_at?: boolean
  }

  export type GeoFencesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence_tracking?: boolean | GeoFences$geofence_trackingArgs<ExtArgs>
    customer_geofence_mapping?: boolean | GeoFences$customer_geofence_mappingArgs<ExtArgs>
    vehicle_geofence_history?: boolean | GeoFences$vehicle_geofence_historyArgs<ExtArgs>
    _count?: boolean | GeoFencesCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type GeoFencesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $GeoFencesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "GeoFences"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      geofence_tracking: Prisma.$GeoFenceTrackingPayload<ExtArgs>[]
      customer_geofence_mapping: Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>[]
      vehicle_geofence_history: Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      zone_name: string
      zone_type: $Enums.ZoneType
      radius: string | null
      category: $Enums.GeoCategory
      latitude_coords: number | null
      longitude_coords: number | null
      paths: Prisma.JsonValue | null
      company_id: number
      status_id: number
      created_by: number
      created_at: Date
      updated_by: number | null
      updated_at: Date
      deleted_by: number | null
      deleted_at: Date | null
    }, ExtArgs["result"]["geoFences"]>
    composites: {}
  }

  type GeoFencesGetPayload<S extends boolean | null | undefined | GeoFencesDefaultArgs> = $Result.GetResult<Prisma.$GeoFencesPayload, S>

  type GeoFencesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<GeoFencesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: GeoFencesCountAggregateInputType | true
    }

  export interface GeoFencesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GeoFences'], meta: { name: 'GeoFences' } }
    /**
     * Find zero or one GeoFences that matches the filter.
     * @param {GeoFencesFindUniqueArgs} args - Arguments to find a GeoFences
     * @example
     * // Get one GeoFences
     * const geoFences = await prisma.geoFences.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends GeoFencesFindUniqueArgs>(args: SelectSubset<T, GeoFencesFindUniqueArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one GeoFences that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {GeoFencesFindUniqueOrThrowArgs} args - Arguments to find a GeoFences
     * @example
     * // Get one GeoFences
     * const geoFences = await prisma.geoFences.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends GeoFencesFindUniqueOrThrowArgs>(args: SelectSubset<T, GeoFencesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first GeoFences that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesFindFirstArgs} args - Arguments to find a GeoFences
     * @example
     * // Get one GeoFences
     * const geoFences = await prisma.geoFences.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends GeoFencesFindFirstArgs>(args?: SelectSubset<T, GeoFencesFindFirstArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first GeoFences that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesFindFirstOrThrowArgs} args - Arguments to find a GeoFences
     * @example
     * // Get one GeoFences
     * const geoFences = await prisma.geoFences.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends GeoFencesFindFirstOrThrowArgs>(args?: SelectSubset<T, GeoFencesFindFirstOrThrowArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more GeoFences that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all GeoFences
     * const geoFences = await prisma.geoFences.findMany()
     * 
     * // Get first 10 GeoFences
     * const geoFences = await prisma.geoFences.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const geoFencesWithIdOnly = await prisma.geoFences.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends GeoFencesFindManyArgs>(args?: SelectSubset<T, GeoFencesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a GeoFences.
     * @param {GeoFencesCreateArgs} args - Arguments to create a GeoFences.
     * @example
     * // Create one GeoFences
     * const GeoFences = await prisma.geoFences.create({
     *   data: {
     *     // ... data to create a GeoFences
     *   }
     * })
     * 
     */
    create<T extends GeoFencesCreateArgs>(args: SelectSubset<T, GeoFencesCreateArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many GeoFences.
     * @param {GeoFencesCreateManyArgs} args - Arguments to create many GeoFences.
     * @example
     * // Create many GeoFences
     * const geoFences = await prisma.geoFences.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends GeoFencesCreateManyArgs>(args?: SelectSubset<T, GeoFencesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many GeoFences and returns the data saved in the database.
     * @param {GeoFencesCreateManyAndReturnArgs} args - Arguments to create many GeoFences.
     * @example
     * // Create many GeoFences
     * const geoFences = await prisma.geoFences.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many GeoFences and only return the `id`
     * const geoFencesWithIdOnly = await prisma.geoFences.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends GeoFencesCreateManyAndReturnArgs>(args?: SelectSubset<T, GeoFencesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a GeoFences.
     * @param {GeoFencesDeleteArgs} args - Arguments to delete one GeoFences.
     * @example
     * // Delete one GeoFences
     * const GeoFences = await prisma.geoFences.delete({
     *   where: {
     *     // ... filter to delete one GeoFences
     *   }
     * })
     * 
     */
    delete<T extends GeoFencesDeleteArgs>(args: SelectSubset<T, GeoFencesDeleteArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one GeoFences.
     * @param {GeoFencesUpdateArgs} args - Arguments to update one GeoFences.
     * @example
     * // Update one GeoFences
     * const geoFences = await prisma.geoFences.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends GeoFencesUpdateArgs>(args: SelectSubset<T, GeoFencesUpdateArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more GeoFences.
     * @param {GeoFencesDeleteManyArgs} args - Arguments to filter GeoFences to delete.
     * @example
     * // Delete a few GeoFences
     * const { count } = await prisma.geoFences.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends GeoFencesDeleteManyArgs>(args?: SelectSubset<T, GeoFencesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more GeoFences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many GeoFences
     * const geoFences = await prisma.geoFences.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends GeoFencesUpdateManyArgs>(args: SelectSubset<T, GeoFencesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one GeoFences.
     * @param {GeoFencesUpsertArgs} args - Arguments to update or create a GeoFences.
     * @example
     * // Update or create a GeoFences
     * const geoFences = await prisma.geoFences.upsert({
     *   create: {
     *     // ... data to create a GeoFences
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the GeoFences we want to update
     *   }
     * })
     */
    upsert<T extends GeoFencesUpsertArgs>(args: SelectSubset<T, GeoFencesUpsertArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of GeoFences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesCountArgs} args - Arguments to filter GeoFences to count.
     * @example
     * // Count the number of GeoFences
     * const count = await prisma.geoFences.count({
     *   where: {
     *     // ... the filter for the GeoFences we want to count
     *   }
     * })
    **/
    count<T extends GeoFencesCountArgs>(
      args?: Subset<T, GeoFencesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], GeoFencesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a GeoFences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends GeoFencesAggregateArgs>(args: Subset<T, GeoFencesAggregateArgs>): Prisma.PrismaPromise<GetGeoFencesAggregateType<T>>

    /**
     * Group by GeoFences.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFencesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends GeoFencesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: GeoFencesGroupByArgs['orderBy'] }
        : { orderBy?: GeoFencesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, GeoFencesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGeoFencesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the GeoFences model
   */
  readonly fields: GeoFencesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for GeoFences.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__GeoFencesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    geofence_tracking<T extends GeoFences$geofence_trackingArgs<ExtArgs> = {}>(args?: Subset<T, GeoFences$geofence_trackingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findMany"> | Null>
    customer_geofence_mapping<T extends GeoFences$customer_geofence_mappingArgs<ExtArgs> = {}>(args?: Subset<T, GeoFences$customer_geofence_mappingArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findMany"> | Null>
    vehicle_geofence_history<T extends GeoFences$vehicle_geofence_historyArgs<ExtArgs> = {}>(args?: Subset<T, GeoFences$vehicle_geofence_historyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the GeoFences model
   */ 
  interface GeoFencesFieldRefs {
    readonly id: FieldRef<"GeoFences", 'Int'>
    readonly uuid: FieldRef<"GeoFences", 'String'>
    readonly zone_name: FieldRef<"GeoFences", 'String'>
    readonly zone_type: FieldRef<"GeoFences", 'ZoneType'>
    readonly radius: FieldRef<"GeoFences", 'String'>
    readonly category: FieldRef<"GeoFences", 'GeoCategory'>
    readonly latitude_coords: FieldRef<"GeoFences", 'Float'>
    readonly longitude_coords: FieldRef<"GeoFences", 'Float'>
    readonly paths: FieldRef<"GeoFences", 'Json'>
    readonly company_id: FieldRef<"GeoFences", 'Int'>
    readonly status_id: FieldRef<"GeoFences", 'Int'>
    readonly created_by: FieldRef<"GeoFences", 'Int'>
    readonly created_at: FieldRef<"GeoFences", 'DateTime'>
    readonly updated_by: FieldRef<"GeoFences", 'Int'>
    readonly updated_at: FieldRef<"GeoFences", 'DateTime'>
    readonly deleted_by: FieldRef<"GeoFences", 'Int'>
    readonly deleted_at: FieldRef<"GeoFences", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * GeoFences findUnique
   */
  export type GeoFencesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter, which GeoFences to fetch.
     */
    where: GeoFencesWhereUniqueInput
  }

  /**
   * GeoFences findUniqueOrThrow
   */
  export type GeoFencesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter, which GeoFences to fetch.
     */
    where: GeoFencesWhereUniqueInput
  }

  /**
   * GeoFences findFirst
   */
  export type GeoFencesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter, which GeoFences to fetch.
     */
    where?: GeoFencesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFences to fetch.
     */
    orderBy?: GeoFencesOrderByWithRelationInput | GeoFencesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for GeoFences.
     */
    cursor?: GeoFencesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of GeoFences.
     */
    distinct?: GeoFencesScalarFieldEnum | GeoFencesScalarFieldEnum[]
  }

  /**
   * GeoFences findFirstOrThrow
   */
  export type GeoFencesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter, which GeoFences to fetch.
     */
    where?: GeoFencesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFences to fetch.
     */
    orderBy?: GeoFencesOrderByWithRelationInput | GeoFencesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for GeoFences.
     */
    cursor?: GeoFencesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFences.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of GeoFences.
     */
    distinct?: GeoFencesScalarFieldEnum | GeoFencesScalarFieldEnum[]
  }

  /**
   * GeoFences findMany
   */
  export type GeoFencesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter, which GeoFences to fetch.
     */
    where?: GeoFencesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFences to fetch.
     */
    orderBy?: GeoFencesOrderByWithRelationInput | GeoFencesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing GeoFences.
     */
    cursor?: GeoFencesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFences from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFences.
     */
    skip?: number
    distinct?: GeoFencesScalarFieldEnum | GeoFencesScalarFieldEnum[]
  }

  /**
   * GeoFences create
   */
  export type GeoFencesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * The data needed to create a GeoFences.
     */
    data: XOR<GeoFencesCreateInput, GeoFencesUncheckedCreateInput>
  }

  /**
   * GeoFences createMany
   */
  export type GeoFencesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many GeoFences.
     */
    data: GeoFencesCreateManyInput | GeoFencesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * GeoFences createManyAndReturn
   */
  export type GeoFencesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many GeoFences.
     */
    data: GeoFencesCreateManyInput | GeoFencesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * GeoFences update
   */
  export type GeoFencesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * The data needed to update a GeoFences.
     */
    data: XOR<GeoFencesUpdateInput, GeoFencesUncheckedUpdateInput>
    /**
     * Choose, which GeoFences to update.
     */
    where: GeoFencesWhereUniqueInput
  }

  /**
   * GeoFences updateMany
   */
  export type GeoFencesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update GeoFences.
     */
    data: XOR<GeoFencesUpdateManyMutationInput, GeoFencesUncheckedUpdateManyInput>
    /**
     * Filter which GeoFences to update
     */
    where?: GeoFencesWhereInput
  }

  /**
   * GeoFences upsert
   */
  export type GeoFencesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * The filter to search for the GeoFences to update in case it exists.
     */
    where: GeoFencesWhereUniqueInput
    /**
     * In case the GeoFences found by the `where` argument doesn't exist, create a new GeoFences with this data.
     */
    create: XOR<GeoFencesCreateInput, GeoFencesUncheckedCreateInput>
    /**
     * In case the GeoFences was found with the provided `where` argument, update it with this data.
     */
    update: XOR<GeoFencesUpdateInput, GeoFencesUncheckedUpdateInput>
  }

  /**
   * GeoFences delete
   */
  export type GeoFencesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
    /**
     * Filter which GeoFences to delete.
     */
    where: GeoFencesWhereUniqueInput
  }

  /**
   * GeoFences deleteMany
   */
  export type GeoFencesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which GeoFences to delete
     */
    where?: GeoFencesWhereInput
  }

  /**
   * GeoFences.geofence_tracking
   */
  export type GeoFences$geofence_trackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    where?: GeoFenceTrackingWhereInput
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    cursor?: GeoFenceTrackingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * GeoFences.customer_geofence_mapping
   */
  export type GeoFences$customer_geofence_mappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    where?: CustomerGeoFenceMappingWhereInput
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    take?: number
    skip?: number
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * GeoFences.vehicle_geofence_history
   */
  export type GeoFences$vehicle_geofence_historyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    take?: number
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * GeoFences without action
   */
  export type GeoFencesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFences
     */
    select?: GeoFencesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFencesInclude<ExtArgs> | null
  }


  /**
   * Model GeoFenceTracking
   */

  export type AggregateGeoFenceTracking = {
    _count: GeoFenceTrackingCountAggregateOutputType | null
    _avg: GeoFenceTrackingAvgAggregateOutputType | null
    _sum: GeoFenceTrackingSumAggregateOutputType | null
    _min: GeoFenceTrackingMinAggregateOutputType | null
    _max: GeoFenceTrackingMaxAggregateOutputType | null
  }

  export type GeoFenceTrackingAvgAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    geofence_id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type GeoFenceTrackingSumAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    geofence_id: number | null
    company_id: number | null
    status_id: number | null
  }

  export type GeoFenceTrackingMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    geofence_id: number | null
    activity_type: $Enums.GeoTracActivity | null
    activity_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type GeoFenceTrackingMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    geofence_id: number | null
    activity_type: $Enums.GeoTracActivity | null
    activity_at: Date | null
    company_id: number | null
    status_id: number | null
  }

  export type GeoFenceTrackingCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_id: number
    geofence_id: number
    activity_type: number
    activity_at: number
    company_id: number
    status_id: number
    _all: number
  }


  export type GeoFenceTrackingAvgAggregateInputType = {
    id?: true
    vehicle_id?: true
    geofence_id?: true
    company_id?: true
    status_id?: true
  }

  export type GeoFenceTrackingSumAggregateInputType = {
    id?: true
    vehicle_id?: true
    geofence_id?: true
    company_id?: true
    status_id?: true
  }

  export type GeoFenceTrackingMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    geofence_id?: true
    activity_type?: true
    activity_at?: true
    company_id?: true
    status_id?: true
  }

  export type GeoFenceTrackingMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    geofence_id?: true
    activity_type?: true
    activity_at?: true
    company_id?: true
    status_id?: true
  }

  export type GeoFenceTrackingCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    geofence_id?: true
    activity_type?: true
    activity_at?: true
    company_id?: true
    status_id?: true
    _all?: true
  }

  export type GeoFenceTrackingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which GeoFenceTracking to aggregate.
     */
    where?: GeoFenceTrackingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFenceTrackings to fetch.
     */
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: GeoFenceTrackingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFenceTrackings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFenceTrackings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned GeoFenceTrackings
    **/
    _count?: true | GeoFenceTrackingCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: GeoFenceTrackingAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: GeoFenceTrackingSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: GeoFenceTrackingMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: GeoFenceTrackingMaxAggregateInputType
  }

  export type GetGeoFenceTrackingAggregateType<T extends GeoFenceTrackingAggregateArgs> = {
        [P in keyof T & keyof AggregateGeoFenceTracking]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateGeoFenceTracking[P]>
      : GetScalarType<T[P], AggregateGeoFenceTracking[P]>
  }




  export type GeoFenceTrackingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: GeoFenceTrackingWhereInput
    orderBy?: GeoFenceTrackingOrderByWithAggregationInput | GeoFenceTrackingOrderByWithAggregationInput[]
    by: GeoFenceTrackingScalarFieldEnum[] | GeoFenceTrackingScalarFieldEnum
    having?: GeoFenceTrackingScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: GeoFenceTrackingCountAggregateInputType | true
    _avg?: GeoFenceTrackingAvgAggregateInputType
    _sum?: GeoFenceTrackingSumAggregateInputType
    _min?: GeoFenceTrackingMinAggregateInputType
    _max?: GeoFenceTrackingMaxAggregateInputType
  }

  export type GeoFenceTrackingGroupByOutputType = {
    id: number
    uuid: string
    vehicle_id: number
    geofence_id: number
    activity_type: $Enums.GeoTracActivity
    activity_at: Date
    company_id: number
    status_id: number
    _count: GeoFenceTrackingCountAggregateOutputType | null
    _avg: GeoFenceTrackingAvgAggregateOutputType | null
    _sum: GeoFenceTrackingSumAggregateOutputType | null
    _min: GeoFenceTrackingMinAggregateOutputType | null
    _max: GeoFenceTrackingMaxAggregateOutputType | null
  }

  type GetGeoFenceTrackingGroupByPayload<T extends GeoFenceTrackingGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<GeoFenceTrackingGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof GeoFenceTrackingGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], GeoFenceTrackingGroupByOutputType[P]>
            : GetScalarType<T[P], GeoFenceTrackingGroupByOutputType[P]>
        }
      >
    >


  export type GeoFenceTrackingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    geofence_id?: boolean
    activity_type?: boolean
    activity_at?: boolean
    company_id?: boolean
    status_id?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["geoFenceTracking"]>

  export type GeoFenceTrackingSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    geofence_id?: boolean
    activity_type?: boolean
    activity_at?: boolean
    company_id?: boolean
    status_id?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["geoFenceTracking"]>

  export type GeoFenceTrackingSelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    geofence_id?: boolean
    activity_type?: boolean
    activity_at?: boolean
    company_id?: boolean
    status_id?: boolean
  }

  export type GeoFenceTrackingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type GeoFenceTrackingIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $GeoFenceTrackingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "GeoFenceTracking"
    objects: {
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      geofence: Prisma.$GeoFencesPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_id: number
      geofence_id: number
      activity_type: $Enums.GeoTracActivity
      activity_at: Date
      company_id: number
      status_id: number
    }, ExtArgs["result"]["geoFenceTracking"]>
    composites: {}
  }

  type GeoFenceTrackingGetPayload<S extends boolean | null | undefined | GeoFenceTrackingDefaultArgs> = $Result.GetResult<Prisma.$GeoFenceTrackingPayload, S>

  type GeoFenceTrackingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<GeoFenceTrackingFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: GeoFenceTrackingCountAggregateInputType | true
    }

  export interface GeoFenceTrackingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GeoFenceTracking'], meta: { name: 'GeoFenceTracking' } }
    /**
     * Find zero or one GeoFenceTracking that matches the filter.
     * @param {GeoFenceTrackingFindUniqueArgs} args - Arguments to find a GeoFenceTracking
     * @example
     * // Get one GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends GeoFenceTrackingFindUniqueArgs>(args: SelectSubset<T, GeoFenceTrackingFindUniqueArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one GeoFenceTracking that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {GeoFenceTrackingFindUniqueOrThrowArgs} args - Arguments to find a GeoFenceTracking
     * @example
     * // Get one GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends GeoFenceTrackingFindUniqueOrThrowArgs>(args: SelectSubset<T, GeoFenceTrackingFindUniqueOrThrowArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first GeoFenceTracking that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingFindFirstArgs} args - Arguments to find a GeoFenceTracking
     * @example
     * // Get one GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends GeoFenceTrackingFindFirstArgs>(args?: SelectSubset<T, GeoFenceTrackingFindFirstArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first GeoFenceTracking that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingFindFirstOrThrowArgs} args - Arguments to find a GeoFenceTracking
     * @example
     * // Get one GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends GeoFenceTrackingFindFirstOrThrowArgs>(args?: SelectSubset<T, GeoFenceTrackingFindFirstOrThrowArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more GeoFenceTrackings that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all GeoFenceTrackings
     * const geoFenceTrackings = await prisma.geoFenceTracking.findMany()
     * 
     * // Get first 10 GeoFenceTrackings
     * const geoFenceTrackings = await prisma.geoFenceTracking.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const geoFenceTrackingWithIdOnly = await prisma.geoFenceTracking.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends GeoFenceTrackingFindManyArgs>(args?: SelectSubset<T, GeoFenceTrackingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a GeoFenceTracking.
     * @param {GeoFenceTrackingCreateArgs} args - Arguments to create a GeoFenceTracking.
     * @example
     * // Create one GeoFenceTracking
     * const GeoFenceTracking = await prisma.geoFenceTracking.create({
     *   data: {
     *     // ... data to create a GeoFenceTracking
     *   }
     * })
     * 
     */
    create<T extends GeoFenceTrackingCreateArgs>(args: SelectSubset<T, GeoFenceTrackingCreateArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many GeoFenceTrackings.
     * @param {GeoFenceTrackingCreateManyArgs} args - Arguments to create many GeoFenceTrackings.
     * @example
     * // Create many GeoFenceTrackings
     * const geoFenceTracking = await prisma.geoFenceTracking.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends GeoFenceTrackingCreateManyArgs>(args?: SelectSubset<T, GeoFenceTrackingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many GeoFenceTrackings and returns the data saved in the database.
     * @param {GeoFenceTrackingCreateManyAndReturnArgs} args - Arguments to create many GeoFenceTrackings.
     * @example
     * // Create many GeoFenceTrackings
     * const geoFenceTracking = await prisma.geoFenceTracking.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many GeoFenceTrackings and only return the `id`
     * const geoFenceTrackingWithIdOnly = await prisma.geoFenceTracking.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends GeoFenceTrackingCreateManyAndReturnArgs>(args?: SelectSubset<T, GeoFenceTrackingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a GeoFenceTracking.
     * @param {GeoFenceTrackingDeleteArgs} args - Arguments to delete one GeoFenceTracking.
     * @example
     * // Delete one GeoFenceTracking
     * const GeoFenceTracking = await prisma.geoFenceTracking.delete({
     *   where: {
     *     // ... filter to delete one GeoFenceTracking
     *   }
     * })
     * 
     */
    delete<T extends GeoFenceTrackingDeleteArgs>(args: SelectSubset<T, GeoFenceTrackingDeleteArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one GeoFenceTracking.
     * @param {GeoFenceTrackingUpdateArgs} args - Arguments to update one GeoFenceTracking.
     * @example
     * // Update one GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends GeoFenceTrackingUpdateArgs>(args: SelectSubset<T, GeoFenceTrackingUpdateArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more GeoFenceTrackings.
     * @param {GeoFenceTrackingDeleteManyArgs} args - Arguments to filter GeoFenceTrackings to delete.
     * @example
     * // Delete a few GeoFenceTrackings
     * const { count } = await prisma.geoFenceTracking.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends GeoFenceTrackingDeleteManyArgs>(args?: SelectSubset<T, GeoFenceTrackingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more GeoFenceTrackings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many GeoFenceTrackings
     * const geoFenceTracking = await prisma.geoFenceTracking.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends GeoFenceTrackingUpdateManyArgs>(args: SelectSubset<T, GeoFenceTrackingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one GeoFenceTracking.
     * @param {GeoFenceTrackingUpsertArgs} args - Arguments to update or create a GeoFenceTracking.
     * @example
     * // Update or create a GeoFenceTracking
     * const geoFenceTracking = await prisma.geoFenceTracking.upsert({
     *   create: {
     *     // ... data to create a GeoFenceTracking
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the GeoFenceTracking we want to update
     *   }
     * })
     */
    upsert<T extends GeoFenceTrackingUpsertArgs>(args: SelectSubset<T, GeoFenceTrackingUpsertArgs<ExtArgs>>): Prisma__GeoFenceTrackingClient<$Result.GetResult<Prisma.$GeoFenceTrackingPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of GeoFenceTrackings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingCountArgs} args - Arguments to filter GeoFenceTrackings to count.
     * @example
     * // Count the number of GeoFenceTrackings
     * const count = await prisma.geoFenceTracking.count({
     *   where: {
     *     // ... the filter for the GeoFenceTrackings we want to count
     *   }
     * })
    **/
    count<T extends GeoFenceTrackingCountArgs>(
      args?: Subset<T, GeoFenceTrackingCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], GeoFenceTrackingCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a GeoFenceTracking.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends GeoFenceTrackingAggregateArgs>(args: Subset<T, GeoFenceTrackingAggregateArgs>): Prisma.PrismaPromise<GetGeoFenceTrackingAggregateType<T>>

    /**
     * Group by GeoFenceTracking.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {GeoFenceTrackingGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends GeoFenceTrackingGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: GeoFenceTrackingGroupByArgs['orderBy'] }
        : { orderBy?: GeoFenceTrackingGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, GeoFenceTrackingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGeoFenceTrackingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the GeoFenceTracking model
   */
  readonly fields: GeoFenceTrackingFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for GeoFenceTracking.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__GeoFenceTrackingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    geofence<T extends GeoFencesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, GeoFencesDefaultArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the GeoFenceTracking model
   */ 
  interface GeoFenceTrackingFieldRefs {
    readonly id: FieldRef<"GeoFenceTracking", 'Int'>
    readonly uuid: FieldRef<"GeoFenceTracking", 'String'>
    readonly vehicle_id: FieldRef<"GeoFenceTracking", 'Int'>
    readonly geofence_id: FieldRef<"GeoFenceTracking", 'Int'>
    readonly activity_type: FieldRef<"GeoFenceTracking", 'GeoTracActivity'>
    readonly activity_at: FieldRef<"GeoFenceTracking", 'DateTime'>
    readonly company_id: FieldRef<"GeoFenceTracking", 'Int'>
    readonly status_id: FieldRef<"GeoFenceTracking", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * GeoFenceTracking findUnique
   */
  export type GeoFenceTrackingFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter, which GeoFenceTracking to fetch.
     */
    where: GeoFenceTrackingWhereUniqueInput
  }

  /**
   * GeoFenceTracking findUniqueOrThrow
   */
  export type GeoFenceTrackingFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter, which GeoFenceTracking to fetch.
     */
    where: GeoFenceTrackingWhereUniqueInput
  }

  /**
   * GeoFenceTracking findFirst
   */
  export type GeoFenceTrackingFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter, which GeoFenceTracking to fetch.
     */
    where?: GeoFenceTrackingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFenceTrackings to fetch.
     */
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for GeoFenceTrackings.
     */
    cursor?: GeoFenceTrackingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFenceTrackings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFenceTrackings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of GeoFenceTrackings.
     */
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * GeoFenceTracking findFirstOrThrow
   */
  export type GeoFenceTrackingFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter, which GeoFenceTracking to fetch.
     */
    where?: GeoFenceTrackingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFenceTrackings to fetch.
     */
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for GeoFenceTrackings.
     */
    cursor?: GeoFenceTrackingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFenceTrackings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFenceTrackings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of GeoFenceTrackings.
     */
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * GeoFenceTracking findMany
   */
  export type GeoFenceTrackingFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter, which GeoFenceTrackings to fetch.
     */
    where?: GeoFenceTrackingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of GeoFenceTrackings to fetch.
     */
    orderBy?: GeoFenceTrackingOrderByWithRelationInput | GeoFenceTrackingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing GeoFenceTrackings.
     */
    cursor?: GeoFenceTrackingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` GeoFenceTrackings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` GeoFenceTrackings.
     */
    skip?: number
    distinct?: GeoFenceTrackingScalarFieldEnum | GeoFenceTrackingScalarFieldEnum[]
  }

  /**
   * GeoFenceTracking create
   */
  export type GeoFenceTrackingCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * The data needed to create a GeoFenceTracking.
     */
    data: XOR<GeoFenceTrackingCreateInput, GeoFenceTrackingUncheckedCreateInput>
  }

  /**
   * GeoFenceTracking createMany
   */
  export type GeoFenceTrackingCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many GeoFenceTrackings.
     */
    data: GeoFenceTrackingCreateManyInput | GeoFenceTrackingCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * GeoFenceTracking createManyAndReturn
   */
  export type GeoFenceTrackingCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many GeoFenceTrackings.
     */
    data: GeoFenceTrackingCreateManyInput | GeoFenceTrackingCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * GeoFenceTracking update
   */
  export type GeoFenceTrackingUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * The data needed to update a GeoFenceTracking.
     */
    data: XOR<GeoFenceTrackingUpdateInput, GeoFenceTrackingUncheckedUpdateInput>
    /**
     * Choose, which GeoFenceTracking to update.
     */
    where: GeoFenceTrackingWhereUniqueInput
  }

  /**
   * GeoFenceTracking updateMany
   */
  export type GeoFenceTrackingUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update GeoFenceTrackings.
     */
    data: XOR<GeoFenceTrackingUpdateManyMutationInput, GeoFenceTrackingUncheckedUpdateManyInput>
    /**
     * Filter which GeoFenceTrackings to update
     */
    where?: GeoFenceTrackingWhereInput
  }

  /**
   * GeoFenceTracking upsert
   */
  export type GeoFenceTrackingUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * The filter to search for the GeoFenceTracking to update in case it exists.
     */
    where: GeoFenceTrackingWhereUniqueInput
    /**
     * In case the GeoFenceTracking found by the `where` argument doesn't exist, create a new GeoFenceTracking with this data.
     */
    create: XOR<GeoFenceTrackingCreateInput, GeoFenceTrackingUncheckedCreateInput>
    /**
     * In case the GeoFenceTracking was found with the provided `where` argument, update it with this data.
     */
    update: XOR<GeoFenceTrackingUpdateInput, GeoFenceTrackingUncheckedUpdateInput>
  }

  /**
   * GeoFenceTracking delete
   */
  export type GeoFenceTrackingDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
    /**
     * Filter which GeoFenceTracking to delete.
     */
    where: GeoFenceTrackingWhereUniqueInput
  }

  /**
   * GeoFenceTracking deleteMany
   */
  export type GeoFenceTrackingDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which GeoFenceTrackings to delete
     */
    where?: GeoFenceTrackingWhereInput
  }

  /**
   * GeoFenceTracking without action
   */
  export type GeoFenceTrackingDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the GeoFenceTracking
     */
    select?: GeoFenceTrackingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: GeoFenceTrackingInclude<ExtArgs> | null
  }


  /**
   * Model VehicleGeofenceHistory
   */

  export type AggregateVehicleGeofenceHistory = {
    _count: VehicleGeofenceHistoryCountAggregateOutputType | null
    _avg: VehicleGeofenceHistoryAvgAggregateOutputType | null
    _sum: VehicleGeofenceHistorySumAggregateOutputType | null
    _min: VehicleGeofenceHistoryMinAggregateOutputType | null
    _max: VehicleGeofenceHistoryMaxAggregateOutputType | null
  }

  export type VehicleGeofenceHistoryAvgAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    driver_id: number | null
    customer_id: number | null
    geofence_id: number | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    latitude: number | null
    longitude: number | null
  }

  export type VehicleGeofenceHistorySumAggregateOutputType = {
    id: number | null
    vehicle_id: number | null
    driver_id: number | null
    customer_id: number | null
    geofence_id: number | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    latitude: number | null
    longitude: number | null
  }

  export type VehicleGeofenceHistoryMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    driver_id: number | null
    customer_id: number | null
    geofence_id: number | null
    event_type: $Enums.GeoFenceEventType | null
    event_timestamp: Date | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    latitude: number | null
    longitude: number | null
    created_at: Date | null
  }

  export type VehicleGeofenceHistoryMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    vehicle_id: number | null
    driver_id: number | null
    customer_id: number | null
    geofence_id: number | null
    event_type: $Enums.GeoFenceEventType | null
    event_timestamp: Date | null
    shipment_id: number | null
    company_id: number | null
    status_id: number | null
    latitude: number | null
    longitude: number | null
    created_at: Date | null
  }

  export type VehicleGeofenceHistoryCountAggregateOutputType = {
    id: number
    uuid: number
    vehicle_id: number
    driver_id: number
    customer_id: number
    geofence_id: number
    event_type: number
    event_timestamp: number
    shipment_id: number
    company_id: number
    status_id: number
    latitude: number
    longitude: number
    created_at: number
    _all: number
  }


  export type VehicleGeofenceHistoryAvgAggregateInputType = {
    id?: true
    vehicle_id?: true
    driver_id?: true
    customer_id?: true
    geofence_id?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    latitude?: true
    longitude?: true
  }

  export type VehicleGeofenceHistorySumAggregateInputType = {
    id?: true
    vehicle_id?: true
    driver_id?: true
    customer_id?: true
    geofence_id?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    latitude?: true
    longitude?: true
  }

  export type VehicleGeofenceHistoryMinAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    driver_id?: true
    customer_id?: true
    geofence_id?: true
    event_type?: true
    event_timestamp?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    latitude?: true
    longitude?: true
    created_at?: true
  }

  export type VehicleGeofenceHistoryMaxAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    driver_id?: true
    customer_id?: true
    geofence_id?: true
    event_type?: true
    event_timestamp?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    latitude?: true
    longitude?: true
    created_at?: true
  }

  export type VehicleGeofenceHistoryCountAggregateInputType = {
    id?: true
    uuid?: true
    vehicle_id?: true
    driver_id?: true
    customer_id?: true
    geofence_id?: true
    event_type?: true
    event_timestamp?: true
    shipment_id?: true
    company_id?: true
    status_id?: true
    latitude?: true
    longitude?: true
    created_at?: true
    _all?: true
  }

  export type VehicleGeofenceHistoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleGeofenceHistory to aggregate.
     */
    where?: VehicleGeofenceHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleGeofenceHistories to fetch.
     */
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleGeofenceHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleGeofenceHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned VehicleGeofenceHistories
    **/
    _count?: true | VehicleGeofenceHistoryCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: VehicleGeofenceHistoryAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: VehicleGeofenceHistorySumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: VehicleGeofenceHistoryMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: VehicleGeofenceHistoryMaxAggregateInputType
  }

  export type GetVehicleGeofenceHistoryAggregateType<T extends VehicleGeofenceHistoryAggregateArgs> = {
        [P in keyof T & keyof AggregateVehicleGeofenceHistory]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateVehicleGeofenceHistory[P]>
      : GetScalarType<T[P], AggregateVehicleGeofenceHistory[P]>
  }




  export type VehicleGeofenceHistoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: VehicleGeofenceHistoryWhereInput
    orderBy?: VehicleGeofenceHistoryOrderByWithAggregationInput | VehicleGeofenceHistoryOrderByWithAggregationInput[]
    by: VehicleGeofenceHistoryScalarFieldEnum[] | VehicleGeofenceHistoryScalarFieldEnum
    having?: VehicleGeofenceHistoryScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: VehicleGeofenceHistoryCountAggregateInputType | true
    _avg?: VehicleGeofenceHistoryAvgAggregateInputType
    _sum?: VehicleGeofenceHistorySumAggregateInputType
    _min?: VehicleGeofenceHistoryMinAggregateInputType
    _max?: VehicleGeofenceHistoryMaxAggregateInputType
  }

  export type VehicleGeofenceHistoryGroupByOutputType = {
    id: number
    uuid: string
    vehicle_id: number
    driver_id: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date
    shipment_id: number
    company_id: number
    status_id: number
    latitude: number | null
    longitude: number | null
    created_at: Date
    _count: VehicleGeofenceHistoryCountAggregateOutputType | null
    _avg: VehicleGeofenceHistoryAvgAggregateOutputType | null
    _sum: VehicleGeofenceHistorySumAggregateOutputType | null
    _min: VehicleGeofenceHistoryMinAggregateOutputType | null
    _max: VehicleGeofenceHistoryMaxAggregateOutputType | null
  }

  type GetVehicleGeofenceHistoryGroupByPayload<T extends VehicleGeofenceHistoryGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<VehicleGeofenceHistoryGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof VehicleGeofenceHistoryGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], VehicleGeofenceHistoryGroupByOutputType[P]>
            : GetScalarType<T[P], VehicleGeofenceHistoryGroupByOutputType[P]>
        }
      >
    >


  export type VehicleGeofenceHistorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    driver_id?: boolean
    customer_id?: boolean
    geofence_id?: boolean
    event_type?: boolean
    event_timestamp?: boolean
    shipment_id?: boolean
    company_id?: boolean
    status_id?: boolean
    latitude?: boolean
    longitude?: boolean
    created_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    driver?: boolean | VehicleGeofenceHistory$driverArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    shipment?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleGeofenceHistory"]>

  export type VehicleGeofenceHistorySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    driver_id?: boolean
    customer_id?: boolean
    geofence_id?: boolean
    event_type?: boolean
    event_timestamp?: boolean
    shipment_id?: boolean
    company_id?: boolean
    status_id?: boolean
    latitude?: boolean
    longitude?: boolean
    created_at?: boolean
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    driver?: boolean | VehicleGeofenceHistory$driverArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    shipment?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["vehicleGeofenceHistory"]>

  export type VehicleGeofenceHistorySelectScalar = {
    id?: boolean
    uuid?: boolean
    vehicle_id?: boolean
    driver_id?: boolean
    customer_id?: boolean
    geofence_id?: boolean
    event_type?: boolean
    event_timestamp?: boolean
    shipment_id?: boolean
    company_id?: boolean
    status_id?: boolean
    latitude?: boolean
    longitude?: boolean
    created_at?: boolean
  }

  export type VehicleGeofenceHistoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    driver?: boolean | VehicleGeofenceHistory$driverArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    shipment?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type VehicleGeofenceHistoryIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    vehicle?: boolean | VehiclesDefaultArgs<ExtArgs>
    driver?: boolean | VehicleGeofenceHistory$driverArgs<ExtArgs>
    customer?: boolean | UserDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    shipment?: boolean | ShipmentsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $VehicleGeofenceHistoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "VehicleGeofenceHistory"
    objects: {
      vehicle: Prisma.$VehiclesPayload<ExtArgs>
      driver: Prisma.$UserPayload<ExtArgs> | null
      customer: Prisma.$UserPayload<ExtArgs>
      geofence: Prisma.$GeoFencesPayload<ExtArgs>
      shipment: Prisma.$ShipmentsPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      vehicle_id: number
      driver_id: number | null
      customer_id: number
      geofence_id: number
      event_type: $Enums.GeoFenceEventType
      event_timestamp: Date
      shipment_id: number
      company_id: number
      status_id: number
      latitude: number | null
      longitude: number | null
      created_at: Date
    }, ExtArgs["result"]["vehicleGeofenceHistory"]>
    composites: {}
  }

  type VehicleGeofenceHistoryGetPayload<S extends boolean | null | undefined | VehicleGeofenceHistoryDefaultArgs> = $Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload, S>

  type VehicleGeofenceHistoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<VehicleGeofenceHistoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: VehicleGeofenceHistoryCountAggregateInputType | true
    }

  export interface VehicleGeofenceHistoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VehicleGeofenceHistory'], meta: { name: 'VehicleGeofenceHistory' } }
    /**
     * Find zero or one VehicleGeofenceHistory that matches the filter.
     * @param {VehicleGeofenceHistoryFindUniqueArgs} args - Arguments to find a VehicleGeofenceHistory
     * @example
     * // Get one VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends VehicleGeofenceHistoryFindUniqueArgs>(args: SelectSubset<T, VehicleGeofenceHistoryFindUniqueArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one VehicleGeofenceHistory that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {VehicleGeofenceHistoryFindUniqueOrThrowArgs} args - Arguments to find a VehicleGeofenceHistory
     * @example
     * // Get one VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends VehicleGeofenceHistoryFindUniqueOrThrowArgs>(args: SelectSubset<T, VehicleGeofenceHistoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first VehicleGeofenceHistory that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryFindFirstArgs} args - Arguments to find a VehicleGeofenceHistory
     * @example
     * // Get one VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends VehicleGeofenceHistoryFindFirstArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryFindFirstArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first VehicleGeofenceHistory that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryFindFirstOrThrowArgs} args - Arguments to find a VehicleGeofenceHistory
     * @example
     * // Get one VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends VehicleGeofenceHistoryFindFirstOrThrowArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryFindFirstOrThrowArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more VehicleGeofenceHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all VehicleGeofenceHistories
     * const vehicleGeofenceHistories = await prisma.vehicleGeofenceHistory.findMany()
     * 
     * // Get first 10 VehicleGeofenceHistories
     * const vehicleGeofenceHistories = await prisma.vehicleGeofenceHistory.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const vehicleGeofenceHistoryWithIdOnly = await prisma.vehicleGeofenceHistory.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends VehicleGeofenceHistoryFindManyArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a VehicleGeofenceHistory.
     * @param {VehicleGeofenceHistoryCreateArgs} args - Arguments to create a VehicleGeofenceHistory.
     * @example
     * // Create one VehicleGeofenceHistory
     * const VehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.create({
     *   data: {
     *     // ... data to create a VehicleGeofenceHistory
     *   }
     * })
     * 
     */
    create<T extends VehicleGeofenceHistoryCreateArgs>(args: SelectSubset<T, VehicleGeofenceHistoryCreateArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many VehicleGeofenceHistories.
     * @param {VehicleGeofenceHistoryCreateManyArgs} args - Arguments to create many VehicleGeofenceHistories.
     * @example
     * // Create many VehicleGeofenceHistories
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends VehicleGeofenceHistoryCreateManyArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many VehicleGeofenceHistories and returns the data saved in the database.
     * @param {VehicleGeofenceHistoryCreateManyAndReturnArgs} args - Arguments to create many VehicleGeofenceHistories.
     * @example
     * // Create many VehicleGeofenceHistories
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many VehicleGeofenceHistories and only return the `id`
     * const vehicleGeofenceHistoryWithIdOnly = await prisma.vehicleGeofenceHistory.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends VehicleGeofenceHistoryCreateManyAndReturnArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a VehicleGeofenceHistory.
     * @param {VehicleGeofenceHistoryDeleteArgs} args - Arguments to delete one VehicleGeofenceHistory.
     * @example
     * // Delete one VehicleGeofenceHistory
     * const VehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.delete({
     *   where: {
     *     // ... filter to delete one VehicleGeofenceHistory
     *   }
     * })
     * 
     */
    delete<T extends VehicleGeofenceHistoryDeleteArgs>(args: SelectSubset<T, VehicleGeofenceHistoryDeleteArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one VehicleGeofenceHistory.
     * @param {VehicleGeofenceHistoryUpdateArgs} args - Arguments to update one VehicleGeofenceHistory.
     * @example
     * // Update one VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends VehicleGeofenceHistoryUpdateArgs>(args: SelectSubset<T, VehicleGeofenceHistoryUpdateArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more VehicleGeofenceHistories.
     * @param {VehicleGeofenceHistoryDeleteManyArgs} args - Arguments to filter VehicleGeofenceHistories to delete.
     * @example
     * // Delete a few VehicleGeofenceHistories
     * const { count } = await prisma.vehicleGeofenceHistory.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends VehicleGeofenceHistoryDeleteManyArgs>(args?: SelectSubset<T, VehicleGeofenceHistoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more VehicleGeofenceHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many VehicleGeofenceHistories
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends VehicleGeofenceHistoryUpdateManyArgs>(args: SelectSubset<T, VehicleGeofenceHistoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one VehicleGeofenceHistory.
     * @param {VehicleGeofenceHistoryUpsertArgs} args - Arguments to update or create a VehicleGeofenceHistory.
     * @example
     * // Update or create a VehicleGeofenceHistory
     * const vehicleGeofenceHistory = await prisma.vehicleGeofenceHistory.upsert({
     *   create: {
     *     // ... data to create a VehicleGeofenceHistory
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the VehicleGeofenceHistory we want to update
     *   }
     * })
     */
    upsert<T extends VehicleGeofenceHistoryUpsertArgs>(args: SelectSubset<T, VehicleGeofenceHistoryUpsertArgs<ExtArgs>>): Prisma__VehicleGeofenceHistoryClient<$Result.GetResult<Prisma.$VehicleGeofenceHistoryPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of VehicleGeofenceHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryCountArgs} args - Arguments to filter VehicleGeofenceHistories to count.
     * @example
     * // Count the number of VehicleGeofenceHistories
     * const count = await prisma.vehicleGeofenceHistory.count({
     *   where: {
     *     // ... the filter for the VehicleGeofenceHistories we want to count
     *   }
     * })
    **/
    count<T extends VehicleGeofenceHistoryCountArgs>(
      args?: Subset<T, VehicleGeofenceHistoryCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], VehicleGeofenceHistoryCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a VehicleGeofenceHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends VehicleGeofenceHistoryAggregateArgs>(args: Subset<T, VehicleGeofenceHistoryAggregateArgs>): Prisma.PrismaPromise<GetVehicleGeofenceHistoryAggregateType<T>>

    /**
     * Group by VehicleGeofenceHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VehicleGeofenceHistoryGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends VehicleGeofenceHistoryGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: VehicleGeofenceHistoryGroupByArgs['orderBy'] }
        : { orderBy?: VehicleGeofenceHistoryGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, VehicleGeofenceHistoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVehicleGeofenceHistoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the VehicleGeofenceHistory model
   */
  readonly fields: VehicleGeofenceHistoryFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for VehicleGeofenceHistory.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__VehicleGeofenceHistoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    vehicle<T extends VehiclesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, VehiclesDefaultArgs<ExtArgs>>): Prisma__VehiclesClient<$Result.GetResult<Prisma.$VehiclesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    driver<T extends VehicleGeofenceHistory$driverArgs<ExtArgs> = {}>(args?: Subset<T, VehicleGeofenceHistory$driverArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    customer<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    geofence<T extends GeoFencesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, GeoFencesDefaultArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipment<T extends ShipmentsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentsDefaultArgs<ExtArgs>>): Prisma__ShipmentsClient<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the VehicleGeofenceHistory model
   */ 
  interface VehicleGeofenceHistoryFieldRefs {
    readonly id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly uuid: FieldRef<"VehicleGeofenceHistory", 'String'>
    readonly vehicle_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly driver_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly customer_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly geofence_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly event_type: FieldRef<"VehicleGeofenceHistory", 'GeoFenceEventType'>
    readonly event_timestamp: FieldRef<"VehicleGeofenceHistory", 'DateTime'>
    readonly shipment_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly company_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly status_id: FieldRef<"VehicleGeofenceHistory", 'Int'>
    readonly latitude: FieldRef<"VehicleGeofenceHistory", 'Float'>
    readonly longitude: FieldRef<"VehicleGeofenceHistory", 'Float'>
    readonly created_at: FieldRef<"VehicleGeofenceHistory", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * VehicleGeofenceHistory findUnique
   */
  export type VehicleGeofenceHistoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter, which VehicleGeofenceHistory to fetch.
     */
    where: VehicleGeofenceHistoryWhereUniqueInput
  }

  /**
   * VehicleGeofenceHistory findUniqueOrThrow
   */
  export type VehicleGeofenceHistoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter, which VehicleGeofenceHistory to fetch.
     */
    where: VehicleGeofenceHistoryWhereUniqueInput
  }

  /**
   * VehicleGeofenceHistory findFirst
   */
  export type VehicleGeofenceHistoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter, which VehicleGeofenceHistory to fetch.
     */
    where?: VehicleGeofenceHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleGeofenceHistories to fetch.
     */
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleGeofenceHistories.
     */
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleGeofenceHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleGeofenceHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleGeofenceHistories.
     */
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * VehicleGeofenceHistory findFirstOrThrow
   */
  export type VehicleGeofenceHistoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter, which VehicleGeofenceHistory to fetch.
     */
    where?: VehicleGeofenceHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleGeofenceHistories to fetch.
     */
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for VehicleGeofenceHistories.
     */
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleGeofenceHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleGeofenceHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of VehicleGeofenceHistories.
     */
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * VehicleGeofenceHistory findMany
   */
  export type VehicleGeofenceHistoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter, which VehicleGeofenceHistories to fetch.
     */
    where?: VehicleGeofenceHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of VehicleGeofenceHistories to fetch.
     */
    orderBy?: VehicleGeofenceHistoryOrderByWithRelationInput | VehicleGeofenceHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing VehicleGeofenceHistories.
     */
    cursor?: VehicleGeofenceHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` VehicleGeofenceHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` VehicleGeofenceHistories.
     */
    skip?: number
    distinct?: VehicleGeofenceHistoryScalarFieldEnum | VehicleGeofenceHistoryScalarFieldEnum[]
  }

  /**
   * VehicleGeofenceHistory create
   */
  export type VehicleGeofenceHistoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * The data needed to create a VehicleGeofenceHistory.
     */
    data: XOR<VehicleGeofenceHistoryCreateInput, VehicleGeofenceHistoryUncheckedCreateInput>
  }

  /**
   * VehicleGeofenceHistory createMany
   */
  export type VehicleGeofenceHistoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many VehicleGeofenceHistories.
     */
    data: VehicleGeofenceHistoryCreateManyInput | VehicleGeofenceHistoryCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * VehicleGeofenceHistory createManyAndReturn
   */
  export type VehicleGeofenceHistoryCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many VehicleGeofenceHistories.
     */
    data: VehicleGeofenceHistoryCreateManyInput | VehicleGeofenceHistoryCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * VehicleGeofenceHistory update
   */
  export type VehicleGeofenceHistoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * The data needed to update a VehicleGeofenceHistory.
     */
    data: XOR<VehicleGeofenceHistoryUpdateInput, VehicleGeofenceHistoryUncheckedUpdateInput>
    /**
     * Choose, which VehicleGeofenceHistory to update.
     */
    where: VehicleGeofenceHistoryWhereUniqueInput
  }

  /**
   * VehicleGeofenceHistory updateMany
   */
  export type VehicleGeofenceHistoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update VehicleGeofenceHistories.
     */
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyInput>
    /**
     * Filter which VehicleGeofenceHistories to update
     */
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * VehicleGeofenceHistory upsert
   */
  export type VehicleGeofenceHistoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * The filter to search for the VehicleGeofenceHistory to update in case it exists.
     */
    where: VehicleGeofenceHistoryWhereUniqueInput
    /**
     * In case the VehicleGeofenceHistory found by the `where` argument doesn't exist, create a new VehicleGeofenceHistory with this data.
     */
    create: XOR<VehicleGeofenceHistoryCreateInput, VehicleGeofenceHistoryUncheckedCreateInput>
    /**
     * In case the VehicleGeofenceHistory was found with the provided `where` argument, update it with this data.
     */
    update: XOR<VehicleGeofenceHistoryUpdateInput, VehicleGeofenceHistoryUncheckedUpdateInput>
  }

  /**
   * VehicleGeofenceHistory delete
   */
  export type VehicleGeofenceHistoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
    /**
     * Filter which VehicleGeofenceHistory to delete.
     */
    where: VehicleGeofenceHistoryWhereUniqueInput
  }

  /**
   * VehicleGeofenceHistory deleteMany
   */
  export type VehicleGeofenceHistoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which VehicleGeofenceHistories to delete
     */
    where?: VehicleGeofenceHistoryWhereInput
  }

  /**
   * VehicleGeofenceHistory.driver
   */
  export type VehicleGeofenceHistory$driverArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the User
     */
    select?: UserSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: UserInclude<ExtArgs> | null
    where?: UserWhereInput
  }

  /**
   * VehicleGeofenceHistory without action
   */
  export type VehicleGeofenceHistoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the VehicleGeofenceHistory
     */
    select?: VehicleGeofenceHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: VehicleGeofenceHistoryInclude<ExtArgs> | null
  }


  /**
   * Model CustomerGeoFenceMapping
   */

  export type AggregateCustomerGeoFenceMapping = {
    _count: CustomerGeoFenceMappingCountAggregateOutputType | null
    _avg: CustomerGeoFenceMappingAvgAggregateOutputType | null
    _sum: CustomerGeoFenceMappingSumAggregateOutputType | null
    _min: CustomerGeoFenceMappingMinAggregateOutputType | null
    _max: CustomerGeoFenceMappingMaxAggregateOutputType | null
  }

  export type CustomerGeoFenceMappingAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    geofence_id: number | null
    order_no: number | null
    customer_id: number | null
    created_by: number | null
  }

  export type CustomerGeoFenceMappingSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    status_id: number | null
    geofence_id: number | null
    order_no: number | null
    customer_id: number | null
    created_by: number | null
  }

  export type CustomerGeoFenceMappingMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    geofence_id: number | null
    order_no: number | null
    customer_id: number | null
    description: string | null
    created_by: number | null
    created_at: Date | null
  }

  export type CustomerGeoFenceMappingMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    company_id: number | null
    status_id: number | null
    geofence_id: number | null
    order_no: number | null
    customer_id: number | null
    description: string | null
    created_by: number | null
    created_at: Date | null
  }

  export type CustomerGeoFenceMappingCountAggregateOutputType = {
    id: number
    uuid: number
    company_id: number
    status_id: number
    geofence_id: number
    order_no: number
    customer_id: number
    description: number
    created_by: number
    created_at: number
    _all: number
  }


  export type CustomerGeoFenceMappingAvgAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    geofence_id?: true
    order_no?: true
    customer_id?: true
    created_by?: true
  }

  export type CustomerGeoFenceMappingSumAggregateInputType = {
    id?: true
    company_id?: true
    status_id?: true
    geofence_id?: true
    order_no?: true
    customer_id?: true
    created_by?: true
  }

  export type CustomerGeoFenceMappingMinAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    geofence_id?: true
    order_no?: true
    customer_id?: true
    description?: true
    created_by?: true
    created_at?: true
  }

  export type CustomerGeoFenceMappingMaxAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    geofence_id?: true
    order_no?: true
    customer_id?: true
    description?: true
    created_by?: true
    created_at?: true
  }

  export type CustomerGeoFenceMappingCountAggregateInputType = {
    id?: true
    uuid?: true
    company_id?: true
    status_id?: true
    geofence_id?: true
    order_no?: true
    customer_id?: true
    description?: true
    created_by?: true
    created_at?: true
    _all?: true
  }

  export type CustomerGeoFenceMappingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CustomerGeoFenceMapping to aggregate.
     */
    where?: CustomerGeoFenceMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerGeoFenceMappings to fetch.
     */
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerGeoFenceMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerGeoFenceMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned CustomerGeoFenceMappings
    **/
    _count?: true | CustomerGeoFenceMappingCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: CustomerGeoFenceMappingAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: CustomerGeoFenceMappingSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: CustomerGeoFenceMappingMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: CustomerGeoFenceMappingMaxAggregateInputType
  }

  export type GetCustomerGeoFenceMappingAggregateType<T extends CustomerGeoFenceMappingAggregateArgs> = {
        [P in keyof T & keyof AggregateCustomerGeoFenceMapping]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateCustomerGeoFenceMapping[P]>
      : GetScalarType<T[P], AggregateCustomerGeoFenceMapping[P]>
  }




  export type CustomerGeoFenceMappingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: CustomerGeoFenceMappingWhereInput
    orderBy?: CustomerGeoFenceMappingOrderByWithAggregationInput | CustomerGeoFenceMappingOrderByWithAggregationInput[]
    by: CustomerGeoFenceMappingScalarFieldEnum[] | CustomerGeoFenceMappingScalarFieldEnum
    having?: CustomerGeoFenceMappingScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: CustomerGeoFenceMappingCountAggregateInputType | true
    _avg?: CustomerGeoFenceMappingAvgAggregateInputType
    _sum?: CustomerGeoFenceMappingSumAggregateInputType
    _min?: CustomerGeoFenceMappingMinAggregateInputType
    _max?: CustomerGeoFenceMappingMaxAggregateInputType
  }

  export type CustomerGeoFenceMappingGroupByOutputType = {
    id: number
    uuid: string
    company_id: number
    status_id: number
    geofence_id: number
    order_no: number
    customer_id: number
    description: string | null
    created_by: number | null
    created_at: Date
    _count: CustomerGeoFenceMappingCountAggregateOutputType | null
    _avg: CustomerGeoFenceMappingAvgAggregateOutputType | null
    _sum: CustomerGeoFenceMappingSumAggregateOutputType | null
    _min: CustomerGeoFenceMappingMinAggregateOutputType | null
    _max: CustomerGeoFenceMappingMaxAggregateOutputType | null
  }

  type GetCustomerGeoFenceMappingGroupByPayload<T extends CustomerGeoFenceMappingGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<CustomerGeoFenceMappingGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof CustomerGeoFenceMappingGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], CustomerGeoFenceMappingGroupByOutputType[P]>
            : GetScalarType<T[P], CustomerGeoFenceMappingGroupByOutputType[P]>
        }
      >
    >


  export type CustomerGeoFenceMappingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    geofence_id?: boolean
    order_no?: boolean
    customer_id?: boolean
    description?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["customerGeoFenceMapping"]>

  export type CustomerGeoFenceMappingSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    geofence_id?: boolean
    order_no?: boolean
    customer_id?: boolean
    description?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["customerGeoFenceMapping"]>

  export type CustomerGeoFenceMappingSelectScalar = {
    id?: boolean
    uuid?: boolean
    company_id?: boolean
    status_id?: boolean
    geofence_id?: boolean
    order_no?: boolean
    customer_id?: boolean
    description?: boolean
    created_by?: boolean
    created_at?: boolean
  }

  export type CustomerGeoFenceMappingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }
  export type CustomerGeoFenceMappingIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    geofence?: boolean | GeoFencesDefaultArgs<ExtArgs>
    user?: boolean | UserDefaultArgs<ExtArgs>
  }

  export type $CustomerGeoFenceMappingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "CustomerGeoFenceMapping"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      geofence: Prisma.$GeoFencesPayload<ExtArgs>
      user: Prisma.$UserPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      company_id: number
      status_id: number
      geofence_id: number
      order_no: number
      customer_id: number
      description: string | null
      created_by: number | null
      created_at: Date
    }, ExtArgs["result"]["customerGeoFenceMapping"]>
    composites: {}
  }

  type CustomerGeoFenceMappingGetPayload<S extends boolean | null | undefined | CustomerGeoFenceMappingDefaultArgs> = $Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload, S>

  type CustomerGeoFenceMappingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<CustomerGeoFenceMappingFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: CustomerGeoFenceMappingCountAggregateInputType | true
    }

  export interface CustomerGeoFenceMappingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CustomerGeoFenceMapping'], meta: { name: 'CustomerGeoFenceMapping' } }
    /**
     * Find zero or one CustomerGeoFenceMapping that matches the filter.
     * @param {CustomerGeoFenceMappingFindUniqueArgs} args - Arguments to find a CustomerGeoFenceMapping
     * @example
     * // Get one CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends CustomerGeoFenceMappingFindUniqueArgs>(args: SelectSubset<T, CustomerGeoFenceMappingFindUniqueArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one CustomerGeoFenceMapping that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {CustomerGeoFenceMappingFindUniqueOrThrowArgs} args - Arguments to find a CustomerGeoFenceMapping
     * @example
     * // Get one CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends CustomerGeoFenceMappingFindUniqueOrThrowArgs>(args: SelectSubset<T, CustomerGeoFenceMappingFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first CustomerGeoFenceMapping that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingFindFirstArgs} args - Arguments to find a CustomerGeoFenceMapping
     * @example
     * // Get one CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends CustomerGeoFenceMappingFindFirstArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingFindFirstArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first CustomerGeoFenceMapping that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingFindFirstOrThrowArgs} args - Arguments to find a CustomerGeoFenceMapping
     * @example
     * // Get one CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends CustomerGeoFenceMappingFindFirstOrThrowArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingFindFirstOrThrowArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more CustomerGeoFenceMappings that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all CustomerGeoFenceMappings
     * const customerGeoFenceMappings = await prisma.customerGeoFenceMapping.findMany()
     * 
     * // Get first 10 CustomerGeoFenceMappings
     * const customerGeoFenceMappings = await prisma.customerGeoFenceMapping.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const customerGeoFenceMappingWithIdOnly = await prisma.customerGeoFenceMapping.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends CustomerGeoFenceMappingFindManyArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a CustomerGeoFenceMapping.
     * @param {CustomerGeoFenceMappingCreateArgs} args - Arguments to create a CustomerGeoFenceMapping.
     * @example
     * // Create one CustomerGeoFenceMapping
     * const CustomerGeoFenceMapping = await prisma.customerGeoFenceMapping.create({
     *   data: {
     *     // ... data to create a CustomerGeoFenceMapping
     *   }
     * })
     * 
     */
    create<T extends CustomerGeoFenceMappingCreateArgs>(args: SelectSubset<T, CustomerGeoFenceMappingCreateArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many CustomerGeoFenceMappings.
     * @param {CustomerGeoFenceMappingCreateManyArgs} args - Arguments to create many CustomerGeoFenceMappings.
     * @example
     * // Create many CustomerGeoFenceMappings
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends CustomerGeoFenceMappingCreateManyArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many CustomerGeoFenceMappings and returns the data saved in the database.
     * @param {CustomerGeoFenceMappingCreateManyAndReturnArgs} args - Arguments to create many CustomerGeoFenceMappings.
     * @example
     * // Create many CustomerGeoFenceMappings
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many CustomerGeoFenceMappings and only return the `id`
     * const customerGeoFenceMappingWithIdOnly = await prisma.customerGeoFenceMapping.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends CustomerGeoFenceMappingCreateManyAndReturnArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a CustomerGeoFenceMapping.
     * @param {CustomerGeoFenceMappingDeleteArgs} args - Arguments to delete one CustomerGeoFenceMapping.
     * @example
     * // Delete one CustomerGeoFenceMapping
     * const CustomerGeoFenceMapping = await prisma.customerGeoFenceMapping.delete({
     *   where: {
     *     // ... filter to delete one CustomerGeoFenceMapping
     *   }
     * })
     * 
     */
    delete<T extends CustomerGeoFenceMappingDeleteArgs>(args: SelectSubset<T, CustomerGeoFenceMappingDeleteArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one CustomerGeoFenceMapping.
     * @param {CustomerGeoFenceMappingUpdateArgs} args - Arguments to update one CustomerGeoFenceMapping.
     * @example
     * // Update one CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends CustomerGeoFenceMappingUpdateArgs>(args: SelectSubset<T, CustomerGeoFenceMappingUpdateArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more CustomerGeoFenceMappings.
     * @param {CustomerGeoFenceMappingDeleteManyArgs} args - Arguments to filter CustomerGeoFenceMappings to delete.
     * @example
     * // Delete a few CustomerGeoFenceMappings
     * const { count } = await prisma.customerGeoFenceMapping.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends CustomerGeoFenceMappingDeleteManyArgs>(args?: SelectSubset<T, CustomerGeoFenceMappingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more CustomerGeoFenceMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many CustomerGeoFenceMappings
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends CustomerGeoFenceMappingUpdateManyArgs>(args: SelectSubset<T, CustomerGeoFenceMappingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one CustomerGeoFenceMapping.
     * @param {CustomerGeoFenceMappingUpsertArgs} args - Arguments to update or create a CustomerGeoFenceMapping.
     * @example
     * // Update or create a CustomerGeoFenceMapping
     * const customerGeoFenceMapping = await prisma.customerGeoFenceMapping.upsert({
     *   create: {
     *     // ... data to create a CustomerGeoFenceMapping
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the CustomerGeoFenceMapping we want to update
     *   }
     * })
     */
    upsert<T extends CustomerGeoFenceMappingUpsertArgs>(args: SelectSubset<T, CustomerGeoFenceMappingUpsertArgs<ExtArgs>>): Prisma__CustomerGeoFenceMappingClient<$Result.GetResult<Prisma.$CustomerGeoFenceMappingPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of CustomerGeoFenceMappings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingCountArgs} args - Arguments to filter CustomerGeoFenceMappings to count.
     * @example
     * // Count the number of CustomerGeoFenceMappings
     * const count = await prisma.customerGeoFenceMapping.count({
     *   where: {
     *     // ... the filter for the CustomerGeoFenceMappings we want to count
     *   }
     * })
    **/
    count<T extends CustomerGeoFenceMappingCountArgs>(
      args?: Subset<T, CustomerGeoFenceMappingCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], CustomerGeoFenceMappingCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a CustomerGeoFenceMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends CustomerGeoFenceMappingAggregateArgs>(args: Subset<T, CustomerGeoFenceMappingAggregateArgs>): Prisma.PrismaPromise<GetCustomerGeoFenceMappingAggregateType<T>>

    /**
     * Group by CustomerGeoFenceMapping.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {CustomerGeoFenceMappingGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends CustomerGeoFenceMappingGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: CustomerGeoFenceMappingGroupByArgs['orderBy'] }
        : { orderBy?: CustomerGeoFenceMappingGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, CustomerGeoFenceMappingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCustomerGeoFenceMappingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the CustomerGeoFenceMapping model
   */
  readonly fields: CustomerGeoFenceMappingFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for CustomerGeoFenceMapping.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__CustomerGeoFenceMappingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    geofence<T extends GeoFencesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, GeoFencesDefaultArgs<ExtArgs>>): Prisma__GeoFencesClient<$Result.GetResult<Prisma.$GeoFencesPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the CustomerGeoFenceMapping model
   */ 
  interface CustomerGeoFenceMappingFieldRefs {
    readonly id: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly uuid: FieldRef<"CustomerGeoFenceMapping", 'String'>
    readonly company_id: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly status_id: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly geofence_id: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly order_no: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly customer_id: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly description: FieldRef<"CustomerGeoFenceMapping", 'String'>
    readonly created_by: FieldRef<"CustomerGeoFenceMapping", 'Int'>
    readonly created_at: FieldRef<"CustomerGeoFenceMapping", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * CustomerGeoFenceMapping findUnique
   */
  export type CustomerGeoFenceMappingFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter, which CustomerGeoFenceMapping to fetch.
     */
    where: CustomerGeoFenceMappingWhereUniqueInput
  }

  /**
   * CustomerGeoFenceMapping findUniqueOrThrow
   */
  export type CustomerGeoFenceMappingFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter, which CustomerGeoFenceMapping to fetch.
     */
    where: CustomerGeoFenceMappingWhereUniqueInput
  }

  /**
   * CustomerGeoFenceMapping findFirst
   */
  export type CustomerGeoFenceMappingFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter, which CustomerGeoFenceMapping to fetch.
     */
    where?: CustomerGeoFenceMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerGeoFenceMappings to fetch.
     */
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CustomerGeoFenceMappings.
     */
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerGeoFenceMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerGeoFenceMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CustomerGeoFenceMappings.
     */
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * CustomerGeoFenceMapping findFirstOrThrow
   */
  export type CustomerGeoFenceMappingFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter, which CustomerGeoFenceMapping to fetch.
     */
    where?: CustomerGeoFenceMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerGeoFenceMappings to fetch.
     */
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for CustomerGeoFenceMappings.
     */
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerGeoFenceMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerGeoFenceMappings.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of CustomerGeoFenceMappings.
     */
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * CustomerGeoFenceMapping findMany
   */
  export type CustomerGeoFenceMappingFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter, which CustomerGeoFenceMappings to fetch.
     */
    where?: CustomerGeoFenceMappingWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of CustomerGeoFenceMappings to fetch.
     */
    orderBy?: CustomerGeoFenceMappingOrderByWithRelationInput | CustomerGeoFenceMappingOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing CustomerGeoFenceMappings.
     */
    cursor?: CustomerGeoFenceMappingWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` CustomerGeoFenceMappings from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` CustomerGeoFenceMappings.
     */
    skip?: number
    distinct?: CustomerGeoFenceMappingScalarFieldEnum | CustomerGeoFenceMappingScalarFieldEnum[]
  }

  /**
   * CustomerGeoFenceMapping create
   */
  export type CustomerGeoFenceMappingCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * The data needed to create a CustomerGeoFenceMapping.
     */
    data: XOR<CustomerGeoFenceMappingCreateInput, CustomerGeoFenceMappingUncheckedCreateInput>
  }

  /**
   * CustomerGeoFenceMapping createMany
   */
  export type CustomerGeoFenceMappingCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many CustomerGeoFenceMappings.
     */
    data: CustomerGeoFenceMappingCreateManyInput | CustomerGeoFenceMappingCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * CustomerGeoFenceMapping createManyAndReturn
   */
  export type CustomerGeoFenceMappingCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many CustomerGeoFenceMappings.
     */
    data: CustomerGeoFenceMappingCreateManyInput | CustomerGeoFenceMappingCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * CustomerGeoFenceMapping update
   */
  export type CustomerGeoFenceMappingUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * The data needed to update a CustomerGeoFenceMapping.
     */
    data: XOR<CustomerGeoFenceMappingUpdateInput, CustomerGeoFenceMappingUncheckedUpdateInput>
    /**
     * Choose, which CustomerGeoFenceMapping to update.
     */
    where: CustomerGeoFenceMappingWhereUniqueInput
  }

  /**
   * CustomerGeoFenceMapping updateMany
   */
  export type CustomerGeoFenceMappingUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update CustomerGeoFenceMappings.
     */
    data: XOR<CustomerGeoFenceMappingUpdateManyMutationInput, CustomerGeoFenceMappingUncheckedUpdateManyInput>
    /**
     * Filter which CustomerGeoFenceMappings to update
     */
    where?: CustomerGeoFenceMappingWhereInput
  }

  /**
   * CustomerGeoFenceMapping upsert
   */
  export type CustomerGeoFenceMappingUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * The filter to search for the CustomerGeoFenceMapping to update in case it exists.
     */
    where: CustomerGeoFenceMappingWhereUniqueInput
    /**
     * In case the CustomerGeoFenceMapping found by the `where` argument doesn't exist, create a new CustomerGeoFenceMapping with this data.
     */
    create: XOR<CustomerGeoFenceMappingCreateInput, CustomerGeoFenceMappingUncheckedCreateInput>
    /**
     * In case the CustomerGeoFenceMapping was found with the provided `where` argument, update it with this data.
     */
    update: XOR<CustomerGeoFenceMappingUpdateInput, CustomerGeoFenceMappingUncheckedUpdateInput>
  }

  /**
   * CustomerGeoFenceMapping delete
   */
  export type CustomerGeoFenceMappingDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
    /**
     * Filter which CustomerGeoFenceMapping to delete.
     */
    where: CustomerGeoFenceMappingWhereUniqueInput
  }

  /**
   * CustomerGeoFenceMapping deleteMany
   */
  export type CustomerGeoFenceMappingDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which CustomerGeoFenceMappings to delete
     */
    where?: CustomerGeoFenceMappingWhereInput
  }

  /**
   * CustomerGeoFenceMapping without action
   */
  export type CustomerGeoFenceMappingDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the CustomerGeoFenceMapping
     */
    select?: CustomerGeoFenceMappingSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: CustomerGeoFenceMappingInclude<ExtArgs> | null
  }


  /**
   * Model ErpLogs
   */

  export type AggregateErpLogs = {
    _count: ErpLogsCountAggregateOutputType | null
    _avg: ErpLogsAvgAggregateOutputType | null
    _sum: ErpLogsSumAggregateOutputType | null
    _min: ErpLogsMinAggregateOutputType | null
    _max: ErpLogsMaxAggregateOutputType | null
  }

  export type ErpLogsAvgAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    status_id: number | null
  }

  export type ErpLogsSumAggregateOutputType = {
    id: number | null
    company_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
    status_id: number | null
  }

  export type ErpLogsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    req_method: string | null
    req_url: string | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date | null
    deleted_at: Date | null
    status_id: number | null
    sync_status: $Enums.SyncData | null
    sync_number: string | null
  }

  export type ErpLogsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    req_method: string | null
    req_url: string | null
    company_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date | null
    deleted_at: Date | null
    status_id: number | null
    sync_status: $Enums.SyncData | null
    sync_number: string | null
  }

  export type ErpLogsCountAggregateOutputType = {
    id: number
    uuid: number
    req_method: number
    req_url: number
    req_body: number
    company_id: number
    created_by: number
    created_at: number
    updated_by: number
    deleted_by: number
    updated_at: number
    deleted_at: number
    response_object: number
    status_id: number
    sync_status: number
    sync_number: number
    _all: number
  }


  export type ErpLogsAvgAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    status_id?: true
  }

  export type ErpLogsSumAggregateInputType = {
    id?: true
    company_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
    status_id?: true
  }

  export type ErpLogsMinAggregateInputType = {
    id?: true
    uuid?: true
    req_method?: true
    req_url?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
    status_id?: true
    sync_status?: true
    sync_number?: true
  }

  export type ErpLogsMaxAggregateInputType = {
    id?: true
    uuid?: true
    req_method?: true
    req_url?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
    status_id?: true
    sync_status?: true
    sync_number?: true
  }

  export type ErpLogsCountAggregateInputType = {
    id?: true
    uuid?: true
    req_method?: true
    req_url?: true
    req_body?: true
    company_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
    response_object?: true
    status_id?: true
    sync_status?: true
    sync_number?: true
    _all?: true
  }

  export type ErpLogsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ErpLogs to aggregate.
     */
    where?: ErpLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogs to fetch.
     */
    orderBy?: ErpLogsOrderByWithRelationInput | ErpLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ErpLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ErpLogs
    **/
    _count?: true | ErpLogsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ErpLogsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ErpLogsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ErpLogsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ErpLogsMaxAggregateInputType
  }

  export type GetErpLogsAggregateType<T extends ErpLogsAggregateArgs> = {
        [P in keyof T & keyof AggregateErpLogs]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateErpLogs[P]>
      : GetScalarType<T[P], AggregateErpLogs[P]>
  }




  export type ErpLogsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ErpLogsWhereInput
    orderBy?: ErpLogsOrderByWithAggregationInput | ErpLogsOrderByWithAggregationInput[]
    by: ErpLogsScalarFieldEnum[] | ErpLogsScalarFieldEnum
    having?: ErpLogsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ErpLogsCountAggregateInputType | true
    _avg?: ErpLogsAvgAggregateInputType
    _sum?: ErpLogsSumAggregateInputType
    _min?: ErpLogsMinAggregateInputType
    _max?: ErpLogsMaxAggregateInputType
  }

  export type ErpLogsGroupByOutputType = {
    id: number
    uuid: string
    req_method: string | null
    req_url: string | null
    req_body: JsonValue
    company_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date
    deleted_at: Date | null
    response_object: JsonValue | null
    status_id: number
    sync_status: $Enums.SyncData
    sync_number: string | null
    _count: ErpLogsCountAggregateOutputType | null
    _avg: ErpLogsAvgAggregateOutputType | null
    _sum: ErpLogsSumAggregateOutputType | null
    _min: ErpLogsMinAggregateOutputType | null
    _max: ErpLogsMaxAggregateOutputType | null
  }

  type GetErpLogsGroupByPayload<T extends ErpLogsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ErpLogsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ErpLogsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ErpLogsGroupByOutputType[P]>
            : GetScalarType<T[P], ErpLogsGroupByOutputType[P]>
        }
      >
    >


  export type ErpLogsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    response_object?: boolean
    status_id?: boolean
    sync_status?: boolean
    sync_number?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    erp_logs_line_items?: boolean | ErpLogs$erp_logs_line_itemsArgs<ExtArgs>
    _count?: boolean | ErpLogsCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["erpLogs"]>

  export type ErpLogsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    response_object?: boolean
    status_id?: boolean
    sync_status?: boolean
    sync_number?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["erpLogs"]>

  export type ErpLogsSelectScalar = {
    id?: boolean
    uuid?: boolean
    req_method?: boolean
    req_url?: boolean
    req_body?: boolean
    company_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    response_object?: boolean
    status_id?: boolean
    sync_status?: boolean
    sync_number?: boolean
  }

  export type ErpLogsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    erp_logs_line_items?: boolean | ErpLogs$erp_logs_line_itemsArgs<ExtArgs>
    _count?: boolean | ErpLogsCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ErpLogsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ErpLogsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ErpLogs"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      erp_logs_line_items: Prisma.$ErpLogsLineItemsPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      req_method: string | null
      req_url: string | null
      req_body: Prisma.JsonValue
      company_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      deleted_by: number | null
      updated_at: Date
      deleted_at: Date | null
      response_object: Prisma.JsonValue | null
      status_id: number
      sync_status: $Enums.SyncData
      sync_number: string | null
    }, ExtArgs["result"]["erpLogs"]>
    composites: {}
  }

  type ErpLogsGetPayload<S extends boolean | null | undefined | ErpLogsDefaultArgs> = $Result.GetResult<Prisma.$ErpLogsPayload, S>

  type ErpLogsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ErpLogsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ErpLogsCountAggregateInputType | true
    }

  export interface ErpLogsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ErpLogs'], meta: { name: 'ErpLogs' } }
    /**
     * Find zero or one ErpLogs that matches the filter.
     * @param {ErpLogsFindUniqueArgs} args - Arguments to find a ErpLogs
     * @example
     * // Get one ErpLogs
     * const erpLogs = await prisma.erpLogs.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ErpLogsFindUniqueArgs>(args: SelectSubset<T, ErpLogsFindUniqueArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ErpLogs that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ErpLogsFindUniqueOrThrowArgs} args - Arguments to find a ErpLogs
     * @example
     * // Get one ErpLogs
     * const erpLogs = await prisma.erpLogs.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ErpLogsFindUniqueOrThrowArgs>(args: SelectSubset<T, ErpLogsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ErpLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsFindFirstArgs} args - Arguments to find a ErpLogs
     * @example
     * // Get one ErpLogs
     * const erpLogs = await prisma.erpLogs.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ErpLogsFindFirstArgs>(args?: SelectSubset<T, ErpLogsFindFirstArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ErpLogs that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsFindFirstOrThrowArgs} args - Arguments to find a ErpLogs
     * @example
     * // Get one ErpLogs
     * const erpLogs = await prisma.erpLogs.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ErpLogsFindFirstOrThrowArgs>(args?: SelectSubset<T, ErpLogsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ErpLogs that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ErpLogs
     * const erpLogs = await prisma.erpLogs.findMany()
     * 
     * // Get first 10 ErpLogs
     * const erpLogs = await prisma.erpLogs.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const erpLogsWithIdOnly = await prisma.erpLogs.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ErpLogsFindManyArgs>(args?: SelectSubset<T, ErpLogsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ErpLogs.
     * @param {ErpLogsCreateArgs} args - Arguments to create a ErpLogs.
     * @example
     * // Create one ErpLogs
     * const ErpLogs = await prisma.erpLogs.create({
     *   data: {
     *     // ... data to create a ErpLogs
     *   }
     * })
     * 
     */
    create<T extends ErpLogsCreateArgs>(args: SelectSubset<T, ErpLogsCreateArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ErpLogs.
     * @param {ErpLogsCreateManyArgs} args - Arguments to create many ErpLogs.
     * @example
     * // Create many ErpLogs
     * const erpLogs = await prisma.erpLogs.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ErpLogsCreateManyArgs>(args?: SelectSubset<T, ErpLogsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ErpLogs and returns the data saved in the database.
     * @param {ErpLogsCreateManyAndReturnArgs} args - Arguments to create many ErpLogs.
     * @example
     * // Create many ErpLogs
     * const erpLogs = await prisma.erpLogs.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ErpLogs and only return the `id`
     * const erpLogsWithIdOnly = await prisma.erpLogs.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ErpLogsCreateManyAndReturnArgs>(args?: SelectSubset<T, ErpLogsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ErpLogs.
     * @param {ErpLogsDeleteArgs} args - Arguments to delete one ErpLogs.
     * @example
     * // Delete one ErpLogs
     * const ErpLogs = await prisma.erpLogs.delete({
     *   where: {
     *     // ... filter to delete one ErpLogs
     *   }
     * })
     * 
     */
    delete<T extends ErpLogsDeleteArgs>(args: SelectSubset<T, ErpLogsDeleteArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ErpLogs.
     * @param {ErpLogsUpdateArgs} args - Arguments to update one ErpLogs.
     * @example
     * // Update one ErpLogs
     * const erpLogs = await prisma.erpLogs.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ErpLogsUpdateArgs>(args: SelectSubset<T, ErpLogsUpdateArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ErpLogs.
     * @param {ErpLogsDeleteManyArgs} args - Arguments to filter ErpLogs to delete.
     * @example
     * // Delete a few ErpLogs
     * const { count } = await prisma.erpLogs.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ErpLogsDeleteManyArgs>(args?: SelectSubset<T, ErpLogsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ErpLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ErpLogs
     * const erpLogs = await prisma.erpLogs.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ErpLogsUpdateManyArgs>(args: SelectSubset<T, ErpLogsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ErpLogs.
     * @param {ErpLogsUpsertArgs} args - Arguments to update or create a ErpLogs.
     * @example
     * // Update or create a ErpLogs
     * const erpLogs = await prisma.erpLogs.upsert({
     *   create: {
     *     // ... data to create a ErpLogs
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ErpLogs we want to update
     *   }
     * })
     */
    upsert<T extends ErpLogsUpsertArgs>(args: SelectSubset<T, ErpLogsUpsertArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ErpLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsCountArgs} args - Arguments to filter ErpLogs to count.
     * @example
     * // Count the number of ErpLogs
     * const count = await prisma.erpLogs.count({
     *   where: {
     *     // ... the filter for the ErpLogs we want to count
     *   }
     * })
    **/
    count<T extends ErpLogsCountArgs>(
      args?: Subset<T, ErpLogsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ErpLogsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ErpLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ErpLogsAggregateArgs>(args: Subset<T, ErpLogsAggregateArgs>): Prisma.PrismaPromise<GetErpLogsAggregateType<T>>

    /**
     * Group by ErpLogs.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ErpLogsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ErpLogsGroupByArgs['orderBy'] }
        : { orderBy?: ErpLogsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ErpLogsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetErpLogsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ErpLogs model
   */
  readonly fields: ErpLogsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ErpLogs.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ErpLogsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    erp_logs_line_items<T extends ErpLogs$erp_logs_line_itemsArgs<ExtArgs> = {}>(args?: Subset<T, ErpLogs$erp_logs_line_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ErpLogs model
   */ 
  interface ErpLogsFieldRefs {
    readonly id: FieldRef<"ErpLogs", 'Int'>
    readonly uuid: FieldRef<"ErpLogs", 'String'>
    readonly req_method: FieldRef<"ErpLogs", 'String'>
    readonly req_url: FieldRef<"ErpLogs", 'String'>
    readonly req_body: FieldRef<"ErpLogs", 'Json'>
    readonly company_id: FieldRef<"ErpLogs", 'Int'>
    readonly created_by: FieldRef<"ErpLogs", 'Int'>
    readonly created_at: FieldRef<"ErpLogs", 'DateTime'>
    readonly updated_by: FieldRef<"ErpLogs", 'Int'>
    readonly deleted_by: FieldRef<"ErpLogs", 'Int'>
    readonly updated_at: FieldRef<"ErpLogs", 'DateTime'>
    readonly deleted_at: FieldRef<"ErpLogs", 'DateTime'>
    readonly response_object: FieldRef<"ErpLogs", 'Json'>
    readonly status_id: FieldRef<"ErpLogs", 'Int'>
    readonly sync_status: FieldRef<"ErpLogs", 'SyncData'>
    readonly sync_number: FieldRef<"ErpLogs", 'String'>
  }
    

  // Custom InputTypes
  /**
   * ErpLogs findUnique
   */
  export type ErpLogsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogs to fetch.
     */
    where: ErpLogsWhereUniqueInput
  }

  /**
   * ErpLogs findUniqueOrThrow
   */
  export type ErpLogsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogs to fetch.
     */
    where: ErpLogsWhereUniqueInput
  }

  /**
   * ErpLogs findFirst
   */
  export type ErpLogsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogs to fetch.
     */
    where?: ErpLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogs to fetch.
     */
    orderBy?: ErpLogsOrderByWithRelationInput | ErpLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ErpLogs.
     */
    cursor?: ErpLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ErpLogs.
     */
    distinct?: ErpLogsScalarFieldEnum | ErpLogsScalarFieldEnum[]
  }

  /**
   * ErpLogs findFirstOrThrow
   */
  export type ErpLogsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogs to fetch.
     */
    where?: ErpLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogs to fetch.
     */
    orderBy?: ErpLogsOrderByWithRelationInput | ErpLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ErpLogs.
     */
    cursor?: ErpLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogs.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ErpLogs.
     */
    distinct?: ErpLogsScalarFieldEnum | ErpLogsScalarFieldEnum[]
  }

  /**
   * ErpLogs findMany
   */
  export type ErpLogsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogs to fetch.
     */
    where?: ErpLogsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogs to fetch.
     */
    orderBy?: ErpLogsOrderByWithRelationInput | ErpLogsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ErpLogs.
     */
    cursor?: ErpLogsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogs from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogs.
     */
    skip?: number
    distinct?: ErpLogsScalarFieldEnum | ErpLogsScalarFieldEnum[]
  }

  /**
   * ErpLogs create
   */
  export type ErpLogsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * The data needed to create a ErpLogs.
     */
    data: XOR<ErpLogsCreateInput, ErpLogsUncheckedCreateInput>
  }

  /**
   * ErpLogs createMany
   */
  export type ErpLogsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ErpLogs.
     */
    data: ErpLogsCreateManyInput | ErpLogsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ErpLogs createManyAndReturn
   */
  export type ErpLogsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ErpLogs.
     */
    data: ErpLogsCreateManyInput | ErpLogsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ErpLogs update
   */
  export type ErpLogsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * The data needed to update a ErpLogs.
     */
    data: XOR<ErpLogsUpdateInput, ErpLogsUncheckedUpdateInput>
    /**
     * Choose, which ErpLogs to update.
     */
    where: ErpLogsWhereUniqueInput
  }

  /**
   * ErpLogs updateMany
   */
  export type ErpLogsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ErpLogs.
     */
    data: XOR<ErpLogsUpdateManyMutationInput, ErpLogsUncheckedUpdateManyInput>
    /**
     * Filter which ErpLogs to update
     */
    where?: ErpLogsWhereInput
  }

  /**
   * ErpLogs upsert
   */
  export type ErpLogsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * The filter to search for the ErpLogs to update in case it exists.
     */
    where: ErpLogsWhereUniqueInput
    /**
     * In case the ErpLogs found by the `where` argument doesn't exist, create a new ErpLogs with this data.
     */
    create: XOR<ErpLogsCreateInput, ErpLogsUncheckedCreateInput>
    /**
     * In case the ErpLogs was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ErpLogsUpdateInput, ErpLogsUncheckedUpdateInput>
  }

  /**
   * ErpLogs delete
   */
  export type ErpLogsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
    /**
     * Filter which ErpLogs to delete.
     */
    where: ErpLogsWhereUniqueInput
  }

  /**
   * ErpLogs deleteMany
   */
  export type ErpLogsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ErpLogs to delete
     */
    where?: ErpLogsWhereInput
  }

  /**
   * ErpLogs.erp_logs_line_items
   */
  export type ErpLogs$erp_logs_line_itemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    where?: ErpLogsLineItemsWhereInput
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    cursor?: ErpLogsLineItemsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ErpLogsLineItemsScalarFieldEnum | ErpLogsLineItemsScalarFieldEnum[]
  }

  /**
   * ErpLogs without action
   */
  export type ErpLogsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogs
     */
    select?: ErpLogsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsInclude<ExtArgs> | null
  }


  /**
   * Model ErpLogsLineItems
   */

  export type AggregateErpLogsLineItems = {
    _count: ErpLogsLineItemsCountAggregateOutputType | null
    _avg: ErpLogsLineItemsAvgAggregateOutputType | null
    _sum: ErpLogsLineItemsSumAggregateOutputType | null
    _min: ErpLogsLineItemsMinAggregateOutputType | null
    _max: ErpLogsLineItemsMaxAggregateOutputType | null
  }

  export type ErpLogsLineItemsAvgAggregateOutputType = {
    id: number | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    erp_logs_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ErpLogsLineItemsSumAggregateOutputType = {
    id: number | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    erp_logs_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    updated_by: number | null
    deleted_by: number | null
  }

  export type ErpLogsLineItemsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_number: string | null
    date_of_issue: Date | null
    customer_order_number: string | null
    reference_number: string | null
    shipment_type: string | null
    line_item_sync_status: $Enums.LineItemSyncStatus | null
    supply_agreement: string | null
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    erp_logs_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ErpLogsLineItemsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    delivery_note_number: string | null
    date_of_issue: Date | null
    customer_order_number: string | null
    reference_number: string | null
    shipment_type: string | null
    line_item_sync_status: $Enums.LineItemSyncStatus | null
    supply_agreement: string | null
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    erp_logs_id: number | null
    company_id: number | null
    status_id: number | null
    created_by: number | null
    created_at: Date | null
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date | null
    deleted_at: Date | null
  }

  export type ErpLogsLineItemsCountAggregateOutputType = {
    id: number
    uuid: number
    delivery_note_number: number
    date_of_issue: number
    customer_order_number: number
    reference_number: number
    shipment_type: number
    line_item_sync_status: number
    supply_agreement: number
    purchase_reference: number
    alloy: number
    temper: number
    color: number
    aluminium_profiles: number
    number_of_boxes: number
    number_of_bundles: number
    erp_logs_id: number
    line_item: number
    company_id: number
    status_id: number
    created_by: number
    created_at: number
    updated_by: number
    deleted_by: number
    updated_at: number
    deleted_at: number
    _all: number
  }


  export type ErpLogsLineItemsAvgAggregateInputType = {
    id?: true
    number_of_boxes?: true
    number_of_bundles?: true
    erp_logs_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ErpLogsLineItemsSumAggregateInputType = {
    id?: true
    number_of_boxes?: true
    number_of_bundles?: true
    erp_logs_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    updated_by?: true
    deleted_by?: true
  }

  export type ErpLogsLineItemsMinAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    line_item_sync_status?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    erp_logs_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ErpLogsLineItemsMaxAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    line_item_sync_status?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    erp_logs_id?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
  }

  export type ErpLogsLineItemsCountAggregateInputType = {
    id?: true
    uuid?: true
    delivery_note_number?: true
    date_of_issue?: true
    customer_order_number?: true
    reference_number?: true
    shipment_type?: true
    line_item_sync_status?: true
    supply_agreement?: true
    purchase_reference?: true
    alloy?: true
    temper?: true
    color?: true
    aluminium_profiles?: true
    number_of_boxes?: true
    number_of_bundles?: true
    erp_logs_id?: true
    line_item?: true
    company_id?: true
    status_id?: true
    created_by?: true
    created_at?: true
    updated_by?: true
    deleted_by?: true
    updated_at?: true
    deleted_at?: true
    _all?: true
  }

  export type ErpLogsLineItemsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ErpLogsLineItems to aggregate.
     */
    where?: ErpLogsLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogsLineItems to fetch.
     */
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ErpLogsLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogsLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogsLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ErpLogsLineItems
    **/
    _count?: true | ErpLogsLineItemsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ErpLogsLineItemsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ErpLogsLineItemsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ErpLogsLineItemsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ErpLogsLineItemsMaxAggregateInputType
  }

  export type GetErpLogsLineItemsAggregateType<T extends ErpLogsLineItemsAggregateArgs> = {
        [P in keyof T & keyof AggregateErpLogsLineItems]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateErpLogsLineItems[P]>
      : GetScalarType<T[P], AggregateErpLogsLineItems[P]>
  }




  export type ErpLogsLineItemsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ErpLogsLineItemsWhereInput
    orderBy?: ErpLogsLineItemsOrderByWithAggregationInput | ErpLogsLineItemsOrderByWithAggregationInput[]
    by: ErpLogsLineItemsScalarFieldEnum[] | ErpLogsLineItemsScalarFieldEnum
    having?: ErpLogsLineItemsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ErpLogsLineItemsCountAggregateInputType | true
    _avg?: ErpLogsLineItemsAvgAggregateInputType
    _sum?: ErpLogsLineItemsSumAggregateInputType
    _min?: ErpLogsLineItemsMinAggregateInputType
    _max?: ErpLogsLineItemsMaxAggregateInputType
  }

  export type ErpLogsLineItemsGroupByOutputType = {
    id: number
    uuid: string
    delivery_note_number: string
    date_of_issue: Date
    customer_order_number: string
    reference_number: string
    shipment_type: string | null
    line_item_sync_status: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference: string | null
    alloy: string | null
    temper: string | null
    color: string | null
    aluminium_profiles: string | null
    number_of_boxes: number | null
    number_of_bundles: number | null
    erp_logs_id: number
    line_item: JsonValue
    company_id: number
    status_id: number
    created_by: number | null
    created_at: Date
    updated_by: number | null
    deleted_by: number | null
    updated_at: Date
    deleted_at: Date | null
    _count: ErpLogsLineItemsCountAggregateOutputType | null
    _avg: ErpLogsLineItemsAvgAggregateOutputType | null
    _sum: ErpLogsLineItemsSumAggregateOutputType | null
    _min: ErpLogsLineItemsMinAggregateOutputType | null
    _max: ErpLogsLineItemsMaxAggregateOutputType | null
  }

  type GetErpLogsLineItemsGroupByPayload<T extends ErpLogsLineItemsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ErpLogsLineItemsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ErpLogsLineItemsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ErpLogsLineItemsGroupByOutputType[P]>
            : GetScalarType<T[P], ErpLogsLineItemsGroupByOutputType[P]>
        }
      >
    >


  export type ErpLogsLineItemsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    line_item_sync_status?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    erp_logs_id?: boolean
    line_item?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    erp_logs?: boolean | ErpLogsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["erpLogsLineItems"]>

  export type ErpLogsLineItemsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    line_item_sync_status?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    erp_logs_id?: boolean
    line_item?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
    erp_logs?: boolean | ErpLogsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["erpLogsLineItems"]>

  export type ErpLogsLineItemsSelectScalar = {
    id?: boolean
    uuid?: boolean
    delivery_note_number?: boolean
    date_of_issue?: boolean
    customer_order_number?: boolean
    reference_number?: boolean
    shipment_type?: boolean
    line_item_sync_status?: boolean
    supply_agreement?: boolean
    purchase_reference?: boolean
    alloy?: boolean
    temper?: boolean
    color?: boolean
    aluminium_profiles?: boolean
    number_of_boxes?: boolean
    number_of_bundles?: boolean
    erp_logs_id?: boolean
    line_item?: boolean
    company_id?: boolean
    status_id?: boolean
    created_by?: boolean
    created_at?: boolean
    updated_by?: boolean
    deleted_by?: boolean
    updated_at?: boolean
    deleted_at?: boolean
  }

  export type ErpLogsLineItemsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    erp_logs?: boolean | ErpLogsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ErpLogsLineItemsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    erp_logs?: boolean | ErpLogsDefaultArgs<ExtArgs>
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ErpLogsLineItemsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ErpLogsLineItems"
    objects: {
      erp_logs: Prisma.$ErpLogsPayload<ExtArgs>
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      delivery_note_number: string
      date_of_issue: Date
      customer_order_number: string
      reference_number: string
      shipment_type: string | null
      line_item_sync_status: $Enums.LineItemSyncStatus | null
      supply_agreement: string
      purchase_reference: string | null
      alloy: string | null
      temper: string | null
      color: string | null
      aluminium_profiles: string | null
      number_of_boxes: number | null
      number_of_bundles: number | null
      erp_logs_id: number
      line_item: Prisma.JsonValue
      company_id: number
      status_id: number
      created_by: number | null
      created_at: Date
      updated_by: number | null
      deleted_by: number | null
      updated_at: Date
      deleted_at: Date | null
    }, ExtArgs["result"]["erpLogsLineItems"]>
    composites: {}
  }

  type ErpLogsLineItemsGetPayload<S extends boolean | null | undefined | ErpLogsLineItemsDefaultArgs> = $Result.GetResult<Prisma.$ErpLogsLineItemsPayload, S>

  type ErpLogsLineItemsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ErpLogsLineItemsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ErpLogsLineItemsCountAggregateInputType | true
    }

  export interface ErpLogsLineItemsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ErpLogsLineItems'], meta: { name: 'ErpLogsLineItems' } }
    /**
     * Find zero or one ErpLogsLineItems that matches the filter.
     * @param {ErpLogsLineItemsFindUniqueArgs} args - Arguments to find a ErpLogsLineItems
     * @example
     * // Get one ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ErpLogsLineItemsFindUniqueArgs>(args: SelectSubset<T, ErpLogsLineItemsFindUniqueArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ErpLogsLineItems that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ErpLogsLineItemsFindUniqueOrThrowArgs} args - Arguments to find a ErpLogsLineItems
     * @example
     * // Get one ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ErpLogsLineItemsFindUniqueOrThrowArgs>(args: SelectSubset<T, ErpLogsLineItemsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ErpLogsLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsFindFirstArgs} args - Arguments to find a ErpLogsLineItems
     * @example
     * // Get one ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ErpLogsLineItemsFindFirstArgs>(args?: SelectSubset<T, ErpLogsLineItemsFindFirstArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ErpLogsLineItems that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsFindFirstOrThrowArgs} args - Arguments to find a ErpLogsLineItems
     * @example
     * // Get one ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ErpLogsLineItemsFindFirstOrThrowArgs>(args?: SelectSubset<T, ErpLogsLineItemsFindFirstOrThrowArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ErpLogsLineItems that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findMany()
     * 
     * // Get first 10 ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const erpLogsLineItemsWithIdOnly = await prisma.erpLogsLineItems.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ErpLogsLineItemsFindManyArgs>(args?: SelectSubset<T, ErpLogsLineItemsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ErpLogsLineItems.
     * @param {ErpLogsLineItemsCreateArgs} args - Arguments to create a ErpLogsLineItems.
     * @example
     * // Create one ErpLogsLineItems
     * const ErpLogsLineItems = await prisma.erpLogsLineItems.create({
     *   data: {
     *     // ... data to create a ErpLogsLineItems
     *   }
     * })
     * 
     */
    create<T extends ErpLogsLineItemsCreateArgs>(args: SelectSubset<T, ErpLogsLineItemsCreateArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ErpLogsLineItems.
     * @param {ErpLogsLineItemsCreateManyArgs} args - Arguments to create many ErpLogsLineItems.
     * @example
     * // Create many ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ErpLogsLineItemsCreateManyArgs>(args?: SelectSubset<T, ErpLogsLineItemsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ErpLogsLineItems and returns the data saved in the database.
     * @param {ErpLogsLineItemsCreateManyAndReturnArgs} args - Arguments to create many ErpLogsLineItems.
     * @example
     * // Create many ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ErpLogsLineItems and only return the `id`
     * const erpLogsLineItemsWithIdOnly = await prisma.erpLogsLineItems.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ErpLogsLineItemsCreateManyAndReturnArgs>(args?: SelectSubset<T, ErpLogsLineItemsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ErpLogsLineItems.
     * @param {ErpLogsLineItemsDeleteArgs} args - Arguments to delete one ErpLogsLineItems.
     * @example
     * // Delete one ErpLogsLineItems
     * const ErpLogsLineItems = await prisma.erpLogsLineItems.delete({
     *   where: {
     *     // ... filter to delete one ErpLogsLineItems
     *   }
     * })
     * 
     */
    delete<T extends ErpLogsLineItemsDeleteArgs>(args: SelectSubset<T, ErpLogsLineItemsDeleteArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ErpLogsLineItems.
     * @param {ErpLogsLineItemsUpdateArgs} args - Arguments to update one ErpLogsLineItems.
     * @example
     * // Update one ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ErpLogsLineItemsUpdateArgs>(args: SelectSubset<T, ErpLogsLineItemsUpdateArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ErpLogsLineItems.
     * @param {ErpLogsLineItemsDeleteManyArgs} args - Arguments to filter ErpLogsLineItems to delete.
     * @example
     * // Delete a few ErpLogsLineItems
     * const { count } = await prisma.erpLogsLineItems.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ErpLogsLineItemsDeleteManyArgs>(args?: SelectSubset<T, ErpLogsLineItemsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ErpLogsLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ErpLogsLineItemsUpdateManyArgs>(args: SelectSubset<T, ErpLogsLineItemsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ErpLogsLineItems.
     * @param {ErpLogsLineItemsUpsertArgs} args - Arguments to update or create a ErpLogsLineItems.
     * @example
     * // Update or create a ErpLogsLineItems
     * const erpLogsLineItems = await prisma.erpLogsLineItems.upsert({
     *   create: {
     *     // ... data to create a ErpLogsLineItems
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ErpLogsLineItems we want to update
     *   }
     * })
     */
    upsert<T extends ErpLogsLineItemsUpsertArgs>(args: SelectSubset<T, ErpLogsLineItemsUpsertArgs<ExtArgs>>): Prisma__ErpLogsLineItemsClient<$Result.GetResult<Prisma.$ErpLogsLineItemsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ErpLogsLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsCountArgs} args - Arguments to filter ErpLogsLineItems to count.
     * @example
     * // Count the number of ErpLogsLineItems
     * const count = await prisma.erpLogsLineItems.count({
     *   where: {
     *     // ... the filter for the ErpLogsLineItems we want to count
     *   }
     * })
    **/
    count<T extends ErpLogsLineItemsCountArgs>(
      args?: Subset<T, ErpLogsLineItemsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ErpLogsLineItemsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ErpLogsLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ErpLogsLineItemsAggregateArgs>(args: Subset<T, ErpLogsLineItemsAggregateArgs>): Prisma.PrismaPromise<GetErpLogsLineItemsAggregateType<T>>

    /**
     * Group by ErpLogsLineItems.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ErpLogsLineItemsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ErpLogsLineItemsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ErpLogsLineItemsGroupByArgs['orderBy'] }
        : { orderBy?: ErpLogsLineItemsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ErpLogsLineItemsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetErpLogsLineItemsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ErpLogsLineItems model
   */
  readonly fields: ErpLogsLineItemsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ErpLogsLineItems.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ErpLogsLineItemsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    erp_logs<T extends ErpLogsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ErpLogsDefaultArgs<ExtArgs>>): Prisma__ErpLogsClient<$Result.GetResult<Prisma.$ErpLogsPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ErpLogsLineItems model
   */ 
  interface ErpLogsLineItemsFieldRefs {
    readonly id: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly uuid: FieldRef<"ErpLogsLineItems", 'String'>
    readonly delivery_note_number: FieldRef<"ErpLogsLineItems", 'String'>
    readonly date_of_issue: FieldRef<"ErpLogsLineItems", 'DateTime'>
    readonly customer_order_number: FieldRef<"ErpLogsLineItems", 'String'>
    readonly reference_number: FieldRef<"ErpLogsLineItems", 'String'>
    readonly shipment_type: FieldRef<"ErpLogsLineItems", 'String'>
    readonly line_item_sync_status: FieldRef<"ErpLogsLineItems", 'LineItemSyncStatus'>
    readonly supply_agreement: FieldRef<"ErpLogsLineItems", 'String'>
    readonly purchase_reference: FieldRef<"ErpLogsLineItems", 'String'>
    readonly alloy: FieldRef<"ErpLogsLineItems", 'String'>
    readonly temper: FieldRef<"ErpLogsLineItems", 'String'>
    readonly color: FieldRef<"ErpLogsLineItems", 'String'>
    readonly aluminium_profiles: FieldRef<"ErpLogsLineItems", 'String'>
    readonly number_of_boxes: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly number_of_bundles: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly erp_logs_id: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly line_item: FieldRef<"ErpLogsLineItems", 'Json'>
    readonly company_id: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly status_id: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly created_by: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly created_at: FieldRef<"ErpLogsLineItems", 'DateTime'>
    readonly updated_by: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly deleted_by: FieldRef<"ErpLogsLineItems", 'Int'>
    readonly updated_at: FieldRef<"ErpLogsLineItems", 'DateTime'>
    readonly deleted_at: FieldRef<"ErpLogsLineItems", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * ErpLogsLineItems findUnique
   */
  export type ErpLogsLineItemsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogsLineItems to fetch.
     */
    where: ErpLogsLineItemsWhereUniqueInput
  }

  /**
   * ErpLogsLineItems findUniqueOrThrow
   */
  export type ErpLogsLineItemsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogsLineItems to fetch.
     */
    where: ErpLogsLineItemsWhereUniqueInput
  }

  /**
   * ErpLogsLineItems findFirst
   */
  export type ErpLogsLineItemsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogsLineItems to fetch.
     */
    where?: ErpLogsLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogsLineItems to fetch.
     */
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ErpLogsLineItems.
     */
    cursor?: ErpLogsLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogsLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogsLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ErpLogsLineItems.
     */
    distinct?: ErpLogsLineItemsScalarFieldEnum | ErpLogsLineItemsScalarFieldEnum[]
  }

  /**
   * ErpLogsLineItems findFirstOrThrow
   */
  export type ErpLogsLineItemsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogsLineItems to fetch.
     */
    where?: ErpLogsLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogsLineItems to fetch.
     */
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ErpLogsLineItems.
     */
    cursor?: ErpLogsLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogsLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogsLineItems.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ErpLogsLineItems.
     */
    distinct?: ErpLogsLineItemsScalarFieldEnum | ErpLogsLineItemsScalarFieldEnum[]
  }

  /**
   * ErpLogsLineItems findMany
   */
  export type ErpLogsLineItemsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter, which ErpLogsLineItems to fetch.
     */
    where?: ErpLogsLineItemsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ErpLogsLineItems to fetch.
     */
    orderBy?: ErpLogsLineItemsOrderByWithRelationInput | ErpLogsLineItemsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ErpLogsLineItems.
     */
    cursor?: ErpLogsLineItemsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ErpLogsLineItems from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ErpLogsLineItems.
     */
    skip?: number
    distinct?: ErpLogsLineItemsScalarFieldEnum | ErpLogsLineItemsScalarFieldEnum[]
  }

  /**
   * ErpLogsLineItems create
   */
  export type ErpLogsLineItemsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to create a ErpLogsLineItems.
     */
    data: XOR<ErpLogsLineItemsCreateInput, ErpLogsLineItemsUncheckedCreateInput>
  }

  /**
   * ErpLogsLineItems createMany
   */
  export type ErpLogsLineItemsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ErpLogsLineItems.
     */
    data: ErpLogsLineItemsCreateManyInput | ErpLogsLineItemsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ErpLogsLineItems createManyAndReturn
   */
  export type ErpLogsLineItemsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ErpLogsLineItems.
     */
    data: ErpLogsLineItemsCreateManyInput | ErpLogsLineItemsCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ErpLogsLineItems update
   */
  export type ErpLogsLineItemsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * The data needed to update a ErpLogsLineItems.
     */
    data: XOR<ErpLogsLineItemsUpdateInput, ErpLogsLineItemsUncheckedUpdateInput>
    /**
     * Choose, which ErpLogsLineItems to update.
     */
    where: ErpLogsLineItemsWhereUniqueInput
  }

  /**
   * ErpLogsLineItems updateMany
   */
  export type ErpLogsLineItemsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ErpLogsLineItems.
     */
    data: XOR<ErpLogsLineItemsUpdateManyMutationInput, ErpLogsLineItemsUncheckedUpdateManyInput>
    /**
     * Filter which ErpLogsLineItems to update
     */
    where?: ErpLogsLineItemsWhereInput
  }

  /**
   * ErpLogsLineItems upsert
   */
  export type ErpLogsLineItemsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * The filter to search for the ErpLogsLineItems to update in case it exists.
     */
    where: ErpLogsLineItemsWhereUniqueInput
    /**
     * In case the ErpLogsLineItems found by the `where` argument doesn't exist, create a new ErpLogsLineItems with this data.
     */
    create: XOR<ErpLogsLineItemsCreateInput, ErpLogsLineItemsUncheckedCreateInput>
    /**
     * In case the ErpLogsLineItems was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ErpLogsLineItemsUpdateInput, ErpLogsLineItemsUncheckedUpdateInput>
  }

  /**
   * ErpLogsLineItems delete
   */
  export type ErpLogsLineItemsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
    /**
     * Filter which ErpLogsLineItems to delete.
     */
    where: ErpLogsLineItemsWhereUniqueInput
  }

  /**
   * ErpLogsLineItems deleteMany
   */
  export type ErpLogsLineItemsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ErpLogsLineItems to delete
     */
    where?: ErpLogsLineItemsWhereInput
  }

  /**
   * ErpLogsLineItems without action
   */
  export type ErpLogsLineItemsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ErpLogsLineItems
     */
    select?: ErpLogsLineItemsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ErpLogsLineItemsInclude<ExtArgs> | null
  }


  /**
   * Model TempSessionData
   */

  export type AggregateTempSessionData = {
    _count: TempSessionDataCountAggregateOutputType | null
    _avg: TempSessionDataAvgAggregateOutputType | null
    _sum: TempSessionDataSumAggregateOutputType | null
    _min: TempSessionDataMinAggregateOutputType | null
    _max: TempSessionDataMaxAggregateOutputType | null
  }

  export type TempSessionDataAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    customer_delivery_id: number | null
    delivery_note_id: number | null
    customer_id: number | null
    created_by: number | null
  }

  export type TempSessionDataSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
    customer_delivery_id: number | null
    delivery_note_id: number | null
    customer_id: number | null
    created_by: number | null
  }

  export type TempSessionDataMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    session_id: string | null
    delivery_note_number: string | null
    first_name: string | null
    delivery_location: string | null
    reference_number: string | null
    date_of_issue: Date | null
    status_id: number | null
    company_id: number | null
    customer_delivery_id: number | null
    delivery_note_id: number | null
    customer_id: number | null
    created_by: number | null
    created_at: Date | null
  }

  export type TempSessionDataMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    session_id: string | null
    delivery_note_number: string | null
    first_name: string | null
    delivery_location: string | null
    reference_number: string | null
    date_of_issue: Date | null
    status_id: number | null
    company_id: number | null
    customer_delivery_id: number | null
    delivery_note_id: number | null
    customer_id: number | null
    created_by: number | null
    created_at: Date | null
  }

  export type TempSessionDataCountAggregateOutputType = {
    id: number
    uuid: number
    session_id: number
    delivery_note_number: number
    first_name: number
    delivery_location: number
    reference_number: number
    date_of_issue: number
    status_id: number
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by: number
    created_at: number
    _all: number
  }


  export type TempSessionDataAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    customer_delivery_id?: true
    delivery_note_id?: true
    customer_id?: true
    created_by?: true
  }

  export type TempSessionDataSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
    customer_delivery_id?: true
    delivery_note_id?: true
    customer_id?: true
    created_by?: true
  }

  export type TempSessionDataMinAggregateInputType = {
    id?: true
    uuid?: true
    session_id?: true
    delivery_note_number?: true
    first_name?: true
    delivery_location?: true
    reference_number?: true
    date_of_issue?: true
    status_id?: true
    company_id?: true
    customer_delivery_id?: true
    delivery_note_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
  }

  export type TempSessionDataMaxAggregateInputType = {
    id?: true
    uuid?: true
    session_id?: true
    delivery_note_number?: true
    first_name?: true
    delivery_location?: true
    reference_number?: true
    date_of_issue?: true
    status_id?: true
    company_id?: true
    customer_delivery_id?: true
    delivery_note_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
  }

  export type TempSessionDataCountAggregateInputType = {
    id?: true
    uuid?: true
    session_id?: true
    delivery_note_number?: true
    first_name?: true
    delivery_location?: true
    reference_number?: true
    date_of_issue?: true
    status_id?: true
    company_id?: true
    customer_delivery_id?: true
    delivery_note_id?: true
    customer_id?: true
    created_by?: true
    created_at?: true
    _all?: true
  }

  export type TempSessionDataAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which TempSessionData to aggregate.
     */
    where?: TempSessionDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TempSessionData to fetch.
     */
    orderBy?: TempSessionDataOrderByWithRelationInput | TempSessionDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: TempSessionDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TempSessionData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TempSessionData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned TempSessionData
    **/
    _count?: true | TempSessionDataCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: TempSessionDataAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: TempSessionDataSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: TempSessionDataMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: TempSessionDataMaxAggregateInputType
  }

  export type GetTempSessionDataAggregateType<T extends TempSessionDataAggregateArgs> = {
        [P in keyof T & keyof AggregateTempSessionData]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateTempSessionData[P]>
      : GetScalarType<T[P], AggregateTempSessionData[P]>
  }




  export type TempSessionDataGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: TempSessionDataWhereInput
    orderBy?: TempSessionDataOrderByWithAggregationInput | TempSessionDataOrderByWithAggregationInput[]
    by: TempSessionDataScalarFieldEnum[] | TempSessionDataScalarFieldEnum
    having?: TempSessionDataScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: TempSessionDataCountAggregateInputType | true
    _avg?: TempSessionDataAvgAggregateInputType
    _sum?: TempSessionDataSumAggregateInputType
    _min?: TempSessionDataMinAggregateInputType
    _max?: TempSessionDataMaxAggregateInputType
  }

  export type TempSessionDataGroupByOutputType = {
    id: number
    uuid: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date
    status_id: number
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by: number | null
    created_at: Date
    _count: TempSessionDataCountAggregateOutputType | null
    _avg: TempSessionDataAvgAggregateOutputType | null
    _sum: TempSessionDataSumAggregateOutputType | null
    _min: TempSessionDataMinAggregateOutputType | null
    _max: TempSessionDataMaxAggregateOutputType | null
  }

  type GetTempSessionDataGroupByPayload<T extends TempSessionDataGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<TempSessionDataGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof TempSessionDataGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], TempSessionDataGroupByOutputType[P]>
            : GetScalarType<T[P], TempSessionDataGroupByOutputType[P]>
        }
      >
    >


  export type TempSessionDataSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    session_id?: boolean
    delivery_note_number?: boolean
    first_name?: boolean
    delivery_location?: boolean
    reference_number?: boolean
    date_of_issue?: boolean
    status_id?: boolean
    company_id?: boolean
    customer_delivery_id?: boolean
    delivery_note_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["tempSessionData"]>

  export type TempSessionDataSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    session_id?: boolean
    delivery_note_number?: boolean
    first_name?: boolean
    delivery_location?: boolean
    reference_number?: boolean
    date_of_issue?: boolean
    status_id?: boolean
    company_id?: boolean
    customer_delivery_id?: boolean
    delivery_note_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["tempSessionData"]>

  export type TempSessionDataSelectScalar = {
    id?: boolean
    uuid?: boolean
    session_id?: boolean
    delivery_note_number?: boolean
    first_name?: boolean
    delivery_location?: boolean
    reference_number?: boolean
    date_of_issue?: boolean
    status_id?: boolean
    company_id?: boolean
    customer_delivery_id?: boolean
    delivery_note_id?: boolean
    customer_id?: boolean
    created_by?: boolean
    created_at?: boolean
  }

  export type TempSessionDataInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type TempSessionDataIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $TempSessionDataPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "TempSessionData"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      session_id: string
      delivery_note_number: string
      first_name: string
      delivery_location: string
      reference_number: string
      date_of_issue: Date
      status_id: number
      company_id: number
      customer_delivery_id: number
      delivery_note_id: number
      customer_id: number
      created_by: number | null
      created_at: Date
    }, ExtArgs["result"]["tempSessionData"]>
    composites: {}
  }

  type TempSessionDataGetPayload<S extends boolean | null | undefined | TempSessionDataDefaultArgs> = $Result.GetResult<Prisma.$TempSessionDataPayload, S>

  type TempSessionDataCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<TempSessionDataFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: TempSessionDataCountAggregateInputType | true
    }

  export interface TempSessionDataDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TempSessionData'], meta: { name: 'TempSessionData' } }
    /**
     * Find zero or one TempSessionData that matches the filter.
     * @param {TempSessionDataFindUniqueArgs} args - Arguments to find a TempSessionData
     * @example
     * // Get one TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends TempSessionDataFindUniqueArgs>(args: SelectSubset<T, TempSessionDataFindUniqueArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one TempSessionData that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {TempSessionDataFindUniqueOrThrowArgs} args - Arguments to find a TempSessionData
     * @example
     * // Get one TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends TempSessionDataFindUniqueOrThrowArgs>(args: SelectSubset<T, TempSessionDataFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first TempSessionData that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataFindFirstArgs} args - Arguments to find a TempSessionData
     * @example
     * // Get one TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends TempSessionDataFindFirstArgs>(args?: SelectSubset<T, TempSessionDataFindFirstArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first TempSessionData that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataFindFirstOrThrowArgs} args - Arguments to find a TempSessionData
     * @example
     * // Get one TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends TempSessionDataFindFirstOrThrowArgs>(args?: SelectSubset<T, TempSessionDataFindFirstOrThrowArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more TempSessionData that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findMany()
     * 
     * // Get first 10 TempSessionData
     * const tempSessionData = await prisma.tempSessionData.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const tempSessionDataWithIdOnly = await prisma.tempSessionData.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends TempSessionDataFindManyArgs>(args?: SelectSubset<T, TempSessionDataFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a TempSessionData.
     * @param {TempSessionDataCreateArgs} args - Arguments to create a TempSessionData.
     * @example
     * // Create one TempSessionData
     * const TempSessionData = await prisma.tempSessionData.create({
     *   data: {
     *     // ... data to create a TempSessionData
     *   }
     * })
     * 
     */
    create<T extends TempSessionDataCreateArgs>(args: SelectSubset<T, TempSessionDataCreateArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many TempSessionData.
     * @param {TempSessionDataCreateManyArgs} args - Arguments to create many TempSessionData.
     * @example
     * // Create many TempSessionData
     * const tempSessionData = await prisma.tempSessionData.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends TempSessionDataCreateManyArgs>(args?: SelectSubset<T, TempSessionDataCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many TempSessionData and returns the data saved in the database.
     * @param {TempSessionDataCreateManyAndReturnArgs} args - Arguments to create many TempSessionData.
     * @example
     * // Create many TempSessionData
     * const tempSessionData = await prisma.tempSessionData.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many TempSessionData and only return the `id`
     * const tempSessionDataWithIdOnly = await prisma.tempSessionData.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends TempSessionDataCreateManyAndReturnArgs>(args?: SelectSubset<T, TempSessionDataCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a TempSessionData.
     * @param {TempSessionDataDeleteArgs} args - Arguments to delete one TempSessionData.
     * @example
     * // Delete one TempSessionData
     * const TempSessionData = await prisma.tempSessionData.delete({
     *   where: {
     *     // ... filter to delete one TempSessionData
     *   }
     * })
     * 
     */
    delete<T extends TempSessionDataDeleteArgs>(args: SelectSubset<T, TempSessionDataDeleteArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one TempSessionData.
     * @param {TempSessionDataUpdateArgs} args - Arguments to update one TempSessionData.
     * @example
     * // Update one TempSessionData
     * const tempSessionData = await prisma.tempSessionData.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends TempSessionDataUpdateArgs>(args: SelectSubset<T, TempSessionDataUpdateArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more TempSessionData.
     * @param {TempSessionDataDeleteManyArgs} args - Arguments to filter TempSessionData to delete.
     * @example
     * // Delete a few TempSessionData
     * const { count } = await prisma.tempSessionData.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends TempSessionDataDeleteManyArgs>(args?: SelectSubset<T, TempSessionDataDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more TempSessionData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many TempSessionData
     * const tempSessionData = await prisma.tempSessionData.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends TempSessionDataUpdateManyArgs>(args: SelectSubset<T, TempSessionDataUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one TempSessionData.
     * @param {TempSessionDataUpsertArgs} args - Arguments to update or create a TempSessionData.
     * @example
     * // Update or create a TempSessionData
     * const tempSessionData = await prisma.tempSessionData.upsert({
     *   create: {
     *     // ... data to create a TempSessionData
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the TempSessionData we want to update
     *   }
     * })
     */
    upsert<T extends TempSessionDataUpsertArgs>(args: SelectSubset<T, TempSessionDataUpsertArgs<ExtArgs>>): Prisma__TempSessionDataClient<$Result.GetResult<Prisma.$TempSessionDataPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of TempSessionData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataCountArgs} args - Arguments to filter TempSessionData to count.
     * @example
     * // Count the number of TempSessionData
     * const count = await prisma.tempSessionData.count({
     *   where: {
     *     // ... the filter for the TempSessionData we want to count
     *   }
     * })
    **/
    count<T extends TempSessionDataCountArgs>(
      args?: Subset<T, TempSessionDataCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], TempSessionDataCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a TempSessionData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends TempSessionDataAggregateArgs>(args: Subset<T, TempSessionDataAggregateArgs>): Prisma.PrismaPromise<GetTempSessionDataAggregateType<T>>

    /**
     * Group by TempSessionData.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {TempSessionDataGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends TempSessionDataGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: TempSessionDataGroupByArgs['orderBy'] }
        : { orderBy?: TempSessionDataGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, TempSessionDataGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTempSessionDataGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the TempSessionData model
   */
  readonly fields: TempSessionDataFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for TempSessionData.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__TempSessionDataClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the TempSessionData model
   */ 
  interface TempSessionDataFieldRefs {
    readonly id: FieldRef<"TempSessionData", 'Int'>
    readonly uuid: FieldRef<"TempSessionData", 'String'>
    readonly session_id: FieldRef<"TempSessionData", 'String'>
    readonly delivery_note_number: FieldRef<"TempSessionData", 'String'>
    readonly first_name: FieldRef<"TempSessionData", 'String'>
    readonly delivery_location: FieldRef<"TempSessionData", 'String'>
    readonly reference_number: FieldRef<"TempSessionData", 'String'>
    readonly date_of_issue: FieldRef<"TempSessionData", 'DateTime'>
    readonly status_id: FieldRef<"TempSessionData", 'Int'>
    readonly company_id: FieldRef<"TempSessionData", 'Int'>
    readonly customer_delivery_id: FieldRef<"TempSessionData", 'Int'>
    readonly delivery_note_id: FieldRef<"TempSessionData", 'Int'>
    readonly customer_id: FieldRef<"TempSessionData", 'Int'>
    readonly created_by: FieldRef<"TempSessionData", 'Int'>
    readonly created_at: FieldRef<"TempSessionData", 'DateTime'>
  }
    

  // Custom InputTypes
  /**
   * TempSessionData findUnique
   */
  export type TempSessionDataFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter, which TempSessionData to fetch.
     */
    where: TempSessionDataWhereUniqueInput
  }

  /**
   * TempSessionData findUniqueOrThrow
   */
  export type TempSessionDataFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter, which TempSessionData to fetch.
     */
    where: TempSessionDataWhereUniqueInput
  }

  /**
   * TempSessionData findFirst
   */
  export type TempSessionDataFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter, which TempSessionData to fetch.
     */
    where?: TempSessionDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TempSessionData to fetch.
     */
    orderBy?: TempSessionDataOrderByWithRelationInput | TempSessionDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for TempSessionData.
     */
    cursor?: TempSessionDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TempSessionData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TempSessionData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of TempSessionData.
     */
    distinct?: TempSessionDataScalarFieldEnum | TempSessionDataScalarFieldEnum[]
  }

  /**
   * TempSessionData findFirstOrThrow
   */
  export type TempSessionDataFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter, which TempSessionData to fetch.
     */
    where?: TempSessionDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TempSessionData to fetch.
     */
    orderBy?: TempSessionDataOrderByWithRelationInput | TempSessionDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for TempSessionData.
     */
    cursor?: TempSessionDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TempSessionData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TempSessionData.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of TempSessionData.
     */
    distinct?: TempSessionDataScalarFieldEnum | TempSessionDataScalarFieldEnum[]
  }

  /**
   * TempSessionData findMany
   */
  export type TempSessionDataFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter, which TempSessionData to fetch.
     */
    where?: TempSessionDataWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of TempSessionData to fetch.
     */
    orderBy?: TempSessionDataOrderByWithRelationInput | TempSessionDataOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing TempSessionData.
     */
    cursor?: TempSessionDataWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` TempSessionData from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` TempSessionData.
     */
    skip?: number
    distinct?: TempSessionDataScalarFieldEnum | TempSessionDataScalarFieldEnum[]
  }

  /**
   * TempSessionData create
   */
  export type TempSessionDataCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * The data needed to create a TempSessionData.
     */
    data: XOR<TempSessionDataCreateInput, TempSessionDataUncheckedCreateInput>
  }

  /**
   * TempSessionData createMany
   */
  export type TempSessionDataCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many TempSessionData.
     */
    data: TempSessionDataCreateManyInput | TempSessionDataCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * TempSessionData createManyAndReturn
   */
  export type TempSessionDataCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many TempSessionData.
     */
    data: TempSessionDataCreateManyInput | TempSessionDataCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * TempSessionData update
   */
  export type TempSessionDataUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * The data needed to update a TempSessionData.
     */
    data: XOR<TempSessionDataUpdateInput, TempSessionDataUncheckedUpdateInput>
    /**
     * Choose, which TempSessionData to update.
     */
    where: TempSessionDataWhereUniqueInput
  }

  /**
   * TempSessionData updateMany
   */
  export type TempSessionDataUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update TempSessionData.
     */
    data: XOR<TempSessionDataUpdateManyMutationInput, TempSessionDataUncheckedUpdateManyInput>
    /**
     * Filter which TempSessionData to update
     */
    where?: TempSessionDataWhereInput
  }

  /**
   * TempSessionData upsert
   */
  export type TempSessionDataUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * The filter to search for the TempSessionData to update in case it exists.
     */
    where: TempSessionDataWhereUniqueInput
    /**
     * In case the TempSessionData found by the `where` argument doesn't exist, create a new TempSessionData with this data.
     */
    create: XOR<TempSessionDataCreateInput, TempSessionDataUncheckedCreateInput>
    /**
     * In case the TempSessionData was found with the provided `where` argument, update it with this data.
     */
    update: XOR<TempSessionDataUpdateInput, TempSessionDataUncheckedUpdateInput>
  }

  /**
   * TempSessionData delete
   */
  export type TempSessionDataDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
    /**
     * Filter which TempSessionData to delete.
     */
    where: TempSessionDataWhereUniqueInput
  }

  /**
   * TempSessionData deleteMany
   */
  export type TempSessionDataDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which TempSessionData to delete
     */
    where?: TempSessionDataWhereInput
  }

  /**
   * TempSessionData without action
   */
  export type TempSessionDataDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the TempSessionData
     */
    select?: TempSessionDataSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: TempSessionDataInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentStatus
   */

  export type AggregateShipmentStatus = {
    _count: ShipmentStatusCountAggregateOutputType | null
    _avg: ShipmentStatusAvgAggregateOutputType | null
    _sum: ShipmentStatusSumAggregateOutputType | null
    _min: ShipmentStatusMinAggregateOutputType | null
    _max: ShipmentStatusMaxAggregateOutputType | null
  }

  export type ShipmentStatusAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    status_id: number | null
    company_id: number | null
    status_color_code: string | null
  }

  export type ShipmentStatusMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    status_id: number | null
    company_id: number | null
    status_color_code: string | null
  }

  export type ShipmentStatusCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    status_id: number
    company_id: number
    status_color_code: number
    _all: number
  }


  export type ShipmentStatusAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
  }

  export type ShipmentStatusMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
  }

  export type ShipmentStatusCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
    _all?: true
  }

  export type ShipmentStatusAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentStatus to aggregate.
     */
    where?: ShipmentStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatuses to fetch.
     */
    orderBy?: ShipmentStatusOrderByWithRelationInput | ShipmentStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentStatuses
    **/
    _count?: true | ShipmentStatusCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentStatusAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentStatusSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentStatusMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentStatusMaxAggregateInputType
  }

  export type GetShipmentStatusAggregateType<T extends ShipmentStatusAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentStatus]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentStatus[P]>
      : GetScalarType<T[P], AggregateShipmentStatus[P]>
  }




  export type ShipmentStatusGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentStatusWhereInput
    orderBy?: ShipmentStatusOrderByWithAggregationInput | ShipmentStatusOrderByWithAggregationInput[]
    by: ShipmentStatusScalarFieldEnum[] | ShipmentStatusScalarFieldEnum
    having?: ShipmentStatusScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentStatusCountAggregateInputType | true
    _avg?: ShipmentStatusAvgAggregateInputType
    _sum?: ShipmentStatusSumAggregateInputType
    _min?: ShipmentStatusMinAggregateInputType
    _max?: ShipmentStatusMaxAggregateInputType
  }

  export type ShipmentStatusGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string
    status_id: number
    company_id: number
    status_color_code: string | null
    _count: ShipmentStatusCountAggregateOutputType | null
    _avg: ShipmentStatusAvgAggregateOutputType | null
    _sum: ShipmentStatusSumAggregateOutputType | null
    _min: ShipmentStatusMinAggregateOutputType | null
    _max: ShipmentStatusMaxAggregateOutputType | null
  }

  type GetShipmentStatusGroupByPayload<T extends ShipmentStatusGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentStatusGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentStatusGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentStatusGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentStatusGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentStatusSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentStatus$shipmentsArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentStatus$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | ShipmentStatus$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | ShipmentStatus$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | ShipmentStatusCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentStatus"]>

  export type ShipmentStatusSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentStatus"]>

  export type ShipmentStatusSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
  }

  export type ShipmentStatusInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipments?: boolean | ShipmentStatus$shipmentsArgs<ExtArgs>
    shipment_customers?: boolean | ShipmentStatus$shipment_customersArgs<ExtArgs>
    shipment_location?: boolean | ShipmentStatus$shipment_locationArgs<ExtArgs>
    shipment_delivery_notes?: boolean | ShipmentStatus$shipment_delivery_notesArgs<ExtArgs>
    _count?: boolean | ShipmentStatusCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type ShipmentStatusIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ShipmentStatusPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentStatus"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      shipments: Prisma.$ShipmentsPayload<ExtArgs>[]
      shipment_customers: Prisma.$ShipmentCustomersPayload<ExtArgs>[]
      shipment_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
      shipment_delivery_notes: Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string
      status_id: number
      company_id: number
      status_color_code: string | null
    }, ExtArgs["result"]["shipmentStatus"]>
    composites: {}
  }

  type ShipmentStatusGetPayload<S extends boolean | null | undefined | ShipmentStatusDefaultArgs> = $Result.GetResult<Prisma.$ShipmentStatusPayload, S>

  type ShipmentStatusCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentStatusFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentStatusCountAggregateInputType | true
    }

  export interface ShipmentStatusDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentStatus'], meta: { name: 'ShipmentStatus' } }
    /**
     * Find zero or one ShipmentStatus that matches the filter.
     * @param {ShipmentStatusFindUniqueArgs} args - Arguments to find a ShipmentStatus
     * @example
     * // Get one ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentStatusFindUniqueArgs>(args: SelectSubset<T, ShipmentStatusFindUniqueArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentStatus that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentStatusFindUniqueOrThrowArgs} args - Arguments to find a ShipmentStatus
     * @example
     * // Get one ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentStatusFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentStatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentStatus that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusFindFirstArgs} args - Arguments to find a ShipmentStatus
     * @example
     * // Get one ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentStatusFindFirstArgs>(args?: SelectSubset<T, ShipmentStatusFindFirstArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentStatus that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusFindFirstOrThrowArgs} args - Arguments to find a ShipmentStatus
     * @example
     * // Get one ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentStatusFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentStatusFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentStatuses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentStatuses
     * const shipmentStatuses = await prisma.shipmentStatus.findMany()
     * 
     * // Get first 10 ShipmentStatuses
     * const shipmentStatuses = await prisma.shipmentStatus.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentStatusWithIdOnly = await prisma.shipmentStatus.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentStatusFindManyArgs>(args?: SelectSubset<T, ShipmentStatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentStatus.
     * @param {ShipmentStatusCreateArgs} args - Arguments to create a ShipmentStatus.
     * @example
     * // Create one ShipmentStatus
     * const ShipmentStatus = await prisma.shipmentStatus.create({
     *   data: {
     *     // ... data to create a ShipmentStatus
     *   }
     * })
     * 
     */
    create<T extends ShipmentStatusCreateArgs>(args: SelectSubset<T, ShipmentStatusCreateArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentStatuses.
     * @param {ShipmentStatusCreateManyArgs} args - Arguments to create many ShipmentStatuses.
     * @example
     * // Create many ShipmentStatuses
     * const shipmentStatus = await prisma.shipmentStatus.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentStatusCreateManyArgs>(args?: SelectSubset<T, ShipmentStatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentStatuses and returns the data saved in the database.
     * @param {ShipmentStatusCreateManyAndReturnArgs} args - Arguments to create many ShipmentStatuses.
     * @example
     * // Create many ShipmentStatuses
     * const shipmentStatus = await prisma.shipmentStatus.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentStatuses and only return the `id`
     * const shipmentStatusWithIdOnly = await prisma.shipmentStatus.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentStatusCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentStatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentStatus.
     * @param {ShipmentStatusDeleteArgs} args - Arguments to delete one ShipmentStatus.
     * @example
     * // Delete one ShipmentStatus
     * const ShipmentStatus = await prisma.shipmentStatus.delete({
     *   where: {
     *     // ... filter to delete one ShipmentStatus
     *   }
     * })
     * 
     */
    delete<T extends ShipmentStatusDeleteArgs>(args: SelectSubset<T, ShipmentStatusDeleteArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentStatus.
     * @param {ShipmentStatusUpdateArgs} args - Arguments to update one ShipmentStatus.
     * @example
     * // Update one ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentStatusUpdateArgs>(args: SelectSubset<T, ShipmentStatusUpdateArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentStatuses.
     * @param {ShipmentStatusDeleteManyArgs} args - Arguments to filter ShipmentStatuses to delete.
     * @example
     * // Delete a few ShipmentStatuses
     * const { count } = await prisma.shipmentStatus.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentStatusDeleteManyArgs>(args?: SelectSubset<T, ShipmentStatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentStatuses
     * const shipmentStatus = await prisma.shipmentStatus.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentStatusUpdateManyArgs>(args: SelectSubset<T, ShipmentStatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentStatus.
     * @param {ShipmentStatusUpsertArgs} args - Arguments to update or create a ShipmentStatus.
     * @example
     * // Update or create a ShipmentStatus
     * const shipmentStatus = await prisma.shipmentStatus.upsert({
     *   create: {
     *     // ... data to create a ShipmentStatus
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentStatus we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentStatusUpsertArgs>(args: SelectSubset<T, ShipmentStatusUpsertArgs<ExtArgs>>): Prisma__ShipmentStatusClient<$Result.GetResult<Prisma.$ShipmentStatusPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusCountArgs} args - Arguments to filter ShipmentStatuses to count.
     * @example
     * // Count the number of ShipmentStatuses
     * const count = await prisma.shipmentStatus.count({
     *   where: {
     *     // ... the filter for the ShipmentStatuses we want to count
     *   }
     * })
    **/
    count<T extends ShipmentStatusCountArgs>(
      args?: Subset<T, ShipmentStatusCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentStatusCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentStatusAggregateArgs>(args: Subset<T, ShipmentStatusAggregateArgs>): Prisma.PrismaPromise<GetShipmentStatusAggregateType<T>>

    /**
     * Group by ShipmentStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentStatusGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentStatusGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentStatusGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentStatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentStatus model
   */
  readonly fields: ShipmentStatusFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentStatus.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentStatusClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipments<T extends ShipmentStatus$shipmentsArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatus$shipmentsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_customers<T extends ShipmentStatus$shipment_customersArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatus$shipment_customersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentCustomersPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_location<T extends ShipmentStatus$shipment_locationArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatus$shipment_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    shipment_delivery_notes<T extends ShipmentStatus$shipment_delivery_notesArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentStatus$shipment_delivery_notesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentDeliveryNotesPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentStatus model
   */ 
  interface ShipmentStatusFieldRefs {
    readonly id: FieldRef<"ShipmentStatus", 'Int'>
    readonly uuid: FieldRef<"ShipmentStatus", 'String'>
    readonly slug: FieldRef<"ShipmentStatus", 'String'>
    readonly name: FieldRef<"ShipmentStatus", 'String'>
    readonly status_id: FieldRef<"ShipmentStatus", 'Int'>
    readonly company_id: FieldRef<"ShipmentStatus", 'Int'>
    readonly status_color_code: FieldRef<"ShipmentStatus", 'String'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentStatus findUnique
   */
  export type ShipmentStatusFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatus to fetch.
     */
    where: ShipmentStatusWhereUniqueInput
  }

  /**
   * ShipmentStatus findUniqueOrThrow
   */
  export type ShipmentStatusFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatus to fetch.
     */
    where: ShipmentStatusWhereUniqueInput
  }

  /**
   * ShipmentStatus findFirst
   */
  export type ShipmentStatusFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatus to fetch.
     */
    where?: ShipmentStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatuses to fetch.
     */
    orderBy?: ShipmentStatusOrderByWithRelationInput | ShipmentStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentStatuses.
     */
    cursor?: ShipmentStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentStatuses.
     */
    distinct?: ShipmentStatusScalarFieldEnum | ShipmentStatusScalarFieldEnum[]
  }

  /**
   * ShipmentStatus findFirstOrThrow
   */
  export type ShipmentStatusFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatus to fetch.
     */
    where?: ShipmentStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatuses to fetch.
     */
    orderBy?: ShipmentStatusOrderByWithRelationInput | ShipmentStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentStatuses.
     */
    cursor?: ShipmentStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentStatuses.
     */
    distinct?: ShipmentStatusScalarFieldEnum | ShipmentStatusScalarFieldEnum[]
  }

  /**
   * ShipmentStatus findMany
   */
  export type ShipmentStatusFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatuses to fetch.
     */
    where?: ShipmentStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatuses to fetch.
     */
    orderBy?: ShipmentStatusOrderByWithRelationInput | ShipmentStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentStatuses.
     */
    cursor?: ShipmentStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatuses.
     */
    skip?: number
    distinct?: ShipmentStatusScalarFieldEnum | ShipmentStatusScalarFieldEnum[]
  }

  /**
   * ShipmentStatus create
   */
  export type ShipmentStatusCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentStatus.
     */
    data: XOR<ShipmentStatusCreateInput, ShipmentStatusUncheckedCreateInput>
  }

  /**
   * ShipmentStatus createMany
   */
  export type ShipmentStatusCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentStatuses.
     */
    data: ShipmentStatusCreateManyInput | ShipmentStatusCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentStatus createManyAndReturn
   */
  export type ShipmentStatusCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentStatuses.
     */
    data: ShipmentStatusCreateManyInput | ShipmentStatusCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentStatus update
   */
  export type ShipmentStatusUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentStatus.
     */
    data: XOR<ShipmentStatusUpdateInput, ShipmentStatusUncheckedUpdateInput>
    /**
     * Choose, which ShipmentStatus to update.
     */
    where: ShipmentStatusWhereUniqueInput
  }

  /**
   * ShipmentStatus updateMany
   */
  export type ShipmentStatusUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentStatuses.
     */
    data: XOR<ShipmentStatusUpdateManyMutationInput, ShipmentStatusUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentStatuses to update
     */
    where?: ShipmentStatusWhereInput
  }

  /**
   * ShipmentStatus upsert
   */
  export type ShipmentStatusUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentStatus to update in case it exists.
     */
    where: ShipmentStatusWhereUniqueInput
    /**
     * In case the ShipmentStatus found by the `where` argument doesn't exist, create a new ShipmentStatus with this data.
     */
    create: XOR<ShipmentStatusCreateInput, ShipmentStatusUncheckedCreateInput>
    /**
     * In case the ShipmentStatus was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentStatusUpdateInput, ShipmentStatusUncheckedUpdateInput>
  }

  /**
   * ShipmentStatus delete
   */
  export type ShipmentStatusDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
    /**
     * Filter which ShipmentStatus to delete.
     */
    where: ShipmentStatusWhereUniqueInput
  }

  /**
   * ShipmentStatus deleteMany
   */
  export type ShipmentStatusDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentStatuses to delete
     */
    where?: ShipmentStatusWhereInput
  }

  /**
   * ShipmentStatus.shipments
   */
  export type ShipmentStatus$shipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Shipments
     */
    select?: ShipmentsSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsInclude<ExtArgs> | null
    where?: ShipmentsWhereInput
    orderBy?: ShipmentsOrderByWithRelationInput | ShipmentsOrderByWithRelationInput[]
    cursor?: ShipmentsWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsScalarFieldEnum | ShipmentsScalarFieldEnum[]
  }

  /**
   * ShipmentStatus.shipment_customers
   */
  export type ShipmentStatus$shipment_customersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentCustomers
     */
    select?: ShipmentCustomersSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentCustomersInclude<ExtArgs> | null
    where?: ShipmentCustomersWhereInput
    orderBy?: ShipmentCustomersOrderByWithRelationInput | ShipmentCustomersOrderByWithRelationInput[]
    cursor?: ShipmentCustomersWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentCustomersScalarFieldEnum | ShipmentCustomersScalarFieldEnum[]
  }

  /**
   * ShipmentStatus.shipment_location
   */
  export type ShipmentStatus$shipment_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * ShipmentStatus.shipment_delivery_notes
   */
  export type ShipmentStatus$shipment_delivery_notesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentDeliveryNotes
     */
    select?: ShipmentDeliveryNotesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentDeliveryNotesInclude<ExtArgs> | null
    where?: ShipmentDeliveryNotesWhereInput
    orderBy?: ShipmentDeliveryNotesOrderByWithRelationInput | ShipmentDeliveryNotesOrderByWithRelationInput[]
    cursor?: ShipmentDeliveryNotesWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentDeliveryNotesScalarFieldEnum | ShipmentDeliveryNotesScalarFieldEnum[]
  }

  /**
   * ShipmentStatus without action
   */
  export type ShipmentStatusDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatus
     */
    select?: ShipmentStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentStatusHistory
   */

  export type AggregateShipmentStatusHistory = {
    _count: ShipmentStatusHistoryCountAggregateOutputType | null
    _avg: ShipmentStatusHistoryAvgAggregateOutputType | null
    _sum: ShipmentStatusHistorySumAggregateOutputType | null
    _min: ShipmentStatusHistoryMinAggregateOutputType | null
    _max: ShipmentStatusHistoryMaxAggregateOutputType | null
  }

  export type ShipmentStatusHistoryAvgAggregateOutputType = {
    id: number | null
    ref_id: number | null
    from_state: number | null
    to_state: number | null
    changed_by: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusHistorySumAggregateOutputType = {
    id: number | null
    ref_id: number | null
    from_state: number | null
    to_state: number | null
    changed_by: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusHistoryMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    ref_id: number | null
    table_name: $Enums.ETables | null
    from_state: number | null
    to_state: number | null
    changed_by: number | null
    changed_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusHistoryMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    ref_id: number | null
    table_name: $Enums.ETables | null
    from_state: number | null
    to_state: number | null
    changed_by: number | null
    changed_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentStatusHistoryCountAggregateOutputType = {
    id: number
    uuid: number
    ref_id: number
    table_name: number
    from_state: number
    to_state: number
    changed_by: number
    changed_at: number
    status_id: number
    company_id: number
    _all: number
  }


  export type ShipmentStatusHistoryAvgAggregateInputType = {
    id?: true
    ref_id?: true
    from_state?: true
    to_state?: true
    changed_by?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusHistorySumAggregateInputType = {
    id?: true
    ref_id?: true
    from_state?: true
    to_state?: true
    changed_by?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusHistoryMinAggregateInputType = {
    id?: true
    uuid?: true
    ref_id?: true
    table_name?: true
    from_state?: true
    to_state?: true
    changed_by?: true
    changed_at?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusHistoryMaxAggregateInputType = {
    id?: true
    uuid?: true
    ref_id?: true
    table_name?: true
    from_state?: true
    to_state?: true
    changed_by?: true
    changed_at?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentStatusHistoryCountAggregateInputType = {
    id?: true
    uuid?: true
    ref_id?: true
    table_name?: true
    from_state?: true
    to_state?: true
    changed_by?: true
    changed_at?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type ShipmentStatusHistoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentStatusHistory to aggregate.
     */
    where?: ShipmentStatusHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatusHistories to fetch.
     */
    orderBy?: ShipmentStatusHistoryOrderByWithRelationInput | ShipmentStatusHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentStatusHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatusHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatusHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentStatusHistories
    **/
    _count?: true | ShipmentStatusHistoryCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentStatusHistoryAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentStatusHistorySumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentStatusHistoryMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentStatusHistoryMaxAggregateInputType
  }

  export type GetShipmentStatusHistoryAggregateType<T extends ShipmentStatusHistoryAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentStatusHistory]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentStatusHistory[P]>
      : GetScalarType<T[P], AggregateShipmentStatusHistory[P]>
  }




  export type ShipmentStatusHistoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentStatusHistoryWhereInput
    orderBy?: ShipmentStatusHistoryOrderByWithAggregationInput | ShipmentStatusHistoryOrderByWithAggregationInput[]
    by: ShipmentStatusHistoryScalarFieldEnum[] | ShipmentStatusHistoryScalarFieldEnum
    having?: ShipmentStatusHistoryScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentStatusHistoryCountAggregateInputType | true
    _avg?: ShipmentStatusHistoryAvgAggregateInputType
    _sum?: ShipmentStatusHistorySumAggregateInputType
    _min?: ShipmentStatusHistoryMinAggregateInputType
    _max?: ShipmentStatusHistoryMaxAggregateInputType
  }

  export type ShipmentStatusHistoryGroupByOutputType = {
    id: number
    uuid: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at: Date
    status_id: number
    company_id: number
    _count: ShipmentStatusHistoryCountAggregateOutputType | null
    _avg: ShipmentStatusHistoryAvgAggregateOutputType | null
    _sum: ShipmentStatusHistorySumAggregateOutputType | null
    _min: ShipmentStatusHistoryMinAggregateOutputType | null
    _max: ShipmentStatusHistoryMaxAggregateOutputType | null
  }

  type GetShipmentStatusHistoryGroupByPayload<T extends ShipmentStatusHistoryGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentStatusHistoryGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentStatusHistoryGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentStatusHistoryGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentStatusHistoryGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentStatusHistorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    ref_id?: boolean
    table_name?: boolean
    from_state?: boolean
    to_state?: boolean
    changed_by?: boolean
    changed_at?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentStatusHistory"]>

  export type ShipmentStatusHistorySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    ref_id?: boolean
    table_name?: boolean
    from_state?: boolean
    to_state?: boolean
    changed_by?: boolean
    changed_at?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentStatusHistory"]>

  export type ShipmentStatusHistorySelectScalar = {
    id?: boolean
    uuid?: boolean
    ref_id?: boolean
    table_name?: boolean
    from_state?: boolean
    to_state?: boolean
    changed_by?: boolean
    changed_at?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type ShipmentStatusHistoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ShipmentStatusHistoryIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ShipmentStatusHistoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentStatusHistory"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      ref_id: number
      table_name: $Enums.ETables
      from_state: number
      to_state: number
      changed_by: number
      changed_at: Date
      status_id: number
      company_id: number
    }, ExtArgs["result"]["shipmentStatusHistory"]>
    composites: {}
  }

  type ShipmentStatusHistoryGetPayload<S extends boolean | null | undefined | ShipmentStatusHistoryDefaultArgs> = $Result.GetResult<Prisma.$ShipmentStatusHistoryPayload, S>

  type ShipmentStatusHistoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentStatusHistoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentStatusHistoryCountAggregateInputType | true
    }

  export interface ShipmentStatusHistoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentStatusHistory'], meta: { name: 'ShipmentStatusHistory' } }
    /**
     * Find zero or one ShipmentStatusHistory that matches the filter.
     * @param {ShipmentStatusHistoryFindUniqueArgs} args - Arguments to find a ShipmentStatusHistory
     * @example
     * // Get one ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentStatusHistoryFindUniqueArgs>(args: SelectSubset<T, ShipmentStatusHistoryFindUniqueArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentStatusHistory that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentStatusHistoryFindUniqueOrThrowArgs} args - Arguments to find a ShipmentStatusHistory
     * @example
     * // Get one ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentStatusHistoryFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentStatusHistoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentStatusHistory that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryFindFirstArgs} args - Arguments to find a ShipmentStatusHistory
     * @example
     * // Get one ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentStatusHistoryFindFirstArgs>(args?: SelectSubset<T, ShipmentStatusHistoryFindFirstArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentStatusHistory that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryFindFirstOrThrowArgs} args - Arguments to find a ShipmentStatusHistory
     * @example
     * // Get one ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentStatusHistoryFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentStatusHistoryFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentStatusHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentStatusHistories
     * const shipmentStatusHistories = await prisma.shipmentStatusHistory.findMany()
     * 
     * // Get first 10 ShipmentStatusHistories
     * const shipmentStatusHistories = await prisma.shipmentStatusHistory.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentStatusHistoryWithIdOnly = await prisma.shipmentStatusHistory.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentStatusHistoryFindManyArgs>(args?: SelectSubset<T, ShipmentStatusHistoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentStatusHistory.
     * @param {ShipmentStatusHistoryCreateArgs} args - Arguments to create a ShipmentStatusHistory.
     * @example
     * // Create one ShipmentStatusHistory
     * const ShipmentStatusHistory = await prisma.shipmentStatusHistory.create({
     *   data: {
     *     // ... data to create a ShipmentStatusHistory
     *   }
     * })
     * 
     */
    create<T extends ShipmentStatusHistoryCreateArgs>(args: SelectSubset<T, ShipmentStatusHistoryCreateArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentStatusHistories.
     * @param {ShipmentStatusHistoryCreateManyArgs} args - Arguments to create many ShipmentStatusHistories.
     * @example
     * // Create many ShipmentStatusHistories
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentStatusHistoryCreateManyArgs>(args?: SelectSubset<T, ShipmentStatusHistoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentStatusHistories and returns the data saved in the database.
     * @param {ShipmentStatusHistoryCreateManyAndReturnArgs} args - Arguments to create many ShipmentStatusHistories.
     * @example
     * // Create many ShipmentStatusHistories
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentStatusHistories and only return the `id`
     * const shipmentStatusHistoryWithIdOnly = await prisma.shipmentStatusHistory.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentStatusHistoryCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentStatusHistoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentStatusHistory.
     * @param {ShipmentStatusHistoryDeleteArgs} args - Arguments to delete one ShipmentStatusHistory.
     * @example
     * // Delete one ShipmentStatusHistory
     * const ShipmentStatusHistory = await prisma.shipmentStatusHistory.delete({
     *   where: {
     *     // ... filter to delete one ShipmentStatusHistory
     *   }
     * })
     * 
     */
    delete<T extends ShipmentStatusHistoryDeleteArgs>(args: SelectSubset<T, ShipmentStatusHistoryDeleteArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentStatusHistory.
     * @param {ShipmentStatusHistoryUpdateArgs} args - Arguments to update one ShipmentStatusHistory.
     * @example
     * // Update one ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentStatusHistoryUpdateArgs>(args: SelectSubset<T, ShipmentStatusHistoryUpdateArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentStatusHistories.
     * @param {ShipmentStatusHistoryDeleteManyArgs} args - Arguments to filter ShipmentStatusHistories to delete.
     * @example
     * // Delete a few ShipmentStatusHistories
     * const { count } = await prisma.shipmentStatusHistory.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentStatusHistoryDeleteManyArgs>(args?: SelectSubset<T, ShipmentStatusHistoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentStatusHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentStatusHistories
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentStatusHistoryUpdateManyArgs>(args: SelectSubset<T, ShipmentStatusHistoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentStatusHistory.
     * @param {ShipmentStatusHistoryUpsertArgs} args - Arguments to update or create a ShipmentStatusHistory.
     * @example
     * // Update or create a ShipmentStatusHistory
     * const shipmentStatusHistory = await prisma.shipmentStatusHistory.upsert({
     *   create: {
     *     // ... data to create a ShipmentStatusHistory
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentStatusHistory we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentStatusHistoryUpsertArgs>(args: SelectSubset<T, ShipmentStatusHistoryUpsertArgs<ExtArgs>>): Prisma__ShipmentStatusHistoryClient<$Result.GetResult<Prisma.$ShipmentStatusHistoryPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentStatusHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryCountArgs} args - Arguments to filter ShipmentStatusHistories to count.
     * @example
     * // Count the number of ShipmentStatusHistories
     * const count = await prisma.shipmentStatusHistory.count({
     *   where: {
     *     // ... the filter for the ShipmentStatusHistories we want to count
     *   }
     * })
    **/
    count<T extends ShipmentStatusHistoryCountArgs>(
      args?: Subset<T, ShipmentStatusHistoryCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentStatusHistoryCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentStatusHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentStatusHistoryAggregateArgs>(args: Subset<T, ShipmentStatusHistoryAggregateArgs>): Prisma.PrismaPromise<GetShipmentStatusHistoryAggregateType<T>>

    /**
     * Group by ShipmentStatusHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentStatusHistoryGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentStatusHistoryGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentStatusHistoryGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentStatusHistoryGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentStatusHistoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentStatusHistoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentStatusHistory model
   */
  readonly fields: ShipmentStatusHistoryFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentStatusHistory.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentStatusHistoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentStatusHistory model
   */ 
  interface ShipmentStatusHistoryFieldRefs {
    readonly id: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly uuid: FieldRef<"ShipmentStatusHistory", 'String'>
    readonly ref_id: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly table_name: FieldRef<"ShipmentStatusHistory", 'ETables'>
    readonly from_state: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly to_state: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly changed_by: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly changed_at: FieldRef<"ShipmentStatusHistory", 'DateTime'>
    readonly status_id: FieldRef<"ShipmentStatusHistory", 'Int'>
    readonly company_id: FieldRef<"ShipmentStatusHistory", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentStatusHistory findUnique
   */
  export type ShipmentStatusHistoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatusHistory to fetch.
     */
    where: ShipmentStatusHistoryWhereUniqueInput
  }

  /**
   * ShipmentStatusHistory findUniqueOrThrow
   */
  export type ShipmentStatusHistoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatusHistory to fetch.
     */
    where: ShipmentStatusHistoryWhereUniqueInput
  }

  /**
   * ShipmentStatusHistory findFirst
   */
  export type ShipmentStatusHistoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatusHistory to fetch.
     */
    where?: ShipmentStatusHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatusHistories to fetch.
     */
    orderBy?: ShipmentStatusHistoryOrderByWithRelationInput | ShipmentStatusHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentStatusHistories.
     */
    cursor?: ShipmentStatusHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatusHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatusHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentStatusHistories.
     */
    distinct?: ShipmentStatusHistoryScalarFieldEnum | ShipmentStatusHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentStatusHistory findFirstOrThrow
   */
  export type ShipmentStatusHistoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatusHistory to fetch.
     */
    where?: ShipmentStatusHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatusHistories to fetch.
     */
    orderBy?: ShipmentStatusHistoryOrderByWithRelationInput | ShipmentStatusHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentStatusHistories.
     */
    cursor?: ShipmentStatusHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatusHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatusHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentStatusHistories.
     */
    distinct?: ShipmentStatusHistoryScalarFieldEnum | ShipmentStatusHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentStatusHistory findMany
   */
  export type ShipmentStatusHistoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentStatusHistories to fetch.
     */
    where?: ShipmentStatusHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentStatusHistories to fetch.
     */
    orderBy?: ShipmentStatusHistoryOrderByWithRelationInput | ShipmentStatusHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentStatusHistories.
     */
    cursor?: ShipmentStatusHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentStatusHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentStatusHistories.
     */
    skip?: number
    distinct?: ShipmentStatusHistoryScalarFieldEnum | ShipmentStatusHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentStatusHistory create
   */
  export type ShipmentStatusHistoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentStatusHistory.
     */
    data: XOR<ShipmentStatusHistoryCreateInput, ShipmentStatusHistoryUncheckedCreateInput>
  }

  /**
   * ShipmentStatusHistory createMany
   */
  export type ShipmentStatusHistoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentStatusHistories.
     */
    data: ShipmentStatusHistoryCreateManyInput | ShipmentStatusHistoryCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentStatusHistory createManyAndReturn
   */
  export type ShipmentStatusHistoryCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentStatusHistories.
     */
    data: ShipmentStatusHistoryCreateManyInput | ShipmentStatusHistoryCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentStatusHistory update
   */
  export type ShipmentStatusHistoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentStatusHistory.
     */
    data: XOR<ShipmentStatusHistoryUpdateInput, ShipmentStatusHistoryUncheckedUpdateInput>
    /**
     * Choose, which ShipmentStatusHistory to update.
     */
    where: ShipmentStatusHistoryWhereUniqueInput
  }

  /**
   * ShipmentStatusHistory updateMany
   */
  export type ShipmentStatusHistoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentStatusHistories.
     */
    data: XOR<ShipmentStatusHistoryUpdateManyMutationInput, ShipmentStatusHistoryUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentStatusHistories to update
     */
    where?: ShipmentStatusHistoryWhereInput
  }

  /**
   * ShipmentStatusHistory upsert
   */
  export type ShipmentStatusHistoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentStatusHistory to update in case it exists.
     */
    where: ShipmentStatusHistoryWhereUniqueInput
    /**
     * In case the ShipmentStatusHistory found by the `where` argument doesn't exist, create a new ShipmentStatusHistory with this data.
     */
    create: XOR<ShipmentStatusHistoryCreateInput, ShipmentStatusHistoryUncheckedCreateInput>
    /**
     * In case the ShipmentStatusHistory was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentStatusHistoryUpdateInput, ShipmentStatusHistoryUncheckedUpdateInput>
  }

  /**
   * ShipmentStatusHistory delete
   */
  export type ShipmentStatusHistoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
    /**
     * Filter which ShipmentStatusHistory to delete.
     */
    where: ShipmentStatusHistoryWhereUniqueInput
  }

  /**
   * ShipmentStatusHistory deleteMany
   */
  export type ShipmentStatusHistoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentStatusHistories to delete
     */
    where?: ShipmentStatusHistoryWhereInput
  }

  /**
   * ShipmentStatusHistory without action
   */
  export type ShipmentStatusHistoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentStatusHistory
     */
    select?: ShipmentStatusHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentStatusHistoryInclude<ExtArgs> | null
  }


  /**
   * Model PodStatus
   */

  export type AggregatePodStatus = {
    _count: PodStatusCountAggregateOutputType | null
    _avg: PodStatusAvgAggregateOutputType | null
    _sum: PodStatusSumAggregateOutputType | null
    _min: PodStatusMinAggregateOutputType | null
    _max: PodStatusMaxAggregateOutputType | null
  }

  export type PodStatusAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type PodStatusSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type PodStatusMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    status_id: number | null
    company_id: number | null
    status_color_code: string | null
  }

  export type PodStatusMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    slug: string | null
    name: string | null
    status_id: number | null
    company_id: number | null
    status_color_code: string | null
  }

  export type PodStatusCountAggregateOutputType = {
    id: number
    uuid: number
    slug: number
    name: number
    status_id: number
    company_id: number
    status_color_code: number
    _all: number
  }


  export type PodStatusAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type PodStatusSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type PodStatusMinAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
  }

  export type PodStatusMaxAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
  }

  export type PodStatusCountAggregateInputType = {
    id?: true
    uuid?: true
    slug?: true
    name?: true
    status_id?: true
    company_id?: true
    status_color_code?: true
    _all?: true
  }

  export type PodStatusAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which PodStatus to aggregate.
     */
    where?: PodStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PodStatuses to fetch.
     */
    orderBy?: PodStatusOrderByWithRelationInput | PodStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: PodStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PodStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PodStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned PodStatuses
    **/
    _count?: true | PodStatusCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: PodStatusAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: PodStatusSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: PodStatusMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: PodStatusMaxAggregateInputType
  }

  export type GetPodStatusAggregateType<T extends PodStatusAggregateArgs> = {
        [P in keyof T & keyof AggregatePodStatus]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregatePodStatus[P]>
      : GetScalarType<T[P], AggregatePodStatus[P]>
  }




  export type PodStatusGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: PodStatusWhereInput
    orderBy?: PodStatusOrderByWithAggregationInput | PodStatusOrderByWithAggregationInput[]
    by: PodStatusScalarFieldEnum[] | PodStatusScalarFieldEnum
    having?: PodStatusScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: PodStatusCountAggregateInputType | true
    _avg?: PodStatusAvgAggregateInputType
    _sum?: PodStatusSumAggregateInputType
    _min?: PodStatusMinAggregateInputType
    _max?: PodStatusMaxAggregateInputType
  }

  export type PodStatusGroupByOutputType = {
    id: number
    uuid: string
    slug: string
    name: string
    status_id: number
    company_id: number
    status_color_code: string
    _count: PodStatusCountAggregateOutputType | null
    _avg: PodStatusAvgAggregateOutputType | null
    _sum: PodStatusSumAggregateOutputType | null
    _min: PodStatusMinAggregateOutputType | null
    _max: PodStatusMaxAggregateOutputType | null
  }

  type GetPodStatusGroupByPayload<T extends PodStatusGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<PodStatusGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof PodStatusGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], PodStatusGroupByOutputType[P]>
            : GetScalarType<T[P], PodStatusGroupByOutputType[P]>
        }
      >
    >


  export type PodStatusSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipments_location?: boolean | PodStatus$shipments_locationArgs<ExtArgs>
    _count?: boolean | PodStatusCountOutputTypeDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["podStatus"]>

  export type PodStatusSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["podStatus"]>

  export type PodStatusSelectScalar = {
    id?: boolean
    uuid?: boolean
    slug?: boolean
    name?: boolean
    status_id?: boolean
    company_id?: boolean
    status_color_code?: boolean
  }

  export type PodStatusInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
    shipments_location?: boolean | PodStatus$shipments_locationArgs<ExtArgs>
    _count?: boolean | PodStatusCountOutputTypeDefaultArgs<ExtArgs>
  }
  export type PodStatusIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $PodStatusPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "PodStatus"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
      shipments_location: Prisma.$ShipmentsLocationPayload<ExtArgs>[]
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      slug: string
      name: string
      status_id: number
      company_id: number
      status_color_code: string
    }, ExtArgs["result"]["podStatus"]>
    composites: {}
  }

  type PodStatusGetPayload<S extends boolean | null | undefined | PodStatusDefaultArgs> = $Result.GetResult<Prisma.$PodStatusPayload, S>

  type PodStatusCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<PodStatusFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: PodStatusCountAggregateInputType | true
    }

  export interface PodStatusDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PodStatus'], meta: { name: 'PodStatus' } }
    /**
     * Find zero or one PodStatus that matches the filter.
     * @param {PodStatusFindUniqueArgs} args - Arguments to find a PodStatus
     * @example
     * // Get one PodStatus
     * const podStatus = await prisma.podStatus.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends PodStatusFindUniqueArgs>(args: SelectSubset<T, PodStatusFindUniqueArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one PodStatus that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {PodStatusFindUniqueOrThrowArgs} args - Arguments to find a PodStatus
     * @example
     * // Get one PodStatus
     * const podStatus = await prisma.podStatus.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends PodStatusFindUniqueOrThrowArgs>(args: SelectSubset<T, PodStatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first PodStatus that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusFindFirstArgs} args - Arguments to find a PodStatus
     * @example
     * // Get one PodStatus
     * const podStatus = await prisma.podStatus.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends PodStatusFindFirstArgs>(args?: SelectSubset<T, PodStatusFindFirstArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first PodStatus that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusFindFirstOrThrowArgs} args - Arguments to find a PodStatus
     * @example
     * // Get one PodStatus
     * const podStatus = await prisma.podStatus.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends PodStatusFindFirstOrThrowArgs>(args?: SelectSubset<T, PodStatusFindFirstOrThrowArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more PodStatuses that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all PodStatuses
     * const podStatuses = await prisma.podStatus.findMany()
     * 
     * // Get first 10 PodStatuses
     * const podStatuses = await prisma.podStatus.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const podStatusWithIdOnly = await prisma.podStatus.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends PodStatusFindManyArgs>(args?: SelectSubset<T, PodStatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a PodStatus.
     * @param {PodStatusCreateArgs} args - Arguments to create a PodStatus.
     * @example
     * // Create one PodStatus
     * const PodStatus = await prisma.podStatus.create({
     *   data: {
     *     // ... data to create a PodStatus
     *   }
     * })
     * 
     */
    create<T extends PodStatusCreateArgs>(args: SelectSubset<T, PodStatusCreateArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many PodStatuses.
     * @param {PodStatusCreateManyArgs} args - Arguments to create many PodStatuses.
     * @example
     * // Create many PodStatuses
     * const podStatus = await prisma.podStatus.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends PodStatusCreateManyArgs>(args?: SelectSubset<T, PodStatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many PodStatuses and returns the data saved in the database.
     * @param {PodStatusCreateManyAndReturnArgs} args - Arguments to create many PodStatuses.
     * @example
     * // Create many PodStatuses
     * const podStatus = await prisma.podStatus.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many PodStatuses and only return the `id`
     * const podStatusWithIdOnly = await prisma.podStatus.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends PodStatusCreateManyAndReturnArgs>(args?: SelectSubset<T, PodStatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a PodStatus.
     * @param {PodStatusDeleteArgs} args - Arguments to delete one PodStatus.
     * @example
     * // Delete one PodStatus
     * const PodStatus = await prisma.podStatus.delete({
     *   where: {
     *     // ... filter to delete one PodStatus
     *   }
     * })
     * 
     */
    delete<T extends PodStatusDeleteArgs>(args: SelectSubset<T, PodStatusDeleteArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one PodStatus.
     * @param {PodStatusUpdateArgs} args - Arguments to update one PodStatus.
     * @example
     * // Update one PodStatus
     * const podStatus = await prisma.podStatus.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends PodStatusUpdateArgs>(args: SelectSubset<T, PodStatusUpdateArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more PodStatuses.
     * @param {PodStatusDeleteManyArgs} args - Arguments to filter PodStatuses to delete.
     * @example
     * // Delete a few PodStatuses
     * const { count } = await prisma.podStatus.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends PodStatusDeleteManyArgs>(args?: SelectSubset<T, PodStatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more PodStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many PodStatuses
     * const podStatus = await prisma.podStatus.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends PodStatusUpdateManyArgs>(args: SelectSubset<T, PodStatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one PodStatus.
     * @param {PodStatusUpsertArgs} args - Arguments to update or create a PodStatus.
     * @example
     * // Update or create a PodStatus
     * const podStatus = await prisma.podStatus.upsert({
     *   create: {
     *     // ... data to create a PodStatus
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the PodStatus we want to update
     *   }
     * })
     */
    upsert<T extends PodStatusUpsertArgs>(args: SelectSubset<T, PodStatusUpsertArgs<ExtArgs>>): Prisma__PodStatusClient<$Result.GetResult<Prisma.$PodStatusPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of PodStatuses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusCountArgs} args - Arguments to filter PodStatuses to count.
     * @example
     * // Count the number of PodStatuses
     * const count = await prisma.podStatus.count({
     *   where: {
     *     // ... the filter for the PodStatuses we want to count
     *   }
     * })
    **/
    count<T extends PodStatusCountArgs>(
      args?: Subset<T, PodStatusCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], PodStatusCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a PodStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends PodStatusAggregateArgs>(args: Subset<T, PodStatusAggregateArgs>): Prisma.PrismaPromise<GetPodStatusAggregateType<T>>

    /**
     * Group by PodStatus.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {PodStatusGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends PodStatusGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: PodStatusGroupByArgs['orderBy'] }
        : { orderBy?: PodStatusGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, PodStatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPodStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the PodStatus model
   */
  readonly fields: PodStatusFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for PodStatus.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__PodStatusClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    shipments_location<T extends PodStatus$shipments_locationArgs<ExtArgs> = {}>(args?: Subset<T, PodStatus$shipments_locationArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentsLocationPayload<ExtArgs>, T, "findMany"> | Null>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the PodStatus model
   */ 
  interface PodStatusFieldRefs {
    readonly id: FieldRef<"PodStatus", 'Int'>
    readonly uuid: FieldRef<"PodStatus", 'String'>
    readonly slug: FieldRef<"PodStatus", 'String'>
    readonly name: FieldRef<"PodStatus", 'String'>
    readonly status_id: FieldRef<"PodStatus", 'Int'>
    readonly company_id: FieldRef<"PodStatus", 'Int'>
    readonly status_color_code: FieldRef<"PodStatus", 'String'>
  }
    

  // Custom InputTypes
  /**
   * PodStatus findUnique
   */
  export type PodStatusFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter, which PodStatus to fetch.
     */
    where: PodStatusWhereUniqueInput
  }

  /**
   * PodStatus findUniqueOrThrow
   */
  export type PodStatusFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter, which PodStatus to fetch.
     */
    where: PodStatusWhereUniqueInput
  }

  /**
   * PodStatus findFirst
   */
  export type PodStatusFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter, which PodStatus to fetch.
     */
    where?: PodStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PodStatuses to fetch.
     */
    orderBy?: PodStatusOrderByWithRelationInput | PodStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for PodStatuses.
     */
    cursor?: PodStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PodStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PodStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of PodStatuses.
     */
    distinct?: PodStatusScalarFieldEnum | PodStatusScalarFieldEnum[]
  }

  /**
   * PodStatus findFirstOrThrow
   */
  export type PodStatusFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter, which PodStatus to fetch.
     */
    where?: PodStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PodStatuses to fetch.
     */
    orderBy?: PodStatusOrderByWithRelationInput | PodStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for PodStatuses.
     */
    cursor?: PodStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PodStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PodStatuses.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of PodStatuses.
     */
    distinct?: PodStatusScalarFieldEnum | PodStatusScalarFieldEnum[]
  }

  /**
   * PodStatus findMany
   */
  export type PodStatusFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter, which PodStatuses to fetch.
     */
    where?: PodStatusWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of PodStatuses to fetch.
     */
    orderBy?: PodStatusOrderByWithRelationInput | PodStatusOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing PodStatuses.
     */
    cursor?: PodStatusWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` PodStatuses from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` PodStatuses.
     */
    skip?: number
    distinct?: PodStatusScalarFieldEnum | PodStatusScalarFieldEnum[]
  }

  /**
   * PodStatus create
   */
  export type PodStatusCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * The data needed to create a PodStatus.
     */
    data: XOR<PodStatusCreateInput, PodStatusUncheckedCreateInput>
  }

  /**
   * PodStatus createMany
   */
  export type PodStatusCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many PodStatuses.
     */
    data: PodStatusCreateManyInput | PodStatusCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * PodStatus createManyAndReturn
   */
  export type PodStatusCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many PodStatuses.
     */
    data: PodStatusCreateManyInput | PodStatusCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * PodStatus update
   */
  export type PodStatusUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * The data needed to update a PodStatus.
     */
    data: XOR<PodStatusUpdateInput, PodStatusUncheckedUpdateInput>
    /**
     * Choose, which PodStatus to update.
     */
    where: PodStatusWhereUniqueInput
  }

  /**
   * PodStatus updateMany
   */
  export type PodStatusUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update PodStatuses.
     */
    data: XOR<PodStatusUpdateManyMutationInput, PodStatusUncheckedUpdateManyInput>
    /**
     * Filter which PodStatuses to update
     */
    where?: PodStatusWhereInput
  }

  /**
   * PodStatus upsert
   */
  export type PodStatusUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * The filter to search for the PodStatus to update in case it exists.
     */
    where: PodStatusWhereUniqueInput
    /**
     * In case the PodStatus found by the `where` argument doesn't exist, create a new PodStatus with this data.
     */
    create: XOR<PodStatusCreateInput, PodStatusUncheckedCreateInput>
    /**
     * In case the PodStatus was found with the provided `where` argument, update it with this data.
     */
    update: XOR<PodStatusUpdateInput, PodStatusUncheckedUpdateInput>
  }

  /**
   * PodStatus delete
   */
  export type PodStatusDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
    /**
     * Filter which PodStatus to delete.
     */
    where: PodStatusWhereUniqueInput
  }

  /**
   * PodStatus deleteMany
   */
  export type PodStatusDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which PodStatuses to delete
     */
    where?: PodStatusWhereInput
  }

  /**
   * PodStatus.shipments_location
   */
  export type PodStatus$shipments_locationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentsLocation
     */
    select?: ShipmentsLocationSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentsLocationInclude<ExtArgs> | null
    where?: ShipmentsLocationWhereInput
    orderBy?: ShipmentsLocationOrderByWithRelationInput | ShipmentsLocationOrderByWithRelationInput[]
    cursor?: ShipmentsLocationWhereUniqueInput
    take?: number
    skip?: number
    distinct?: ShipmentsLocationScalarFieldEnum | ShipmentsLocationScalarFieldEnum[]
  }

  /**
   * PodStatus without action
   */
  export type PodStatusDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the PodStatus
     */
    select?: PodStatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: PodStatusInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentLocationContactInfoHistory
   */

  export type AggregateShipmentLocationContactInfoHistory = {
    _count: ShipmentLocationContactInfoHistoryCountAggregateOutputType | null
    _avg: ShipmentLocationContactInfoHistoryAvgAggregateOutputType | null
    _sum: ShipmentLocationContactInfoHistorySumAggregateOutputType | null
    _min: ShipmentLocationContactInfoHistoryMinAggregateOutputType | null
    _max: ShipmentLocationContactInfoHistoryMaxAggregateOutputType | null
  }

  export type ShipmentLocationContactInfoHistoryAvgAggregateOutputType = {
    id: number | null
    created_by: number | null
    status_id: number | null
    company_id: number | null
    shipment_id: number | null
  }

  export type ShipmentLocationContactInfoHistorySumAggregateOutputType = {
    id: number | null
    created_by: number | null
    status_id: number | null
    company_id: number | null
    shipment_id: number | null
  }

  export type ShipmentLocationContactInfoHistoryMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    from_customer_delivery_contact_name: string | null
    to_customer_delivery_contact_name: string | null
    from_customer_delivery_contact_email: string | null
    to_customer_delivery_contact_email: string | null
    from_customer_delivery_contact_number: string | null
    to_customer_delivery_contact_number: string | null
    created_by: number | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
    shipment_id: number | null
    shipment_location_uid: string | null
  }

  export type ShipmentLocationContactInfoHistoryMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    from_customer_delivery_contact_name: string | null
    to_customer_delivery_contact_name: string | null
    from_customer_delivery_contact_email: string | null
    to_customer_delivery_contact_email: string | null
    from_customer_delivery_contact_number: string | null
    to_customer_delivery_contact_number: string | null
    created_by: number | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
    shipment_id: number | null
    shipment_location_uid: string | null
  }

  export type ShipmentLocationContactInfoHistoryCountAggregateOutputType = {
    id: number
    uuid: number
    from_customer_delivery_contact_name: number
    to_customer_delivery_contact_name: number
    from_customer_delivery_contact_email: number
    to_customer_delivery_contact_email: number
    from_customer_delivery_contact_number: number
    to_customer_delivery_contact_number: number
    created_by: number
    created_at: number
    status_id: number
    company_id: number
    shipment_id: number
    shipment_location_uid: number
    _all: number
  }


  export type ShipmentLocationContactInfoHistoryAvgAggregateInputType = {
    id?: true
    created_by?: true
    status_id?: true
    company_id?: true
    shipment_id?: true
  }

  export type ShipmentLocationContactInfoHistorySumAggregateInputType = {
    id?: true
    created_by?: true
    status_id?: true
    company_id?: true
    shipment_id?: true
  }

  export type ShipmentLocationContactInfoHistoryMinAggregateInputType = {
    id?: true
    uuid?: true
    from_customer_delivery_contact_name?: true
    to_customer_delivery_contact_name?: true
    from_customer_delivery_contact_email?: true
    to_customer_delivery_contact_email?: true
    from_customer_delivery_contact_number?: true
    to_customer_delivery_contact_number?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
    shipment_id?: true
    shipment_location_uid?: true
  }

  export type ShipmentLocationContactInfoHistoryMaxAggregateInputType = {
    id?: true
    uuid?: true
    from_customer_delivery_contact_name?: true
    to_customer_delivery_contact_name?: true
    from_customer_delivery_contact_email?: true
    to_customer_delivery_contact_email?: true
    from_customer_delivery_contact_number?: true
    to_customer_delivery_contact_number?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
    shipment_id?: true
    shipment_location_uid?: true
  }

  export type ShipmentLocationContactInfoHistoryCountAggregateInputType = {
    id?: true
    uuid?: true
    from_customer_delivery_contact_name?: true
    to_customer_delivery_contact_name?: true
    from_customer_delivery_contact_email?: true
    to_customer_delivery_contact_email?: true
    from_customer_delivery_contact_number?: true
    to_customer_delivery_contact_number?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
    shipment_id?: true
    shipment_location_uid?: true
    _all?: true
  }

  export type ShipmentLocationContactInfoHistoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentLocationContactInfoHistory to aggregate.
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentLocationContactInfoHistories to fetch.
     */
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithRelationInput | ShipmentLocationContactInfoHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentLocationContactInfoHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentLocationContactInfoHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentLocationContactInfoHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentLocationContactInfoHistories
    **/
    _count?: true | ShipmentLocationContactInfoHistoryCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentLocationContactInfoHistoryAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentLocationContactInfoHistorySumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentLocationContactInfoHistoryMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentLocationContactInfoHistoryMaxAggregateInputType
  }

  export type GetShipmentLocationContactInfoHistoryAggregateType<T extends ShipmentLocationContactInfoHistoryAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentLocationContactInfoHistory]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentLocationContactInfoHistory[P]>
      : GetScalarType<T[P], AggregateShipmentLocationContactInfoHistory[P]>
  }




  export type ShipmentLocationContactInfoHistoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentLocationContactInfoHistoryWhereInput
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithAggregationInput | ShipmentLocationContactInfoHistoryOrderByWithAggregationInput[]
    by: ShipmentLocationContactInfoHistoryScalarFieldEnum[] | ShipmentLocationContactInfoHistoryScalarFieldEnum
    having?: ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentLocationContactInfoHistoryCountAggregateInputType | true
    _avg?: ShipmentLocationContactInfoHistoryAvgAggregateInputType
    _sum?: ShipmentLocationContactInfoHistorySumAggregateInputType
    _min?: ShipmentLocationContactInfoHistoryMinAggregateInputType
    _max?: ShipmentLocationContactInfoHistoryMaxAggregateInputType
  }

  export type ShipmentLocationContactInfoHistoryGroupByOutputType = {
    id: number
    uuid: string
    from_customer_delivery_contact_name: string | null
    to_customer_delivery_contact_name: string | null
    from_customer_delivery_contact_email: string | null
    to_customer_delivery_contact_email: string | null
    from_customer_delivery_contact_number: string | null
    to_customer_delivery_contact_number: string | null
    created_by: number | null
    created_at: Date
    status_id: number
    company_id: number
    shipment_id: number | null
    shipment_location_uid: string | null
    _count: ShipmentLocationContactInfoHistoryCountAggregateOutputType | null
    _avg: ShipmentLocationContactInfoHistoryAvgAggregateOutputType | null
    _sum: ShipmentLocationContactInfoHistorySumAggregateOutputType | null
    _min: ShipmentLocationContactInfoHistoryMinAggregateOutputType | null
    _max: ShipmentLocationContactInfoHistoryMaxAggregateOutputType | null
  }

  type GetShipmentLocationContactInfoHistoryGroupByPayload<T extends ShipmentLocationContactInfoHistoryGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentLocationContactInfoHistoryGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentLocationContactInfoHistoryGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentLocationContactInfoHistoryGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentLocationContactInfoHistoryGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentLocationContactInfoHistorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    from_customer_delivery_contact_name?: boolean
    to_customer_delivery_contact_name?: boolean
    from_customer_delivery_contact_email?: boolean
    to_customer_delivery_contact_email?: boolean
    from_customer_delivery_contact_number?: boolean
    to_customer_delivery_contact_number?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentLocationContactInfoHistory"]>

  export type ShipmentLocationContactInfoHistorySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    from_customer_delivery_contact_name?: boolean
    to_customer_delivery_contact_name?: boolean
    from_customer_delivery_contact_email?: boolean
    to_customer_delivery_contact_email?: boolean
    from_customer_delivery_contact_number?: boolean
    to_customer_delivery_contact_number?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentLocationContactInfoHistory"]>

  export type ShipmentLocationContactInfoHistorySelectScalar = {
    id?: boolean
    uuid?: boolean
    from_customer_delivery_contact_name?: boolean
    to_customer_delivery_contact_name?: boolean
    from_customer_delivery_contact_email?: boolean
    to_customer_delivery_contact_email?: boolean
    from_customer_delivery_contact_number?: boolean
    to_customer_delivery_contact_number?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
  }

  export type ShipmentLocationContactInfoHistoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }
  export type ShipmentLocationContactInfoHistoryIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | StatusDefaultArgs<ExtArgs>
  }

  export type $ShipmentLocationContactInfoHistoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentLocationContactInfoHistory"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs>
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      from_customer_delivery_contact_name: string | null
      to_customer_delivery_contact_name: string | null
      from_customer_delivery_contact_email: string | null
      to_customer_delivery_contact_email: string | null
      from_customer_delivery_contact_number: string | null
      to_customer_delivery_contact_number: string | null
      created_by: number | null
      created_at: Date
      status_id: number
      company_id: number
      shipment_id: number | null
      shipment_location_uid: string | null
    }, ExtArgs["result"]["shipmentLocationContactInfoHistory"]>
    composites: {}
  }

  type ShipmentLocationContactInfoHistoryGetPayload<S extends boolean | null | undefined | ShipmentLocationContactInfoHistoryDefaultArgs> = $Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload, S>

  type ShipmentLocationContactInfoHistoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentLocationContactInfoHistoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentLocationContactInfoHistoryCountAggregateInputType | true
    }

  export interface ShipmentLocationContactInfoHistoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentLocationContactInfoHistory'], meta: { name: 'ShipmentLocationContactInfoHistory' } }
    /**
     * Find zero or one ShipmentLocationContactInfoHistory that matches the filter.
     * @param {ShipmentLocationContactInfoHistoryFindUniqueArgs} args - Arguments to find a ShipmentLocationContactInfoHistory
     * @example
     * // Get one ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentLocationContactInfoHistoryFindUniqueArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryFindUniqueArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentLocationContactInfoHistory that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentLocationContactInfoHistoryFindUniqueOrThrowArgs} args - Arguments to find a ShipmentLocationContactInfoHistory
     * @example
     * // Get one ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentLocationContactInfoHistoryFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentLocationContactInfoHistory that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryFindFirstArgs} args - Arguments to find a ShipmentLocationContactInfoHistory
     * @example
     * // Get one ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentLocationContactInfoHistoryFindFirstArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryFindFirstArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentLocationContactInfoHistory that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryFindFirstOrThrowArgs} args - Arguments to find a ShipmentLocationContactInfoHistory
     * @example
     * // Get one ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentLocationContactInfoHistoryFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentLocationContactInfoHistories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentLocationContactInfoHistories
     * const shipmentLocationContactInfoHistories = await prisma.shipmentLocationContactInfoHistory.findMany()
     * 
     * // Get first 10 ShipmentLocationContactInfoHistories
     * const shipmentLocationContactInfoHistories = await prisma.shipmentLocationContactInfoHistory.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentLocationContactInfoHistoryWithIdOnly = await prisma.shipmentLocationContactInfoHistory.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentLocationContactInfoHistoryFindManyArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentLocationContactInfoHistory.
     * @param {ShipmentLocationContactInfoHistoryCreateArgs} args - Arguments to create a ShipmentLocationContactInfoHistory.
     * @example
     * // Create one ShipmentLocationContactInfoHistory
     * const ShipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.create({
     *   data: {
     *     // ... data to create a ShipmentLocationContactInfoHistory
     *   }
     * })
     * 
     */
    create<T extends ShipmentLocationContactInfoHistoryCreateArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryCreateArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentLocationContactInfoHistories.
     * @param {ShipmentLocationContactInfoHistoryCreateManyArgs} args - Arguments to create many ShipmentLocationContactInfoHistories.
     * @example
     * // Create many ShipmentLocationContactInfoHistories
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentLocationContactInfoHistoryCreateManyArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentLocationContactInfoHistories and returns the data saved in the database.
     * @param {ShipmentLocationContactInfoHistoryCreateManyAndReturnArgs} args - Arguments to create many ShipmentLocationContactInfoHistories.
     * @example
     * // Create many ShipmentLocationContactInfoHistories
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentLocationContactInfoHistories and only return the `id`
     * const shipmentLocationContactInfoHistoryWithIdOnly = await prisma.shipmentLocationContactInfoHistory.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentLocationContactInfoHistoryCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentLocationContactInfoHistory.
     * @param {ShipmentLocationContactInfoHistoryDeleteArgs} args - Arguments to delete one ShipmentLocationContactInfoHistory.
     * @example
     * // Delete one ShipmentLocationContactInfoHistory
     * const ShipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.delete({
     *   where: {
     *     // ... filter to delete one ShipmentLocationContactInfoHistory
     *   }
     * })
     * 
     */
    delete<T extends ShipmentLocationContactInfoHistoryDeleteArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryDeleteArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentLocationContactInfoHistory.
     * @param {ShipmentLocationContactInfoHistoryUpdateArgs} args - Arguments to update one ShipmentLocationContactInfoHistory.
     * @example
     * // Update one ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentLocationContactInfoHistoryUpdateArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryUpdateArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentLocationContactInfoHistories.
     * @param {ShipmentLocationContactInfoHistoryDeleteManyArgs} args - Arguments to filter ShipmentLocationContactInfoHistories to delete.
     * @example
     * // Delete a few ShipmentLocationContactInfoHistories
     * const { count } = await prisma.shipmentLocationContactInfoHistory.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentLocationContactInfoHistoryDeleteManyArgs>(args?: SelectSubset<T, ShipmentLocationContactInfoHistoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentLocationContactInfoHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentLocationContactInfoHistories
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentLocationContactInfoHistoryUpdateManyArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentLocationContactInfoHistory.
     * @param {ShipmentLocationContactInfoHistoryUpsertArgs} args - Arguments to update or create a ShipmentLocationContactInfoHistory.
     * @example
     * // Update or create a ShipmentLocationContactInfoHistory
     * const shipmentLocationContactInfoHistory = await prisma.shipmentLocationContactInfoHistory.upsert({
     *   create: {
     *     // ... data to create a ShipmentLocationContactInfoHistory
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentLocationContactInfoHistory we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentLocationContactInfoHistoryUpsertArgs>(args: SelectSubset<T, ShipmentLocationContactInfoHistoryUpsertArgs<ExtArgs>>): Prisma__ShipmentLocationContactInfoHistoryClient<$Result.GetResult<Prisma.$ShipmentLocationContactInfoHistoryPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentLocationContactInfoHistories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryCountArgs} args - Arguments to filter ShipmentLocationContactInfoHistories to count.
     * @example
     * // Count the number of ShipmentLocationContactInfoHistories
     * const count = await prisma.shipmentLocationContactInfoHistory.count({
     *   where: {
     *     // ... the filter for the ShipmentLocationContactInfoHistories we want to count
     *   }
     * })
    **/
    count<T extends ShipmentLocationContactInfoHistoryCountArgs>(
      args?: Subset<T, ShipmentLocationContactInfoHistoryCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentLocationContactInfoHistoryCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentLocationContactInfoHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentLocationContactInfoHistoryAggregateArgs>(args: Subset<T, ShipmentLocationContactInfoHistoryAggregateArgs>): Prisma.PrismaPromise<GetShipmentLocationContactInfoHistoryAggregateType<T>>

    /**
     * Group by ShipmentLocationContactInfoHistory.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentLocationContactInfoHistoryGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentLocationContactInfoHistoryGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentLocationContactInfoHistoryGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentLocationContactInfoHistoryGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentLocationContactInfoHistoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentLocationContactInfoHistoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentLocationContactInfoHistory model
   */
  readonly fields: ShipmentLocationContactInfoHistoryFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentLocationContactInfoHistory.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentLocationContactInfoHistoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends StatusDefaultArgs<ExtArgs> = {}>(args?: Subset<T, StatusDefaultArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentLocationContactInfoHistory model
   */ 
  interface ShipmentLocationContactInfoHistoryFieldRefs {
    readonly id: FieldRef<"ShipmentLocationContactInfoHistory", 'Int'>
    readonly uuid: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly from_customer_delivery_contact_name: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly to_customer_delivery_contact_name: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly from_customer_delivery_contact_email: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly to_customer_delivery_contact_email: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly from_customer_delivery_contact_number: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly to_customer_delivery_contact_number: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
    readonly created_by: FieldRef<"ShipmentLocationContactInfoHistory", 'Int'>
    readonly created_at: FieldRef<"ShipmentLocationContactInfoHistory", 'DateTime'>
    readonly status_id: FieldRef<"ShipmentLocationContactInfoHistory", 'Int'>
    readonly company_id: FieldRef<"ShipmentLocationContactInfoHistory", 'Int'>
    readonly shipment_id: FieldRef<"ShipmentLocationContactInfoHistory", 'Int'>
    readonly shipment_location_uid: FieldRef<"ShipmentLocationContactInfoHistory", 'String'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentLocationContactInfoHistory findUnique
   */
  export type ShipmentLocationContactInfoHistoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentLocationContactInfoHistory to fetch.
     */
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
  }

  /**
   * ShipmentLocationContactInfoHistory findUniqueOrThrow
   */
  export type ShipmentLocationContactInfoHistoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentLocationContactInfoHistory to fetch.
     */
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
  }

  /**
   * ShipmentLocationContactInfoHistory findFirst
   */
  export type ShipmentLocationContactInfoHistoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentLocationContactInfoHistory to fetch.
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentLocationContactInfoHistories to fetch.
     */
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithRelationInput | ShipmentLocationContactInfoHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentLocationContactInfoHistories.
     */
    cursor?: ShipmentLocationContactInfoHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentLocationContactInfoHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentLocationContactInfoHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentLocationContactInfoHistories.
     */
    distinct?: ShipmentLocationContactInfoHistoryScalarFieldEnum | ShipmentLocationContactInfoHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentLocationContactInfoHistory findFirstOrThrow
   */
  export type ShipmentLocationContactInfoHistoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentLocationContactInfoHistory to fetch.
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentLocationContactInfoHistories to fetch.
     */
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithRelationInput | ShipmentLocationContactInfoHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentLocationContactInfoHistories.
     */
    cursor?: ShipmentLocationContactInfoHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentLocationContactInfoHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentLocationContactInfoHistories.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentLocationContactInfoHistories.
     */
    distinct?: ShipmentLocationContactInfoHistoryScalarFieldEnum | ShipmentLocationContactInfoHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentLocationContactInfoHistory findMany
   */
  export type ShipmentLocationContactInfoHistoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentLocationContactInfoHistories to fetch.
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentLocationContactInfoHistories to fetch.
     */
    orderBy?: ShipmentLocationContactInfoHistoryOrderByWithRelationInput | ShipmentLocationContactInfoHistoryOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentLocationContactInfoHistories.
     */
    cursor?: ShipmentLocationContactInfoHistoryWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentLocationContactInfoHistories from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentLocationContactInfoHistories.
     */
    skip?: number
    distinct?: ShipmentLocationContactInfoHistoryScalarFieldEnum | ShipmentLocationContactInfoHistoryScalarFieldEnum[]
  }

  /**
   * ShipmentLocationContactInfoHistory create
   */
  export type ShipmentLocationContactInfoHistoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentLocationContactInfoHistory.
     */
    data: XOR<ShipmentLocationContactInfoHistoryCreateInput, ShipmentLocationContactInfoHistoryUncheckedCreateInput>
  }

  /**
   * ShipmentLocationContactInfoHistory createMany
   */
  export type ShipmentLocationContactInfoHistoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentLocationContactInfoHistories.
     */
    data: ShipmentLocationContactInfoHistoryCreateManyInput | ShipmentLocationContactInfoHistoryCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentLocationContactInfoHistory createManyAndReturn
   */
  export type ShipmentLocationContactInfoHistoryCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentLocationContactInfoHistories.
     */
    data: ShipmentLocationContactInfoHistoryCreateManyInput | ShipmentLocationContactInfoHistoryCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentLocationContactInfoHistory update
   */
  export type ShipmentLocationContactInfoHistoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentLocationContactInfoHistory.
     */
    data: XOR<ShipmentLocationContactInfoHistoryUpdateInput, ShipmentLocationContactInfoHistoryUncheckedUpdateInput>
    /**
     * Choose, which ShipmentLocationContactInfoHistory to update.
     */
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
  }

  /**
   * ShipmentLocationContactInfoHistory updateMany
   */
  export type ShipmentLocationContactInfoHistoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentLocationContactInfoHistories.
     */
    data: XOR<ShipmentLocationContactInfoHistoryUpdateManyMutationInput, ShipmentLocationContactInfoHistoryUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentLocationContactInfoHistories to update
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
  }

  /**
   * ShipmentLocationContactInfoHistory upsert
   */
  export type ShipmentLocationContactInfoHistoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentLocationContactInfoHistory to update in case it exists.
     */
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
    /**
     * In case the ShipmentLocationContactInfoHistory found by the `where` argument doesn't exist, create a new ShipmentLocationContactInfoHistory with this data.
     */
    create: XOR<ShipmentLocationContactInfoHistoryCreateInput, ShipmentLocationContactInfoHistoryUncheckedCreateInput>
    /**
     * In case the ShipmentLocationContactInfoHistory was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentLocationContactInfoHistoryUpdateInput, ShipmentLocationContactInfoHistoryUncheckedUpdateInput>
  }

  /**
   * ShipmentLocationContactInfoHistory delete
   */
  export type ShipmentLocationContactInfoHistoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
    /**
     * Filter which ShipmentLocationContactInfoHistory to delete.
     */
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
  }

  /**
   * ShipmentLocationContactInfoHistory deleteMany
   */
  export type ShipmentLocationContactInfoHistoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentLocationContactInfoHistories to delete
     */
    where?: ShipmentLocationContactInfoHistoryWhereInput
  }

  /**
   * ShipmentLocationContactInfoHistory without action
   */
  export type ShipmentLocationContactInfoHistoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentLocationContactInfoHistory
     */
    select?: ShipmentLocationContactInfoHistorySelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentLocationContactInfoHistoryInclude<ExtArgs> | null
  }


  /**
   * Model ShipmentImages
   */

  export type AggregateShipmentImages = {
    _count: ShipmentImagesCountAggregateOutputType | null
    _avg: ShipmentImagesAvgAggregateOutputType | null
    _sum: ShipmentImagesSumAggregateOutputType | null
    _min: ShipmentImagesMinAggregateOutputType | null
    _max: ShipmentImagesMaxAggregateOutputType | null
  }

  export type ShipmentImagesAvgAggregateOutputType = {
    id: number | null
    shipment_id: number | null
    created_by: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentImagesSumAggregateOutputType = {
    id: number | null
    shipment_id: number | null
    created_by: number | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentImagesMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_id: number | null
    shipment_location_uid: string | null
    image_name: string | null
    image_format: string | null
    image_path: string | null
    image_type: string | null
    created_by: number | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentImagesMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    shipment_id: number | null
    shipment_location_uid: string | null
    image_name: string | null
    image_format: string | null
    image_path: string | null
    image_type: string | null
    created_by: number | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type ShipmentImagesCountAggregateOutputType = {
    id: number
    uuid: number
    shipment_id: number
    shipment_location_uid: number
    image_name: number
    image_format: number
    image_path: number
    image_type: number
    created_by: number
    created_at: number
    status_id: number
    company_id: number
    _all: number
  }


  export type ShipmentImagesAvgAggregateInputType = {
    id?: true
    shipment_id?: true
    created_by?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentImagesSumAggregateInputType = {
    id?: true
    shipment_id?: true
    created_by?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentImagesMinAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_location_uid?: true
    image_name?: true
    image_format?: true
    image_path?: true
    image_type?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentImagesMaxAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_location_uid?: true
    image_name?: true
    image_format?: true
    image_path?: true
    image_type?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
  }

  export type ShipmentImagesCountAggregateInputType = {
    id?: true
    uuid?: true
    shipment_id?: true
    shipment_location_uid?: true
    image_name?: true
    image_format?: true
    image_path?: true
    image_type?: true
    created_by?: true
    created_at?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type ShipmentImagesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentImages to aggregate.
     */
    where?: ShipmentImagesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentImages to fetch.
     */
    orderBy?: ShipmentImagesOrderByWithRelationInput | ShipmentImagesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: ShipmentImagesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentImages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentImages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned ShipmentImages
    **/
    _count?: true | ShipmentImagesCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: ShipmentImagesAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: ShipmentImagesSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: ShipmentImagesMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: ShipmentImagesMaxAggregateInputType
  }

  export type GetShipmentImagesAggregateType<T extends ShipmentImagesAggregateArgs> = {
        [P in keyof T & keyof AggregateShipmentImages]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateShipmentImages[P]>
      : GetScalarType<T[P], AggregateShipmentImages[P]>
  }




  export type ShipmentImagesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: ShipmentImagesWhereInput
    orderBy?: ShipmentImagesOrderByWithAggregationInput | ShipmentImagesOrderByWithAggregationInput[]
    by: ShipmentImagesScalarFieldEnum[] | ShipmentImagesScalarFieldEnum
    having?: ShipmentImagesScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: ShipmentImagesCountAggregateInputType | true
    _avg?: ShipmentImagesAvgAggregateInputType
    _sum?: ShipmentImagesSumAggregateInputType
    _min?: ShipmentImagesMinAggregateInputType
    _max?: ShipmentImagesMaxAggregateInputType
  }

  export type ShipmentImagesGroupByOutputType = {
    id: number
    uuid: string | null
    shipment_id: number | null
    shipment_location_uid: string | null
    image_name: string | null
    image_format: string | null
    image_path: string | null
    image_type: string | null
    created_by: number | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
    _count: ShipmentImagesCountAggregateOutputType | null
    _avg: ShipmentImagesAvgAggregateOutputType | null
    _sum: ShipmentImagesSumAggregateOutputType | null
    _min: ShipmentImagesMinAggregateOutputType | null
    _max: ShipmentImagesMaxAggregateOutputType | null
  }

  type GetShipmentImagesGroupByPayload<T extends ShipmentImagesGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<ShipmentImagesGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof ShipmentImagesGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], ShipmentImagesGroupByOutputType[P]>
            : GetScalarType<T[P], ShipmentImagesGroupByOutputType[P]>
        }
      >
    >


  export type ShipmentImagesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
    image_name?: boolean
    image_format?: boolean
    image_path?: boolean
    image_type?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | ShipmentImages$statusArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentImages"]>

  export type ShipmentImagesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
    image_name?: boolean
    image_format?: boolean
    image_path?: boolean
    image_type?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
    status?: boolean | ShipmentImages$statusArgs<ExtArgs>
  }, ExtArgs["result"]["shipmentImages"]>

  export type ShipmentImagesSelectScalar = {
    id?: boolean
    uuid?: boolean
    shipment_id?: boolean
    shipment_location_uid?: boolean
    image_name?: boolean
    image_format?: boolean
    image_path?: boolean
    image_type?: boolean
    created_by?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
  }

  export type ShipmentImagesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | ShipmentImages$statusArgs<ExtArgs>
  }
  export type ShipmentImagesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    status?: boolean | ShipmentImages$statusArgs<ExtArgs>
  }

  export type $ShipmentImagesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "ShipmentImages"
    objects: {
      status: Prisma.$StatusPayload<ExtArgs> | null
    }
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string | null
      shipment_id: number | null
      shipment_location_uid: string | null
      image_name: string | null
      image_format: string | null
      image_path: string | null
      image_type: string | null
      created_by: number | null
      created_at: Date | null
      status_id: number | null
      company_id: number | null
    }, ExtArgs["result"]["shipmentImages"]>
    composites: {}
  }

  type ShipmentImagesGetPayload<S extends boolean | null | undefined | ShipmentImagesDefaultArgs> = $Result.GetResult<Prisma.$ShipmentImagesPayload, S>

  type ShipmentImagesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<ShipmentImagesFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: ShipmentImagesCountAggregateInputType | true
    }

  export interface ShipmentImagesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShipmentImages'], meta: { name: 'ShipmentImages' } }
    /**
     * Find zero or one ShipmentImages that matches the filter.
     * @param {ShipmentImagesFindUniqueArgs} args - Arguments to find a ShipmentImages
     * @example
     * // Get one ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends ShipmentImagesFindUniqueArgs>(args: SelectSubset<T, ShipmentImagesFindUniqueArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one ShipmentImages that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {ShipmentImagesFindUniqueOrThrowArgs} args - Arguments to find a ShipmentImages
     * @example
     * // Get one ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends ShipmentImagesFindUniqueOrThrowArgs>(args: SelectSubset<T, ShipmentImagesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first ShipmentImages that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesFindFirstArgs} args - Arguments to find a ShipmentImages
     * @example
     * // Get one ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends ShipmentImagesFindFirstArgs>(args?: SelectSubset<T, ShipmentImagesFindFirstArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first ShipmentImages that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesFindFirstOrThrowArgs} args - Arguments to find a ShipmentImages
     * @example
     * // Get one ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends ShipmentImagesFindFirstOrThrowArgs>(args?: SelectSubset<T, ShipmentImagesFindFirstOrThrowArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more ShipmentImages that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findMany()
     * 
     * // Get first 10 ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const shipmentImagesWithIdOnly = await prisma.shipmentImages.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends ShipmentImagesFindManyArgs>(args?: SelectSubset<T, ShipmentImagesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a ShipmentImages.
     * @param {ShipmentImagesCreateArgs} args - Arguments to create a ShipmentImages.
     * @example
     * // Create one ShipmentImages
     * const ShipmentImages = await prisma.shipmentImages.create({
     *   data: {
     *     // ... data to create a ShipmentImages
     *   }
     * })
     * 
     */
    create<T extends ShipmentImagesCreateArgs>(args: SelectSubset<T, ShipmentImagesCreateArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many ShipmentImages.
     * @param {ShipmentImagesCreateManyArgs} args - Arguments to create many ShipmentImages.
     * @example
     * // Create many ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends ShipmentImagesCreateManyArgs>(args?: SelectSubset<T, ShipmentImagesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many ShipmentImages and returns the data saved in the database.
     * @param {ShipmentImagesCreateManyAndReturnArgs} args - Arguments to create many ShipmentImages.
     * @example
     * // Create many ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many ShipmentImages and only return the `id`
     * const shipmentImagesWithIdOnly = await prisma.shipmentImages.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends ShipmentImagesCreateManyAndReturnArgs>(args?: SelectSubset<T, ShipmentImagesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a ShipmentImages.
     * @param {ShipmentImagesDeleteArgs} args - Arguments to delete one ShipmentImages.
     * @example
     * // Delete one ShipmentImages
     * const ShipmentImages = await prisma.shipmentImages.delete({
     *   where: {
     *     // ... filter to delete one ShipmentImages
     *   }
     * })
     * 
     */
    delete<T extends ShipmentImagesDeleteArgs>(args: SelectSubset<T, ShipmentImagesDeleteArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one ShipmentImages.
     * @param {ShipmentImagesUpdateArgs} args - Arguments to update one ShipmentImages.
     * @example
     * // Update one ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends ShipmentImagesUpdateArgs>(args: SelectSubset<T, ShipmentImagesUpdateArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more ShipmentImages.
     * @param {ShipmentImagesDeleteManyArgs} args - Arguments to filter ShipmentImages to delete.
     * @example
     * // Delete a few ShipmentImages
     * const { count } = await prisma.shipmentImages.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends ShipmentImagesDeleteManyArgs>(args?: SelectSubset<T, ShipmentImagesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more ShipmentImages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends ShipmentImagesUpdateManyArgs>(args: SelectSubset<T, ShipmentImagesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one ShipmentImages.
     * @param {ShipmentImagesUpsertArgs} args - Arguments to update or create a ShipmentImages.
     * @example
     * // Update or create a ShipmentImages
     * const shipmentImages = await prisma.shipmentImages.upsert({
     *   create: {
     *     // ... data to create a ShipmentImages
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the ShipmentImages we want to update
     *   }
     * })
     */
    upsert<T extends ShipmentImagesUpsertArgs>(args: SelectSubset<T, ShipmentImagesUpsertArgs<ExtArgs>>): Prisma__ShipmentImagesClient<$Result.GetResult<Prisma.$ShipmentImagesPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of ShipmentImages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesCountArgs} args - Arguments to filter ShipmentImages to count.
     * @example
     * // Count the number of ShipmentImages
     * const count = await prisma.shipmentImages.count({
     *   where: {
     *     // ... the filter for the ShipmentImages we want to count
     *   }
     * })
    **/
    count<T extends ShipmentImagesCountArgs>(
      args?: Subset<T, ShipmentImagesCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], ShipmentImagesCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a ShipmentImages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends ShipmentImagesAggregateArgs>(args: Subset<T, ShipmentImagesAggregateArgs>): Prisma.PrismaPromise<GetShipmentImagesAggregateType<T>>

    /**
     * Group by ShipmentImages.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ShipmentImagesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends ShipmentImagesGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: ShipmentImagesGroupByArgs['orderBy'] }
        : { orderBy?: ShipmentImagesGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, ShipmentImagesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipmentImagesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the ShipmentImages model
   */
  readonly fields: ShipmentImagesFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for ShipmentImages.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__ShipmentImagesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    status<T extends ShipmentImages$statusArgs<ExtArgs> = {}>(args?: Subset<T, ShipmentImages$statusArgs<ExtArgs>>): Prisma__StatusClient<$Result.GetResult<Prisma.$StatusPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the ShipmentImages model
   */ 
  interface ShipmentImagesFieldRefs {
    readonly id: FieldRef<"ShipmentImages", 'Int'>
    readonly uuid: FieldRef<"ShipmentImages", 'String'>
    readonly shipment_id: FieldRef<"ShipmentImages", 'Int'>
    readonly shipment_location_uid: FieldRef<"ShipmentImages", 'String'>
    readonly image_name: FieldRef<"ShipmentImages", 'String'>
    readonly image_format: FieldRef<"ShipmentImages", 'String'>
    readonly image_path: FieldRef<"ShipmentImages", 'String'>
    readonly image_type: FieldRef<"ShipmentImages", 'String'>
    readonly created_by: FieldRef<"ShipmentImages", 'Int'>
    readonly created_at: FieldRef<"ShipmentImages", 'DateTime'>
    readonly status_id: FieldRef<"ShipmentImages", 'Int'>
    readonly company_id: FieldRef<"ShipmentImages", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * ShipmentImages findUnique
   */
  export type ShipmentImagesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentImages to fetch.
     */
    where: ShipmentImagesWhereUniqueInput
  }

  /**
   * ShipmentImages findUniqueOrThrow
   */
  export type ShipmentImagesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentImages to fetch.
     */
    where: ShipmentImagesWhereUniqueInput
  }

  /**
   * ShipmentImages findFirst
   */
  export type ShipmentImagesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentImages to fetch.
     */
    where?: ShipmentImagesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentImages to fetch.
     */
    orderBy?: ShipmentImagesOrderByWithRelationInput | ShipmentImagesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentImages.
     */
    cursor?: ShipmentImagesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentImages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentImages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentImages.
     */
    distinct?: ShipmentImagesScalarFieldEnum | ShipmentImagesScalarFieldEnum[]
  }

  /**
   * ShipmentImages findFirstOrThrow
   */
  export type ShipmentImagesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentImages to fetch.
     */
    where?: ShipmentImagesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentImages to fetch.
     */
    orderBy?: ShipmentImagesOrderByWithRelationInput | ShipmentImagesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for ShipmentImages.
     */
    cursor?: ShipmentImagesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentImages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentImages.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of ShipmentImages.
     */
    distinct?: ShipmentImagesScalarFieldEnum | ShipmentImagesScalarFieldEnum[]
  }

  /**
   * ShipmentImages findMany
   */
  export type ShipmentImagesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter, which ShipmentImages to fetch.
     */
    where?: ShipmentImagesWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of ShipmentImages to fetch.
     */
    orderBy?: ShipmentImagesOrderByWithRelationInput | ShipmentImagesOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing ShipmentImages.
     */
    cursor?: ShipmentImagesWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` ShipmentImages from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` ShipmentImages.
     */
    skip?: number
    distinct?: ShipmentImagesScalarFieldEnum | ShipmentImagesScalarFieldEnum[]
  }

  /**
   * ShipmentImages create
   */
  export type ShipmentImagesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * The data needed to create a ShipmentImages.
     */
    data?: XOR<ShipmentImagesCreateInput, ShipmentImagesUncheckedCreateInput>
  }

  /**
   * ShipmentImages createMany
   */
  export type ShipmentImagesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many ShipmentImages.
     */
    data: ShipmentImagesCreateManyInput | ShipmentImagesCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * ShipmentImages createManyAndReturn
   */
  export type ShipmentImagesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many ShipmentImages.
     */
    data: ShipmentImagesCreateManyInput | ShipmentImagesCreateManyInput[]
    skipDuplicates?: boolean
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesIncludeCreateManyAndReturn<ExtArgs> | null
  }

  /**
   * ShipmentImages update
   */
  export type ShipmentImagesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * The data needed to update a ShipmentImages.
     */
    data: XOR<ShipmentImagesUpdateInput, ShipmentImagesUncheckedUpdateInput>
    /**
     * Choose, which ShipmentImages to update.
     */
    where: ShipmentImagesWhereUniqueInput
  }

  /**
   * ShipmentImages updateMany
   */
  export type ShipmentImagesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update ShipmentImages.
     */
    data: XOR<ShipmentImagesUpdateManyMutationInput, ShipmentImagesUncheckedUpdateManyInput>
    /**
     * Filter which ShipmentImages to update
     */
    where?: ShipmentImagesWhereInput
  }

  /**
   * ShipmentImages upsert
   */
  export type ShipmentImagesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * The filter to search for the ShipmentImages to update in case it exists.
     */
    where: ShipmentImagesWhereUniqueInput
    /**
     * In case the ShipmentImages found by the `where` argument doesn't exist, create a new ShipmentImages with this data.
     */
    create: XOR<ShipmentImagesCreateInput, ShipmentImagesUncheckedCreateInput>
    /**
     * In case the ShipmentImages was found with the provided `where` argument, update it with this data.
     */
    update: XOR<ShipmentImagesUpdateInput, ShipmentImagesUncheckedUpdateInput>
  }

  /**
   * ShipmentImages delete
   */
  export type ShipmentImagesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
    /**
     * Filter which ShipmentImages to delete.
     */
    where: ShipmentImagesWhereUniqueInput
  }

  /**
   * ShipmentImages deleteMany
   */
  export type ShipmentImagesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which ShipmentImages to delete
     */
    where?: ShipmentImagesWhereInput
  }

  /**
   * ShipmentImages.status
   */
  export type ShipmentImages$statusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Status
     */
    select?: StatusSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: StatusInclude<ExtArgs> | null
    where?: StatusWhereInput
  }

  /**
   * ShipmentImages without action
   */
  export type ShipmentImagesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ShipmentImages
     */
    select?: ShipmentImagesSelect<ExtArgs> | null
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: ShipmentImagesInclude<ExtArgs> | null
  }


  /**
   * Model sms_test_requests
   */

  export type AggregateSms_test_requests = {
    _count: Sms_test_requestsCountAggregateOutputType | null
    _avg: Sms_test_requestsAvgAggregateOutputType | null
    _sum: Sms_test_requestsSumAggregateOutputType | null
    _min: Sms_test_requestsMinAggregateOutputType | null
    _max: Sms_test_requestsMaxAggregateOutputType | null
  }

  export type Sms_test_requestsAvgAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type Sms_test_requestsSumAggregateOutputType = {
    id: number | null
    status_id: number | null
    company_id: number | null
  }

  export type Sms_test_requestsMinAggregateOutputType = {
    id: number | null
    uuid: string | null
    mobile_number: string | null
    sms_content: string | null
    request_object: string | null
    response_object: string | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type Sms_test_requestsMaxAggregateOutputType = {
    id: number | null
    uuid: string | null
    mobile_number: string | null
    sms_content: string | null
    request_object: string | null
    response_object: string | null
    created_at: Date | null
    status_id: number | null
    company_id: number | null
  }

  export type Sms_test_requestsCountAggregateOutputType = {
    id: number
    uuid: number
    mobile_number: number
    sms_content: number
    request_object: number
    response_object: number
    created_at: number
    status_id: number
    company_id: number
    _all: number
  }


  export type Sms_test_requestsAvgAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type Sms_test_requestsSumAggregateInputType = {
    id?: true
    status_id?: true
    company_id?: true
  }

  export type Sms_test_requestsMinAggregateInputType = {
    id?: true
    uuid?: true
    mobile_number?: true
    sms_content?: true
    request_object?: true
    response_object?: true
    created_at?: true
    status_id?: true
    company_id?: true
  }

  export type Sms_test_requestsMaxAggregateInputType = {
    id?: true
    uuid?: true
    mobile_number?: true
    sms_content?: true
    request_object?: true
    response_object?: true
    created_at?: true
    status_id?: true
    company_id?: true
  }

  export type Sms_test_requestsCountAggregateInputType = {
    id?: true
    uuid?: true
    mobile_number?: true
    sms_content?: true
    request_object?: true
    response_object?: true
    created_at?: true
    status_id?: true
    company_id?: true
    _all?: true
  }

  export type Sms_test_requestsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which sms_test_requests to aggregate.
     */
    where?: sms_test_requestsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of sms_test_requests to fetch.
     */
    orderBy?: sms_test_requestsOrderByWithRelationInput | sms_test_requestsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the start position
     */
    cursor?: sms_test_requestsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` sms_test_requests from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` sms_test_requests.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Count returned sms_test_requests
    **/
    _count?: true | Sms_test_requestsCountAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to average
    **/
    _avg?: Sms_test_requestsAvgAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to sum
    **/
    _sum?: Sms_test_requestsSumAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the minimum value
    **/
    _min?: Sms_test_requestsMinAggregateInputType
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     * 
     * Select which fields to find the maximum value
    **/
    _max?: Sms_test_requestsMaxAggregateInputType
  }

  export type GetSms_test_requestsAggregateType<T extends Sms_test_requestsAggregateArgs> = {
        [P in keyof T & keyof AggregateSms_test_requests]: P extends '_count' | 'count'
      ? T[P] extends true
        ? number
        : GetScalarType<T[P], AggregateSms_test_requests[P]>
      : GetScalarType<T[P], AggregateSms_test_requests[P]>
  }




  export type sms_test_requestsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    where?: sms_test_requestsWhereInput
    orderBy?: sms_test_requestsOrderByWithAggregationInput | sms_test_requestsOrderByWithAggregationInput[]
    by: Sms_test_requestsScalarFieldEnum[] | Sms_test_requestsScalarFieldEnum
    having?: sms_test_requestsScalarWhereWithAggregatesInput
    take?: number
    skip?: number
    _count?: Sms_test_requestsCountAggregateInputType | true
    _avg?: Sms_test_requestsAvgAggregateInputType
    _sum?: Sms_test_requestsSumAggregateInputType
    _min?: Sms_test_requestsMinAggregateInputType
    _max?: Sms_test_requestsMaxAggregateInputType
  }

  export type Sms_test_requestsGroupByOutputType = {
    id: number
    uuid: string
    mobile_number: string | null
    sms_content: string | null
    request_object: string | null
    response_object: string | null
    created_at: Date
    status_id: number
    company_id: number | null
    _count: Sms_test_requestsCountAggregateOutputType | null
    _avg: Sms_test_requestsAvgAggregateOutputType | null
    _sum: Sms_test_requestsSumAggregateOutputType | null
    _min: Sms_test_requestsMinAggregateOutputType | null
    _max: Sms_test_requestsMaxAggregateOutputType | null
  }

  type GetSms_test_requestsGroupByPayload<T extends sms_test_requestsGroupByArgs> = Prisma.PrismaPromise<
    Array<
      PickEnumerable<Sms_test_requestsGroupByOutputType, T['by']> &
        {
          [P in ((keyof T) & (keyof Sms_test_requestsGroupByOutputType))]: P extends '_count'
            ? T[P] extends boolean
              ? number
              : GetScalarType<T[P], Sms_test_requestsGroupByOutputType[P]>
            : GetScalarType<T[P], Sms_test_requestsGroupByOutputType[P]>
        }
      >
    >


  export type sms_test_requestsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    mobile_number?: boolean
    sms_content?: boolean
    request_object?: boolean
    response_object?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["sms_test_requests"]>

  export type sms_test_requestsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
    id?: boolean
    uuid?: boolean
    mobile_number?: boolean
    sms_content?: boolean
    request_object?: boolean
    response_object?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
  }, ExtArgs["result"]["sms_test_requests"]>

  export type sms_test_requestsSelectScalar = {
    id?: boolean
    uuid?: boolean
    mobile_number?: boolean
    sms_content?: boolean
    request_object?: boolean
    response_object?: boolean
    created_at?: boolean
    status_id?: boolean
    company_id?: boolean
  }


  export type $sms_test_requestsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    name: "sms_test_requests"
    objects: {}
    scalars: $Extensions.GetPayloadResult<{
      id: number
      uuid: string
      mobile_number: string | null
      sms_content: string | null
      request_object: string | null
      response_object: string | null
      created_at: Date
      status_id: number
      company_id: number | null
    }, ExtArgs["result"]["sms_test_requests"]>
    composites: {}
  }

  type sms_test_requestsGetPayload<S extends boolean | null | undefined | sms_test_requestsDefaultArgs> = $Result.GetResult<Prisma.$sms_test_requestsPayload, S>

  type sms_test_requestsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = 
    Omit<sms_test_requestsFindManyArgs, 'select' | 'include' | 'distinct'> & {
      select?: Sms_test_requestsCountAggregateInputType | true
    }

  export interface sms_test_requestsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
    [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['sms_test_requests'], meta: { name: 'sms_test_requests' } }
    /**
     * Find zero or one Sms_test_requests that matches the filter.
     * @param {sms_test_requestsFindUniqueArgs} args - Arguments to find a Sms_test_requests
     * @example
     * // Get one Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends sms_test_requestsFindUniqueArgs>(args: SelectSubset<T, sms_test_requestsFindUniqueArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>

    /**
     * Find one Sms_test_requests that matches the filter or throw an error with `error.code='P2025'` 
     * if no matches were found.
     * @param {sms_test_requestsFindUniqueOrThrowArgs} args - Arguments to find a Sms_test_requests
     * @example
     * // Get one Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends sms_test_requestsFindUniqueOrThrowArgs>(args: SelectSubset<T, sms_test_requestsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>

    /**
     * Find the first Sms_test_requests that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsFindFirstArgs} args - Arguments to find a Sms_test_requests
     * @example
     * // Get one Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends sms_test_requestsFindFirstArgs>(args?: SelectSubset<T, sms_test_requestsFindFirstArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>

    /**
     * Find the first Sms_test_requests that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsFindFirstOrThrowArgs} args - Arguments to find a Sms_test_requests
     * @example
     * // Get one Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends sms_test_requestsFindFirstOrThrowArgs>(args?: SelectSubset<T, sms_test_requestsFindFirstOrThrowArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>

    /**
     * Find zero or more Sms_test_requests that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findMany()
     * 
     * // Get first 10 Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.findMany({ take: 10 })
     * 
     * // Only select the `id`
     * const sms_test_requestsWithIdOnly = await prisma.sms_test_requests.findMany({ select: { id: true } })
     * 
     */
    findMany<T extends sms_test_requestsFindManyArgs>(args?: SelectSubset<T, sms_test_requestsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "findMany">>

    /**
     * Create a Sms_test_requests.
     * @param {sms_test_requestsCreateArgs} args - Arguments to create a Sms_test_requests.
     * @example
     * // Create one Sms_test_requests
     * const Sms_test_requests = await prisma.sms_test_requests.create({
     *   data: {
     *     // ... data to create a Sms_test_requests
     *   }
     * })
     * 
     */
    create<T extends sms_test_requestsCreateArgs>(args: SelectSubset<T, sms_test_requestsCreateArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "create">, never, ExtArgs>

    /**
     * Create many Sms_test_requests.
     * @param {sms_test_requestsCreateManyArgs} args - Arguments to create many Sms_test_requests.
     * @example
     * // Create many Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *     
     */
    createMany<T extends sms_test_requestsCreateManyArgs>(args?: SelectSubset<T, sms_test_requestsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create many Sms_test_requests and returns the data saved in the database.
     * @param {sms_test_requestsCreateManyAndReturnArgs} args - Arguments to create many Sms_test_requests.
     * @example
     * // Create many Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * 
     * // Create many Sms_test_requests and only return the `id`
     * const sms_test_requestsWithIdOnly = await prisma.sms_test_requests.createManyAndReturn({ 
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * 
     */
    createManyAndReturn<T extends sms_test_requestsCreateManyAndReturnArgs>(args?: SelectSubset<T, sms_test_requestsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "createManyAndReturn">>

    /**
     * Delete a Sms_test_requests.
     * @param {sms_test_requestsDeleteArgs} args - Arguments to delete one Sms_test_requests.
     * @example
     * // Delete one Sms_test_requests
     * const Sms_test_requests = await prisma.sms_test_requests.delete({
     *   where: {
     *     // ... filter to delete one Sms_test_requests
     *   }
     * })
     * 
     */
    delete<T extends sms_test_requestsDeleteArgs>(args: SelectSubset<T, sms_test_requestsDeleteArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "delete">, never, ExtArgs>

    /**
     * Update one Sms_test_requests.
     * @param {sms_test_requestsUpdateArgs} args - Arguments to update one Sms_test_requests.
     * @example
     * // Update one Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    update<T extends sms_test_requestsUpdateArgs>(args: SelectSubset<T, sms_test_requestsUpdateArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "update">, never, ExtArgs>

    /**
     * Delete zero or more Sms_test_requests.
     * @param {sms_test_requestsDeleteManyArgs} args - Arguments to filter Sms_test_requests to delete.
     * @example
     * // Delete a few Sms_test_requests
     * const { count } = await prisma.sms_test_requests.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     * 
     */
    deleteMany<T extends sms_test_requestsDeleteManyArgs>(args?: SelectSubset<T, sms_test_requestsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Update zero or more Sms_test_requests.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     * 
     */
    updateMany<T extends sms_test_requestsUpdateManyArgs>(args: SelectSubset<T, sms_test_requestsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>

    /**
     * Create or update one Sms_test_requests.
     * @param {sms_test_requestsUpsertArgs} args - Arguments to update or create a Sms_test_requests.
     * @example
     * // Update or create a Sms_test_requests
     * const sms_test_requests = await prisma.sms_test_requests.upsert({
     *   create: {
     *     // ... data to create a Sms_test_requests
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Sms_test_requests we want to update
     *   }
     * })
     */
    upsert<T extends sms_test_requestsUpsertArgs>(args: SelectSubset<T, sms_test_requestsUpsertArgs<ExtArgs>>): Prisma__sms_test_requestsClient<$Result.GetResult<Prisma.$sms_test_requestsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>


    /**
     * Count the number of Sms_test_requests.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsCountArgs} args - Arguments to filter Sms_test_requests to count.
     * @example
     * // Count the number of Sms_test_requests
     * const count = await prisma.sms_test_requests.count({
     *   where: {
     *     // ... the filter for the Sms_test_requests we want to count
     *   }
     * })
    **/
    count<T extends sms_test_requestsCountArgs>(
      args?: Subset<T, sms_test_requestsCountArgs>,
    ): Prisma.PrismaPromise<
      T extends $Utils.Record<'select', any>
        ? T['select'] extends true
          ? number
          : GetScalarType<T['select'], Sms_test_requestsCountAggregateOutputType>
        : number
    >

    /**
     * Allows you to perform aggregations operations on a Sms_test_requests.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Sms_test_requestsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Sms_test_requestsAggregateArgs>(args: Subset<T, Sms_test_requestsAggregateArgs>): Prisma.PrismaPromise<GetSms_test_requestsAggregateType<T>>

    /**
     * Group by Sms_test_requests.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {sms_test_requestsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     * 
    **/
    groupBy<
      T extends sms_test_requestsGroupByArgs,
      HasSelectOrTake extends Or<
        Extends<'skip', Keys<T>>,
        Extends<'take', Keys<T>>
      >,
      OrderByArg extends True extends HasSelectOrTake
        ? { orderBy: sms_test_requestsGroupByArgs['orderBy'] }
        : { orderBy?: sms_test_requestsGroupByArgs['orderBy'] },
      OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
      ByFields extends MaybeTupleToUnion<T['by']>,
      ByValid extends Has<ByFields, OrderFields>,
      HavingFields extends GetHavingFields<T['having']>,
      HavingValid extends Has<ByFields, HavingFields>,
      ByEmpty extends T['by'] extends never[] ? True : False,
      InputErrors extends ByEmpty extends True
      ? `Error: "by" must not be empty.`
      : HavingValid extends False
      ? {
          [P in HavingFields]: P extends ByFields
            ? never
            : P extends string
            ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
            : [
                Error,
                'Field ',
                P,
                ` in "having" needs to be provided in "by"`,
              ]
        }[HavingFields]
      : 'take' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "take", you also need to provide "orderBy"'
      : 'skip' extends Keys<T>
      ? 'orderBy' extends Keys<T>
        ? ByValid extends True
          ? {}
          : {
              [P in OrderFields]: P extends ByFields
                ? never
                : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
            }[OrderFields]
        : 'Error: If you provide "skip", you also need to provide "orderBy"'
      : ByValid extends True
      ? {}
      : {
          [P in OrderFields]: P extends ByFields
            ? never
            : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
        }[OrderFields]
    >(args: SubsetIntersection<T, sms_test_requestsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSms_test_requestsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
  /**
   * Fields of the sms_test_requests model
   */
  readonly fields: sms_test_requestsFieldRefs;
  }

  /**
   * The delegate class that acts as a "Promise-like" for sms_test_requests.
   * Why is this prefixed with `Prisma__`?
   * Because we want to prevent naming conflicts as mentioned in
   * https://github.com/prisma/prisma-client-js/issues/707
   */
  export interface Prisma__sms_test_requestsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise"
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
  }




  /**
   * Fields of the sms_test_requests model
   */ 
  interface sms_test_requestsFieldRefs {
    readonly id: FieldRef<"sms_test_requests", 'Int'>
    readonly uuid: FieldRef<"sms_test_requests", 'String'>
    readonly mobile_number: FieldRef<"sms_test_requests", 'String'>
    readonly sms_content: FieldRef<"sms_test_requests", 'String'>
    readonly request_object: FieldRef<"sms_test_requests", 'String'>
    readonly response_object: FieldRef<"sms_test_requests", 'String'>
    readonly created_at: FieldRef<"sms_test_requests", 'DateTime'>
    readonly status_id: FieldRef<"sms_test_requests", 'Int'>
    readonly company_id: FieldRef<"sms_test_requests", 'Int'>
  }
    

  // Custom InputTypes
  /**
   * sms_test_requests findUnique
   */
  export type sms_test_requestsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter, which sms_test_requests to fetch.
     */
    where: sms_test_requestsWhereUniqueInput
  }

  /**
   * sms_test_requests findUniqueOrThrow
   */
  export type sms_test_requestsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter, which sms_test_requests to fetch.
     */
    where: sms_test_requestsWhereUniqueInput
  }

  /**
   * sms_test_requests findFirst
   */
  export type sms_test_requestsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter, which sms_test_requests to fetch.
     */
    where?: sms_test_requestsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of sms_test_requests to fetch.
     */
    orderBy?: sms_test_requestsOrderByWithRelationInput | sms_test_requestsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for sms_test_requests.
     */
    cursor?: sms_test_requestsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` sms_test_requests from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` sms_test_requests.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of sms_test_requests.
     */
    distinct?: Sms_test_requestsScalarFieldEnum | Sms_test_requestsScalarFieldEnum[]
  }

  /**
   * sms_test_requests findFirstOrThrow
   */
  export type sms_test_requestsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter, which sms_test_requests to fetch.
     */
    where?: sms_test_requestsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of sms_test_requests to fetch.
     */
    orderBy?: sms_test_requestsOrderByWithRelationInput | sms_test_requestsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for searching for sms_test_requests.
     */
    cursor?: sms_test_requestsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` sms_test_requests from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` sms_test_requests.
     */
    skip?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     * 
     * Filter by unique combinations of sms_test_requests.
     */
    distinct?: Sms_test_requestsScalarFieldEnum | Sms_test_requestsScalarFieldEnum[]
  }

  /**
   * sms_test_requests findMany
   */
  export type sms_test_requestsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter, which sms_test_requests to fetch.
     */
    where?: sms_test_requestsWhereInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     * 
     * Determine the order of sms_test_requests to fetch.
     */
    orderBy?: sms_test_requestsOrderByWithRelationInput | sms_test_requestsOrderByWithRelationInput[]
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     * 
     * Sets the position for listing sms_test_requests.
     */
    cursor?: sms_test_requestsWhereUniqueInput
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Take `±n` sms_test_requests from the position of the cursor.
     */
    take?: number
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     * 
     * Skip the first `n` sms_test_requests.
     */
    skip?: number
    distinct?: Sms_test_requestsScalarFieldEnum | Sms_test_requestsScalarFieldEnum[]
  }

  /**
   * sms_test_requests create
   */
  export type sms_test_requestsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * The data needed to create a sms_test_requests.
     */
    data?: XOR<sms_test_requestsCreateInput, sms_test_requestsUncheckedCreateInput>
  }

  /**
   * sms_test_requests createMany
   */
  export type sms_test_requestsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to create many sms_test_requests.
     */
    data: sms_test_requestsCreateManyInput | sms_test_requestsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * sms_test_requests createManyAndReturn
   */
  export type sms_test_requestsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelectCreateManyAndReturn<ExtArgs> | null
    /**
     * The data used to create many sms_test_requests.
     */
    data: sms_test_requestsCreateManyInput | sms_test_requestsCreateManyInput[]
    skipDuplicates?: boolean
  }

  /**
   * sms_test_requests update
   */
  export type sms_test_requestsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * The data needed to update a sms_test_requests.
     */
    data: XOR<sms_test_requestsUpdateInput, sms_test_requestsUncheckedUpdateInput>
    /**
     * Choose, which sms_test_requests to update.
     */
    where: sms_test_requestsWhereUniqueInput
  }

  /**
   * sms_test_requests updateMany
   */
  export type sms_test_requestsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * The data used to update sms_test_requests.
     */
    data: XOR<sms_test_requestsUpdateManyMutationInput, sms_test_requestsUncheckedUpdateManyInput>
    /**
     * Filter which sms_test_requests to update
     */
    where?: sms_test_requestsWhereInput
  }

  /**
   * sms_test_requests upsert
   */
  export type sms_test_requestsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * The filter to search for the sms_test_requests to update in case it exists.
     */
    where: sms_test_requestsWhereUniqueInput
    /**
     * In case the sms_test_requests found by the `where` argument doesn't exist, create a new sms_test_requests with this data.
     */
    create: XOR<sms_test_requestsCreateInput, sms_test_requestsUncheckedCreateInput>
    /**
     * In case the sms_test_requests was found with the provided `where` argument, update it with this data.
     */
    update: XOR<sms_test_requestsUpdateInput, sms_test_requestsUncheckedUpdateInput>
  }

  /**
   * sms_test_requests delete
   */
  export type sms_test_requestsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
    /**
     * Filter which sms_test_requests to delete.
     */
    where: sms_test_requestsWhereUniqueInput
  }

  /**
   * sms_test_requests deleteMany
   */
  export type sms_test_requestsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Filter which sms_test_requests to delete
     */
    where?: sms_test_requestsWhereInput
  }

  /**
   * sms_test_requests without action
   */
  export type sms_test_requestsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the sms_test_requests
     */
    select?: sms_test_requestsSelect<ExtArgs> | null
  }


  /**
   * Enums
   */

  export const TransactionIsolationLevel: {
    ReadUncommitted: 'ReadUncommitted',
    ReadCommitted: 'ReadCommitted',
    RepeatableRead: 'RepeatableRead',
    Serializable: 'Serializable'
  };

  export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]


  export const UserScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    username: 'username',
    email: 'email',
    email_verified: 'email_verified',
    password: 'password',
    status_id: 'status_id',
    role: 'role',
    process_status: 'process_status',
    is_drafted: 'is_drafted',
    reason: 'reason',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at',
    last_login: 'last_login',
    last_login_device: 'last_login_device',
    allow_login_web: 'allow_login_web',
    allow_login_mobile: 'allow_login_mobile'
  };

  export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]


  export const UserDetailScalarFieldEnum: {
    id: 'id',
    user_id: 'user_id',
    code: 'code',
    first_name: 'first_name',
    last_name: 'last_name',
    designation_id: 'designation_id',
    department_id: 'department_id',
    profile_pic: 'profile_pic',
    dob: 'dob',
    country_code: 'country_code',
    phone_number: 'phone_number',
    gender: 'gender',
    user_time_zone: 'user_time_zone',
    address: 'address',
    culture: 'culture',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at',
    resident_id: 'resident_id',
    passport_number: 'passport_number'
  };

  export type UserDetailScalarFieldEnum = (typeof UserDetailScalarFieldEnum)[keyof typeof UserDetailScalarFieldEnum]


  export const DesignationScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    code: 'code',
    name: 'name',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type DesignationScalarFieldEnum = (typeof DesignationScalarFieldEnum)[keyof typeof DesignationScalarFieldEnum]


  export const DepartmentScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    code: 'code',
    name: 'name',
    description: 'description',
    status_id: 'status_id',
    department_head_id: 'department_head_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type DepartmentScalarFieldEnum = (typeof DepartmentScalarFieldEnum)[keyof typeof DepartmentScalarFieldEnum]


  export const RequestLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    user_id: 'user_id',
    req_method: 'req_method',
    req_url: 'req_url',
    req_body: 'req_body',
    res_status: 'res_status',
    res_code: 'res_code',
    res_message: 'res_message',
    req_response: 'req_response',
    req_headers: 'req_headers',
    req_ip: 'req_ip',
    req_device: 'req_device',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type RequestLogScalarFieldEnum = (typeof RequestLogScalarFieldEnum)[keyof typeof RequestLogScalarFieldEnum]


  export const FinancialYearScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    code: 'code',
    is_freezed: 'is_freezed',
    start_date: 'start_date',
    end_date: 'end_date',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type FinancialYearScalarFieldEnum = (typeof FinancialYearScalarFieldEnum)[keyof typeof FinancialYearScalarFieldEnum]


  export const DocumentSequenceScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    module_name: 'module_name',
    financial_year_id: 'financial_year_id',
    current_sequence_no: 'current_sequence_no',
    start_sequence_no: 'start_sequence_no',
    end_sequence_no: 'end_sequence_no',
    sequence_length: 'sequence_length',
    status_id: 'status_id',
    code_format: 'code_format',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type DocumentSequenceScalarFieldEnum = (typeof DocumentSequenceScalarFieldEnum)[keyof typeof DocumentSequenceScalarFieldEnum]


  export const AuditLogScalarFieldEnum: {
    id: 'id',
    operation_type: 'operation_type',
    table_name: 'table_name',
    field_name: 'field_name',
    old_value: 'old_value',
    new_value: 'new_value',
    entity_id: 'entity_id',
    user_id: 'user_id',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]


  export const PermissionsScalarFieldEnum: {
    id: 'id',
    name: 'name',
    slug: 'slug',
    entity_id: 'entity_id',
    order_no: 'order_no',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type PermissionsScalarFieldEnum = (typeof PermissionsScalarFieldEnum)[keyof typeof PermissionsScalarFieldEnum]


  export const RoleScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type RoleScalarFieldEnum = (typeof RoleScalarFieldEnum)[keyof typeof RoleScalarFieldEnum]


  export const RolePermissionsScalarFieldEnum: {
    role_id: 'role_id',
    permission_id: 'permission_id',
    company_id: 'company_id'
  };

  export type RolePermissionsScalarFieldEnum = (typeof RolePermissionsScalarFieldEnum)[keyof typeof RolePermissionsScalarFieldEnum]


  export const UserRolesScalarFieldEnum: {
    user_id: 'user_id',
    role_id: 'role_id',
    company_id: 'company_id'
  };

  export type UserRolesScalarFieldEnum = (typeof UserRolesScalarFieldEnum)[keyof typeof UserRolesScalarFieldEnum]


  export const UserPermissionsScalarFieldEnum: {
    user_id: 'user_id',
    permission_id: 'permission_id',
    company_id: 'company_id'
  };

  export type UserPermissionsScalarFieldEnum = (typeof UserPermissionsScalarFieldEnum)[keyof typeof UserPermissionsScalarFieldEnum]


  export const OtpScalarFieldEnum: {
    id: 'id',
    user_id: 'user_id',
    otp: 'otp',
    type: 'type',
    notification_template_process_slug: 'notification_template_process_slug',
    company_id: 'company_id',
    created_at: 'created_at',
    verified_at: 'verified_at'
  };

  export type OtpScalarFieldEnum = (typeof OtpScalarFieldEnum)[keyof typeof OtpScalarFieldEnum]


  export const LanguageScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    name_in_english: 'name_in_english',
    flag: 'flag',
    code: 'code',
    rtl: 'rtl',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type LanguageScalarFieldEnum = (typeof LanguageScalarFieldEnum)[keyof typeof LanguageScalarFieldEnum]


  export const LanguageContentScalarFieldEnum: {
    id: 'id',
    language_id: 'language_id',
    key_content: 'key_content',
    values: 'values',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type LanguageContentScalarFieldEnum = (typeof LanguageContentScalarFieldEnum)[keyof typeof LanguageContentScalarFieldEnum]


  export const MenusScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    menu_type: 'menu_type',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type MenusScalarFieldEnum = (typeof MenusScalarFieldEnum)[keyof typeof MenusScalarFieldEnum]


  export const MenuItemsScalarFieldEnum: {
    id: 'id',
    menu_id: 'menu_id',
    name: 'name',
    target: 'target',
    parent_id: 'parent_id',
    permission_id: 'permission_id',
    entity_id: 'entity_id',
    link_type: 'link_type',
    order_no: 'order_no',
    menu_img: 'menu_img',
    short_cut_keys: 'short_cut_keys',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type MenuItemsScalarFieldEnum = (typeof MenuItemsScalarFieldEnum)[keyof typeof MenuItemsScalarFieldEnum]


  export const ActionTypeScalarFieldEnum: {
    id: 'id',
    name: 'name',
    description: 'description',
    company_id: 'company_id'
  };

  export type ActionTypeScalarFieldEnum = (typeof ActionTypeScalarFieldEnum)[keyof typeof ActionTypeScalarFieldEnum]


  export const EntityTypeScalarFieldEnum: {
    id: 'id',
    name: 'name',
    slug: 'slug',
    description: 'description',
    company_id: 'company_id'
  };

  export type EntityTypeScalarFieldEnum = (typeof EntityTypeScalarFieldEnum)[keyof typeof EntityTypeScalarFieldEnum]


  export const WizardGroupScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    status_id: 'status_id',
    created_at: 'created_at',
    company_id: 'company_id'
  };

  export type WizardGroupScalarFieldEnum = (typeof WizardGroupScalarFieldEnum)[keyof typeof WizardGroupScalarFieldEnum]


  export const WizardTypeScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    company_id: 'company_id'
  };

  export type WizardTypeScalarFieldEnum = (typeof WizardTypeScalarFieldEnum)[keyof typeof WizardTypeScalarFieldEnum]


  export const AboutLCPScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    type: 'type',
    name: 'name',
    description: 'description',
    order_no: 'order_no',
    documentation_video_url: 'documentation_video_url',
    documentation_pdf: 'documentation_pdf',
    documentation_word: 'documentation_word',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type AboutLCPScalarFieldEnum = (typeof AboutLCPScalarFieldEnum)[keyof typeof AboutLCPScalarFieldEnum]


  export const UserSearchConfigurationScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    user_id: 'user_id',
    entity_slug: 'entity_slug',
    view_name: 'view_name',
    is_default: 'is_default',
    search_values: 'search_values',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type UserSearchConfigurationScalarFieldEnum = (typeof UserSearchConfigurationScalarFieldEnum)[keyof typeof UserSearchConfigurationScalarFieldEnum]


  export const MasterEntityScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    entity_name: 'entity_name',
    entity_type: 'entity_type',
    report_type: 'report_type',
    primary_table: 'primary_table',
    is_admin_module: 'is_admin_module',
    draft_mode: 'draft_mode',
    associated_tables: 'associated_tables',
    associated_entity_name: 'associated_entity_name',
    query_information: 'query_information',
    form_information: 'form_information',
    report_information: 'report_information',
    add_query_information: 'add_query_information',
    edit_query_information: 'edit_query_information',
    preset_query_information: 'preset_query_information',
    static_page_content: 'static_page_content',
    header_entity_id: 'header_entity_id',
    footer_entity_id: 'footer_entity_id',
    export_template_id: 'export_template_id',
    export_template_file_name: 'export_template_file_name',
    dashboard_wizard_group_id: 'dashboard_wizard_group_id',
    dashboard_wizard_type: 'dashboard_wizard_type',
    dashboard_wizard_rows: 'dashboard_wizard_rows',
    dashboard_wizard_columns: 'dashboard_wizard_columns',
    dashboard_wizard_order_no: 'dashboard_wizard_order_no',
    dashboard_wizard_options: 'dashboard_wizard_options',
    dashboard_grid: 'dashboard_grid',
    reload_timeout: 'reload_timeout',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at',
    deleted_at: 'deleted_at'
  };

  export type MasterEntityScalarFieldEnum = (typeof MasterEntityScalarFieldEnum)[keyof typeof MasterEntityScalarFieldEnum]


  export const MasterEntityLineItemScalarFieldEnum: {
    id: 'id',
    master_grid_id: 'master_grid_id',
    field_name: 'field_name',
    display_name: 'display_name',
    field_html_content: 'field_html_content',
    enum_values: 'enum_values',
    order_no: 'order_no',
    is_grid_column: 'is_grid_column',
    is_searchable: 'is_searchable',
    clause_type: 'clause_type',
    is_sortable: 'is_sortable',
    field_type_id: 'field_type_id',
    link_type: 'link_type',
    link_action: 'link_action',
    link_mode: 'link_mode',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type MasterEntityLineItemScalarFieldEnum = (typeof MasterEntityLineItemScalarFieldEnum)[keyof typeof MasterEntityLineItemScalarFieldEnum]


  export const FieldTypeScalarFieldEnum: {
    id: 'id',
    field_type: 'field_type',
    company_id: 'company_id',
    status_id: 'status_id',
    created_at: 'created_at'
  };

  export type FieldTypeScalarFieldEnum = (typeof FieldTypeScalarFieldEnum)[keyof typeof FieldTypeScalarFieldEnum]


  export const MenuTypeScalarFieldEnum: {
    id: 'id',
    name: 'name',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type MenuTypeScalarFieldEnum = (typeof MenuTypeScalarFieldEnum)[keyof typeof MenuTypeScalarFieldEnum]


  export const NotificationTemplateProcessScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    query_information: 'query_information',
    status_id: 'status_id',
    company_id: 'company_id',
    notification_type: 'notification_type'
  };

  export type NotificationTemplateProcessScalarFieldEnum = (typeof NotificationTemplateProcessScalarFieldEnum)[keyof typeof NotificationTemplateProcessScalarFieldEnum]


  export const NotificationTemplateTagScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type NotificationTemplateTagScalarFieldEnum = (typeof NotificationTemplateTagScalarFieldEnum)[keyof typeof NotificationTemplateTagScalarFieldEnum]


  export const NotificationTemplateRecipientTagScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    notification_type: 'notification_type',
    description: 'description',
    query_information: 'query_information',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type NotificationTemplateRecipientTagScalarFieldEnum = (typeof NotificationTemplateRecipientTagScalarFieldEnum)[keyof typeof NotificationTemplateRecipientTagScalarFieldEnum]


  export const NotificationTemplateProcessTagsMappingScalarFieldEnum: {
    notification_template_process_id: 'notification_template_process_id',
    notification_template_tag_id: 'notification_template_tag_id',
    company_id: 'company_id'
  };

  export type NotificationTemplateProcessTagsMappingScalarFieldEnum = (typeof NotificationTemplateProcessTagsMappingScalarFieldEnum)[keyof typeof NotificationTemplateProcessTagsMappingScalarFieldEnum]


  export const NotificationTemplateScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    email_subject: 'email_subject',
    message: 'message',
    components: 'components',
    parameter_format: 'parameter_format',
    category: 'category',
    language: 'language',
    email_body: 'email_body',
    notification_template_process_id: 'notification_template_process_id',
    notification_type: 'notification_type',
    status_id: 'status_id',
    created_at: 'created_at',
    created_by: 'created_by',
    updated_at: 'updated_at',
    updated_by: 'updated_by',
    deleted_at: 'deleted_at',
    deleted_by: 'deleted_by',
    company_id: 'company_id'
  };

  export type NotificationTemplateScalarFieldEnum = (typeof NotificationTemplateScalarFieldEnum)[keyof typeof NotificationTemplateScalarFieldEnum]


  export const NotificationTemplateAssignmentScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    notification_template_process_id: 'notification_template_process_id',
    template_id: 'template_id',
    recipient_type: 'recipient_type',
    notification_to: 'notification_to',
    notification_type: 'notification_type',
    company_id: 'company_id',
    created_at: 'created_at',
    created_by: 'created_by'
  };

  export type NotificationTemplateAssignmentScalarFieldEnum = (typeof NotificationTemplateAssignmentScalarFieldEnum)[keyof typeof NotificationTemplateAssignmentScalarFieldEnum]


  export const EmailTemplateCcBccScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    send_type: 'send_type',
    recipient_type: 'recipient_type',
    email_to: 'email_to',
    company_id: 'company_id',
    created_at: 'created_at',
    created_by: 'created_by',
    email_template_assignment_id: 'email_template_assignment_id'
  };

  export type EmailTemplateCcBccScalarFieldEnum = (typeof EmailTemplateCcBccScalarFieldEnum)[keyof typeof EmailTemplateCcBccScalarFieldEnum]


  export const NotificationProcessJobScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    notification_template_process_slug: 'notification_template_process_slug',
    unique_id: 'unique_id',
    user_id: 'user_id',
    prefill_data: 'prefill_data',
    attachments_path: 'attachments_path',
    attachments_name: 'attachments_name',
    company_id: 'company_id',
    status_id: 'status_id',
    notification_type: 'notification_type',
    created_at: 'created_at',
    created_by: 'created_by'
  };

  export type NotificationProcessJobScalarFieldEnum = (typeof NotificationProcessJobScalarFieldEnum)[keyof typeof NotificationProcessJobScalarFieldEnum]


  export const NotificationJobScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    process_slug: 'process_slug',
    notification_to: 'notification_to',
    notification_subject: 'notification_subject',
    notification_content: 'notification_content',
    attachments_path: 'attachments_path',
    attachments_name: 'attachments_name',
    notification_cc: 'notification_cc',
    notification_bcc: 'notification_bcc',
    notification_type_id: 'notification_type_id',
    notification_status_id: 'notification_status_id',
    notification_type: 'notification_type',
    whatsapp_notification_data: 'whatsapp_notification_data',
    last_attempt_message: 'last_attempt_message',
    company_id: 'company_id',
    status_id: 'status_id',
    parent_id: 'parent_id',
    no_of_attempts: 'no_of_attempts',
    created_at: 'created_at',
    updated_at: 'updated_at',
    created_by: 'created_by',
    sent_at: 'sent_at',
    read_at: 'read_at'
  };

  export type NotificationJobScalarFieldEnum = (typeof NotificationJobScalarFieldEnum)[keyof typeof NotificationJobScalarFieldEnum]


  export const CarouselTemplateScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type CarouselTemplateScalarFieldEnum = (typeof CarouselTemplateScalarFieldEnum)[keyof typeof CarouselTemplateScalarFieldEnum]


  export const CarouselTemplateLineItemScalarFieldEnum: {
    id: 'id',
    carousel_template_id: 'carousel_template_id',
    name: 'name',
    slug: 'slug',
    description: 'description',
    image_url: 'image_url',
    video_url: 'video_url',
    clickable_link: 'clickable_link',
    order_no: 'order_no',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type CarouselTemplateLineItemScalarFieldEnum = (typeof CarouselTemplateLineItemScalarFieldEnum)[keyof typeof CarouselTemplateLineItemScalarFieldEnum]


  export const ImportTemplateScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    max_row_count: 'max_row_count',
    header_row: 'header_row',
    data_start_row: 'data_start_row',
    data_end_row: 'data_end_row',
    ignore_error_rows: 'ignore_error_rows',
    is_admin_module: 'is_admin_module',
    is_send_mail: 'is_send_mail',
    email_process_slug: 'email_process_slug',
    job_type: 'job_type',
    batch_process_count: 'batch_process_count',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ImportTemplateScalarFieldEnum = (typeof ImportTemplateScalarFieldEnum)[keyof typeof ImportTemplateScalarFieldEnum]


  export const ImportTemplateLineItemScalarFieldEnum: {
    id: 'id',
    import_template_id: 'import_template_id',
    field_name: 'field_name',
    display_name: 'display_name',
    field_table: 'field_table',
    order_no: 'order_no',
    width: 'width',
    default_value: 'default_value',
    check_reg_exp: 'check_reg_exp',
    is_nullable: 'is_nullable',
    is_unique: 'is_unique',
    is_foreign: 'is_foreign',
    unique_query: 'unique_query',
    foreign_query: 'foreign_query',
    is_enum: 'is_enum',
    is_multiple: 'is_multiple',
    enum_values: 'enum_values',
    expression_rules: 'expression_rules',
    query_rules: 'query_rules',
    foreign_table: 'foreign_table',
    foreign_column: 'foreign_column',
    foreign_can_create: 'foreign_can_create',
    is_individual: 'is_individual',
    individual_column: 'individual_column',
    field_type_id: 'field_type_id',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type ImportTemplateLineItemScalarFieldEnum = (typeof ImportTemplateLineItemScalarFieldEnum)[keyof typeof ImportTemplateLineItemScalarFieldEnum]


  export const ImportTemplateQueriesScalarFieldEnum: {
    id: 'id',
    import_template_id: 'import_template_id',
    query_string: 'query_string',
    query_name: 'query_name',
    allow_multiple: 'allow_multiple',
    is_individual: 'is_individual',
    before_lineitems: 'before_lineitems',
    order_no: 'order_no',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type ImportTemplateQueriesScalarFieldEnum = (typeof ImportTemplateQueriesScalarFieldEnum)[keyof typeof ImportTemplateQueriesScalarFieldEnum]


  export const DirectImportDetailsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    import_template_id: 'import_template_id',
    file_path: 'file_path',
    file_name: 'file_name',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type DirectImportDetailsScalarFieldEnum = (typeof DirectImportDetailsScalarFieldEnum)[keyof typeof DirectImportDetailsScalarFieldEnum]


  export const ImportJobScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    import_template_id: 'import_template_id',
    name: 'name',
    description: 'description',
    sequence_number: 'sequence_number',
    ignore_error_rows: 'ignore_error_rows',
    header_details: 'header_details',
    table_config: 'table_config',
    total_rows: 'total_rows',
    completed_rows: 'completed_rows',
    error_rows: 'error_rows',
    batch_process_count: 'batch_process_count',
    job_status: 'job_status',
    last_processed_row_id: 'last_processed_row_id',
    file_path: 'file_path',
    file_name: 'file_name',
    validation_started_at: 'validation_started_at',
    validation_completed_at: 'validation_completed_at',
    processing_started_at: 'processing_started_at',
    processing_completed_at: 'processing_completed_at',
    expected_completion_time: 'expected_completion_time',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ImportJobScalarFieldEnum = (typeof ImportJobScalarFieldEnum)[keyof typeof ImportJobScalarFieldEnum]


  export const ImportJobLineItemScalarFieldEnum: {
    id: 'id',
    import_job_id: 'import_job_id',
    row_object: 'row_object',
    job_status: 'job_status',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at',
    validated_at: 'validated_at',
    processed_at: 'processed_at'
  };

  export type ImportJobLineItemScalarFieldEnum = (typeof ImportJobLineItemScalarFieldEnum)[keyof typeof ImportJobLineItemScalarFieldEnum]


  export const ExportTemplateScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    max_row_count: 'max_row_count',
    header_row: 'header_row',
    data_start_row: 'data_start_row',
    data_end_row: 'data_end_row',
    data_filepath: 'data_filepath',
    template_type: 'template_type',
    pdf_configurations: 'pdf_configurations',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ExportTemplateScalarFieldEnum = (typeof ExportTemplateScalarFieldEnum)[keyof typeof ExportTemplateScalarFieldEnum]


  export const ExportTemplateLineItemScalarFieldEnum: {
    id: 'id',
    export_template_id: 'export_template_id',
    field_name: 'field_name',
    display_name: 'display_name',
    field_table: 'field_table',
    order_no: 'order_no',
    default_value: 'default_value',
    column_name: 'column_name',
    is_individual: 'is_individual',
    individual_column: 'individual_column',
    field_type_id: 'field_type_id',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type ExportTemplateLineItemScalarFieldEnum = (typeof ExportTemplateLineItemScalarFieldEnum)[keyof typeof ExportTemplateLineItemScalarFieldEnum]


  export const ExportTemplateQueriesScalarFieldEnum: {
    id: 'id',
    export_template_id: 'export_template_id',
    query_string: 'query_string',
    query_name: 'query_name',
    query_procedure: 'query_procedure',
    is_individual: 'is_individual',
    order_no: 'order_no',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type ExportTemplateQueriesScalarFieldEnum = (typeof ExportTemplateQueriesScalarFieldEnum)[keyof typeof ExportTemplateQueriesScalarFieldEnum]


  export const StatusScalarFieldEnum: {
    id: 'id',
    name: 'name',
    slug: 'slug',
    description: 'description',
    status_id: 'status_id'
  };

  export type StatusScalarFieldEnum = (typeof StatusScalarFieldEnum)[keyof typeof StatusScalarFieldEnum]


  export const CategoryTypesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    category_type_id: 'category_type_id',
    name: 'name',
    description: 'description',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type CategoryTypesScalarFieldEnum = (typeof CategoryTypesScalarFieldEnum)[keyof typeof CategoryTypesScalarFieldEnum]


  export const CategoriesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    category_type_id: 'category_type_id',
    category_id: 'category_id',
    parent_id: 'parent_id',
    name: 'name',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type CategoriesScalarFieldEnum = (typeof CategoriesScalarFieldEnum)[keyof typeof CategoriesScalarFieldEnum]


  export const ConfigurationsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    order_no: 'order_no',
    config_key: 'config_key',
    category_id: 'category_id',
    category_type_id: 'category_type_id',
    config_select_json: 'config_select_json',
    config_file_value: 'config_file_value',
    config_value_type: 'config_value_type',
    config_field_type: 'config_field_type',
    display_config: 'display_config',
    config_value: 'config_value',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type ConfigurationsScalarFieldEnum = (typeof ConfigurationsScalarFieldEnum)[keyof typeof ConfigurationsScalarFieldEnum]


  export const UserConfigurationsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    order_no: 'order_no',
    config_key: 'config_key',
    category_id: 'category_id',
    category_type_id: 'category_type_id',
    config_select_json: 'config_select_json',
    config_file_value: 'config_file_value',
    config_value_type: 'config_value_type',
    config_field_type: 'config_field_type',
    display_config: 'display_config',
    config_value: 'config_value',
    user_id: 'user_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type UserConfigurationsScalarFieldEnum = (typeof UserConfigurationsScalarFieldEnum)[keyof typeof UserConfigurationsScalarFieldEnum]


  export const FileUploadLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    doc_name: 'doc_name',
    org_name: 'org_name',
    extension: 'extension',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at'
  };

  export type FileUploadLogScalarFieldEnum = (typeof FileUploadLogScalarFieldEnum)[keyof typeof FileUploadLogScalarFieldEnum]


  export const DataTransferQueriesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    select_query: 'select_query',
    insert_query: 'insert_query',
    transfer_type: 'transfer_type',
    job_name: 'job_name',
    destination_table: 'destination_table',
    clear_destination_table: 'clear_destination_table',
    execution_order: 'execution_order',
    command_type: 'command_type',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    company_id: 'company_id'
  };

  export type DataTransferQueriesScalarFieldEnum = (typeof DataTransferQueriesScalarFieldEnum)[keyof typeof DataTransferQueriesScalarFieldEnum]


  export const DeviceRegistrationScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    device_name: 'device_name',
    device_unique_id: 'device_unique_id',
    user_id: 'user_id',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type DeviceRegistrationScalarFieldEnum = (typeof DeviceRegistrationScalarFieldEnum)[keyof typeof DeviceRegistrationScalarFieldEnum]


  export const PoliciesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    slug: 'slug',
    name: 'name',
    description: 'description',
    query_information: 'query_information',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type PoliciesScalarFieldEnum = (typeof PoliciesScalarFieldEnum)[keyof typeof PoliciesScalarFieldEnum]


  export const UserPoliciesScalarFieldEnum: {
    company_id: 'company_id',
    policy_id: 'policy_id',
    user_id: 'user_id'
  };

  export type UserPoliciesScalarFieldEnum = (typeof UserPoliciesScalarFieldEnum)[keyof typeof UserPoliciesScalarFieldEnum]


  export const RolePoliciesScalarFieldEnum: {
    company_id: 'company_id',
    policy_id: 'policy_id',
    role_id: 'role_id'
  };

  export type RolePoliciesScalarFieldEnum = (typeof RolePoliciesScalarFieldEnum)[keyof typeof RolePoliciesScalarFieldEnum]


  export const AppversionsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    type: 'type',
    version_type: 'version_type',
    version: 'version',
    description: 'description',
    is_frontend_changed: 'is_frontend_changed',
    is_backend_changed: 'is_backend_changed',
    is_database_changed: 'is_database_changed',
    developed_by: 'developed_by',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    app_url: 'app_url'
  };

  export type AppversionsScalarFieldEnum = (typeof AppversionsScalarFieldEnum)[keyof typeof AppversionsScalarFieldEnum]


  export const ScheduledJobScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    timing: 'timing',
    cron_url: 'cron_url',
    concat_base_url: 'concat_base_url',
    downloadables: 'downloadables',
    description: 'description',
    created_at: 'created_at',
    company_id: 'company_id',
    status_id: 'status_id'
  };

  export type ScheduledJobScalarFieldEnum = (typeof ScheduledJobScalarFieldEnum)[keyof typeof ScheduledJobScalarFieldEnum]


  export const ScheduledJobLogsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    scheduled_job_id: 'scheduled_job_id',
    executed_statement: 'executed_statement',
    schedule_status: 'schedule_status',
    downloadables: 'downloadables',
    response: 'response',
    created_at: 'created_at',
    company_id: 'company_id',
    status_id: 'status_id'
  };

  export type ScheduledJobLogsScalarFieldEnum = (typeof ScheduledJobLogsScalarFieldEnum)[keyof typeof ScheduledJobLogsScalarFieldEnum]


  export const ApprovalWorkflowScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    slug: 'slug',
    query_information: 'query_information',
    status_id: 'status_id',
    url: 'url',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ApprovalWorkflowScalarFieldEnum = (typeof ApprovalWorkflowScalarFieldEnum)[keyof typeof ApprovalWorkflowScalarFieldEnum]


  export const ApprovalWorkflowApproverTagScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description',
    query_information: 'query_information',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ApprovalWorkflowApproverTagScalarFieldEnum = (typeof ApprovalWorkflowApproverTagScalarFieldEnum)[keyof typeof ApprovalWorkflowApproverTagScalarFieldEnum]


  export const ApprovalWorkflowAssignmentScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    approval_workflow_slug: 'approval_workflow_slug',
    approver_order_no: 'approver_order_no',
    approver_type: 'approver_type',
    approver: 'approver',
    approve_query_information: 'approve_query_information',
    reject_query_information: 'reject_query_information',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    approve_mail_id: 'approve_mail_id',
    reject_mail_id: 'reject_mail_id',
    approve_whatsapp_id: 'approve_whatsapp_id',
    reject_whatsapp_id: 'reject_whatsapp_id'
  };

  export type ApprovalWorkflowAssignmentScalarFieldEnum = (typeof ApprovalWorkflowAssignmentScalarFieldEnum)[keyof typeof ApprovalWorkflowAssignmentScalarFieldEnum]


  export const ApprovalProcessJobScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    approval_workflow_slug: 'approval_workflow_slug',
    sequence_no: 'sequence_no',
    description: 'description',
    primary_table: 'primary_table',
    unique_id: 'unique_id',
    screen_id: 'screen_id',
    user_id: 'user_id',
    prefill_data: 'prefill_data',
    details: 'details',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type ApprovalProcessJobScalarFieldEnum = (typeof ApprovalProcessJobScalarFieldEnum)[keyof typeof ApprovalProcessJobScalarFieldEnum]


  export const ApprovalProcessJobWorkflowScalarFieldEnum: {
    id: 'id',
    approval_workflow_assignment_id: 'approval_workflow_assignment_id',
    approval_process_job_id: 'approval_process_job_id',
    approval_workflow_slug: 'approval_workflow_slug',
    approval_process_job_name: 'approval_process_job_name',
    approval_process_job_description: 'approval_process_job_description',
    approve_query_information: 'approve_query_information',
    reject_query_information: 'reject_query_information',
    primary_table: 'primary_table',
    sequence_no: 'sequence_no',
    unique_id: 'unique_id',
    user_id: 'user_id',
    screen_id: 'screen_id',
    prefill_data: 'prefill_data',
    url: 'url',
    approver_order_no: 'approver_order_no',
    approver_type: 'approver_type',
    approver: 'approver',
    review_status: 'review_status',
    status_id: 'status_id',
    reviewed_by: 'reviewed_by',
    reason: 'reason',
    approve_mail_id: 'approve_mail_id',
    reject_mail_id: 'reject_mail_id',
    approve_whatsapp_id: 'approve_whatsapp_id',
    reject_whatsapp_id: 'reject_whatsapp_id',
    company_id: 'company_id',
    created_at: 'created_at',
    assigned_at: 'assigned_at',
    processed_at: 'processed_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    details: 'details'
  };

  export type ApprovalProcessJobWorkflowScalarFieldEnum = (typeof ApprovalProcessJobWorkflowScalarFieldEnum)[keyof typeof ApprovalProcessJobWorkflowScalarFieldEnum]


  export const ApprovalProcessJobWorkflowUserScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    approval_process_job_workflow_id: 'approval_process_job_workflow_id',
    user_id: 'user_id',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type ApprovalProcessJobWorkflowUserScalarFieldEnum = (typeof ApprovalProcessJobWorkflowUserScalarFieldEnum)[keyof typeof ApprovalProcessJobWorkflowUserScalarFieldEnum]


  export const DelegationScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    user_id: 'user_id',
    delegated_user_id: 'delegated_user_id',
    reason: 'reason',
    start_date: 'start_date',
    end_date: 'end_date',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type DelegationScalarFieldEnum = (typeof DelegationScalarFieldEnum)[keyof typeof DelegationScalarFieldEnum]


  export const SchemaChunkScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    table_name: 'table_name',
    chunk: 'chunk',
    status_id: 'status_id',
    created_at: 'created_at',
    created_by: 'created_by',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    company_id: 'company_id'
  };

  export type SchemaChunkScalarFieldEnum = (typeof SchemaChunkScalarFieldEnum)[keyof typeof SchemaChunkScalarFieldEnum]


  export const EmbeddingVectorLogsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    user_id: 'user_id',
    cost: 'cost',
    company_id: 'company_id',
    table_name: 'table_name',
    status_id: 'status_id',
    created_at: 'created_at',
    created_by: 'created_by',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type EmbeddingVectorLogsScalarFieldEnum = (typeof EmbeddingVectorLogsScalarFieldEnum)[keyof typeof EmbeddingVectorLogsScalarFieldEnum]


  export const OpenaiUsageLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    user_id: 'user_id',
    prompt: 'prompt',
    generated_sql: 'generated_sql',
    prompt_tokens: 'prompt_tokens',
    completion_tokens: 'completion_tokens',
    total_tokens: 'total_tokens',
    cost: 'cost',
    status_id: 'status_id',
    company_id: 'company_id',
    created_at: 'created_at',
    created_by: 'created_by',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type OpenaiUsageLogScalarFieldEnum = (typeof OpenaiUsageLogScalarFieldEnum)[keyof typeof OpenaiUsageLogScalarFieldEnum]


  export const QueryExecutionLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    status_id: 'status_id',
    query: 'query',
    created_at: 'created_at',
    created_by: 'created_by',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type QueryExecutionLogScalarFieldEnum = (typeof QueryExecutionLogScalarFieldEnum)[keyof typeof QueryExecutionLogScalarFieldEnum]


  export const ChildProcessScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    downloadables: 'downloadables',
    command: 'command',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ChildProcessScalarFieldEnum = (typeof ChildProcessScalarFieldEnum)[keyof typeof ChildProcessScalarFieldEnum]


  export const ChildProcessLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    child_process_id: 'child_process_id',
    process_status: 'process_status',
    downloadables: 'downloadables',
    output: 'output',
    initiated_by: 'initiated_by',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ChildProcessLogScalarFieldEnum = (typeof ChildProcessLogScalarFieldEnum)[keyof typeof ChildProcessLogScalarFieldEnum]


  export const ThemesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    reference_images: 'reference_images',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type ThemesScalarFieldEnum = (typeof ThemesScalarFieldEnum)[keyof typeof ThemesScalarFieldEnum]


  export const ThemeLineItemsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    theme_id: 'theme_id',
    attribute: 'attribute',
    value: 'value',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type ThemeLineItemsScalarFieldEnum = (typeof ThemeLineItemsScalarFieldEnum)[keyof typeof ThemeLineItemsScalarFieldEnum]


  export const ThemeAttributesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    attribute: 'attribute',
    value: 'value',
    description: 'description',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type ThemeAttributesScalarFieldEnum = (typeof ThemeAttributesScalarFieldEnum)[keyof typeof ThemeAttributesScalarFieldEnum]


  export const BarcodeTemplatesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    prefix: 'prefix',
    label_start: 'label_start',
    label_end: 'label_end',
    name: 'name',
    page_width: 'page_width',
    page_height: 'page_height',
    zpl_code: 'zpl_code',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type BarcodeTemplatesScalarFieldEnum = (typeof BarcodeTemplatesScalarFieldEnum)[keyof typeof BarcodeTemplatesScalarFieldEnum]


  export const UserLoginHistoryScalarFieldEnum: {
    id: 'id',
    user_id: 'user_id',
    session_id: 'session_id',
    login_time: 'login_time',
    logout_time: 'logout_time',
    ip_address: 'ip_address',
    user_agent: 'user_agent',
    login_status: 'login_status',
    status_id: 'status_id',
    failure_reason: 'failure_reason',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at',
    company_id: 'company_id',
    device_id: 'device_id'
  };

  export type UserLoginHistoryScalarFieldEnum = (typeof UserLoginHistoryScalarFieldEnum)[keyof typeof UserLoginHistoryScalarFieldEnum]


  export const PhoneCountryCodesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    country_code: 'country_code',
    iso_code: 'iso_code',
    country_name: 'country_name',
    company_id: 'company_id',
    status_id: 'status_id'
  };

  export type PhoneCountryCodesScalarFieldEnum = (typeof PhoneCountryCodesScalarFieldEnum)[keyof typeof PhoneCountryCodesScalarFieldEnum]


  export const TreeBuilderExampleScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    code: 'code',
    company_id: 'company_id',
    status_id: 'status_id',
    parent_id: 'parent_id',
    created_by: 'created_by',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    created_at: 'created_at',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type TreeBuilderExampleScalarFieldEnum = (typeof TreeBuilderExampleScalarFieldEnum)[keyof typeof TreeBuilderExampleScalarFieldEnum]


  export const DeliveryNotesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    delivery_note_number: 'delivery_note_number',
    date_of_issue: 'date_of_issue',
    customer_order_number: 'customer_order_number',
    reference_number: 'reference_number',
    shipment_type: 'shipment_type',
    supply_agreement: 'supply_agreement',
    purchase_reference: 'purchase_reference',
    alloy: 'alloy',
    temper: 'temper',
    color: 'color',
    aluminium_profiles: 'aluminium_profiles',
    number_of_boxes: 'number_of_boxes',
    number_of_bundles: 'number_of_bundles',
    customer_delivery_address_id: 'customer_delivery_address_id',
    customer_id: 'customer_id',
    status_id: 'status_id',
    dn_status_id: 'dn_status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    customer_delivery_contact_info: 'customer_delivery_contact_info',
    customer_delivery_contact_name: 'customer_delivery_contact_name',
    customer_delivery_contact_email: 'customer_delivery_contact_email',
    customer_delivery_contact_number: 'customer_delivery_contact_number'
  };

  export type DeliveryNotesScalarFieldEnum = (typeof DeliveryNotesScalarFieldEnum)[keyof typeof DeliveryNotesScalarFieldEnum]


  export const DeliveryNoteStatusScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    name: 'name',
    code: 'code',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type DeliveryNoteStatusScalarFieldEnum = (typeof DeliveryNoteStatusScalarFieldEnum)[keyof typeof DeliveryNoteStatusScalarFieldEnum]


  export const DeliveryNoteLineItemsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    delivery_note_id: 'delivery_note_id',
    length: 'length',
    quantity: 'quantity',
    weight: 'weight',
    item_description: 'item_description',
    slip_no: 'slip_no',
    section_number: 'section_number',
    item_code: 'item_code',
    remarks: 'remarks',
    status_id: 'status_id',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type DeliveryNoteLineItemsScalarFieldEnum = (typeof DeliveryNoteLineItemsScalarFieldEnum)[keyof typeof DeliveryNoteLineItemsScalarFieldEnum]


  export const CustomerDeliveryAddressesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    delivery_address_code: 'delivery_address_code',
    company_id: 'company_id',
    status_id: 'status_id',
    billing_address: 'billing_address',
    shipping_address: 'shipping_address',
    delivery_location: 'delivery_location',
    customer_contact_no: 'customer_contact_no',
    delivery_address_lat_long: 'delivery_address_lat_long'
  };

  export type CustomerDeliveryAddressesScalarFieldEnum = (typeof CustomerDeliveryAddressesScalarFieldEnum)[keyof typeof CustomerDeliveryAddressesScalarFieldEnum]


  export const ShipmentsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    shipment_number: 'shipment_number',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_status_id: 'shipment_status_id',
    reason: 'reason',
    vehicle_id: 'vehicle_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    driver_id: 'driver_id',
    mobile_build_version: 'mobile_build_version',
    shipment_delivered_at: 'shipment_delivered_at'
  };

  export type ShipmentsScalarFieldEnum = (typeof ShipmentsScalarFieldEnum)[keyof typeof ShipmentsScalarFieldEnum]


  export const ShipmentCustomersScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    shipment_id: 'shipment_id',
    shipment_customer_uid: 'shipment_customer_uid',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_status_id: 'shipment_status_id',
    customer_id: 'customer_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ShipmentCustomersScalarFieldEnum = (typeof ShipmentCustomersScalarFieldEnum)[keyof typeof ShipmentCustomersScalarFieldEnum]


  export const ShipmentsLocationScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    customer_address_id: 'customer_address_id',
    otp_status: 'otp_status',
    pod_status_id: 'pod_status_id',
    otp_number: 'otp_number',
    pod_images: 'pod_images',
    customer_signature: 'customer_signature',
    loaded_images: 'loaded_images',
    shipment_location_lat_long: 'shipment_location_lat_long',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_status_id: 'shipment_status_id',
    shipment_location_uid: 'shipment_location_uid',
    shipment_customer_uid: 'shipment_customer_uid',
    shipment_id: 'shipment_id',
    pod_at: 'pod_at',
    loaded_at: 'loaded_at',
    latest_otp_generated_at: 'latest_otp_generated_at',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at',
    customer_delivery_contact_name: 'customer_delivery_contact_name',
    customer_delivery_contact_email: 'customer_delivery_contact_email',
    customer_delivery_contact_number: 'customer_delivery_contact_number'
  };

  export type ShipmentsLocationScalarFieldEnum = (typeof ShipmentsLocationScalarFieldEnum)[keyof typeof ShipmentsLocationScalarFieldEnum]


  export const ShipmentDeliveryNotesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    delivery_note_id: 'delivery_note_id',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_status_id: 'shipment_status_id',
    shipment_location_uid: 'shipment_location_uid',
    shipment_id: 'shipment_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type ShipmentDeliveryNotesScalarFieldEnum = (typeof ShipmentDeliveryNotesScalarFieldEnum)[keyof typeof ShipmentDeliveryNotesScalarFieldEnum]


  export const VehiclesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_plate_number: 'vehicle_plate_number',
    vehicle_register_number: 'vehicle_register_number',
    company_id: 'company_id',
    status_id: 'status_id',
    is_assigned: 'is_assigned',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type VehiclesScalarFieldEnum = (typeof VehiclesScalarFieldEnum)[keyof typeof VehiclesScalarFieldEnum]


  export const VehicleUserMappingScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    status_id: 'status_id',
    vehicle_id: 'vehicle_id',
    user_id: 'user_id',
    created_by: 'created_by',
    created_at: 'created_at'
  };

  export type VehicleUserMappingScalarFieldEnum = (typeof VehicleUserMappingScalarFieldEnum)[keyof typeof VehicleUserMappingScalarFieldEnum]


  export const VehiclesGpsDataScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_id: 'vehicle_id',
    latitude: 'latitude',
    longitude: 'longitude',
    gps_timestamp: 'gps_timestamp',
    unique_gps_data_id: 'unique_gps_data_id',
    driver_id: 'driver_id',
    created_at: 'created_at',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_id: 'shipment_id',
    process_status_id: 'process_status_id',
    processed_at: 'processed_at'
  };

  export type VehiclesGpsDataScalarFieldEnum = (typeof VehiclesGpsDataScalarFieldEnum)[keyof typeof VehiclesGpsDataScalarFieldEnum]


  export const VehiclesGpsDataLogScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_id: 'vehicle_id',
    latitude: 'latitude',
    longitude: 'longitude',
    gps_timestamp: 'gps_timestamp',
    unique_gps_data_id: 'unique_gps_data_id',
    driver_id: 'driver_id',
    created_at: 'created_at',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_id: 'shipment_id',
    process_status_id: 'process_status_id',
    processed_at: 'processed_at'
  };

  export type VehiclesGpsDataLogScalarFieldEnum = (typeof VehiclesGpsDataLogScalarFieldEnum)[keyof typeof VehiclesGpsDataLogScalarFieldEnum]


  export const VehicleTripHistoriesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_id: 'vehicle_id',
    latitude: 'latitude',
    longitude: 'longitude',
    gps_timestamp: 'gps_timestamp',
    unique_gps_data_id: 'unique_gps_data_id',
    driver_id: 'driver_id',
    created_at: 'created_at',
    company_id: 'company_id',
    status_id: 'status_id',
    shipment_location_uid: 'shipment_location_uid',
    trip_type: 'trip_type',
    shipment_id: 'shipment_id'
  };

  export type VehicleTripHistoriesScalarFieldEnum = (typeof VehicleTripHistoriesScalarFieldEnum)[keyof typeof VehicleTripHistoriesScalarFieldEnum]


  export const GeoFencesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    zone_name: 'zone_name',
    zone_type: 'zone_type',
    radius: 'radius',
    category: 'category',
    latitude_coords: 'latitude_coords',
    longitude_coords: 'longitude_coords',
    paths: 'paths',
    company_id: 'company_id',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    updated_at: 'updated_at',
    deleted_by: 'deleted_by',
    deleted_at: 'deleted_at'
  };

  export type GeoFencesScalarFieldEnum = (typeof GeoFencesScalarFieldEnum)[keyof typeof GeoFencesScalarFieldEnum]


  export const GeoFenceTrackingScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_id: 'vehicle_id',
    geofence_id: 'geofence_id',
    activity_type: 'activity_type',
    activity_at: 'activity_at',
    company_id: 'company_id',
    status_id: 'status_id'
  };

  export type GeoFenceTrackingScalarFieldEnum = (typeof GeoFenceTrackingScalarFieldEnum)[keyof typeof GeoFenceTrackingScalarFieldEnum]


  export const VehicleGeofenceHistoryScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    vehicle_id: 'vehicle_id',
    driver_id: 'driver_id',
    customer_id: 'customer_id',
    geofence_id: 'geofence_id',
    event_type: 'event_type',
    event_timestamp: 'event_timestamp',
    shipment_id: 'shipment_id',
    company_id: 'company_id',
    status_id: 'status_id',
    latitude: 'latitude',
    longitude: 'longitude',
    created_at: 'created_at'
  };

  export type VehicleGeofenceHistoryScalarFieldEnum = (typeof VehicleGeofenceHistoryScalarFieldEnum)[keyof typeof VehicleGeofenceHistoryScalarFieldEnum]


  export const CustomerGeoFenceMappingScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    company_id: 'company_id',
    status_id: 'status_id',
    geofence_id: 'geofence_id',
    order_no: 'order_no',
    customer_id: 'customer_id',
    description: 'description',
    created_by: 'created_by',
    created_at: 'created_at'
  };

  export type CustomerGeoFenceMappingScalarFieldEnum = (typeof CustomerGeoFenceMappingScalarFieldEnum)[keyof typeof CustomerGeoFenceMappingScalarFieldEnum]


  export const ErpLogsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    req_method: 'req_method',
    req_url: 'req_url',
    req_body: 'req_body',
    company_id: 'company_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at',
    response_object: 'response_object',
    status_id: 'status_id',
    sync_status: 'sync_status',
    sync_number: 'sync_number'
  };

  export type ErpLogsScalarFieldEnum = (typeof ErpLogsScalarFieldEnum)[keyof typeof ErpLogsScalarFieldEnum]


  export const ErpLogsLineItemsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    delivery_note_number: 'delivery_note_number',
    date_of_issue: 'date_of_issue',
    customer_order_number: 'customer_order_number',
    reference_number: 'reference_number',
    shipment_type: 'shipment_type',
    line_item_sync_status: 'line_item_sync_status',
    supply_agreement: 'supply_agreement',
    purchase_reference: 'purchase_reference',
    alloy: 'alloy',
    temper: 'temper',
    color: 'color',
    aluminium_profiles: 'aluminium_profiles',
    number_of_boxes: 'number_of_boxes',
    number_of_bundles: 'number_of_bundles',
    erp_logs_id: 'erp_logs_id',
    line_item: 'line_item',
    company_id: 'company_id',
    status_id: 'status_id',
    created_by: 'created_by',
    created_at: 'created_at',
    updated_by: 'updated_by',
    deleted_by: 'deleted_by',
    updated_at: 'updated_at',
    deleted_at: 'deleted_at'
  };

  export type ErpLogsLineItemsScalarFieldEnum = (typeof ErpLogsLineItemsScalarFieldEnum)[keyof typeof ErpLogsLineItemsScalarFieldEnum]


  export const TempSessionDataScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    session_id: 'session_id',
    delivery_note_number: 'delivery_note_number',
    first_name: 'first_name',
    delivery_location: 'delivery_location',
    reference_number: 'reference_number',
    date_of_issue: 'date_of_issue',
    status_id: 'status_id',
    company_id: 'company_id',
    customer_delivery_id: 'customer_delivery_id',
    delivery_note_id: 'delivery_note_id',
    customer_id: 'customer_id',
    created_by: 'created_by',
    created_at: 'created_at'
  };

  export type TempSessionDataScalarFieldEnum = (typeof TempSessionDataScalarFieldEnum)[keyof typeof TempSessionDataScalarFieldEnum]


  export const ShipmentStatusScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    status_id: 'status_id',
    company_id: 'company_id',
    status_color_code: 'status_color_code'
  };

  export type ShipmentStatusScalarFieldEnum = (typeof ShipmentStatusScalarFieldEnum)[keyof typeof ShipmentStatusScalarFieldEnum]


  export const ShipmentStatusHistoryScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    ref_id: 'ref_id',
    table_name: 'table_name',
    from_state: 'from_state',
    to_state: 'to_state',
    changed_by: 'changed_by',
    changed_at: 'changed_at',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type ShipmentStatusHistoryScalarFieldEnum = (typeof ShipmentStatusHistoryScalarFieldEnum)[keyof typeof ShipmentStatusHistoryScalarFieldEnum]


  export const PodStatusScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    status_id: 'status_id',
    company_id: 'company_id',
    status_color_code: 'status_color_code'
  };

  export type PodStatusScalarFieldEnum = (typeof PodStatusScalarFieldEnum)[keyof typeof PodStatusScalarFieldEnum]


  export const ShipmentLocationContactInfoHistoryScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    from_customer_delivery_contact_name: 'from_customer_delivery_contact_name',
    to_customer_delivery_contact_name: 'to_customer_delivery_contact_name',
    from_customer_delivery_contact_email: 'from_customer_delivery_contact_email',
    to_customer_delivery_contact_email: 'to_customer_delivery_contact_email',
    from_customer_delivery_contact_number: 'from_customer_delivery_contact_number',
    to_customer_delivery_contact_number: 'to_customer_delivery_contact_number',
    created_by: 'created_by',
    created_at: 'created_at',
    status_id: 'status_id',
    company_id: 'company_id',
    shipment_id: 'shipment_id',
    shipment_location_uid: 'shipment_location_uid'
  };

  export type ShipmentLocationContactInfoHistoryScalarFieldEnum = (typeof ShipmentLocationContactInfoHistoryScalarFieldEnum)[keyof typeof ShipmentLocationContactInfoHistoryScalarFieldEnum]


  export const ShipmentImagesScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    shipment_id: 'shipment_id',
    shipment_location_uid: 'shipment_location_uid',
    image_name: 'image_name',
    image_format: 'image_format',
    image_path: 'image_path',
    image_type: 'image_type',
    created_by: 'created_by',
    created_at: 'created_at',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type ShipmentImagesScalarFieldEnum = (typeof ShipmentImagesScalarFieldEnum)[keyof typeof ShipmentImagesScalarFieldEnum]


  export const Sms_test_requestsScalarFieldEnum: {
    id: 'id',
    uuid: 'uuid',
    mobile_number: 'mobile_number',
    sms_content: 'sms_content',
    request_object: 'request_object',
    response_object: 'response_object',
    created_at: 'created_at',
    status_id: 'status_id',
    company_id: 'company_id'
  };

  export type Sms_test_requestsScalarFieldEnum = (typeof Sms_test_requestsScalarFieldEnum)[keyof typeof Sms_test_requestsScalarFieldEnum]


  export const SortOrder: {
    asc: 'asc',
    desc: 'desc'
  };

  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]


  export const NullableJsonNullValueInput: {
    DbNull: typeof DbNull,
    JsonNull: typeof JsonNull
  };

  export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]


  export const JsonNullValueInput: {
    JsonNull: typeof JsonNull
  };

  export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]


  export const QueryMode: {
    default: 'default',
    insensitive: 'insensitive'
  };

  export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]


  export const NullsOrder: {
    first: 'first',
    last: 'last'
  };

  export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]


  export const UserOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    username: 'username',
    email: 'email',
    password: 'password',
    reason: 'reason',
    last_login_device: 'last_login_device'
  };

  export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]


  export const UserDetailOrderByRelevanceFieldEnum: {
    code: 'code',
    first_name: 'first_name',
    last_name: 'last_name',
    profile_pic: 'profile_pic',
    country_code: 'country_code',
    phone_number: 'phone_number',
    user_time_zone: 'user_time_zone',
    address: 'address',
    culture: 'culture',
    resident_id: 'resident_id',
    passport_number: 'passport_number'
  };

  export type UserDetailOrderByRelevanceFieldEnum = (typeof UserDetailOrderByRelevanceFieldEnum)[keyof typeof UserDetailOrderByRelevanceFieldEnum]


  export const DesignationOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    code: 'code',
    name: 'name',
    description: 'description'
  };

  export type DesignationOrderByRelevanceFieldEnum = (typeof DesignationOrderByRelevanceFieldEnum)[keyof typeof DesignationOrderByRelevanceFieldEnum]


  export const DepartmentOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    code: 'code',
    name: 'name',
    description: 'description'
  };

  export type DepartmentOrderByRelevanceFieldEnum = (typeof DepartmentOrderByRelevanceFieldEnum)[keyof typeof DepartmentOrderByRelevanceFieldEnum]


  export const RequestLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    req_method: 'req_method',
    req_url: 'req_url',
    req_body: 'req_body',
    res_message: 'res_message',
    req_response: 'req_response',
    req_headers: 'req_headers',
    req_ip: 'req_ip',
    req_device: 'req_device'
  };

  export type RequestLogOrderByRelevanceFieldEnum = (typeof RequestLogOrderByRelevanceFieldEnum)[keyof typeof RequestLogOrderByRelevanceFieldEnum]


  export const FinancialYearOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    code: 'code'
  };

  export type FinancialYearOrderByRelevanceFieldEnum = (typeof FinancialYearOrderByRelevanceFieldEnum)[keyof typeof FinancialYearOrderByRelevanceFieldEnum]


  export const DocumentSequenceOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    module_name: 'module_name',
    code_format: 'code_format'
  };

  export type DocumentSequenceOrderByRelevanceFieldEnum = (typeof DocumentSequenceOrderByRelevanceFieldEnum)[keyof typeof DocumentSequenceOrderByRelevanceFieldEnum]


  export const AuditLogOrderByRelevanceFieldEnum: {
    operation_type: 'operation_type',
    table_name: 'table_name',
    field_name: 'field_name',
    old_value: 'old_value',
    new_value: 'new_value'
  };

  export type AuditLogOrderByRelevanceFieldEnum = (typeof AuditLogOrderByRelevanceFieldEnum)[keyof typeof AuditLogOrderByRelevanceFieldEnum]


  export const PermissionsOrderByRelevanceFieldEnum: {
    name: 'name',
    slug: 'slug'
  };

  export type PermissionsOrderByRelevanceFieldEnum = (typeof PermissionsOrderByRelevanceFieldEnum)[keyof typeof PermissionsOrderByRelevanceFieldEnum]


  export const RoleOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description'
  };

  export type RoleOrderByRelevanceFieldEnum = (typeof RoleOrderByRelevanceFieldEnum)[keyof typeof RoleOrderByRelevanceFieldEnum]


  export const OtpOrderByRelevanceFieldEnum: {
    otp: 'otp',
    notification_template_process_slug: 'notification_template_process_slug'
  };

  export type OtpOrderByRelevanceFieldEnum = (typeof OtpOrderByRelevanceFieldEnum)[keyof typeof OtpOrderByRelevanceFieldEnum]


  export const LanguageOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    name_in_english: 'name_in_english',
    flag: 'flag',
    code: 'code',
    description: 'description'
  };

  export type LanguageOrderByRelevanceFieldEnum = (typeof LanguageOrderByRelevanceFieldEnum)[keyof typeof LanguageOrderByRelevanceFieldEnum]


  export const LanguageContentOrderByRelevanceFieldEnum: {
    key_content: 'key_content',
    values: 'values'
  };

  export type LanguageContentOrderByRelevanceFieldEnum = (typeof LanguageContentOrderByRelevanceFieldEnum)[keyof typeof LanguageContentOrderByRelevanceFieldEnum]


  export const MenusOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description'
  };

  export type MenusOrderByRelevanceFieldEnum = (typeof MenusOrderByRelevanceFieldEnum)[keyof typeof MenusOrderByRelevanceFieldEnum]


  export const MenuItemsOrderByRelevanceFieldEnum: {
    name: 'name',
    target: 'target',
    menu_img: 'menu_img',
    short_cut_keys: 'short_cut_keys'
  };

  export type MenuItemsOrderByRelevanceFieldEnum = (typeof MenuItemsOrderByRelevanceFieldEnum)[keyof typeof MenuItemsOrderByRelevanceFieldEnum]


  export const ActionTypeOrderByRelevanceFieldEnum: {
    name: 'name',
    description: 'description'
  };

  export type ActionTypeOrderByRelevanceFieldEnum = (typeof ActionTypeOrderByRelevanceFieldEnum)[keyof typeof ActionTypeOrderByRelevanceFieldEnum]


  export const EntityTypeOrderByRelevanceFieldEnum: {
    name: 'name',
    slug: 'slug',
    description: 'description'
  };

  export type EntityTypeOrderByRelevanceFieldEnum = (typeof EntityTypeOrderByRelevanceFieldEnum)[keyof typeof EntityTypeOrderByRelevanceFieldEnum]


  export const WizardGroupOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description'
  };

  export type WizardGroupOrderByRelevanceFieldEnum = (typeof WizardGroupOrderByRelevanceFieldEnum)[keyof typeof WizardGroupOrderByRelevanceFieldEnum]


  export const WizardTypeOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description'
  };

  export type WizardTypeOrderByRelevanceFieldEnum = (typeof WizardTypeOrderByRelevanceFieldEnum)[keyof typeof WizardTypeOrderByRelevanceFieldEnum]


  export const AboutLCPOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    documentation_video_url: 'documentation_video_url',
    documentation_pdf: 'documentation_pdf',
    documentation_word: 'documentation_word'
  };

  export type AboutLCPOrderByRelevanceFieldEnum = (typeof AboutLCPOrderByRelevanceFieldEnum)[keyof typeof AboutLCPOrderByRelevanceFieldEnum]


  export const JsonNullValueFilter: {
    DbNull: typeof DbNull,
    JsonNull: typeof JsonNull,
    AnyNull: typeof AnyNull
  };

  export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]


  export const userSearchConfigurationOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    entity_slug: 'entity_slug',
    view_name: 'view_name'
  };

  export type userSearchConfigurationOrderByRelevanceFieldEnum = (typeof userSearchConfigurationOrderByRelevanceFieldEnum)[keyof typeof userSearchConfigurationOrderByRelevanceFieldEnum]


  export const MasterEntityOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    entity_name: 'entity_name',
    entity_type: 'entity_type',
    primary_table: 'primary_table',
    associated_entity_name: 'associated_entity_name',
    static_page_content: 'static_page_content',
    header_entity_id: 'header_entity_id',
    footer_entity_id: 'footer_entity_id',
    export_template_file_name: 'export_template_file_name',
    dashboard_wizard_type: 'dashboard_wizard_type',
    dashboard_grid: 'dashboard_grid'
  };

  export type MasterEntityOrderByRelevanceFieldEnum = (typeof MasterEntityOrderByRelevanceFieldEnum)[keyof typeof MasterEntityOrderByRelevanceFieldEnum]


  export const MasterEntityLineItemOrderByRelevanceFieldEnum: {
    field_name: 'field_name',
    display_name: 'display_name',
    field_html_content: 'field_html_content',
    link_type: 'link_type',
    link_action: 'link_action',
    link_mode: 'link_mode'
  };

  export type MasterEntityLineItemOrderByRelevanceFieldEnum = (typeof MasterEntityLineItemOrderByRelevanceFieldEnum)[keyof typeof MasterEntityLineItemOrderByRelevanceFieldEnum]


  export const FieldTypeOrderByRelevanceFieldEnum: {
    field_type: 'field_type'
  };

  export type FieldTypeOrderByRelevanceFieldEnum = (typeof FieldTypeOrderByRelevanceFieldEnum)[keyof typeof FieldTypeOrderByRelevanceFieldEnum]


  export const menuTypeOrderByRelevanceFieldEnum: {
    name: 'name'
  };

  export type menuTypeOrderByRelevanceFieldEnum = (typeof menuTypeOrderByRelevanceFieldEnum)[keyof typeof menuTypeOrderByRelevanceFieldEnum]


  export const NotificationTemplateProcessOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    query_information: 'query_information'
  };

  export type NotificationTemplateProcessOrderByRelevanceFieldEnum = (typeof NotificationTemplateProcessOrderByRelevanceFieldEnum)[keyof typeof NotificationTemplateProcessOrderByRelevanceFieldEnum]


  export const NotificationTemplateTagOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description'
  };

  export type NotificationTemplateTagOrderByRelevanceFieldEnum = (typeof NotificationTemplateTagOrderByRelevanceFieldEnum)[keyof typeof NotificationTemplateTagOrderByRelevanceFieldEnum]


  export const NotificationTemplateRecipientTagOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description',
    query_information: 'query_information'
  };

  export type NotificationTemplateRecipientTagOrderByRelevanceFieldEnum = (typeof NotificationTemplateRecipientTagOrderByRelevanceFieldEnum)[keyof typeof NotificationTemplateRecipientTagOrderByRelevanceFieldEnum]


  export const NotificationTemplateOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    email_subject: 'email_subject',
    message: 'message',
    parameter_format: 'parameter_format',
    category: 'category',
    language: 'language',
    email_body: 'email_body'
  };

  export type NotificationTemplateOrderByRelevanceFieldEnum = (typeof NotificationTemplateOrderByRelevanceFieldEnum)[keyof typeof NotificationTemplateOrderByRelevanceFieldEnum]


  export const NotificationTemplateAssignmentOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    notification_to: 'notification_to'
  };

  export type NotificationTemplateAssignmentOrderByRelevanceFieldEnum = (typeof NotificationTemplateAssignmentOrderByRelevanceFieldEnum)[keyof typeof NotificationTemplateAssignmentOrderByRelevanceFieldEnum]


  export const EmailTemplateCcBccOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    email_to: 'email_to'
  };

  export type EmailTemplateCcBccOrderByRelevanceFieldEnum = (typeof EmailTemplateCcBccOrderByRelevanceFieldEnum)[keyof typeof EmailTemplateCcBccOrderByRelevanceFieldEnum]


  export const NotificationProcessJobOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    notification_template_process_slug: 'notification_template_process_slug',
    unique_id: 'unique_id',
    prefill_data: 'prefill_data',
    attachments_path: 'attachments_path',
    attachments_name: 'attachments_name'
  };

  export type NotificationProcessJobOrderByRelevanceFieldEnum = (typeof NotificationProcessJobOrderByRelevanceFieldEnum)[keyof typeof NotificationProcessJobOrderByRelevanceFieldEnum]


  export const NotificationJobOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    process_slug: 'process_slug',
    notification_to: 'notification_to',
    notification_subject: 'notification_subject',
    notification_content: 'notification_content',
    attachments_path: 'attachments_path',
    attachments_name: 'attachments_name',
    notification_cc: 'notification_cc',
    notification_bcc: 'notification_bcc',
    notification_type_id: 'notification_type_id',
    notification_status_id: 'notification_status_id',
    last_attempt_message: 'last_attempt_message'
  };

  export type NotificationJobOrderByRelevanceFieldEnum = (typeof NotificationJobOrderByRelevanceFieldEnum)[keyof typeof NotificationJobOrderByRelevanceFieldEnum]


  export const CarouselTemplateOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description'
  };

  export type CarouselTemplateOrderByRelevanceFieldEnum = (typeof CarouselTemplateOrderByRelevanceFieldEnum)[keyof typeof CarouselTemplateOrderByRelevanceFieldEnum]


  export const CarouselTemplateLineItemOrderByRelevanceFieldEnum: {
    name: 'name',
    slug: 'slug',
    description: 'description',
    image_url: 'image_url',
    video_url: 'video_url',
    clickable_link: 'clickable_link'
  };

  export type CarouselTemplateLineItemOrderByRelevanceFieldEnum = (typeof CarouselTemplateLineItemOrderByRelevanceFieldEnum)[keyof typeof CarouselTemplateLineItemOrderByRelevanceFieldEnum]


  export const ImportTemplateOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    email_process_slug: 'email_process_slug',
    job_type: 'job_type'
  };

  export type ImportTemplateOrderByRelevanceFieldEnum = (typeof ImportTemplateOrderByRelevanceFieldEnum)[keyof typeof ImportTemplateOrderByRelevanceFieldEnum]


  export const ImportTemplateLineItemOrderByRelevanceFieldEnum: {
    field_name: 'field_name',
    display_name: 'display_name',
    field_table: 'field_table',
    default_value: 'default_value',
    check_reg_exp: 'check_reg_exp',
    unique_query: 'unique_query',
    foreign_query: 'foreign_query',
    enum_values: 'enum_values',
    foreign_table: 'foreign_table',
    foreign_column: 'foreign_column',
    individual_column: 'individual_column'
  };

  export type ImportTemplateLineItemOrderByRelevanceFieldEnum = (typeof ImportTemplateLineItemOrderByRelevanceFieldEnum)[keyof typeof ImportTemplateLineItemOrderByRelevanceFieldEnum]


  export const ImportTemplateQueriesOrderByRelevanceFieldEnum: {
    query_string: 'query_string',
    query_name: 'query_name'
  };

  export type ImportTemplateQueriesOrderByRelevanceFieldEnum = (typeof ImportTemplateQueriesOrderByRelevanceFieldEnum)[keyof typeof ImportTemplateQueriesOrderByRelevanceFieldEnum]


  export const DirectImportDetailsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    file_path: 'file_path',
    file_name: 'file_name'
  };

  export type DirectImportDetailsOrderByRelevanceFieldEnum = (typeof DirectImportDetailsOrderByRelevanceFieldEnum)[keyof typeof DirectImportDetailsOrderByRelevanceFieldEnum]


  export const ImportJobOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    sequence_number: 'sequence_number',
    job_status: 'job_status',
    file_path: 'file_path',
    file_name: 'file_name'
  };

  export type ImportJobOrderByRelevanceFieldEnum = (typeof ImportJobOrderByRelevanceFieldEnum)[keyof typeof ImportJobOrderByRelevanceFieldEnum]


  export const ImportJobLineItemOrderByRelevanceFieldEnum: {
    job_status: 'job_status'
  };

  export type ImportJobLineItemOrderByRelevanceFieldEnum = (typeof ImportJobLineItemOrderByRelevanceFieldEnum)[keyof typeof ImportJobLineItemOrderByRelevanceFieldEnum]


  export const ExportTemplateOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    data_filepath: 'data_filepath'
  };

  export type ExportTemplateOrderByRelevanceFieldEnum = (typeof ExportTemplateOrderByRelevanceFieldEnum)[keyof typeof ExportTemplateOrderByRelevanceFieldEnum]


  export const ExportTemplateLineItemOrderByRelevanceFieldEnum: {
    field_name: 'field_name',
    display_name: 'display_name',
    field_table: 'field_table',
    default_value: 'default_value',
    column_name: 'column_name',
    individual_column: 'individual_column'
  };

  export type ExportTemplateLineItemOrderByRelevanceFieldEnum = (typeof ExportTemplateLineItemOrderByRelevanceFieldEnum)[keyof typeof ExportTemplateLineItemOrderByRelevanceFieldEnum]


  export const ExportTemplateQueriesOrderByRelevanceFieldEnum: {
    query_string: 'query_string',
    query_name: 'query_name',
    query_procedure: 'query_procedure'
  };

  export type ExportTemplateQueriesOrderByRelevanceFieldEnum = (typeof ExportTemplateQueriesOrderByRelevanceFieldEnum)[keyof typeof ExportTemplateQueriesOrderByRelevanceFieldEnum]


  export const StatusOrderByRelevanceFieldEnum: {
    name: 'name',
    slug: 'slug',
    description: 'description'
  };

  export type StatusOrderByRelevanceFieldEnum = (typeof StatusOrderByRelevanceFieldEnum)[keyof typeof StatusOrderByRelevanceFieldEnum]


  export const CategoryTypesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    category_type_id: 'category_type_id',
    name: 'name',
    description: 'description'
  };

  export type CategoryTypesOrderByRelevanceFieldEnum = (typeof CategoryTypesOrderByRelevanceFieldEnum)[keyof typeof CategoryTypesOrderByRelevanceFieldEnum]


  export const CategoriesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    category_type_id: 'category_type_id',
    category_id: 'category_id',
    parent_id: 'parent_id',
    name: 'name',
    description: 'description'
  };

  export type CategoriesOrderByRelevanceFieldEnum = (typeof CategoriesOrderByRelevanceFieldEnum)[keyof typeof CategoriesOrderByRelevanceFieldEnum]


  export const ConfigurationsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    config_key: 'config_key',
    category_id: 'category_id',
    category_type_id: 'category_type_id',
    config_file_value: 'config_file_value',
    config_value_type: 'config_value_type',
    config_field_type: 'config_field_type',
    config_value: 'config_value'
  };

  export type ConfigurationsOrderByRelevanceFieldEnum = (typeof ConfigurationsOrderByRelevanceFieldEnum)[keyof typeof ConfigurationsOrderByRelevanceFieldEnum]


  export const UserConfigurationsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    config_key: 'config_key',
    category_id: 'category_id',
    category_type_id: 'category_type_id',
    config_file_value: 'config_file_value',
    config_value_type: 'config_value_type',
    config_field_type: 'config_field_type',
    config_value: 'config_value'
  };

  export type UserConfigurationsOrderByRelevanceFieldEnum = (typeof UserConfigurationsOrderByRelevanceFieldEnum)[keyof typeof UserConfigurationsOrderByRelevanceFieldEnum]


  export const FileUploadLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    doc_name: 'doc_name',
    org_name: 'org_name',
    extension: 'extension',
    description: 'description'
  };

  export type FileUploadLogOrderByRelevanceFieldEnum = (typeof FileUploadLogOrderByRelevanceFieldEnum)[keyof typeof FileUploadLogOrderByRelevanceFieldEnum]


  export const DataTransferQueriesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    select_query: 'select_query',
    insert_query: 'insert_query',
    transfer_type: 'transfer_type',
    job_name: 'job_name',
    destination_table: 'destination_table',
    command_type: 'command_type'
  };

  export type DataTransferQueriesOrderByRelevanceFieldEnum = (typeof DataTransferQueriesOrderByRelevanceFieldEnum)[keyof typeof DataTransferQueriesOrderByRelevanceFieldEnum]


  export const DeviceRegistrationOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    device_name: 'device_name',
    device_unique_id: 'device_unique_id'
  };

  export type DeviceRegistrationOrderByRelevanceFieldEnum = (typeof DeviceRegistrationOrderByRelevanceFieldEnum)[keyof typeof DeviceRegistrationOrderByRelevanceFieldEnum]


  export const PoliciesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description'
  };

  export type PoliciesOrderByRelevanceFieldEnum = (typeof PoliciesOrderByRelevanceFieldEnum)[keyof typeof PoliciesOrderByRelevanceFieldEnum]


  export const AppversionsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    type: 'type',
    version_type: 'version_type',
    version: 'version',
    description: 'description',
    developed_by: 'developed_by',
    app_url: 'app_url'
  };

  export type AppversionsOrderByRelevanceFieldEnum = (typeof AppversionsOrderByRelevanceFieldEnum)[keyof typeof AppversionsOrderByRelevanceFieldEnum]


  export const ScheduledJobOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    timing: 'timing',
    cron_url: 'cron_url',
    downloadables: 'downloadables',
    description: 'description'
  };

  export type ScheduledJobOrderByRelevanceFieldEnum = (typeof ScheduledJobOrderByRelevanceFieldEnum)[keyof typeof ScheduledJobOrderByRelevanceFieldEnum]


  export const ScheduledJobLogsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    executed_statement: 'executed_statement',
    schedule_status: 'schedule_status',
    downloadables: 'downloadables',
    response: 'response'
  };

  export type ScheduledJobLogsOrderByRelevanceFieldEnum = (typeof ScheduledJobLogsOrderByRelevanceFieldEnum)[keyof typeof ScheduledJobLogsOrderByRelevanceFieldEnum]


  export const ApprovalWorkflowOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    slug: 'slug',
    query_information: 'query_information',
    url: 'url'
  };

  export type ApprovalWorkflowOrderByRelevanceFieldEnum = (typeof ApprovalWorkflowOrderByRelevanceFieldEnum)[keyof typeof ApprovalWorkflowOrderByRelevanceFieldEnum]


  export const ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    description: 'description',
    query_information: 'query_information'
  };

  export type ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum = (typeof ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum)[keyof typeof ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum]


  export const ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    approval_workflow_slug: 'approval_workflow_slug',
    approver: 'approver',
    approve_query_information: 'approve_query_information',
    reject_query_information: 'reject_query_information'
  };

  export type ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum = (typeof ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum)[keyof typeof ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum]


  export const ApprovalProcessJobOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    approval_workflow_slug: 'approval_workflow_slug',
    sequence_no: 'sequence_no',
    description: 'description',
    primary_table: 'primary_table',
    screen_id: 'screen_id',
    prefill_data: 'prefill_data',
    details: 'details'
  };

  export type ApprovalProcessJobOrderByRelevanceFieldEnum = (typeof ApprovalProcessJobOrderByRelevanceFieldEnum)[keyof typeof ApprovalProcessJobOrderByRelevanceFieldEnum]


  export const ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum: {
    approval_process_job_id: 'approval_process_job_id',
    approval_workflow_slug: 'approval_workflow_slug',
    approval_process_job_name: 'approval_process_job_name',
    approval_process_job_description: 'approval_process_job_description',
    approve_query_information: 'approve_query_information',
    reject_query_information: 'reject_query_information',
    primary_table: 'primary_table',
    sequence_no: 'sequence_no',
    screen_id: 'screen_id',
    prefill_data: 'prefill_data',
    url: 'url',
    approver: 'approver',
    reason: 'reason',
    details: 'details'
  };

  export type ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum = (typeof ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum)[keyof typeof ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum]


  export const ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum: {
    uuid: 'uuid'
  };

  export type ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum = (typeof ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum)[keyof typeof ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum]


  export const DelegationOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    reason: 'reason'
  };

  export type DelegationOrderByRelevanceFieldEnum = (typeof DelegationOrderByRelevanceFieldEnum)[keyof typeof DelegationOrderByRelevanceFieldEnum]


  export const SchemaChunkOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    table_name: 'table_name',
    chunk: 'chunk'
  };

  export type SchemaChunkOrderByRelevanceFieldEnum = (typeof SchemaChunkOrderByRelevanceFieldEnum)[keyof typeof SchemaChunkOrderByRelevanceFieldEnum]


  export const EmbeddingVectorLogsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    table_name: 'table_name'
  };

  export type EmbeddingVectorLogsOrderByRelevanceFieldEnum = (typeof EmbeddingVectorLogsOrderByRelevanceFieldEnum)[keyof typeof EmbeddingVectorLogsOrderByRelevanceFieldEnum]


  export const OpenaiUsageLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    prompt: 'prompt',
    generated_sql: 'generated_sql'
  };

  export type OpenaiUsageLogOrderByRelevanceFieldEnum = (typeof OpenaiUsageLogOrderByRelevanceFieldEnum)[keyof typeof OpenaiUsageLogOrderByRelevanceFieldEnum]


  export const QueryExecutionLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    query: 'query'
  };

  export type QueryExecutionLogOrderByRelevanceFieldEnum = (typeof QueryExecutionLogOrderByRelevanceFieldEnum)[keyof typeof QueryExecutionLogOrderByRelevanceFieldEnum]


  export const ChildProcessOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    slug: 'slug',
    description: 'description',
    downloadables: 'downloadables',
    command: 'command'
  };

  export type ChildProcessOrderByRelevanceFieldEnum = (typeof ChildProcessOrderByRelevanceFieldEnum)[keyof typeof ChildProcessOrderByRelevanceFieldEnum]


  export const ChildProcessLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    process_status: 'process_status',
    downloadables: 'downloadables',
    output: 'output'
  };

  export type ChildProcessLogOrderByRelevanceFieldEnum = (typeof ChildProcessLogOrderByRelevanceFieldEnum)[keyof typeof ChildProcessLogOrderByRelevanceFieldEnum]


  export const ThemesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    description: 'description',
    reference_images: 'reference_images'
  };

  export type ThemesOrderByRelevanceFieldEnum = (typeof ThemesOrderByRelevanceFieldEnum)[keyof typeof ThemesOrderByRelevanceFieldEnum]


  export const ThemeLineItemsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    attribute: 'attribute',
    value: 'value',
    description: 'description'
  };

  export type ThemeLineItemsOrderByRelevanceFieldEnum = (typeof ThemeLineItemsOrderByRelevanceFieldEnum)[keyof typeof ThemeLineItemsOrderByRelevanceFieldEnum]


  export const ThemeAttributesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    attribute: 'attribute',
    value: 'value',
    description: 'description'
  };

  export type ThemeAttributesOrderByRelevanceFieldEnum = (typeof ThemeAttributesOrderByRelevanceFieldEnum)[keyof typeof ThemeAttributesOrderByRelevanceFieldEnum]


  export const BarcodeTemplatesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    prefix: 'prefix',
    label_start: 'label_start',
    label_end: 'label_end',
    name: 'name',
    zpl_code: 'zpl_code'
  };

  export type BarcodeTemplatesOrderByRelevanceFieldEnum = (typeof BarcodeTemplatesOrderByRelevanceFieldEnum)[keyof typeof BarcodeTemplatesOrderByRelevanceFieldEnum]


  export const UserLoginHistoryOrderByRelevanceFieldEnum: {
    session_id: 'session_id',
    ip_address: 'ip_address',
    user_agent: 'user_agent',
    failure_reason: 'failure_reason',
    device_id: 'device_id'
  };

  export type UserLoginHistoryOrderByRelevanceFieldEnum = (typeof UserLoginHistoryOrderByRelevanceFieldEnum)[keyof typeof UserLoginHistoryOrderByRelevanceFieldEnum]


  export const PhoneCountryCodesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    country_code: 'country_code',
    iso_code: 'iso_code',
    country_name: 'country_name'
  };

  export type PhoneCountryCodesOrderByRelevanceFieldEnum = (typeof PhoneCountryCodesOrderByRelevanceFieldEnum)[keyof typeof PhoneCountryCodesOrderByRelevanceFieldEnum]


  export const TreeBuilderExampleOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    code: 'code'
  };

  export type TreeBuilderExampleOrderByRelevanceFieldEnum = (typeof TreeBuilderExampleOrderByRelevanceFieldEnum)[keyof typeof TreeBuilderExampleOrderByRelevanceFieldEnum]


  export const DeliveryNotesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    delivery_note_number: 'delivery_note_number',
    customer_order_number: 'customer_order_number',
    reference_number: 'reference_number',
    shipment_type: 'shipment_type',
    supply_agreement: 'supply_agreement',
    purchase_reference: 'purchase_reference',
    alloy: 'alloy',
    temper: 'temper',
    color: 'color',
    aluminium_profiles: 'aluminium_profiles',
    customer_delivery_contact_info: 'customer_delivery_contact_info',
    customer_delivery_contact_name: 'customer_delivery_contact_name',
    customer_delivery_contact_email: 'customer_delivery_contact_email',
    customer_delivery_contact_number: 'customer_delivery_contact_number'
  };

  export type DeliveryNotesOrderByRelevanceFieldEnum = (typeof DeliveryNotesOrderByRelevanceFieldEnum)[keyof typeof DeliveryNotesOrderByRelevanceFieldEnum]


  export const DeliveryNoteStatusOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    name: 'name',
    code: 'code'
  };

  export type DeliveryNoteStatusOrderByRelevanceFieldEnum = (typeof DeliveryNoteStatusOrderByRelevanceFieldEnum)[keyof typeof DeliveryNoteStatusOrderByRelevanceFieldEnum]


  export const DeliveryNoteLineItemsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    item_description: 'item_description',
    slip_no: 'slip_no',
    section_number: 'section_number',
    item_code: 'item_code',
    remarks: 'remarks'
  };

  export type DeliveryNoteLineItemsOrderByRelevanceFieldEnum = (typeof DeliveryNoteLineItemsOrderByRelevanceFieldEnum)[keyof typeof DeliveryNoteLineItemsOrderByRelevanceFieldEnum]


  export const CustomerDeliveryAddressesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    delivery_address_code: 'delivery_address_code',
    billing_address: 'billing_address',
    shipping_address: 'shipping_address',
    delivery_location: 'delivery_location',
    customer_contact_no: 'customer_contact_no',
    delivery_address_lat_long: 'delivery_address_lat_long'
  };

  export type CustomerDeliveryAddressesOrderByRelevanceFieldEnum = (typeof CustomerDeliveryAddressesOrderByRelevanceFieldEnum)[keyof typeof CustomerDeliveryAddressesOrderByRelevanceFieldEnum]


  export const ShipmentsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    shipment_number: 'shipment_number',
    reason: 'reason',
    mobile_build_version: 'mobile_build_version'
  };

  export type ShipmentsOrderByRelevanceFieldEnum = (typeof ShipmentsOrderByRelevanceFieldEnum)[keyof typeof ShipmentsOrderByRelevanceFieldEnum]


  export const ShipmentCustomersOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    shipment_customer_uid: 'shipment_customer_uid'
  };

  export type ShipmentCustomersOrderByRelevanceFieldEnum = (typeof ShipmentCustomersOrderByRelevanceFieldEnum)[keyof typeof ShipmentCustomersOrderByRelevanceFieldEnum]


  export const ShipmentsLocationOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    otp_number: 'otp_number',
    pod_images: 'pod_images',
    customer_signature: 'customer_signature',
    loaded_images: 'loaded_images',
    shipment_location_lat_long: 'shipment_location_lat_long',
    shipment_location_uid: 'shipment_location_uid',
    shipment_customer_uid: 'shipment_customer_uid',
    customer_delivery_contact_name: 'customer_delivery_contact_name',
    customer_delivery_contact_email: 'customer_delivery_contact_email',
    customer_delivery_contact_number: 'customer_delivery_contact_number'
  };

  export type ShipmentsLocationOrderByRelevanceFieldEnum = (typeof ShipmentsLocationOrderByRelevanceFieldEnum)[keyof typeof ShipmentsLocationOrderByRelevanceFieldEnum]


  export const ShipmentDeliveryNotesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    shipment_location_uid: 'shipment_location_uid'
  };

  export type ShipmentDeliveryNotesOrderByRelevanceFieldEnum = (typeof ShipmentDeliveryNotesOrderByRelevanceFieldEnum)[keyof typeof ShipmentDeliveryNotesOrderByRelevanceFieldEnum]


  export const VehiclesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    vehicle_plate_number: 'vehicle_plate_number',
    vehicle_register_number: 'vehicle_register_number'
  };

  export type VehiclesOrderByRelevanceFieldEnum = (typeof VehiclesOrderByRelevanceFieldEnum)[keyof typeof VehiclesOrderByRelevanceFieldEnum]


  export const VehicleUserMappingOrderByRelevanceFieldEnum: {
    uuid: 'uuid'
  };

  export type VehicleUserMappingOrderByRelevanceFieldEnum = (typeof VehicleUserMappingOrderByRelevanceFieldEnum)[keyof typeof VehicleUserMappingOrderByRelevanceFieldEnum]


  export const VehiclesGpsDataOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    unique_gps_data_id: 'unique_gps_data_id'
  };

  export type VehiclesGpsDataOrderByRelevanceFieldEnum = (typeof VehiclesGpsDataOrderByRelevanceFieldEnum)[keyof typeof VehiclesGpsDataOrderByRelevanceFieldEnum]


  export const VehiclesGpsDataLogOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    unique_gps_data_id: 'unique_gps_data_id'
  };

  export type VehiclesGpsDataLogOrderByRelevanceFieldEnum = (typeof VehiclesGpsDataLogOrderByRelevanceFieldEnum)[keyof typeof VehiclesGpsDataLogOrderByRelevanceFieldEnum]


  export const VehicleTripHistoriesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    unique_gps_data_id: 'unique_gps_data_id',
    shipment_location_uid: 'shipment_location_uid',
    trip_type: 'trip_type'
  };

  export type VehicleTripHistoriesOrderByRelevanceFieldEnum = (typeof VehicleTripHistoriesOrderByRelevanceFieldEnum)[keyof typeof VehicleTripHistoriesOrderByRelevanceFieldEnum]


  export const GeoFencesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    zone_name: 'zone_name',
    radius: 'radius'
  };

  export type GeoFencesOrderByRelevanceFieldEnum = (typeof GeoFencesOrderByRelevanceFieldEnum)[keyof typeof GeoFencesOrderByRelevanceFieldEnum]


  export const GeoFenceTrackingOrderByRelevanceFieldEnum: {
    uuid: 'uuid'
  };

  export type GeoFenceTrackingOrderByRelevanceFieldEnum = (typeof GeoFenceTrackingOrderByRelevanceFieldEnum)[keyof typeof GeoFenceTrackingOrderByRelevanceFieldEnum]


  export const VehicleGeofenceHistoryOrderByRelevanceFieldEnum: {
    uuid: 'uuid'
  };

  export type VehicleGeofenceHistoryOrderByRelevanceFieldEnum = (typeof VehicleGeofenceHistoryOrderByRelevanceFieldEnum)[keyof typeof VehicleGeofenceHistoryOrderByRelevanceFieldEnum]


  export const CustomerGeoFenceMappingOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    description: 'description'
  };

  export type CustomerGeoFenceMappingOrderByRelevanceFieldEnum = (typeof CustomerGeoFenceMappingOrderByRelevanceFieldEnum)[keyof typeof CustomerGeoFenceMappingOrderByRelevanceFieldEnum]


  export const ErpLogsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    req_method: 'req_method',
    req_url: 'req_url',
    sync_number: 'sync_number'
  };

  export type ErpLogsOrderByRelevanceFieldEnum = (typeof ErpLogsOrderByRelevanceFieldEnum)[keyof typeof ErpLogsOrderByRelevanceFieldEnum]


  export const ErpLogsLineItemsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    delivery_note_number: 'delivery_note_number',
    customer_order_number: 'customer_order_number',
    reference_number: 'reference_number',
    shipment_type: 'shipment_type',
    supply_agreement: 'supply_agreement',
    purchase_reference: 'purchase_reference',
    alloy: 'alloy',
    temper: 'temper',
    color: 'color',
    aluminium_profiles: 'aluminium_profiles'
  };

  export type ErpLogsLineItemsOrderByRelevanceFieldEnum = (typeof ErpLogsLineItemsOrderByRelevanceFieldEnum)[keyof typeof ErpLogsLineItemsOrderByRelevanceFieldEnum]


  export const TempSessionDataOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    session_id: 'session_id',
    delivery_note_number: 'delivery_note_number',
    first_name: 'first_name',
    delivery_location: 'delivery_location',
    reference_number: 'reference_number'
  };

  export type TempSessionDataOrderByRelevanceFieldEnum = (typeof TempSessionDataOrderByRelevanceFieldEnum)[keyof typeof TempSessionDataOrderByRelevanceFieldEnum]


  export const ShipmentStatusOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    status_color_code: 'status_color_code'
  };

  export type ShipmentStatusOrderByRelevanceFieldEnum = (typeof ShipmentStatusOrderByRelevanceFieldEnum)[keyof typeof ShipmentStatusOrderByRelevanceFieldEnum]


  export const ShipmentStatusHistoryOrderByRelevanceFieldEnum: {
    uuid: 'uuid'
  };

  export type ShipmentStatusHistoryOrderByRelevanceFieldEnum = (typeof ShipmentStatusHistoryOrderByRelevanceFieldEnum)[keyof typeof ShipmentStatusHistoryOrderByRelevanceFieldEnum]


  export const PodStatusOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    slug: 'slug',
    name: 'name',
    status_color_code: 'status_color_code'
  };

  export type PodStatusOrderByRelevanceFieldEnum = (typeof PodStatusOrderByRelevanceFieldEnum)[keyof typeof PodStatusOrderByRelevanceFieldEnum]


  export const ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    from_customer_delivery_contact_name: 'from_customer_delivery_contact_name',
    to_customer_delivery_contact_name: 'to_customer_delivery_contact_name',
    from_customer_delivery_contact_email: 'from_customer_delivery_contact_email',
    to_customer_delivery_contact_email: 'to_customer_delivery_contact_email',
    from_customer_delivery_contact_number: 'from_customer_delivery_contact_number',
    to_customer_delivery_contact_number: 'to_customer_delivery_contact_number',
    shipment_location_uid: 'shipment_location_uid'
  };

  export type ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum = (typeof ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum)[keyof typeof ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum]


  export const ShipmentImagesOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    shipment_location_uid: 'shipment_location_uid',
    image_name: 'image_name',
    image_format: 'image_format',
    image_path: 'image_path',
    image_type: 'image_type'
  };

  export type ShipmentImagesOrderByRelevanceFieldEnum = (typeof ShipmentImagesOrderByRelevanceFieldEnum)[keyof typeof ShipmentImagesOrderByRelevanceFieldEnum]


  export const sms_test_requestsOrderByRelevanceFieldEnum: {
    uuid: 'uuid',
    mobile_number: 'mobile_number',
    sms_content: 'sms_content',
    request_object: 'request_object',
    response_object: 'response_object'
  };

  export type sms_test_requestsOrderByRelevanceFieldEnum = (typeof sms_test_requestsOrderByRelevanceFieldEnum)[keyof typeof sms_test_requestsOrderByRelevanceFieldEnum]


  /**
   * Field references 
   */


  /**
   * Reference to a field of type 'Int'
   */
  export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
    


  /**
   * Reference to a field of type 'Int[]'
   */
  export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
    


  /**
   * Reference to a field of type 'String'
   */
  export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
    


  /**
   * Reference to a field of type 'String[]'
   */
  export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
    


  /**
   * Reference to a field of type 'Boolean'
   */
  export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>
    


  /**
   * Reference to a field of type 'UserRole'
   */
  export type EnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole'>
    


  /**
   * Reference to a field of type 'UserRole[]'
   */
  export type ListEnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole[]'>
    


  /**
   * Reference to a field of type 'ProcessStatus'
   */
  export type EnumProcessStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProcessStatus'>
    


  /**
   * Reference to a field of type 'ProcessStatus[]'
   */
  export type ListEnumProcessStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProcessStatus[]'>
    


  /**
   * Reference to a field of type 'DateTime'
   */
  export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
    


  /**
   * Reference to a field of type 'DateTime[]'
   */
  export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
    


  /**
   * Reference to a field of type 'Gender'
   */
  export type EnumGenderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Gender'>
    


  /**
   * Reference to a field of type 'Gender[]'
   */
  export type ListEnumGenderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Gender[]'>
    


  /**
   * Reference to a field of type 'BigInt'
   */
  export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'>
    


  /**
   * Reference to a field of type 'BigInt[]'
   */
  export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt[]'>
    


  /**
   * Reference to a field of type 'Decimal'
   */
  export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>
    


  /**
   * Reference to a field of type 'Decimal[]'
   */
  export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'>
    


  /**
   * Reference to a field of type 'OtpType'
   */
  export type EnumOtpTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OtpType'>
    


  /**
   * Reference to a field of type 'OtpType[]'
   */
  export type ListEnumOtpTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OtpType[]'>
    


  /**
   * Reference to a field of type 'aboutType'
   */
  export type EnumaboutTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'aboutType'>
    


  /**
   * Reference to a field of type 'aboutType[]'
   */
  export type ListEnumaboutTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'aboutType[]'>
    


  /**
   * Reference to a field of type 'Json'
   */
  export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
    


  /**
   * Reference to a field of type 'ReportType'
   */
  export type EnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType'>
    


  /**
   * Reference to a field of type 'ReportType[]'
   */
  export type ListEnumReportTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReportType[]'>
    


  /**
   * Reference to a field of type 'ClauseType'
   */
  export type EnumClauseTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ClauseType'>
    


  /**
   * Reference to a field of type 'ClauseType[]'
   */
  export type ListEnumClauseTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ClauseType[]'>
    


  /**
   * Reference to a field of type 'NotificationType'
   */
  export type EnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationType'>
    


  /**
   * Reference to a field of type 'NotificationType[]'
   */
  export type ListEnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationType[]'>
    


  /**
   * Reference to a field of type 'RecipientType'
   */
  export type EnumRecipientTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RecipientType'>
    


  /**
   * Reference to a field of type 'RecipientType[]'
   */
  export type ListEnumRecipientTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RecipientType[]'>
    


  /**
   * Reference to a field of type 'sendMailType'
   */
  export type EnumsendMailTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'sendMailType'>
    


  /**
   * Reference to a field of type 'sendMailType[]'
   */
  export type ListEnumsendMailTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'sendMailType[]'>
    


  /**
   * Reference to a field of type 'TemplateType'
   */
  export type EnumTemplateTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateType'>
    


  /**
   * Reference to a field of type 'TemplateType[]'
   */
  export type ListEnumTemplateTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateType[]'>
    


  /**
   * Reference to a field of type 'ApproverType'
   */
  export type EnumApproverTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApproverType'>
    


  /**
   * Reference to a field of type 'ApproverType[]'
   */
  export type ListEnumApproverTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApproverType[]'>
    


  /**
   * Reference to a field of type 'ApprovalStatus'
   */
  export type EnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus'>
    


  /**
   * Reference to a field of type 'ApprovalStatus[]'
   */
  export type ListEnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus[]'>
    


  /**
   * Reference to a field of type 'LoginStatus'
   */
  export type EnumLoginStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LoginStatus'>
    


  /**
   * Reference to a field of type 'LoginStatus[]'
   */
  export type ListEnumLoginStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LoginStatus[]'>
    


  /**
   * Reference to a field of type 'OtpStatus'
   */
  export type EnumOtpStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OtpStatus'>
    


  /**
   * Reference to a field of type 'OtpStatus[]'
   */
  export type ListEnumOtpStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OtpStatus[]'>
    


  /**
   * Reference to a field of type 'Float'
   */
  export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
    


  /**
   * Reference to a field of type 'Float[]'
   */
  export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
    


  /**
   * Reference to a field of type 'ZoneType'
   */
  export type EnumZoneTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ZoneType'>
    


  /**
   * Reference to a field of type 'ZoneType[]'
   */
  export type ListEnumZoneTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ZoneType[]'>
    


  /**
   * Reference to a field of type 'GeoCategory'
   */
  export type EnumGeoCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoCategory'>
    


  /**
   * Reference to a field of type 'GeoCategory[]'
   */
  export type ListEnumGeoCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoCategory[]'>
    


  /**
   * Reference to a field of type 'GeoTracActivity'
   */
  export type EnumGeoTracActivityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoTracActivity'>
    


  /**
   * Reference to a field of type 'GeoTracActivity[]'
   */
  export type ListEnumGeoTracActivityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoTracActivity[]'>
    


  /**
   * Reference to a field of type 'GeoFenceEventType'
   */
  export type EnumGeoFenceEventTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoFenceEventType'>
    


  /**
   * Reference to a field of type 'GeoFenceEventType[]'
   */
  export type ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'GeoFenceEventType[]'>
    


  /**
   * Reference to a field of type 'SyncData'
   */
  export type EnumSyncDataFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SyncData'>
    


  /**
   * Reference to a field of type 'SyncData[]'
   */
  export type ListEnumSyncDataFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SyncData[]'>
    


  /**
   * Reference to a field of type 'LineItemSyncStatus'
   */
  export type EnumLineItemSyncStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LineItemSyncStatus'>
    


  /**
   * Reference to a field of type 'LineItemSyncStatus[]'
   */
  export type ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LineItemSyncStatus[]'>
    


  /**
   * Reference to a field of type 'ETables'
   */
  export type EnumETablesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ETables'>
    


  /**
   * Reference to a field of type 'ETables[]'
   */
  export type ListEnumETablesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ETables[]'>
    
  /**
   * Deep Input Types
   */


  export type UserWhereInput = {
    AND?: UserWhereInput | UserWhereInput[]
    OR?: UserWhereInput[]
    NOT?: UserWhereInput | UserWhereInput[]
    id?: IntFilter<"User"> | number
    uuid?: UuidFilter<"User"> | string
    username?: StringFilter<"User"> | string
    email?: StringFilter<"User"> | string
    email_verified?: BoolFilter<"User"> | boolean
    password?: StringNullableFilter<"User"> | string | null
    status_id?: IntFilter<"User"> | number
    role?: EnumUserRoleFilter<"User"> | $Enums.UserRole
    process_status?: EnumProcessStatusFilter<"User"> | $Enums.ProcessStatus
    is_drafted?: BoolFilter<"User"> | boolean
    reason?: StringNullableFilter<"User"> | string | null
    company_id?: IntFilter<"User"> | number
    created_by?: IntNullableFilter<"User"> | number | null
    updated_by?: IntNullableFilter<"User"> | number | null
    deleted_by?: IntNullableFilter<"User"> | number | null
    created_at?: DateTimeFilter<"User"> | Date | string
    updated_at?: DateTimeFilter<"User"> | Date | string
    deleted_at?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login_device?: StringNullableFilter<"User"> | string | null
    allow_login_web?: IntFilter<"User"> | number
    allow_login_mobile?: IntFilter<"User"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user_detail?: XOR<UserDetailNullableRelationFilter, UserDetailWhereInput> | null
    request_logs?: RequestLogListRelationFilter
    roles?: UserRolesListRelationFilter
    permissions?: UserPermissionsListRelationFilter
    otps?: OtpListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    created_users?: UserListRelationFilter
    updated_users?: UserListRelationFilter
    deleted_users?: UserListRelationFilter
    created_user_details?: UserDetailListRelationFilter
    updated_user_details?: UserDetailListRelationFilter
    deleted_user_details?: UserDetailListRelationFilter
    created_roles?: RoleListRelationFilter
    updated_roles?: RoleListRelationFilter
    deleted_roles?: RoleListRelationFilter
    created_languages?: LanguageListRelationFilter
    updated_languages?: LanguageListRelationFilter
    deleted_languages?: LanguageListRelationFilter
    created_menus?: MenusListRelationFilter
    updated_menus?: MenusListRelationFilter
    deleted_menus?: MenusListRelationFilter
    created_menu_items?: MenuItemsListRelationFilter
    updated_menu_items?: MenuItemsListRelationFilter
    deleted_menu_items?: MenuItemsListRelationFilter
    created_notification_templates?: NotificationTemplateListRelationFilter
    updated_notification_templates?: NotificationTemplateListRelationFilter
    deleted_notification_templates?: NotificationTemplateListRelationFilter
    created_notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
    created_notification_process_jobs?: NotificationProcessJobListRelationFilter
    created_notification_job?: NotificationJobListRelationFilter
    created_import_templates?: ImportTemplateListRelationFilter
    updated_import_templates?: ImportTemplateListRelationFilter
    deleted_import_templates?: ImportTemplateListRelationFilter
    created_carousel_templates?: CarouselTemplateListRelationFilter
    updated_carousel_templates?: CarouselTemplateListRelationFilter
    deleted_carousel_templates?: CarouselTemplateListRelationFilter
    created_export_templates?: ExportTemplateListRelationFilter
    updated_export_templates?: ExportTemplateListRelationFilter
    deleted_export_templates?: ExportTemplateListRelationFilter
    created_departments?: DepartmentListRelationFilter
    head_departments?: DepartmentListRelationFilter
    updated_departments?: DepartmentListRelationFilter
    deleted_departments?: DepartmentListRelationFilter
    created_designations?: DesignationListRelationFilter
    updated_designations?: DesignationListRelationFilter
    deleted_designations?: DesignationListRelationFilter
    audit_logs?: AuditLogListRelationFilter
    created_category_types?: CategoryTypesListRelationFilter
    updated_category_types?: CategoryTypesListRelationFilter
    deleted_category_types?: CategoryTypesListRelationFilter
    created_categories?: CategoriesListRelationFilter
    updated_categories?: CategoriesListRelationFilter
    deleted_categories?: CategoriesListRelationFilter
    created_configurations?: ConfigurationsListRelationFilter
    updated_configurations?: ConfigurationsListRelationFilter
    deleted_configurations?: ConfigurationsListRelationFilter
    created_user_configurations?: UserConfigurationsListRelationFilter
    updated_user_configurations?: UserConfigurationsListRelationFilter
    deleted_user_configurations?: UserConfigurationsListRelationFilter
    created_fin_years?: FinancialYearListRelationFilter
    updated_fin_years?: FinancialYearListRelationFilter
    deleted_fin_years?: FinancialYearListRelationFilter
    created_doc_sequences?: DocumentSequenceListRelationFilter
    updated_doc_sequences?: DocumentSequenceListRelationFilter
    deleted_doc_sequences?: DocumentSequenceListRelationFilter
    created_device_registration?: DeviceRegistrationListRelationFilter
    updated_device_registration?: DeviceRegistrationListRelationFilter
    deleted_device_registration?: DeviceRegistrationListRelationFilter
    DeviceRegistration?: DeviceRegistrationListRelationFilter
    created_import_job?: ImportJobListRelationFilter
    updated_import_job?: ImportJobListRelationFilter
    deleted_import_job?: ImportJobListRelationFilter
    created_direct_import_details?: DirectImportDetailsListRelationFilter
    updated_direct_import_details?: DirectImportDetailsListRelationFilter
    deleted_direct_import_details?: DirectImportDetailsListRelationFilter
    user_policy?: UserPoliciesListRelationFilter
    created_policy?: PoliciesListRelationFilter
    updated_policy?: PoliciesListRelationFilter
    deleted_policy?: PoliciesListRelationFilter
    created_app_versions?: AppversionsListRelationFilter
    updated_app_versions?: AppversionsListRelationFilter
    deleted_app_versions?: AppversionsListRelationFilter
    CreatedTheme?: ThemesListRelationFilter
    UpdatedTheme?: ThemesListRelationFilter
    DeletedTheme?: ThemesListRelationFilter
    CreatedThemeLineItems?: ThemeLineItemsListRelationFilter
    UpdatedThemeLineItems?: ThemeLineItemsListRelationFilter
    DeletedThemeLineItems?: ThemeLineItemsListRelationFilter
    CreatedThemeAttributes?: ThemeAttributesListRelationFilter
    UpdatedThemeAttributes?: ThemeAttributesListRelationFilter
    DeletedThemeAttributes?: ThemeAttributesListRelationFilter
    ChildProcessLog?: ChildProcessLogListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    delivery_notes?: DeliveryNotesListRelationFilter
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    vehicle_gps_data_log?: VehiclesGpsDataLogListRelationFilter
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryListRelationFilter
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
    created_barcode_templates?: BarcodeTemplatesListRelationFilter
    updated_barcode_templates?: BarcodeTemplatesListRelationFilter
    deleted_barcode_templates?: BarcodeTemplatesListRelationFilter
    user_login_histories?: UserLoginHistoryListRelationFilter
  }

  export type UserOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    username?: SortOrder
    email?: SortOrder
    email_verified?: SortOrder
    password?: SortOrderInput | SortOrder
    status_id?: SortOrder
    role?: SortOrder
    process_status?: SortOrder
    is_drafted?: SortOrder
    reason?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    last_login?: SortOrderInput | SortOrder
    last_login_device?: SortOrderInput | SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
    status?: StatusOrderByWithRelationInput
    user_detail?: UserDetailOrderByWithRelationInput
    request_logs?: RequestLogOrderByRelationAggregateInput
    roles?: UserRolesOrderByRelationAggregateInput
    permissions?: UserPermissionsOrderByRelationAggregateInput
    otps?: OtpOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    created_users?: UserOrderByRelationAggregateInput
    updated_users?: UserOrderByRelationAggregateInput
    deleted_users?: UserOrderByRelationAggregateInput
    created_user_details?: UserDetailOrderByRelationAggregateInput
    updated_user_details?: UserDetailOrderByRelationAggregateInput
    deleted_user_details?: UserDetailOrderByRelationAggregateInput
    created_roles?: RoleOrderByRelationAggregateInput
    updated_roles?: RoleOrderByRelationAggregateInput
    deleted_roles?: RoleOrderByRelationAggregateInput
    created_languages?: LanguageOrderByRelationAggregateInput
    updated_languages?: LanguageOrderByRelationAggregateInput
    deleted_languages?: LanguageOrderByRelationAggregateInput
    created_menus?: MenusOrderByRelationAggregateInput
    updated_menus?: MenusOrderByRelationAggregateInput
    deleted_menus?: MenusOrderByRelationAggregateInput
    created_menu_items?: MenuItemsOrderByRelationAggregateInput
    updated_menu_items?: MenuItemsOrderByRelationAggregateInput
    deleted_menu_items?: MenuItemsOrderByRelationAggregateInput
    created_notification_templates?: NotificationTemplateOrderByRelationAggregateInput
    updated_notification_templates?: NotificationTemplateOrderByRelationAggregateInput
    deleted_notification_templates?: NotificationTemplateOrderByRelationAggregateInput
    created_notification_template_assignments?: NotificationTemplateAssignmentOrderByRelationAggregateInput
    created_notification_process_jobs?: NotificationProcessJobOrderByRelationAggregateInput
    created_notification_job?: NotificationJobOrderByRelationAggregateInput
    created_import_templates?: ImportTemplateOrderByRelationAggregateInput
    updated_import_templates?: ImportTemplateOrderByRelationAggregateInput
    deleted_import_templates?: ImportTemplateOrderByRelationAggregateInput
    created_carousel_templates?: CarouselTemplateOrderByRelationAggregateInput
    updated_carousel_templates?: CarouselTemplateOrderByRelationAggregateInput
    deleted_carousel_templates?: CarouselTemplateOrderByRelationAggregateInput
    created_export_templates?: ExportTemplateOrderByRelationAggregateInput
    updated_export_templates?: ExportTemplateOrderByRelationAggregateInput
    deleted_export_templates?: ExportTemplateOrderByRelationAggregateInput
    created_departments?: DepartmentOrderByRelationAggregateInput
    head_departments?: DepartmentOrderByRelationAggregateInput
    updated_departments?: DepartmentOrderByRelationAggregateInput
    deleted_departments?: DepartmentOrderByRelationAggregateInput
    created_designations?: DesignationOrderByRelationAggregateInput
    updated_designations?: DesignationOrderByRelationAggregateInput
    deleted_designations?: DesignationOrderByRelationAggregateInput
    audit_logs?: AuditLogOrderByRelationAggregateInput
    created_category_types?: CategoryTypesOrderByRelationAggregateInput
    updated_category_types?: CategoryTypesOrderByRelationAggregateInput
    deleted_category_types?: CategoryTypesOrderByRelationAggregateInput
    created_categories?: CategoriesOrderByRelationAggregateInput
    updated_categories?: CategoriesOrderByRelationAggregateInput
    deleted_categories?: CategoriesOrderByRelationAggregateInput
    created_configurations?: ConfigurationsOrderByRelationAggregateInput
    updated_configurations?: ConfigurationsOrderByRelationAggregateInput
    deleted_configurations?: ConfigurationsOrderByRelationAggregateInput
    created_user_configurations?: UserConfigurationsOrderByRelationAggregateInput
    updated_user_configurations?: UserConfigurationsOrderByRelationAggregateInput
    deleted_user_configurations?: UserConfigurationsOrderByRelationAggregateInput
    created_fin_years?: FinancialYearOrderByRelationAggregateInput
    updated_fin_years?: FinancialYearOrderByRelationAggregateInput
    deleted_fin_years?: FinancialYearOrderByRelationAggregateInput
    created_doc_sequences?: DocumentSequenceOrderByRelationAggregateInput
    updated_doc_sequences?: DocumentSequenceOrderByRelationAggregateInput
    deleted_doc_sequences?: DocumentSequenceOrderByRelationAggregateInput
    created_device_registration?: DeviceRegistrationOrderByRelationAggregateInput
    updated_device_registration?: DeviceRegistrationOrderByRelationAggregateInput
    deleted_device_registration?: DeviceRegistrationOrderByRelationAggregateInput
    DeviceRegistration?: DeviceRegistrationOrderByRelationAggregateInput
    created_import_job?: ImportJobOrderByRelationAggregateInput
    updated_import_job?: ImportJobOrderByRelationAggregateInput
    deleted_import_job?: ImportJobOrderByRelationAggregateInput
    created_direct_import_details?: DirectImportDetailsOrderByRelationAggregateInput
    updated_direct_import_details?: DirectImportDetailsOrderByRelationAggregateInput
    deleted_direct_import_details?: DirectImportDetailsOrderByRelationAggregateInput
    user_policy?: UserPoliciesOrderByRelationAggregateInput
    created_policy?: PoliciesOrderByRelationAggregateInput
    updated_policy?: PoliciesOrderByRelationAggregateInput
    deleted_policy?: PoliciesOrderByRelationAggregateInput
    created_app_versions?: AppversionsOrderByRelationAggregateInput
    updated_app_versions?: AppversionsOrderByRelationAggregateInput
    deleted_app_versions?: AppversionsOrderByRelationAggregateInput
    CreatedTheme?: ThemesOrderByRelationAggregateInput
    UpdatedTheme?: ThemesOrderByRelationAggregateInput
    DeletedTheme?: ThemesOrderByRelationAggregateInput
    CreatedThemeLineItems?: ThemeLineItemsOrderByRelationAggregateInput
    UpdatedThemeLineItems?: ThemeLineItemsOrderByRelationAggregateInput
    DeletedThemeLineItems?: ThemeLineItemsOrderByRelationAggregateInput
    CreatedThemeAttributes?: ThemeAttributesOrderByRelationAggregateInput
    UpdatedThemeAttributes?: ThemeAttributesOrderByRelationAggregateInput
    DeletedThemeAttributes?: ThemeAttributesOrderByRelationAggregateInput
    ChildProcessLog?: ChildProcessLogOrderByRelationAggregateInput
    customer_geofence_mapping?: CustomerGeoFenceMappingOrderByRelationAggregateInput
    vehicle_user_mapping?: VehicleUserMappingOrderByRelationAggregateInput
    delivery_notes?: DeliveryNotesOrderByRelationAggregateInput
    vehicle_gps_data?: VehiclesGpsDataOrderByRelationAggregateInput
    vehicle_gps_data_log?: VehiclesGpsDataLogOrderByRelationAggregateInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    shipment_customers?: ShipmentCustomersOrderByRelationAggregateInput
    vehicle_trip_histories?: VehicleTripHistoriesOrderByRelationAggregateInput
    created_barcode_templates?: BarcodeTemplatesOrderByRelationAggregateInput
    updated_barcode_templates?: BarcodeTemplatesOrderByRelationAggregateInput
    deleted_barcode_templates?: BarcodeTemplatesOrderByRelationAggregateInput
    user_login_histories?: UserLoginHistoryOrderByRelationAggregateInput
    _relevance?: UserOrderByRelevanceInput
  }

  export type UserWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_uuid?: UserCompany_idUuidCompoundUniqueInput
    company_id_email_role?: UserCompany_idEmailRoleCompoundUniqueInput
    company_id_username?: UserCompany_idUsernameCompoundUniqueInput
    company_id_id?: UserCompany_idIdCompoundUniqueInput
    AND?: UserWhereInput | UserWhereInput[]
    OR?: UserWhereInput[]
    NOT?: UserWhereInput | UserWhereInput[]
    uuid?: UuidFilter<"User"> | string
    username?: StringFilter<"User"> | string
    email?: StringFilter<"User"> | string
    email_verified?: BoolFilter<"User"> | boolean
    password?: StringNullableFilter<"User"> | string | null
    status_id?: IntFilter<"User"> | number
    role?: EnumUserRoleFilter<"User"> | $Enums.UserRole
    process_status?: EnumProcessStatusFilter<"User"> | $Enums.ProcessStatus
    is_drafted?: BoolFilter<"User"> | boolean
    reason?: StringNullableFilter<"User"> | string | null
    company_id?: IntFilter<"User"> | number
    created_by?: IntNullableFilter<"User"> | number | null
    updated_by?: IntNullableFilter<"User"> | number | null
    deleted_by?: IntNullableFilter<"User"> | number | null
    created_at?: DateTimeFilter<"User"> | Date | string
    updated_at?: DateTimeFilter<"User"> | Date | string
    deleted_at?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login_device?: StringNullableFilter<"User"> | string | null
    allow_login_web?: IntFilter<"User"> | number
    allow_login_mobile?: IntFilter<"User"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user_detail?: XOR<UserDetailNullableRelationFilter, UserDetailWhereInput> | null
    request_logs?: RequestLogListRelationFilter
    roles?: UserRolesListRelationFilter
    permissions?: UserPermissionsListRelationFilter
    otps?: OtpListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    created_users?: UserListRelationFilter
    updated_users?: UserListRelationFilter
    deleted_users?: UserListRelationFilter
    created_user_details?: UserDetailListRelationFilter
    updated_user_details?: UserDetailListRelationFilter
    deleted_user_details?: UserDetailListRelationFilter
    created_roles?: RoleListRelationFilter
    updated_roles?: RoleListRelationFilter
    deleted_roles?: RoleListRelationFilter
    created_languages?: LanguageListRelationFilter
    updated_languages?: LanguageListRelationFilter
    deleted_languages?: LanguageListRelationFilter
    created_menus?: MenusListRelationFilter
    updated_menus?: MenusListRelationFilter
    deleted_menus?: MenusListRelationFilter
    created_menu_items?: MenuItemsListRelationFilter
    updated_menu_items?: MenuItemsListRelationFilter
    deleted_menu_items?: MenuItemsListRelationFilter
    created_notification_templates?: NotificationTemplateListRelationFilter
    updated_notification_templates?: NotificationTemplateListRelationFilter
    deleted_notification_templates?: NotificationTemplateListRelationFilter
    created_notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
    created_notification_process_jobs?: NotificationProcessJobListRelationFilter
    created_notification_job?: NotificationJobListRelationFilter
    created_import_templates?: ImportTemplateListRelationFilter
    updated_import_templates?: ImportTemplateListRelationFilter
    deleted_import_templates?: ImportTemplateListRelationFilter
    created_carousel_templates?: CarouselTemplateListRelationFilter
    updated_carousel_templates?: CarouselTemplateListRelationFilter
    deleted_carousel_templates?: CarouselTemplateListRelationFilter
    created_export_templates?: ExportTemplateListRelationFilter
    updated_export_templates?: ExportTemplateListRelationFilter
    deleted_export_templates?: ExportTemplateListRelationFilter
    created_departments?: DepartmentListRelationFilter
    head_departments?: DepartmentListRelationFilter
    updated_departments?: DepartmentListRelationFilter
    deleted_departments?: DepartmentListRelationFilter
    created_designations?: DesignationListRelationFilter
    updated_designations?: DesignationListRelationFilter
    deleted_designations?: DesignationListRelationFilter
    audit_logs?: AuditLogListRelationFilter
    created_category_types?: CategoryTypesListRelationFilter
    updated_category_types?: CategoryTypesListRelationFilter
    deleted_category_types?: CategoryTypesListRelationFilter
    created_categories?: CategoriesListRelationFilter
    updated_categories?: CategoriesListRelationFilter
    deleted_categories?: CategoriesListRelationFilter
    created_configurations?: ConfigurationsListRelationFilter
    updated_configurations?: ConfigurationsListRelationFilter
    deleted_configurations?: ConfigurationsListRelationFilter
    created_user_configurations?: UserConfigurationsListRelationFilter
    updated_user_configurations?: UserConfigurationsListRelationFilter
    deleted_user_configurations?: UserConfigurationsListRelationFilter
    created_fin_years?: FinancialYearListRelationFilter
    updated_fin_years?: FinancialYearListRelationFilter
    deleted_fin_years?: FinancialYearListRelationFilter
    created_doc_sequences?: DocumentSequenceListRelationFilter
    updated_doc_sequences?: DocumentSequenceListRelationFilter
    deleted_doc_sequences?: DocumentSequenceListRelationFilter
    created_device_registration?: DeviceRegistrationListRelationFilter
    updated_device_registration?: DeviceRegistrationListRelationFilter
    deleted_device_registration?: DeviceRegistrationListRelationFilter
    DeviceRegistration?: DeviceRegistrationListRelationFilter
    created_import_job?: ImportJobListRelationFilter
    updated_import_job?: ImportJobListRelationFilter
    deleted_import_job?: ImportJobListRelationFilter
    created_direct_import_details?: DirectImportDetailsListRelationFilter
    updated_direct_import_details?: DirectImportDetailsListRelationFilter
    deleted_direct_import_details?: DirectImportDetailsListRelationFilter
    user_policy?: UserPoliciesListRelationFilter
    created_policy?: PoliciesListRelationFilter
    updated_policy?: PoliciesListRelationFilter
    deleted_policy?: PoliciesListRelationFilter
    created_app_versions?: AppversionsListRelationFilter
    updated_app_versions?: AppversionsListRelationFilter
    deleted_app_versions?: AppversionsListRelationFilter
    CreatedTheme?: ThemesListRelationFilter
    UpdatedTheme?: ThemesListRelationFilter
    DeletedTheme?: ThemesListRelationFilter
    CreatedThemeLineItems?: ThemeLineItemsListRelationFilter
    UpdatedThemeLineItems?: ThemeLineItemsListRelationFilter
    DeletedThemeLineItems?: ThemeLineItemsListRelationFilter
    CreatedThemeAttributes?: ThemeAttributesListRelationFilter
    UpdatedThemeAttributes?: ThemeAttributesListRelationFilter
    DeletedThemeAttributes?: ThemeAttributesListRelationFilter
    ChildProcessLog?: ChildProcessLogListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    delivery_notes?: DeliveryNotesListRelationFilter
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    vehicle_gps_data_log?: VehiclesGpsDataLogListRelationFilter
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryListRelationFilter
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
    created_barcode_templates?: BarcodeTemplatesListRelationFilter
    updated_barcode_templates?: BarcodeTemplatesListRelationFilter
    deleted_barcode_templates?: BarcodeTemplatesListRelationFilter
    user_login_histories?: UserLoginHistoryListRelationFilter
  }, "id" | "company_id_uuid" | "company_id_email_role" | "company_id_username" | "company_id_id">

  export type UserOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    username?: SortOrder
    email?: SortOrder
    email_verified?: SortOrder
    password?: SortOrderInput | SortOrder
    status_id?: SortOrder
    role?: SortOrder
    process_status?: SortOrder
    is_drafted?: SortOrder
    reason?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    last_login?: SortOrderInput | SortOrder
    last_login_device?: SortOrderInput | SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
    _count?: UserCountOrderByAggregateInput
    _avg?: UserAvgOrderByAggregateInput
    _max?: UserMaxOrderByAggregateInput
    _min?: UserMinOrderByAggregateInput
    _sum?: UserSumOrderByAggregateInput
  }

  export type UserScalarWhereWithAggregatesInput = {
    AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[]
    OR?: UserScalarWhereWithAggregatesInput[]
    NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"User"> | number
    uuid?: UuidWithAggregatesFilter<"User"> | string
    username?: StringWithAggregatesFilter<"User"> | string
    email?: StringWithAggregatesFilter<"User"> | string
    email_verified?: BoolWithAggregatesFilter<"User"> | boolean
    password?: StringNullableWithAggregatesFilter<"User"> | string | null
    status_id?: IntWithAggregatesFilter<"User"> | number
    role?: EnumUserRoleWithAggregatesFilter<"User"> | $Enums.UserRole
    process_status?: EnumProcessStatusWithAggregatesFilter<"User"> | $Enums.ProcessStatus
    is_drafted?: BoolWithAggregatesFilter<"User"> | boolean
    reason?: StringNullableWithAggregatesFilter<"User"> | string | null
    company_id?: IntWithAggregatesFilter<"User"> | number
    created_by?: IntNullableWithAggregatesFilter<"User"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"User"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"User"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"User"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"User"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null
    last_login?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null
    last_login_device?: StringNullableWithAggregatesFilter<"User"> | string | null
    allow_login_web?: IntWithAggregatesFilter<"User"> | number
    allow_login_mobile?: IntWithAggregatesFilter<"User"> | number
  }

  export type UserDetailWhereInput = {
    AND?: UserDetailWhereInput | UserDetailWhereInput[]
    OR?: UserDetailWhereInput[]
    NOT?: UserDetailWhereInput | UserDetailWhereInput[]
    id?: IntFilter<"UserDetail"> | number
    user_id?: IntFilter<"UserDetail"> | number
    code?: StringFilter<"UserDetail"> | string
    first_name?: StringFilter<"UserDetail"> | string
    last_name?: StringNullableFilter<"UserDetail"> | string | null
    designation_id?: IntNullableFilter<"UserDetail"> | number | null
    department_id?: IntNullableFilter<"UserDetail"> | number | null
    profile_pic?: StringNullableFilter<"UserDetail"> | string | null
    dob?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    country_code?: StringNullableFilter<"UserDetail"> | string | null
    phone_number?: StringNullableFilter<"UserDetail"> | string | null
    gender?: EnumGenderFilter<"UserDetail"> | $Enums.Gender
    user_time_zone?: StringNullableFilter<"UserDetail"> | string | null
    address?: StringNullableFilter<"UserDetail"> | string | null
    culture?: StringNullableFilter<"UserDetail"> | string | null
    company_id?: IntFilter<"UserDetail"> | number
    created_by?: IntNullableFilter<"UserDetail"> | number | null
    updated_by?: IntNullableFilter<"UserDetail"> | number | null
    deleted_by?: IntNullableFilter<"UserDetail"> | number | null
    created_at?: DateTimeFilter<"UserDetail"> | Date | string
    updated_at?: DateTimeFilter<"UserDetail"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    resident_id?: StringNullableFilter<"UserDetail"> | string | null
    passport_number?: StringNullableFilter<"UserDetail"> | string | null
    designation?: XOR<DesignationNullableRelationFilter, DesignationWhereInput> | null
    department?: XOR<DepartmentNullableRelationFilter, DepartmentWhereInput> | null
    user?: XOR<UserRelationFilter, UserWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type UserDetailOrderByWithRelationInput = {
    id?: SortOrder
    user_id?: SortOrder
    code?: SortOrder
    first_name?: SortOrder
    last_name?: SortOrderInput | SortOrder
    designation_id?: SortOrderInput | SortOrder
    department_id?: SortOrderInput | SortOrder
    profile_pic?: SortOrderInput | SortOrder
    dob?: SortOrderInput | SortOrder
    country_code?: SortOrderInput | SortOrder
    phone_number?: SortOrderInput | SortOrder
    gender?: SortOrder
    user_time_zone?: SortOrderInput | SortOrder
    address?: SortOrderInput | SortOrder
    culture?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    resident_id?: SortOrderInput | SortOrder
    passport_number?: SortOrderInput | SortOrder
    designation?: DesignationOrderByWithRelationInput
    department?: DepartmentOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: UserDetailOrderByRelevanceInput
  }

  export type UserDetailWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    resident_id?: string
    passport_number?: string
    company_id_user_id?: UserDetailCompany_idUser_idCompoundUniqueInput
    company_id_code?: UserDetailCompany_idCodeCompoundUniqueInput
    AND?: UserDetailWhereInput | UserDetailWhereInput[]
    OR?: UserDetailWhereInput[]
    NOT?: UserDetailWhereInput | UserDetailWhereInput[]
    user_id?: IntFilter<"UserDetail"> | number
    code?: StringFilter<"UserDetail"> | string
    first_name?: StringFilter<"UserDetail"> | string
    last_name?: StringNullableFilter<"UserDetail"> | string | null
    designation_id?: IntNullableFilter<"UserDetail"> | number | null
    department_id?: IntNullableFilter<"UserDetail"> | number | null
    profile_pic?: StringNullableFilter<"UserDetail"> | string | null
    dob?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    country_code?: StringNullableFilter<"UserDetail"> | string | null
    phone_number?: StringNullableFilter<"UserDetail"> | string | null
    gender?: EnumGenderFilter<"UserDetail"> | $Enums.Gender
    user_time_zone?: StringNullableFilter<"UserDetail"> | string | null
    address?: StringNullableFilter<"UserDetail"> | string | null
    culture?: StringNullableFilter<"UserDetail"> | string | null
    company_id?: IntFilter<"UserDetail"> | number
    created_by?: IntNullableFilter<"UserDetail"> | number | null
    updated_by?: IntNullableFilter<"UserDetail"> | number | null
    deleted_by?: IntNullableFilter<"UserDetail"> | number | null
    created_at?: DateTimeFilter<"UserDetail"> | Date | string
    updated_at?: DateTimeFilter<"UserDetail"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    designation?: XOR<DesignationNullableRelationFilter, DesignationWhereInput> | null
    department?: XOR<DepartmentNullableRelationFilter, DepartmentWhereInput> | null
    user?: XOR<UserRelationFilter, UserWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "resident_id" | "passport_number" | "company_id_user_id" | "company_id_code">

  export type UserDetailOrderByWithAggregationInput = {
    id?: SortOrder
    user_id?: SortOrder
    code?: SortOrder
    first_name?: SortOrder
    last_name?: SortOrderInput | SortOrder
    designation_id?: SortOrderInput | SortOrder
    department_id?: SortOrderInput | SortOrder
    profile_pic?: SortOrderInput | SortOrder
    dob?: SortOrderInput | SortOrder
    country_code?: SortOrderInput | SortOrder
    phone_number?: SortOrderInput | SortOrder
    gender?: SortOrder
    user_time_zone?: SortOrderInput | SortOrder
    address?: SortOrderInput | SortOrder
    culture?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    resident_id?: SortOrderInput | SortOrder
    passport_number?: SortOrderInput | SortOrder
    _count?: UserDetailCountOrderByAggregateInput
    _avg?: UserDetailAvgOrderByAggregateInput
    _max?: UserDetailMaxOrderByAggregateInput
    _min?: UserDetailMinOrderByAggregateInput
    _sum?: UserDetailSumOrderByAggregateInput
  }

  export type UserDetailScalarWhereWithAggregatesInput = {
    AND?: UserDetailScalarWhereWithAggregatesInput | UserDetailScalarWhereWithAggregatesInput[]
    OR?: UserDetailScalarWhereWithAggregatesInput[]
    NOT?: UserDetailScalarWhereWithAggregatesInput | UserDetailScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"UserDetail"> | number
    user_id?: IntWithAggregatesFilter<"UserDetail"> | number
    code?: StringWithAggregatesFilter<"UserDetail"> | string
    first_name?: StringWithAggregatesFilter<"UserDetail"> | string
    last_name?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    designation_id?: IntNullableWithAggregatesFilter<"UserDetail"> | number | null
    department_id?: IntNullableWithAggregatesFilter<"UserDetail"> | number | null
    profile_pic?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    dob?: DateTimeNullableWithAggregatesFilter<"UserDetail"> | Date | string | null
    country_code?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    phone_number?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    gender?: EnumGenderWithAggregatesFilter<"UserDetail"> | $Enums.Gender
    user_time_zone?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    address?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    culture?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    company_id?: IntWithAggregatesFilter<"UserDetail"> | number
    created_by?: IntNullableWithAggregatesFilter<"UserDetail"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"UserDetail"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"UserDetail"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"UserDetail"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"UserDetail"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"UserDetail"> | Date | string | null
    resident_id?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
    passport_number?: StringNullableWithAggregatesFilter<"UserDetail"> | string | null
  }

  export type DesignationWhereInput = {
    AND?: DesignationWhereInput | DesignationWhereInput[]
    OR?: DesignationWhereInput[]
    NOT?: DesignationWhereInput | DesignationWhereInput[]
    id?: IntFilter<"Designation"> | number
    uuid?: UuidFilter<"Designation"> | string
    code?: StringFilter<"Designation"> | string
    name?: StringFilter<"Designation"> | string
    description?: StringNullableFilter<"Designation"> | string | null
    status_id?: IntFilter<"Designation"> | number
    company_id?: IntFilter<"Designation"> | number
    created_by?: IntNullableFilter<"Designation"> | number | null
    updated_by?: IntNullableFilter<"Designation"> | number | null
    deleted_by?: IntNullableFilter<"Designation"> | number | null
    created_at?: DateTimeFilter<"Designation"> | Date | string
    updated_at?: DateTimeFilter<"Designation"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Designation"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    users?: UserDetailListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type DesignationOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    users?: UserDetailOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: DesignationOrderByRelevanceInput
  }

  export type DesignationWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DesignationCompany_idIdCompoundUniqueInput
    company_id_uuid?: DesignationCompany_idUuidCompoundUniqueInput
    company_id_code?: DesignationCompany_idCodeCompoundUniqueInput
    AND?: DesignationWhereInput | DesignationWhereInput[]
    OR?: DesignationWhereInput[]
    NOT?: DesignationWhereInput | DesignationWhereInput[]
    uuid?: UuidFilter<"Designation"> | string
    code?: StringFilter<"Designation"> | string
    name?: StringFilter<"Designation"> | string
    description?: StringNullableFilter<"Designation"> | string | null
    status_id?: IntFilter<"Designation"> | number
    company_id?: IntFilter<"Designation"> | number
    created_by?: IntNullableFilter<"Designation"> | number | null
    updated_by?: IntNullableFilter<"Designation"> | number | null
    deleted_by?: IntNullableFilter<"Designation"> | number | null
    created_at?: DateTimeFilter<"Designation"> | Date | string
    updated_at?: DateTimeFilter<"Designation"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Designation"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    users?: UserDetailListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_code">

  export type DesignationOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DesignationCountOrderByAggregateInput
    _avg?: DesignationAvgOrderByAggregateInput
    _max?: DesignationMaxOrderByAggregateInput
    _min?: DesignationMinOrderByAggregateInput
    _sum?: DesignationSumOrderByAggregateInput
  }

  export type DesignationScalarWhereWithAggregatesInput = {
    AND?: DesignationScalarWhereWithAggregatesInput | DesignationScalarWhereWithAggregatesInput[]
    OR?: DesignationScalarWhereWithAggregatesInput[]
    NOT?: DesignationScalarWhereWithAggregatesInput | DesignationScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Designation"> | number
    uuid?: UuidWithAggregatesFilter<"Designation"> | string
    code?: StringWithAggregatesFilter<"Designation"> | string
    name?: StringWithAggregatesFilter<"Designation"> | string
    description?: StringNullableWithAggregatesFilter<"Designation"> | string | null
    status_id?: IntWithAggregatesFilter<"Designation"> | number
    company_id?: IntWithAggregatesFilter<"Designation"> | number
    created_by?: IntNullableWithAggregatesFilter<"Designation"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Designation"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Designation"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Designation"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Designation"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Designation"> | Date | string | null
  }

  export type DepartmentWhereInput = {
    AND?: DepartmentWhereInput | DepartmentWhereInput[]
    OR?: DepartmentWhereInput[]
    NOT?: DepartmentWhereInput | DepartmentWhereInput[]
    id?: IntFilter<"Department"> | number
    uuid?: UuidFilter<"Department"> | string
    code?: StringFilter<"Department"> | string
    name?: StringFilter<"Department"> | string
    description?: StringNullableFilter<"Department"> | string | null
    status_id?: IntFilter<"Department"> | number
    department_head_id?: IntNullableFilter<"Department"> | number | null
    company_id?: IntFilter<"Department"> | number
    created_by?: IntNullableFilter<"Department"> | number | null
    updated_by?: IntNullableFilter<"Department"> | number | null
    deleted_by?: IntNullableFilter<"Department"> | number | null
    created_at?: DateTimeFilter<"Department"> | Date | string
    updated_at?: DateTimeFilter<"Department"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Department"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    users?: UserDetailListRelationFilter
    department_head?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type DepartmentOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    users?: UserDetailOrderByRelationAggregateInput
    department_head?: UserOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: DepartmentOrderByRelevanceInput
  }

  export type DepartmentWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DepartmentCompany_idIdCompoundUniqueInput
    company_id_uuid?: DepartmentCompany_idUuidCompoundUniqueInput
    company_id_code?: DepartmentCompany_idCodeCompoundUniqueInput
    AND?: DepartmentWhereInput | DepartmentWhereInput[]
    OR?: DepartmentWhereInput[]
    NOT?: DepartmentWhereInput | DepartmentWhereInput[]
    uuid?: UuidFilter<"Department"> | string
    code?: StringFilter<"Department"> | string
    name?: StringFilter<"Department"> | string
    description?: StringNullableFilter<"Department"> | string | null
    status_id?: IntFilter<"Department"> | number
    department_head_id?: IntNullableFilter<"Department"> | number | null
    company_id?: IntFilter<"Department"> | number
    created_by?: IntNullableFilter<"Department"> | number | null
    updated_by?: IntNullableFilter<"Department"> | number | null
    deleted_by?: IntNullableFilter<"Department"> | number | null
    created_at?: DateTimeFilter<"Department"> | Date | string
    updated_at?: DateTimeFilter<"Department"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Department"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    users?: UserDetailListRelationFilter
    department_head?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_code">

  export type DepartmentOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DepartmentCountOrderByAggregateInput
    _avg?: DepartmentAvgOrderByAggregateInput
    _max?: DepartmentMaxOrderByAggregateInput
    _min?: DepartmentMinOrderByAggregateInput
    _sum?: DepartmentSumOrderByAggregateInput
  }

  export type DepartmentScalarWhereWithAggregatesInput = {
    AND?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[]
    OR?: DepartmentScalarWhereWithAggregatesInput[]
    NOT?: DepartmentScalarWhereWithAggregatesInput | DepartmentScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Department"> | number
    uuid?: UuidWithAggregatesFilter<"Department"> | string
    code?: StringWithAggregatesFilter<"Department"> | string
    name?: StringWithAggregatesFilter<"Department"> | string
    description?: StringNullableWithAggregatesFilter<"Department"> | string | null
    status_id?: IntWithAggregatesFilter<"Department"> | number
    department_head_id?: IntNullableWithAggregatesFilter<"Department"> | number | null
    company_id?: IntWithAggregatesFilter<"Department"> | number
    created_by?: IntNullableWithAggregatesFilter<"Department"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Department"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Department"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Department"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Department"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Department"> | Date | string | null
  }

  export type RequestLogWhereInput = {
    AND?: RequestLogWhereInput | RequestLogWhereInput[]
    OR?: RequestLogWhereInput[]
    NOT?: RequestLogWhereInput | RequestLogWhereInput[]
    id?: BigIntFilter<"RequestLog"> | bigint | number
    uuid?: UuidFilter<"RequestLog"> | string
    user_id?: IntNullableFilter<"RequestLog"> | number | null
    req_method?: StringNullableFilter<"RequestLog"> | string | null
    req_url?: StringNullableFilter<"RequestLog"> | string | null
    req_body?: StringNullableFilter<"RequestLog"> | string | null
    res_status?: BoolFilter<"RequestLog"> | boolean
    res_code?: IntFilter<"RequestLog"> | number
    res_message?: StringNullableFilter<"RequestLog"> | string | null
    req_response?: StringNullableFilter<"RequestLog"> | string | null
    req_headers?: StringNullableFilter<"RequestLog"> | string | null
    req_ip?: StringNullableFilter<"RequestLog"> | string | null
    req_device?: StringNullableFilter<"RequestLog"> | string | null
    status_id?: IntFilter<"RequestLog"> | number
    company_id?: IntFilter<"RequestLog"> | number
    created_at?: DateTimeFilter<"RequestLog"> | Date | string
    updated_at?: DateTimeFilter<"RequestLog"> | Date | string
    deleted_at?: DateTimeNullableFilter<"RequestLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type RequestLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    req_method?: SortOrderInput | SortOrder
    req_url?: SortOrderInput | SortOrder
    req_body?: SortOrderInput | SortOrder
    res_status?: SortOrder
    res_code?: SortOrder
    res_message?: SortOrderInput | SortOrder
    req_response?: SortOrderInput | SortOrder
    req_headers?: SortOrderInput | SortOrder
    req_ip?: SortOrderInput | SortOrder
    req_device?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: RequestLogOrderByRelevanceInput
  }

  export type RequestLogWhereUniqueInput = Prisma.AtLeast<{
    id?: bigint | number
    AND?: RequestLogWhereInput | RequestLogWhereInput[]
    OR?: RequestLogWhereInput[]
    NOT?: RequestLogWhereInput | RequestLogWhereInput[]
    uuid?: UuidFilter<"RequestLog"> | string
    user_id?: IntNullableFilter<"RequestLog"> | number | null
    req_method?: StringNullableFilter<"RequestLog"> | string | null
    req_url?: StringNullableFilter<"RequestLog"> | string | null
    req_body?: StringNullableFilter<"RequestLog"> | string | null
    res_status?: BoolFilter<"RequestLog"> | boolean
    res_code?: IntFilter<"RequestLog"> | number
    res_message?: StringNullableFilter<"RequestLog"> | string | null
    req_response?: StringNullableFilter<"RequestLog"> | string | null
    req_headers?: StringNullableFilter<"RequestLog"> | string | null
    req_ip?: StringNullableFilter<"RequestLog"> | string | null
    req_device?: StringNullableFilter<"RequestLog"> | string | null
    status_id?: IntFilter<"RequestLog"> | number
    company_id?: IntFilter<"RequestLog"> | number
    created_at?: DateTimeFilter<"RequestLog"> | Date | string
    updated_at?: DateTimeFilter<"RequestLog"> | Date | string
    deleted_at?: DateTimeNullableFilter<"RequestLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id">

  export type RequestLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    req_method?: SortOrderInput | SortOrder
    req_url?: SortOrderInput | SortOrder
    req_body?: SortOrderInput | SortOrder
    res_status?: SortOrder
    res_code?: SortOrder
    res_message?: SortOrderInput | SortOrder
    req_response?: SortOrderInput | SortOrder
    req_headers?: SortOrderInput | SortOrder
    req_ip?: SortOrderInput | SortOrder
    req_device?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: RequestLogCountOrderByAggregateInput
    _avg?: RequestLogAvgOrderByAggregateInput
    _max?: RequestLogMaxOrderByAggregateInput
    _min?: RequestLogMinOrderByAggregateInput
    _sum?: RequestLogSumOrderByAggregateInput
  }

  export type RequestLogScalarWhereWithAggregatesInput = {
    AND?: RequestLogScalarWhereWithAggregatesInput | RequestLogScalarWhereWithAggregatesInput[]
    OR?: RequestLogScalarWhereWithAggregatesInput[]
    NOT?: RequestLogScalarWhereWithAggregatesInput | RequestLogScalarWhereWithAggregatesInput[]
    id?: BigIntWithAggregatesFilter<"RequestLog"> | bigint | number
    uuid?: UuidWithAggregatesFilter<"RequestLog"> | string
    user_id?: IntNullableWithAggregatesFilter<"RequestLog"> | number | null
    req_method?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_url?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_body?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    res_status?: BoolWithAggregatesFilter<"RequestLog"> | boolean
    res_code?: IntWithAggregatesFilter<"RequestLog"> | number
    res_message?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_response?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_headers?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_ip?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    req_device?: StringNullableWithAggregatesFilter<"RequestLog"> | string | null
    status_id?: IntWithAggregatesFilter<"RequestLog"> | number
    company_id?: IntWithAggregatesFilter<"RequestLog"> | number
    created_at?: DateTimeWithAggregatesFilter<"RequestLog"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"RequestLog"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"RequestLog"> | Date | string | null
  }

  export type FinancialYearWhereInput = {
    AND?: FinancialYearWhereInput | FinancialYearWhereInput[]
    OR?: FinancialYearWhereInput[]
    NOT?: FinancialYearWhereInput | FinancialYearWhereInput[]
    id?: IntFilter<"FinancialYear"> | number
    uuid?: UuidFilter<"FinancialYear"> | string
    name?: StringFilter<"FinancialYear"> | string
    code?: StringFilter<"FinancialYear"> | string
    is_freezed?: BoolFilter<"FinancialYear"> | boolean
    start_date?: DateTimeFilter<"FinancialYear"> | Date | string
    end_date?: DateTimeFilter<"FinancialYear"> | Date | string
    status_id?: IntFilter<"FinancialYear"> | number
    company_id?: IntFilter<"FinancialYear"> | number
    created_by?: IntNullableFilter<"FinancialYear"> | number | null
    updated_by?: IntNullableFilter<"FinancialYear"> | number | null
    deleted_by?: IntNullableFilter<"FinancialYear"> | number | null
    created_at?: DateTimeFilter<"FinancialYear"> | Date | string
    updated_at?: DateTimeFilter<"FinancialYear"> | Date | string
    deleted_at?: DateTimeNullableFilter<"FinancialYear"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    document_sequence?: DocumentSequenceListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type FinancialYearOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    is_freezed?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    document_sequence?: DocumentSequenceOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: FinancialYearOrderByRelevanceInput
  }

  export type FinancialYearWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: FinancialYearCompany_idIdCompoundUniqueInput
    company_id_uuid?: FinancialYearCompany_idUuidCompoundUniqueInput
    company_id_code?: FinancialYearCompany_idCodeCompoundUniqueInput
    AND?: FinancialYearWhereInput | FinancialYearWhereInput[]
    OR?: FinancialYearWhereInput[]
    NOT?: FinancialYearWhereInput | FinancialYearWhereInput[]
    uuid?: UuidFilter<"FinancialYear"> | string
    name?: StringFilter<"FinancialYear"> | string
    code?: StringFilter<"FinancialYear"> | string
    is_freezed?: BoolFilter<"FinancialYear"> | boolean
    start_date?: DateTimeFilter<"FinancialYear"> | Date | string
    end_date?: DateTimeFilter<"FinancialYear"> | Date | string
    status_id?: IntFilter<"FinancialYear"> | number
    company_id?: IntFilter<"FinancialYear"> | number
    created_by?: IntNullableFilter<"FinancialYear"> | number | null
    updated_by?: IntNullableFilter<"FinancialYear"> | number | null
    deleted_by?: IntNullableFilter<"FinancialYear"> | number | null
    created_at?: DateTimeFilter<"FinancialYear"> | Date | string
    updated_at?: DateTimeFilter<"FinancialYear"> | Date | string
    deleted_at?: DateTimeNullableFilter<"FinancialYear"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    document_sequence?: DocumentSequenceListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_code">

  export type FinancialYearOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    is_freezed?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: FinancialYearCountOrderByAggregateInput
    _avg?: FinancialYearAvgOrderByAggregateInput
    _max?: FinancialYearMaxOrderByAggregateInput
    _min?: FinancialYearMinOrderByAggregateInput
    _sum?: FinancialYearSumOrderByAggregateInput
  }

  export type FinancialYearScalarWhereWithAggregatesInput = {
    AND?: FinancialYearScalarWhereWithAggregatesInput | FinancialYearScalarWhereWithAggregatesInput[]
    OR?: FinancialYearScalarWhereWithAggregatesInput[]
    NOT?: FinancialYearScalarWhereWithAggregatesInput | FinancialYearScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"FinancialYear"> | number
    uuid?: UuidWithAggregatesFilter<"FinancialYear"> | string
    name?: StringWithAggregatesFilter<"FinancialYear"> | string
    code?: StringWithAggregatesFilter<"FinancialYear"> | string
    is_freezed?: BoolWithAggregatesFilter<"FinancialYear"> | boolean
    start_date?: DateTimeWithAggregatesFilter<"FinancialYear"> | Date | string
    end_date?: DateTimeWithAggregatesFilter<"FinancialYear"> | Date | string
    status_id?: IntWithAggregatesFilter<"FinancialYear"> | number
    company_id?: IntWithAggregatesFilter<"FinancialYear"> | number
    created_by?: IntNullableWithAggregatesFilter<"FinancialYear"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"FinancialYear"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"FinancialYear"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"FinancialYear"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"FinancialYear"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"FinancialYear"> | Date | string | null
  }

  export type DocumentSequenceWhereInput = {
    AND?: DocumentSequenceWhereInput | DocumentSequenceWhereInput[]
    OR?: DocumentSequenceWhereInput[]
    NOT?: DocumentSequenceWhereInput | DocumentSequenceWhereInput[]
    id?: IntFilter<"DocumentSequence"> | number
    uuid?: UuidFilter<"DocumentSequence"> | string
    module_name?: StringFilter<"DocumentSequence"> | string
    financial_year_id?: IntNullableFilter<"DocumentSequence"> | number | null
    current_sequence_no?: IntFilter<"DocumentSequence"> | number
    start_sequence_no?: IntFilter<"DocumentSequence"> | number
    end_sequence_no?: IntFilter<"DocumentSequence"> | number
    sequence_length?: IntFilter<"DocumentSequence"> | number
    status_id?: IntFilter<"DocumentSequence"> | number
    code_format?: StringNullableFilter<"DocumentSequence"> | string | null
    company_id?: IntFilter<"DocumentSequence"> | number
    created_by?: IntNullableFilter<"DocumentSequence"> | number | null
    updated_by?: IntNullableFilter<"DocumentSequence"> | number | null
    deleted_by?: IntNullableFilter<"DocumentSequence"> | number | null
    created_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    updated_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    deleted_at?: DateTimeNullableFilter<"DocumentSequence"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    finanicial_year?: XOR<FinancialYearNullableRelationFilter, FinancialYearWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type DocumentSequenceOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    module_name?: SortOrder
    financial_year_id?: SortOrderInput | SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    code_format?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    finanicial_year?: FinancialYearOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: DocumentSequenceOrderByRelevanceInput
  }

  export type DocumentSequenceWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DocumentSequenceCompany_idIdCompoundUniqueInput
    company_id_uuid?: DocumentSequenceCompany_idUuidCompoundUniqueInput
    company_id_financial_year_id_module_name?: DocumentSequenceCompany_idFinancial_year_idModule_nameCompoundUniqueInput
    AND?: DocumentSequenceWhereInput | DocumentSequenceWhereInput[]
    OR?: DocumentSequenceWhereInput[]
    NOT?: DocumentSequenceWhereInput | DocumentSequenceWhereInput[]
    uuid?: UuidFilter<"DocumentSequence"> | string
    module_name?: StringFilter<"DocumentSequence"> | string
    financial_year_id?: IntNullableFilter<"DocumentSequence"> | number | null
    current_sequence_no?: IntFilter<"DocumentSequence"> | number
    start_sequence_no?: IntFilter<"DocumentSequence"> | number
    end_sequence_no?: IntFilter<"DocumentSequence"> | number
    sequence_length?: IntFilter<"DocumentSequence"> | number
    status_id?: IntFilter<"DocumentSequence"> | number
    code_format?: StringNullableFilter<"DocumentSequence"> | string | null
    company_id?: IntFilter<"DocumentSequence"> | number
    created_by?: IntNullableFilter<"DocumentSequence"> | number | null
    updated_by?: IntNullableFilter<"DocumentSequence"> | number | null
    deleted_by?: IntNullableFilter<"DocumentSequence"> | number | null
    created_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    updated_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    deleted_at?: DateTimeNullableFilter<"DocumentSequence"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    finanicial_year?: XOR<FinancialYearNullableRelationFilter, FinancialYearWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_financial_year_id_module_name">

  export type DocumentSequenceOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    module_name?: SortOrder
    financial_year_id?: SortOrderInput | SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    code_format?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DocumentSequenceCountOrderByAggregateInput
    _avg?: DocumentSequenceAvgOrderByAggregateInput
    _max?: DocumentSequenceMaxOrderByAggregateInput
    _min?: DocumentSequenceMinOrderByAggregateInput
    _sum?: DocumentSequenceSumOrderByAggregateInput
  }

  export type DocumentSequenceScalarWhereWithAggregatesInput = {
    AND?: DocumentSequenceScalarWhereWithAggregatesInput | DocumentSequenceScalarWhereWithAggregatesInput[]
    OR?: DocumentSequenceScalarWhereWithAggregatesInput[]
    NOT?: DocumentSequenceScalarWhereWithAggregatesInput | DocumentSequenceScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DocumentSequence"> | number
    uuid?: UuidWithAggregatesFilter<"DocumentSequence"> | string
    module_name?: StringWithAggregatesFilter<"DocumentSequence"> | string
    financial_year_id?: IntNullableWithAggregatesFilter<"DocumentSequence"> | number | null
    current_sequence_no?: IntWithAggregatesFilter<"DocumentSequence"> | number
    start_sequence_no?: IntWithAggregatesFilter<"DocumentSequence"> | number
    end_sequence_no?: IntWithAggregatesFilter<"DocumentSequence"> | number
    sequence_length?: IntWithAggregatesFilter<"DocumentSequence"> | number
    status_id?: IntWithAggregatesFilter<"DocumentSequence"> | number
    code_format?: StringNullableWithAggregatesFilter<"DocumentSequence"> | string | null
    company_id?: IntWithAggregatesFilter<"DocumentSequence"> | number
    created_by?: IntNullableWithAggregatesFilter<"DocumentSequence"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"DocumentSequence"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"DocumentSequence"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"DocumentSequence"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"DocumentSequence"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"DocumentSequence"> | Date | string | null
  }

  export type AuditLogWhereInput = {
    AND?: AuditLogWhereInput | AuditLogWhereInput[]
    OR?: AuditLogWhereInput[]
    NOT?: AuditLogWhereInput | AuditLogWhereInput[]
    id?: IntFilter<"AuditLog"> | number
    operation_type?: StringFilter<"AuditLog"> | string
    table_name?: StringFilter<"AuditLog"> | string
    field_name?: StringFilter<"AuditLog"> | string
    old_value?: StringNullableFilter<"AuditLog"> | string | null
    new_value?: StringNullableFilter<"AuditLog"> | string | null
    entity_id?: IntFilter<"AuditLog"> | number
    user_id?: IntNullableFilter<"AuditLog"> | number | null
    status_id?: IntFilter<"AuditLog"> | number
    company_id?: IntNullableFilter<"AuditLog"> | number | null
    created_at?: DateTimeFilter<"AuditLog"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type AuditLogOrderByWithRelationInput = {
    id?: SortOrder
    operation_type?: SortOrder
    table_name?: SortOrder
    field_name?: SortOrder
    old_value?: SortOrderInput | SortOrder
    new_value?: SortOrderInput | SortOrder
    entity_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: AuditLogOrderByRelevanceInput
  }

  export type AuditLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: AuditLogCompany_idIdCompoundUniqueInput
    AND?: AuditLogWhereInput | AuditLogWhereInput[]
    OR?: AuditLogWhereInput[]
    NOT?: AuditLogWhereInput | AuditLogWhereInput[]
    operation_type?: StringFilter<"AuditLog"> | string
    table_name?: StringFilter<"AuditLog"> | string
    field_name?: StringFilter<"AuditLog"> | string
    old_value?: StringNullableFilter<"AuditLog"> | string | null
    new_value?: StringNullableFilter<"AuditLog"> | string | null
    entity_id?: IntFilter<"AuditLog"> | number
    user_id?: IntNullableFilter<"AuditLog"> | number | null
    status_id?: IntFilter<"AuditLog"> | number
    company_id?: IntNullableFilter<"AuditLog"> | number | null
    created_at?: DateTimeFilter<"AuditLog"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id">

  export type AuditLogOrderByWithAggregationInput = {
    id?: SortOrder
    operation_type?: SortOrder
    table_name?: SortOrder
    field_name?: SortOrder
    old_value?: SortOrderInput | SortOrder
    new_value?: SortOrderInput | SortOrder
    entity_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    _count?: AuditLogCountOrderByAggregateInput
    _avg?: AuditLogAvgOrderByAggregateInput
    _max?: AuditLogMaxOrderByAggregateInput
    _min?: AuditLogMinOrderByAggregateInput
    _sum?: AuditLogSumOrderByAggregateInput
  }

  export type AuditLogScalarWhereWithAggregatesInput = {
    AND?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[]
    OR?: AuditLogScalarWhereWithAggregatesInput[]
    NOT?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"AuditLog"> | number
    operation_type?: StringWithAggregatesFilter<"AuditLog"> | string
    table_name?: StringWithAggregatesFilter<"AuditLog"> | string
    field_name?: StringWithAggregatesFilter<"AuditLog"> | string
    old_value?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null
    new_value?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null
    entity_id?: IntWithAggregatesFilter<"AuditLog"> | number
    user_id?: IntNullableWithAggregatesFilter<"AuditLog"> | number | null
    status_id?: IntWithAggregatesFilter<"AuditLog"> | number
    company_id?: IntNullableWithAggregatesFilter<"AuditLog"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"AuditLog"> | Date | string
  }

  export type PermissionsWhereInput = {
    AND?: PermissionsWhereInput | PermissionsWhereInput[]
    OR?: PermissionsWhereInput[]
    NOT?: PermissionsWhereInput | PermissionsWhereInput[]
    id?: IntFilter<"Permissions"> | number
    name?: StringFilter<"Permissions"> | string
    slug?: StringFilter<"Permissions"> | string
    entity_id?: IntNullableFilter<"Permissions"> | number | null
    order_no?: DecimalFilter<"Permissions"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"Permissions"> | number
    company_id?: IntFilter<"Permissions"> | number
    created_at?: DateTimeFilter<"Permissions"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    roles?: RolePermissionsListRelationFilter
    users?: UserPermissionsListRelationFilter
    menus?: MenuItemsListRelationFilter
  }

  export type PermissionsOrderByWithRelationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    entity_id?: SortOrderInput | SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    entity?: MasterEntityOrderByWithRelationInput
    roles?: RolePermissionsOrderByRelationAggregateInput
    users?: UserPermissionsOrderByRelationAggregateInput
    menus?: MenuItemsOrderByRelationAggregateInput
    _relevance?: PermissionsOrderByRelevanceInput
  }

  export type PermissionsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_slug?: PermissionsCompany_idSlugCompoundUniqueInput
    company_id_id?: PermissionsCompany_idIdCompoundUniqueInput
    AND?: PermissionsWhereInput | PermissionsWhereInput[]
    OR?: PermissionsWhereInput[]
    NOT?: PermissionsWhereInput | PermissionsWhereInput[]
    name?: StringFilter<"Permissions"> | string
    slug?: StringFilter<"Permissions"> | string
    entity_id?: IntNullableFilter<"Permissions"> | number | null
    order_no?: DecimalFilter<"Permissions"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"Permissions"> | number
    company_id?: IntFilter<"Permissions"> | number
    created_at?: DateTimeFilter<"Permissions"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    roles?: RolePermissionsListRelationFilter
    users?: UserPermissionsListRelationFilter
    menus?: MenuItemsListRelationFilter
  }, "id" | "company_id_slug" | "company_id_id">

  export type PermissionsOrderByWithAggregationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    entity_id?: SortOrderInput | SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: PermissionsCountOrderByAggregateInput
    _avg?: PermissionsAvgOrderByAggregateInput
    _max?: PermissionsMaxOrderByAggregateInput
    _min?: PermissionsMinOrderByAggregateInput
    _sum?: PermissionsSumOrderByAggregateInput
  }

  export type PermissionsScalarWhereWithAggregatesInput = {
    AND?: PermissionsScalarWhereWithAggregatesInput | PermissionsScalarWhereWithAggregatesInput[]
    OR?: PermissionsScalarWhereWithAggregatesInput[]
    NOT?: PermissionsScalarWhereWithAggregatesInput | PermissionsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Permissions"> | number
    name?: StringWithAggregatesFilter<"Permissions"> | string
    slug?: StringWithAggregatesFilter<"Permissions"> | string
    entity_id?: IntNullableWithAggregatesFilter<"Permissions"> | number | null
    order_no?: DecimalWithAggregatesFilter<"Permissions"> | Decimal | DecimalJsLike | number | string
    status_id?: IntWithAggregatesFilter<"Permissions"> | number
    company_id?: IntWithAggregatesFilter<"Permissions"> | number
    created_at?: DateTimeWithAggregatesFilter<"Permissions"> | Date | string
  }

  export type RoleWhereInput = {
    AND?: RoleWhereInput | RoleWhereInput[]
    OR?: RoleWhereInput[]
    NOT?: RoleWhereInput | RoleWhereInput[]
    id?: IntFilter<"Role"> | number
    uuid?: UuidFilter<"Role"> | string
    name?: StringFilter<"Role"> | string
    description?: StringNullableFilter<"Role"> | string | null
    status_id?: IntFilter<"Role"> | number
    company_id?: IntFilter<"Role"> | number
    created_by?: IntNullableFilter<"Role"> | number | null
    updated_by?: IntNullableFilter<"Role"> | number | null
    deleted_by?: IntNullableFilter<"Role"> | number | null
    created_at?: DateTimeFilter<"Role"> | Date | string
    updated_at?: DateTimeFilter<"Role"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Role"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    permissions?: RolePermissionsListRelationFilter
    users?: UserRolesListRelationFilter
    role_policy?: RolePoliciesListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type RoleOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    permissions?: RolePermissionsOrderByRelationAggregateInput
    users?: UserRolesOrderByRelationAggregateInput
    role_policy?: RolePoliciesOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: RoleOrderByRelevanceInput
  }

  export type RoleWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: RoleCompany_idIdCompoundUniqueInput
    company_id_uuid?: RoleCompany_idUuidCompoundUniqueInput
    company_id_name?: RoleCompany_idNameCompoundUniqueInput
    AND?: RoleWhereInput | RoleWhereInput[]
    OR?: RoleWhereInput[]
    NOT?: RoleWhereInput | RoleWhereInput[]
    uuid?: UuidFilter<"Role"> | string
    name?: StringFilter<"Role"> | string
    description?: StringNullableFilter<"Role"> | string | null
    status_id?: IntFilter<"Role"> | number
    company_id?: IntFilter<"Role"> | number
    created_by?: IntNullableFilter<"Role"> | number | null
    updated_by?: IntNullableFilter<"Role"> | number | null
    deleted_by?: IntNullableFilter<"Role"> | number | null
    created_at?: DateTimeFilter<"Role"> | Date | string
    updated_at?: DateTimeFilter<"Role"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Role"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    permissions?: RolePermissionsListRelationFilter
    users?: UserRolesListRelationFilter
    role_policy?: RolePoliciesListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_name">

  export type RoleOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: RoleCountOrderByAggregateInput
    _avg?: RoleAvgOrderByAggregateInput
    _max?: RoleMaxOrderByAggregateInput
    _min?: RoleMinOrderByAggregateInput
    _sum?: RoleSumOrderByAggregateInput
  }

  export type RoleScalarWhereWithAggregatesInput = {
    AND?: RoleScalarWhereWithAggregatesInput | RoleScalarWhereWithAggregatesInput[]
    OR?: RoleScalarWhereWithAggregatesInput[]
    NOT?: RoleScalarWhereWithAggregatesInput | RoleScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Role"> | number
    uuid?: UuidWithAggregatesFilter<"Role"> | string
    name?: StringWithAggregatesFilter<"Role"> | string
    description?: StringNullableWithAggregatesFilter<"Role"> | string | null
    status_id?: IntWithAggregatesFilter<"Role"> | number
    company_id?: IntWithAggregatesFilter<"Role"> | number
    created_by?: IntNullableWithAggregatesFilter<"Role"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Role"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Role"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Role"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Role"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Role"> | Date | string | null
  }

  export type RolePermissionsWhereInput = {
    AND?: RolePermissionsWhereInput | RolePermissionsWhereInput[]
    OR?: RolePermissionsWhereInput[]
    NOT?: RolePermissionsWhereInput | RolePermissionsWhereInput[]
    role_id?: IntFilter<"RolePermissions"> | number
    permission_id?: IntFilter<"RolePermissions"> | number
    company_id?: IntFilter<"RolePermissions"> | number
    role?: XOR<RoleRelationFilter, RoleWhereInput>
    permission?: XOR<PermissionsRelationFilter, PermissionsWhereInput>
  }

  export type RolePermissionsOrderByWithRelationInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
    role?: RoleOrderByWithRelationInput
    permission?: PermissionsOrderByWithRelationInput
  }

  export type RolePermissionsWhereUniqueInput = Prisma.AtLeast<{
    company_id_role_id_permission_id?: RolePermissionsCompany_idRole_idPermission_idCompoundUniqueInput
    AND?: RolePermissionsWhereInput | RolePermissionsWhereInput[]
    OR?: RolePermissionsWhereInput[]
    NOT?: RolePermissionsWhereInput | RolePermissionsWhereInput[]
    role_id?: IntFilter<"RolePermissions"> | number
    permission_id?: IntFilter<"RolePermissions"> | number
    company_id?: IntFilter<"RolePermissions"> | number
    role?: XOR<RoleRelationFilter, RoleWhereInput>
    permission?: XOR<PermissionsRelationFilter, PermissionsWhereInput>
  }, "company_id_role_id_permission_id">

  export type RolePermissionsOrderByWithAggregationInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
    _count?: RolePermissionsCountOrderByAggregateInput
    _avg?: RolePermissionsAvgOrderByAggregateInput
    _max?: RolePermissionsMaxOrderByAggregateInput
    _min?: RolePermissionsMinOrderByAggregateInput
    _sum?: RolePermissionsSumOrderByAggregateInput
  }

  export type RolePermissionsScalarWhereWithAggregatesInput = {
    AND?: RolePermissionsScalarWhereWithAggregatesInput | RolePermissionsScalarWhereWithAggregatesInput[]
    OR?: RolePermissionsScalarWhereWithAggregatesInput[]
    NOT?: RolePermissionsScalarWhereWithAggregatesInput | RolePermissionsScalarWhereWithAggregatesInput[]
    role_id?: IntWithAggregatesFilter<"RolePermissions"> | number
    permission_id?: IntWithAggregatesFilter<"RolePermissions"> | number
    company_id?: IntWithAggregatesFilter<"RolePermissions"> | number
  }

  export type UserRolesWhereInput = {
    AND?: UserRolesWhereInput | UserRolesWhereInput[]
    OR?: UserRolesWhereInput[]
    NOT?: UserRolesWhereInput | UserRolesWhereInput[]
    user_id?: IntFilter<"UserRoles"> | number
    role_id?: IntFilter<"UserRoles"> | number
    company_id?: IntFilter<"UserRoles"> | number
    user?: XOR<UserRelationFilter, UserWhereInput>
    role?: XOR<RoleRelationFilter, RoleWhereInput>
  }

  export type UserRolesOrderByWithRelationInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
    user?: UserOrderByWithRelationInput
    role?: RoleOrderByWithRelationInput
  }

  export type UserRolesWhereUniqueInput = Prisma.AtLeast<{
    company_id_user_id_role_id?: UserRolesCompany_idUser_idRole_idCompoundUniqueInput
    AND?: UserRolesWhereInput | UserRolesWhereInput[]
    OR?: UserRolesWhereInput[]
    NOT?: UserRolesWhereInput | UserRolesWhereInput[]
    user_id?: IntFilter<"UserRoles"> | number
    role_id?: IntFilter<"UserRoles"> | number
    company_id?: IntFilter<"UserRoles"> | number
    user?: XOR<UserRelationFilter, UserWhereInput>
    role?: XOR<RoleRelationFilter, RoleWhereInput>
  }, "company_id_user_id_role_id">

  export type UserRolesOrderByWithAggregationInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
    _count?: UserRolesCountOrderByAggregateInput
    _avg?: UserRolesAvgOrderByAggregateInput
    _max?: UserRolesMaxOrderByAggregateInput
    _min?: UserRolesMinOrderByAggregateInput
    _sum?: UserRolesSumOrderByAggregateInput
  }

  export type UserRolesScalarWhereWithAggregatesInput = {
    AND?: UserRolesScalarWhereWithAggregatesInput | UserRolesScalarWhereWithAggregatesInput[]
    OR?: UserRolesScalarWhereWithAggregatesInput[]
    NOT?: UserRolesScalarWhereWithAggregatesInput | UserRolesScalarWhereWithAggregatesInput[]
    user_id?: IntWithAggregatesFilter<"UserRoles"> | number
    role_id?: IntWithAggregatesFilter<"UserRoles"> | number
    company_id?: IntWithAggregatesFilter<"UserRoles"> | number
  }

  export type UserPermissionsWhereInput = {
    AND?: UserPermissionsWhereInput | UserPermissionsWhereInput[]
    OR?: UserPermissionsWhereInput[]
    NOT?: UserPermissionsWhereInput | UserPermissionsWhereInput[]
    user_id?: IntFilter<"UserPermissions"> | number
    permission_id?: IntFilter<"UserPermissions"> | number
    company_id?: IntFilter<"UserPermissions"> | number
    user?: XOR<UserRelationFilter, UserWhereInput>
    permission?: XOR<PermissionsRelationFilter, PermissionsWhereInput>
  }

  export type UserPermissionsOrderByWithRelationInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
    user?: UserOrderByWithRelationInput
    permission?: PermissionsOrderByWithRelationInput
  }

  export type UserPermissionsWhereUniqueInput = Prisma.AtLeast<{
    company_id_user_id_permission_id?: UserPermissionsCompany_idUser_idPermission_idCompoundUniqueInput
    AND?: UserPermissionsWhereInput | UserPermissionsWhereInput[]
    OR?: UserPermissionsWhereInput[]
    NOT?: UserPermissionsWhereInput | UserPermissionsWhereInput[]
    user_id?: IntFilter<"UserPermissions"> | number
    permission_id?: IntFilter<"UserPermissions"> | number
    company_id?: IntFilter<"UserPermissions"> | number
    user?: XOR<UserRelationFilter, UserWhereInput>
    permission?: XOR<PermissionsRelationFilter, PermissionsWhereInput>
  }, "company_id_user_id_permission_id">

  export type UserPermissionsOrderByWithAggregationInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
    _count?: UserPermissionsCountOrderByAggregateInput
    _avg?: UserPermissionsAvgOrderByAggregateInput
    _max?: UserPermissionsMaxOrderByAggregateInput
    _min?: UserPermissionsMinOrderByAggregateInput
    _sum?: UserPermissionsSumOrderByAggregateInput
  }

  export type UserPermissionsScalarWhereWithAggregatesInput = {
    AND?: UserPermissionsScalarWhereWithAggregatesInput | UserPermissionsScalarWhereWithAggregatesInput[]
    OR?: UserPermissionsScalarWhereWithAggregatesInput[]
    NOT?: UserPermissionsScalarWhereWithAggregatesInput | UserPermissionsScalarWhereWithAggregatesInput[]
    user_id?: IntWithAggregatesFilter<"UserPermissions"> | number
    permission_id?: IntWithAggregatesFilter<"UserPermissions"> | number
    company_id?: IntWithAggregatesFilter<"UserPermissions"> | number
  }

  export type OtpWhereInput = {
    AND?: OtpWhereInput | OtpWhereInput[]
    OR?: OtpWhereInput[]
    NOT?: OtpWhereInput | OtpWhereInput[]
    id?: IntFilter<"Otp"> | number
    user_id?: IntFilter<"Otp"> | number
    otp?: StringFilter<"Otp"> | string
    type?: EnumOtpTypeFilter<"Otp"> | $Enums.OtpType
    notification_template_process_slug?: StringFilter<"Otp"> | string
    company_id?: IntFilter<"Otp"> | number
    created_at?: DateTimeFilter<"Otp"> | Date | string
    verified_at?: DateTimeNullableFilter<"Otp"> | Date | string | null
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type OtpOrderByWithRelationInput = {
    id?: SortOrder
    user_id?: SortOrder
    otp?: SortOrder
    type?: SortOrder
    notification_template_process_slug?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    verified_at?: SortOrderInput | SortOrder
    user?: UserOrderByWithRelationInput
    _relevance?: OtpOrderByRelevanceInput
  }

  export type OtpWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: OtpWhereInput | OtpWhereInput[]
    OR?: OtpWhereInput[]
    NOT?: OtpWhereInput | OtpWhereInput[]
    user_id?: IntFilter<"Otp"> | number
    otp?: StringFilter<"Otp"> | string
    type?: EnumOtpTypeFilter<"Otp"> | $Enums.OtpType
    notification_template_process_slug?: StringFilter<"Otp"> | string
    company_id?: IntFilter<"Otp"> | number
    created_at?: DateTimeFilter<"Otp"> | Date | string
    verified_at?: DateTimeNullableFilter<"Otp"> | Date | string | null
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "id">

  export type OtpOrderByWithAggregationInput = {
    id?: SortOrder
    user_id?: SortOrder
    otp?: SortOrder
    type?: SortOrder
    notification_template_process_slug?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    verified_at?: SortOrderInput | SortOrder
    _count?: OtpCountOrderByAggregateInput
    _avg?: OtpAvgOrderByAggregateInput
    _max?: OtpMaxOrderByAggregateInput
    _min?: OtpMinOrderByAggregateInput
    _sum?: OtpSumOrderByAggregateInput
  }

  export type OtpScalarWhereWithAggregatesInput = {
    AND?: OtpScalarWhereWithAggregatesInput | OtpScalarWhereWithAggregatesInput[]
    OR?: OtpScalarWhereWithAggregatesInput[]
    NOT?: OtpScalarWhereWithAggregatesInput | OtpScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Otp"> | number
    user_id?: IntWithAggregatesFilter<"Otp"> | number
    otp?: StringWithAggregatesFilter<"Otp"> | string
    type?: EnumOtpTypeWithAggregatesFilter<"Otp"> | $Enums.OtpType
    notification_template_process_slug?: StringWithAggregatesFilter<"Otp"> | string
    company_id?: IntWithAggregatesFilter<"Otp"> | number
    created_at?: DateTimeWithAggregatesFilter<"Otp"> | Date | string
    verified_at?: DateTimeNullableWithAggregatesFilter<"Otp"> | Date | string | null
  }

  export type LanguageWhereInput = {
    AND?: LanguageWhereInput | LanguageWhereInput[]
    OR?: LanguageWhereInput[]
    NOT?: LanguageWhereInput | LanguageWhereInput[]
    id?: IntFilter<"Language"> | number
    uuid?: UuidFilter<"Language"> | string
    name?: StringFilter<"Language"> | string
    name_in_english?: StringNullableFilter<"Language"> | string | null
    flag?: StringNullableFilter<"Language"> | string | null
    code?: StringNullableFilter<"Language"> | string | null
    rtl?: BoolFilter<"Language"> | boolean
    description?: StringFilter<"Language"> | string
    status_id?: IntFilter<"Language"> | number
    company_id?: IntFilter<"Language"> | number
    created_by?: IntNullableFilter<"Language"> | number | null
    updated_by?: IntNullableFilter<"Language"> | number | null
    deleted_by?: IntNullableFilter<"Language"> | number | null
    created_at?: DateTimeFilter<"Language"> | Date | string
    updated_at?: DateTimeFilter<"Language"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Language"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    translations?: LanguageContentListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type LanguageOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    name_in_english?: SortOrderInput | SortOrder
    flag?: SortOrderInput | SortOrder
    code?: SortOrderInput | SortOrder
    rtl?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    translations?: LanguageContentOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: LanguageOrderByRelevanceInput
  }

  export type LanguageWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: LanguageCompany_idIdCompoundUniqueInput
    company_id_uuid?: LanguageCompany_idUuidCompoundUniqueInput
    company_id_code?: LanguageCompany_idCodeCompoundUniqueInput
    AND?: LanguageWhereInput | LanguageWhereInput[]
    OR?: LanguageWhereInput[]
    NOT?: LanguageWhereInput | LanguageWhereInput[]
    uuid?: UuidFilter<"Language"> | string
    name?: StringFilter<"Language"> | string
    name_in_english?: StringNullableFilter<"Language"> | string | null
    flag?: StringNullableFilter<"Language"> | string | null
    code?: StringNullableFilter<"Language"> | string | null
    rtl?: BoolFilter<"Language"> | boolean
    description?: StringFilter<"Language"> | string
    status_id?: IntFilter<"Language"> | number
    company_id?: IntFilter<"Language"> | number
    created_by?: IntNullableFilter<"Language"> | number | null
    updated_by?: IntNullableFilter<"Language"> | number | null
    deleted_by?: IntNullableFilter<"Language"> | number | null
    created_at?: DateTimeFilter<"Language"> | Date | string
    updated_at?: DateTimeFilter<"Language"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Language"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    translations?: LanguageContentListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_code">

  export type LanguageOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    name_in_english?: SortOrderInput | SortOrder
    flag?: SortOrderInput | SortOrder
    code?: SortOrderInput | SortOrder
    rtl?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: LanguageCountOrderByAggregateInput
    _avg?: LanguageAvgOrderByAggregateInput
    _max?: LanguageMaxOrderByAggregateInput
    _min?: LanguageMinOrderByAggregateInput
    _sum?: LanguageSumOrderByAggregateInput
  }

  export type LanguageScalarWhereWithAggregatesInput = {
    AND?: LanguageScalarWhereWithAggregatesInput | LanguageScalarWhereWithAggregatesInput[]
    OR?: LanguageScalarWhereWithAggregatesInput[]
    NOT?: LanguageScalarWhereWithAggregatesInput | LanguageScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Language"> | number
    uuid?: UuidWithAggregatesFilter<"Language"> | string
    name?: StringWithAggregatesFilter<"Language"> | string
    name_in_english?: StringNullableWithAggregatesFilter<"Language"> | string | null
    flag?: StringNullableWithAggregatesFilter<"Language"> | string | null
    code?: StringNullableWithAggregatesFilter<"Language"> | string | null
    rtl?: BoolWithAggregatesFilter<"Language"> | boolean
    description?: StringWithAggregatesFilter<"Language"> | string
    status_id?: IntWithAggregatesFilter<"Language"> | number
    company_id?: IntWithAggregatesFilter<"Language"> | number
    created_by?: IntNullableWithAggregatesFilter<"Language"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Language"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Language"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Language"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Language"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Language"> | Date | string | null
  }

  export type LanguageContentWhereInput = {
    AND?: LanguageContentWhereInput | LanguageContentWhereInput[]
    OR?: LanguageContentWhereInput[]
    NOT?: LanguageContentWhereInput | LanguageContentWhereInput[]
    id?: IntFilter<"LanguageContent"> | number
    language_id?: IntFilter<"LanguageContent"> | number
    key_content?: StringFilter<"LanguageContent"> | string
    values?: StringFilter<"LanguageContent"> | string
    status_id?: IntFilter<"LanguageContent"> | number
    company_id?: IntFilter<"LanguageContent"> | number
    created_at?: DateTimeFilter<"LanguageContent"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    language?: XOR<LanguageNullableRelationFilter, LanguageWhereInput> | null
  }

  export type LanguageContentOrderByWithRelationInput = {
    id?: SortOrder
    language_id?: SortOrder
    key_content?: SortOrder
    values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    language?: LanguageOrderByWithRelationInput
    _relevance?: LanguageContentOrderByRelevanceInput
  }

  export type LanguageContentWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: LanguageContentCompany_idIdCompoundUniqueInput
    AND?: LanguageContentWhereInput | LanguageContentWhereInput[]
    OR?: LanguageContentWhereInput[]
    NOT?: LanguageContentWhereInput | LanguageContentWhereInput[]
    language_id?: IntFilter<"LanguageContent"> | number
    key_content?: StringFilter<"LanguageContent"> | string
    values?: StringFilter<"LanguageContent"> | string
    status_id?: IntFilter<"LanguageContent"> | number
    company_id?: IntFilter<"LanguageContent"> | number
    created_at?: DateTimeFilter<"LanguageContent"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    language?: XOR<LanguageNullableRelationFilter, LanguageWhereInput> | null
  }, "id" | "company_id_id">

  export type LanguageContentOrderByWithAggregationInput = {
    id?: SortOrder
    language_id?: SortOrder
    key_content?: SortOrder
    values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: LanguageContentCountOrderByAggregateInput
    _avg?: LanguageContentAvgOrderByAggregateInput
    _max?: LanguageContentMaxOrderByAggregateInput
    _min?: LanguageContentMinOrderByAggregateInput
    _sum?: LanguageContentSumOrderByAggregateInput
  }

  export type LanguageContentScalarWhereWithAggregatesInput = {
    AND?: LanguageContentScalarWhereWithAggregatesInput | LanguageContentScalarWhereWithAggregatesInput[]
    OR?: LanguageContentScalarWhereWithAggregatesInput[]
    NOT?: LanguageContentScalarWhereWithAggregatesInput | LanguageContentScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"LanguageContent"> | number
    language_id?: IntWithAggregatesFilter<"LanguageContent"> | number
    key_content?: StringWithAggregatesFilter<"LanguageContent"> | string
    values?: StringWithAggregatesFilter<"LanguageContent"> | string
    status_id?: IntWithAggregatesFilter<"LanguageContent"> | number
    company_id?: IntWithAggregatesFilter<"LanguageContent"> | number
    created_at?: DateTimeWithAggregatesFilter<"LanguageContent"> | Date | string
  }

  export type MenusWhereInput = {
    AND?: MenusWhereInput | MenusWhereInput[]
    OR?: MenusWhereInput[]
    NOT?: MenusWhereInput | MenusWhereInput[]
    id?: IntFilter<"Menus"> | number
    uuid?: UuidFilter<"Menus"> | string
    name?: StringFilter<"Menus"> | string
    slug?: StringNullableFilter<"Menus"> | string | null
    description?: StringNullableFilter<"Menus"> | string | null
    menu_type?: IntFilter<"Menus"> | number
    status_id?: IntFilter<"Menus"> | number
    company_id?: IntFilter<"Menus"> | number
    created_by?: IntNullableFilter<"Menus"> | number | null
    updated_by?: IntNullableFilter<"Menus"> | number | null
    deleted_by?: IntNullableFilter<"Menus"> | number | null
    created_at?: DateTimeFilter<"Menus"> | Date | string
    updated_at?: DateTimeFilter<"Menus"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Menus"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    menuitems?: MenuItemsListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type MenusOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    menuitems?: MenuItemsOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: MenusOrderByRelevanceInput
  }

  export type MenusWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: MenusCompany_idIdCompoundUniqueInput
    company_id_uuid?: MenusCompany_idUuidCompoundUniqueInput
    AND?: MenusWhereInput | MenusWhereInput[]
    OR?: MenusWhereInput[]
    NOT?: MenusWhereInput | MenusWhereInput[]
    uuid?: UuidFilter<"Menus"> | string
    name?: StringFilter<"Menus"> | string
    slug?: StringNullableFilter<"Menus"> | string | null
    description?: StringNullableFilter<"Menus"> | string | null
    menu_type?: IntFilter<"Menus"> | number
    status_id?: IntFilter<"Menus"> | number
    company_id?: IntFilter<"Menus"> | number
    created_by?: IntNullableFilter<"Menus"> | number | null
    updated_by?: IntNullableFilter<"Menus"> | number | null
    deleted_by?: IntNullableFilter<"Menus"> | number | null
    created_at?: DateTimeFilter<"Menus"> | Date | string
    updated_at?: DateTimeFilter<"Menus"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Menus"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    menuitems?: MenuItemsListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid">

  export type MenusOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: MenusCountOrderByAggregateInput
    _avg?: MenusAvgOrderByAggregateInput
    _max?: MenusMaxOrderByAggregateInput
    _min?: MenusMinOrderByAggregateInput
    _sum?: MenusSumOrderByAggregateInput
  }

  export type MenusScalarWhereWithAggregatesInput = {
    AND?: MenusScalarWhereWithAggregatesInput | MenusScalarWhereWithAggregatesInput[]
    OR?: MenusScalarWhereWithAggregatesInput[]
    NOT?: MenusScalarWhereWithAggregatesInput | MenusScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Menus"> | number
    uuid?: UuidWithAggregatesFilter<"Menus"> | string
    name?: StringWithAggregatesFilter<"Menus"> | string
    slug?: StringNullableWithAggregatesFilter<"Menus"> | string | null
    description?: StringNullableWithAggregatesFilter<"Menus"> | string | null
    menu_type?: IntWithAggregatesFilter<"Menus"> | number
    status_id?: IntWithAggregatesFilter<"Menus"> | number
    company_id?: IntWithAggregatesFilter<"Menus"> | number
    created_by?: IntNullableWithAggregatesFilter<"Menus"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Menus"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Menus"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Menus"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Menus"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Menus"> | Date | string | null
  }

  export type MenuItemsWhereInput = {
    AND?: MenuItemsWhereInput | MenuItemsWhereInput[]
    OR?: MenuItemsWhereInput[]
    NOT?: MenuItemsWhereInput | MenuItemsWhereInput[]
    id?: IntFilter<"MenuItems"> | number
    menu_id?: IntFilter<"MenuItems"> | number
    name?: StringFilter<"MenuItems"> | string
    target?: StringNullableFilter<"MenuItems"> | string | null
    parent_id?: IntNullableFilter<"MenuItems"> | number | null
    permission_id?: IntNullableFilter<"MenuItems"> | number | null
    entity_id?: IntNullableFilter<"MenuItems"> | number | null
    link_type?: IntNullableFilter<"MenuItems"> | number | null
    order_no?: DecimalFilter<"MenuItems"> | Decimal | DecimalJsLike | number | string
    menu_img?: StringNullableFilter<"MenuItems"> | string | null
    short_cut_keys?: StringNullableFilter<"MenuItems"> | string | null
    status_id?: IntFilter<"MenuItems"> | number
    company_id?: IntFilter<"MenuItems"> | number
    created_by?: IntNullableFilter<"MenuItems"> | number | null
    updated_by?: IntNullableFilter<"MenuItems"> | number | null
    deleted_by?: IntNullableFilter<"MenuItems"> | number | null
    created_at?: DateTimeFilter<"MenuItems"> | Date | string
    updated_at?: DateTimeFilter<"MenuItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MenuItems"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    menus?: XOR<MenusNullableRelationFilter, MenusWhereInput> | null
    entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    permission?: XOR<PermissionsNullableRelationFilter, PermissionsWhereInput> | null
    parent?: XOR<MenuItemsNullableRelationFilter, MenuItemsWhereInput> | null
    children?: MenuItemsListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type MenuItemsOrderByWithRelationInput = {
    id?: SortOrder
    menu_id?: SortOrder
    name?: SortOrder
    target?: SortOrderInput | SortOrder
    parent_id?: SortOrderInput | SortOrder
    permission_id?: SortOrderInput | SortOrder
    entity_id?: SortOrderInput | SortOrder
    link_type?: SortOrderInput | SortOrder
    order_no?: SortOrder
    menu_img?: SortOrderInput | SortOrder
    short_cut_keys?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    menus?: MenusOrderByWithRelationInput
    entity?: MasterEntityOrderByWithRelationInput
    permission?: PermissionsOrderByWithRelationInput
    parent?: MenuItemsOrderByWithRelationInput
    children?: MenuItemsOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: MenuItemsOrderByRelevanceInput
  }

  export type MenuItemsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: MenuItemsCompany_idIdCompoundUniqueInput
    company_id_menu_id_name?: MenuItemsCompany_idMenu_idNameCompoundUniqueInput
    AND?: MenuItemsWhereInput | MenuItemsWhereInput[]
    OR?: MenuItemsWhereInput[]
    NOT?: MenuItemsWhereInput | MenuItemsWhereInput[]
    menu_id?: IntFilter<"MenuItems"> | number
    name?: StringFilter<"MenuItems"> | string
    target?: StringNullableFilter<"MenuItems"> | string | null
    parent_id?: IntNullableFilter<"MenuItems"> | number | null
    permission_id?: IntNullableFilter<"MenuItems"> | number | null
    entity_id?: IntNullableFilter<"MenuItems"> | number | null
    link_type?: IntNullableFilter<"MenuItems"> | number | null
    order_no?: DecimalFilter<"MenuItems"> | Decimal | DecimalJsLike | number | string
    menu_img?: StringNullableFilter<"MenuItems"> | string | null
    short_cut_keys?: StringNullableFilter<"MenuItems"> | string | null
    status_id?: IntFilter<"MenuItems"> | number
    company_id?: IntFilter<"MenuItems"> | number
    created_by?: IntNullableFilter<"MenuItems"> | number | null
    updated_by?: IntNullableFilter<"MenuItems"> | number | null
    deleted_by?: IntNullableFilter<"MenuItems"> | number | null
    created_at?: DateTimeFilter<"MenuItems"> | Date | string
    updated_at?: DateTimeFilter<"MenuItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MenuItems"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    menus?: XOR<MenusNullableRelationFilter, MenusWhereInput> | null
    entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    permission?: XOR<PermissionsNullableRelationFilter, PermissionsWhereInput> | null
    parent?: XOR<MenuItemsNullableRelationFilter, MenuItemsWhereInput> | null
    children?: MenuItemsListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_menu_id_name">

  export type MenuItemsOrderByWithAggregationInput = {
    id?: SortOrder
    menu_id?: SortOrder
    name?: SortOrder
    target?: SortOrderInput | SortOrder
    parent_id?: SortOrderInput | SortOrder
    permission_id?: SortOrderInput | SortOrder
    entity_id?: SortOrderInput | SortOrder
    link_type?: SortOrderInput | SortOrder
    order_no?: SortOrder
    menu_img?: SortOrderInput | SortOrder
    short_cut_keys?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: MenuItemsCountOrderByAggregateInput
    _avg?: MenuItemsAvgOrderByAggregateInput
    _max?: MenuItemsMaxOrderByAggregateInput
    _min?: MenuItemsMinOrderByAggregateInput
    _sum?: MenuItemsSumOrderByAggregateInput
  }

  export type MenuItemsScalarWhereWithAggregatesInput = {
    AND?: MenuItemsScalarWhereWithAggregatesInput | MenuItemsScalarWhereWithAggregatesInput[]
    OR?: MenuItemsScalarWhereWithAggregatesInput[]
    NOT?: MenuItemsScalarWhereWithAggregatesInput | MenuItemsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"MenuItems"> | number
    menu_id?: IntWithAggregatesFilter<"MenuItems"> | number
    name?: StringWithAggregatesFilter<"MenuItems"> | string
    target?: StringNullableWithAggregatesFilter<"MenuItems"> | string | null
    parent_id?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    permission_id?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    entity_id?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    link_type?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    order_no?: DecimalWithAggregatesFilter<"MenuItems"> | Decimal | DecimalJsLike | number | string
    menu_img?: StringNullableWithAggregatesFilter<"MenuItems"> | string | null
    short_cut_keys?: StringNullableWithAggregatesFilter<"MenuItems"> | string | null
    status_id?: IntWithAggregatesFilter<"MenuItems"> | number
    company_id?: IntWithAggregatesFilter<"MenuItems"> | number
    created_by?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"MenuItems"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"MenuItems"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"MenuItems"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"MenuItems"> | Date | string | null
  }

  export type ActionTypeWhereInput = {
    AND?: ActionTypeWhereInput | ActionTypeWhereInput[]
    OR?: ActionTypeWhereInput[]
    NOT?: ActionTypeWhereInput | ActionTypeWhereInput[]
    id?: IntFilter<"ActionType"> | number
    name?: StringFilter<"ActionType"> | string
    description?: StringFilter<"ActionType"> | string
    company_id?: IntFilter<"ActionType"> | number
  }

  export type ActionTypeOrderByWithRelationInput = {
    id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    _relevance?: ActionTypeOrderByRelevanceInput
  }

  export type ActionTypeWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ActionTypeCompany_idIdCompoundUniqueInput
    AND?: ActionTypeWhereInput | ActionTypeWhereInput[]
    OR?: ActionTypeWhereInput[]
    NOT?: ActionTypeWhereInput | ActionTypeWhereInput[]
    name?: StringFilter<"ActionType"> | string
    description?: StringFilter<"ActionType"> | string
    company_id?: IntFilter<"ActionType"> | number
  }, "id" | "company_id_id">

  export type ActionTypeOrderByWithAggregationInput = {
    id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    _count?: ActionTypeCountOrderByAggregateInput
    _avg?: ActionTypeAvgOrderByAggregateInput
    _max?: ActionTypeMaxOrderByAggregateInput
    _min?: ActionTypeMinOrderByAggregateInput
    _sum?: ActionTypeSumOrderByAggregateInput
  }

  export type ActionTypeScalarWhereWithAggregatesInput = {
    AND?: ActionTypeScalarWhereWithAggregatesInput | ActionTypeScalarWhereWithAggregatesInput[]
    OR?: ActionTypeScalarWhereWithAggregatesInput[]
    NOT?: ActionTypeScalarWhereWithAggregatesInput | ActionTypeScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ActionType"> | number
    name?: StringWithAggregatesFilter<"ActionType"> | string
    description?: StringWithAggregatesFilter<"ActionType"> | string
    company_id?: IntWithAggregatesFilter<"ActionType"> | number
  }

  export type EntityTypeWhereInput = {
    AND?: EntityTypeWhereInput | EntityTypeWhereInput[]
    OR?: EntityTypeWhereInput[]
    NOT?: EntityTypeWhereInput | EntityTypeWhereInput[]
    id?: IntFilter<"EntityType"> | number
    name?: StringFilter<"EntityType"> | string
    slug?: StringFilter<"EntityType"> | string
    description?: StringFilter<"EntityType"> | string
    company_id?: IntFilter<"EntityType"> | number
  }

  export type EntityTypeOrderByWithRelationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    _relevance?: EntityTypeOrderByRelevanceInput
  }

  export type EntityTypeWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: EntityTypeCompany_idIdCompoundUniqueInput
    AND?: EntityTypeWhereInput | EntityTypeWhereInput[]
    OR?: EntityTypeWhereInput[]
    NOT?: EntityTypeWhereInput | EntityTypeWhereInput[]
    name?: StringFilter<"EntityType"> | string
    slug?: StringFilter<"EntityType"> | string
    description?: StringFilter<"EntityType"> | string
    company_id?: IntFilter<"EntityType"> | number
  }, "id" | "company_id_id">

  export type EntityTypeOrderByWithAggregationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    _count?: EntityTypeCountOrderByAggregateInput
    _avg?: EntityTypeAvgOrderByAggregateInput
    _max?: EntityTypeMaxOrderByAggregateInput
    _min?: EntityTypeMinOrderByAggregateInput
    _sum?: EntityTypeSumOrderByAggregateInput
  }

  export type EntityTypeScalarWhereWithAggregatesInput = {
    AND?: EntityTypeScalarWhereWithAggregatesInput | EntityTypeScalarWhereWithAggregatesInput[]
    OR?: EntityTypeScalarWhereWithAggregatesInput[]
    NOT?: EntityTypeScalarWhereWithAggregatesInput | EntityTypeScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"EntityType"> | number
    name?: StringWithAggregatesFilter<"EntityType"> | string
    slug?: StringWithAggregatesFilter<"EntityType"> | string
    description?: StringWithAggregatesFilter<"EntityType"> | string
    company_id?: IntWithAggregatesFilter<"EntityType"> | number
  }

  export type WizardGroupWhereInput = {
    AND?: WizardGroupWhereInput | WizardGroupWhereInput[]
    OR?: WizardGroupWhereInput[]
    NOT?: WizardGroupWhereInput | WizardGroupWhereInput[]
    id?: IntFilter<"WizardGroup"> | number
    uuid?: UuidFilter<"WizardGroup"> | string
    name?: StringFilter<"WizardGroup"> | string
    slug?: StringNullableFilter<"WizardGroup"> | string | null
    description?: StringNullableFilter<"WizardGroup"> | string | null
    status_id?: IntFilter<"WizardGroup"> | number
    created_at?: DateTimeFilter<"WizardGroup"> | Date | string
    company_id?: IntFilter<"WizardGroup"> | number
  }

  export type WizardGroupOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    _relevance?: WizardGroupOrderByRelevanceInput
  }

  export type WizardGroupWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: WizardGroupCompany_idIdCompoundUniqueInput
    company_id_slug?: WizardGroupCompany_idSlugCompoundUniqueInput
    AND?: WizardGroupWhereInput | WizardGroupWhereInput[]
    OR?: WizardGroupWhereInput[]
    NOT?: WizardGroupWhereInput | WizardGroupWhereInput[]
    uuid?: UuidFilter<"WizardGroup"> | string
    name?: StringFilter<"WizardGroup"> | string
    slug?: StringNullableFilter<"WizardGroup"> | string | null
    description?: StringNullableFilter<"WizardGroup"> | string | null
    status_id?: IntFilter<"WizardGroup"> | number
    created_at?: DateTimeFilter<"WizardGroup"> | Date | string
    company_id?: IntFilter<"WizardGroup"> | number
  }, "id" | "company_id_id" | "company_id_slug">

  export type WizardGroupOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    _count?: WizardGroupCountOrderByAggregateInput
    _avg?: WizardGroupAvgOrderByAggregateInput
    _max?: WizardGroupMaxOrderByAggregateInput
    _min?: WizardGroupMinOrderByAggregateInput
    _sum?: WizardGroupSumOrderByAggregateInput
  }

  export type WizardGroupScalarWhereWithAggregatesInput = {
    AND?: WizardGroupScalarWhereWithAggregatesInput | WizardGroupScalarWhereWithAggregatesInput[]
    OR?: WizardGroupScalarWhereWithAggregatesInput[]
    NOT?: WizardGroupScalarWhereWithAggregatesInput | WizardGroupScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"WizardGroup"> | number
    uuid?: UuidWithAggregatesFilter<"WizardGroup"> | string
    name?: StringWithAggregatesFilter<"WizardGroup"> | string
    slug?: StringNullableWithAggregatesFilter<"WizardGroup"> | string | null
    description?: StringNullableWithAggregatesFilter<"WizardGroup"> | string | null
    status_id?: IntWithAggregatesFilter<"WizardGroup"> | number
    created_at?: DateTimeWithAggregatesFilter<"WizardGroup"> | Date | string
    company_id?: IntWithAggregatesFilter<"WizardGroup"> | number
  }

  export type WizardTypeWhereInput = {
    AND?: WizardTypeWhereInput | WizardTypeWhereInput[]
    OR?: WizardTypeWhereInput[]
    NOT?: WizardTypeWhereInput | WizardTypeWhereInput[]
    id?: IntFilter<"WizardType"> | number
    uuid?: UuidFilter<"WizardType"> | string
    name?: StringFilter<"WizardType"> | string
    description?: StringNullableFilter<"WizardType"> | string | null
    company_id?: IntFilter<"WizardType"> | number
  }

  export type WizardTypeOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _relevance?: WizardTypeOrderByRelevanceInput
  }

  export type WizardTypeWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: WizardTypeCompany_idIdCompoundUniqueInput
    company_id_name?: WizardTypeCompany_idNameCompoundUniqueInput
    AND?: WizardTypeWhereInput | WizardTypeWhereInput[]
    OR?: WizardTypeWhereInput[]
    NOT?: WizardTypeWhereInput | WizardTypeWhereInput[]
    uuid?: UuidFilter<"WizardType"> | string
    name?: StringFilter<"WizardType"> | string
    description?: StringNullableFilter<"WizardType"> | string | null
    company_id?: IntFilter<"WizardType"> | number
  }, "id" | "company_id_id" | "company_id_name">

  export type WizardTypeOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _count?: WizardTypeCountOrderByAggregateInput
    _avg?: WizardTypeAvgOrderByAggregateInput
    _max?: WizardTypeMaxOrderByAggregateInput
    _min?: WizardTypeMinOrderByAggregateInput
    _sum?: WizardTypeSumOrderByAggregateInput
  }

  export type WizardTypeScalarWhereWithAggregatesInput = {
    AND?: WizardTypeScalarWhereWithAggregatesInput | WizardTypeScalarWhereWithAggregatesInput[]
    OR?: WizardTypeScalarWhereWithAggregatesInput[]
    NOT?: WizardTypeScalarWhereWithAggregatesInput | WizardTypeScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"WizardType"> | number
    uuid?: UuidWithAggregatesFilter<"WizardType"> | string
    name?: StringWithAggregatesFilter<"WizardType"> | string
    description?: StringNullableWithAggregatesFilter<"WizardType"> | string | null
    company_id?: IntWithAggregatesFilter<"WizardType"> | number
  }

  export type AboutLCPWhereInput = {
    AND?: AboutLCPWhereInput | AboutLCPWhereInput[]
    OR?: AboutLCPWhereInput[]
    NOT?: AboutLCPWhereInput | AboutLCPWhereInput[]
    id?: IntFilter<"AboutLCP"> | number
    uuid?: UuidFilter<"AboutLCP"> | string
    type?: EnumaboutTypeFilter<"AboutLCP"> | $Enums.aboutType
    name?: StringFilter<"AboutLCP"> | string
    description?: StringNullableFilter<"AboutLCP"> | string | null
    order_no?: DecimalNullableFilter<"AboutLCP"> | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_pdf?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_word?: StringNullableFilter<"AboutLCP"> | string | null
    status_id?: IntFilter<"AboutLCP"> | number
    company_id?: IntFilter<"AboutLCP"> | number
    created_by?: IntFilter<"AboutLCP"> | number
    created_at?: DateTimeFilter<"AboutLCP"> | Date | string
    updated_by?: IntNullableFilter<"AboutLCP"> | number | null
    updated_at?: DateTimeFilter<"AboutLCP"> | Date | string
    deleted_by?: IntNullableFilter<"AboutLCP"> | number | null
    deleted_at?: DateTimeNullableFilter<"AboutLCP"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type AboutLCPOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    type?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    order_no?: SortOrderInput | SortOrder
    documentation_video_url?: SortOrderInput | SortOrder
    documentation_pdf?: SortOrderInput | SortOrder
    documentation_word?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: AboutLCPOrderByRelevanceInput
  }

  export type AboutLCPWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: AboutLCPCompany_idIdCompoundUniqueInput
    AND?: AboutLCPWhereInput | AboutLCPWhereInput[]
    OR?: AboutLCPWhereInput[]
    NOT?: AboutLCPWhereInput | AboutLCPWhereInput[]
    uuid?: UuidFilter<"AboutLCP"> | string
    type?: EnumaboutTypeFilter<"AboutLCP"> | $Enums.aboutType
    name?: StringFilter<"AboutLCP"> | string
    description?: StringNullableFilter<"AboutLCP"> | string | null
    order_no?: DecimalNullableFilter<"AboutLCP"> | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_pdf?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_word?: StringNullableFilter<"AboutLCP"> | string | null
    status_id?: IntFilter<"AboutLCP"> | number
    company_id?: IntFilter<"AboutLCP"> | number
    created_by?: IntFilter<"AboutLCP"> | number
    created_at?: DateTimeFilter<"AboutLCP"> | Date | string
    updated_by?: IntNullableFilter<"AboutLCP"> | number | null
    updated_at?: DateTimeFilter<"AboutLCP"> | Date | string
    deleted_by?: IntNullableFilter<"AboutLCP"> | number | null
    deleted_at?: DateTimeNullableFilter<"AboutLCP"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id">

  export type AboutLCPOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    type?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    order_no?: SortOrderInput | SortOrder
    documentation_video_url?: SortOrderInput | SortOrder
    documentation_pdf?: SortOrderInput | SortOrder
    documentation_word?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: AboutLCPCountOrderByAggregateInput
    _avg?: AboutLCPAvgOrderByAggregateInput
    _max?: AboutLCPMaxOrderByAggregateInput
    _min?: AboutLCPMinOrderByAggregateInput
    _sum?: AboutLCPSumOrderByAggregateInput
  }

  export type AboutLCPScalarWhereWithAggregatesInput = {
    AND?: AboutLCPScalarWhereWithAggregatesInput | AboutLCPScalarWhereWithAggregatesInput[]
    OR?: AboutLCPScalarWhereWithAggregatesInput[]
    NOT?: AboutLCPScalarWhereWithAggregatesInput | AboutLCPScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"AboutLCP"> | number
    uuid?: UuidWithAggregatesFilter<"AboutLCP"> | string
    type?: EnumaboutTypeWithAggregatesFilter<"AboutLCP"> | $Enums.aboutType
    name?: StringWithAggregatesFilter<"AboutLCP"> | string
    description?: StringNullableWithAggregatesFilter<"AboutLCP"> | string | null
    order_no?: DecimalNullableWithAggregatesFilter<"AboutLCP"> | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: StringNullableWithAggregatesFilter<"AboutLCP"> | string | null
    documentation_pdf?: StringNullableWithAggregatesFilter<"AboutLCP"> | string | null
    documentation_word?: StringNullableWithAggregatesFilter<"AboutLCP"> | string | null
    status_id?: IntWithAggregatesFilter<"AboutLCP"> | number
    company_id?: IntWithAggregatesFilter<"AboutLCP"> | number
    created_by?: IntWithAggregatesFilter<"AboutLCP"> | number
    created_at?: DateTimeWithAggregatesFilter<"AboutLCP"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"AboutLCP"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"AboutLCP"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"AboutLCP"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"AboutLCP"> | Date | string | null
  }

  export type userSearchConfigurationWhereInput = {
    AND?: userSearchConfigurationWhereInput | userSearchConfigurationWhereInput[]
    OR?: userSearchConfigurationWhereInput[]
    NOT?: userSearchConfigurationWhereInput | userSearchConfigurationWhereInput[]
    id?: IntFilter<"userSearchConfiguration"> | number
    uuid?: UuidFilter<"userSearchConfiguration"> | string
    user_id?: IntFilter<"userSearchConfiguration"> | number
    entity_slug?: StringFilter<"userSearchConfiguration"> | string
    view_name?: StringFilter<"userSearchConfiguration"> | string
    is_default?: BoolFilter<"userSearchConfiguration"> | boolean
    search_values?: JsonNullableFilter<"userSearchConfiguration">
    status_id?: IntFilter<"userSearchConfiguration"> | number
    company_id?: IntFilter<"userSearchConfiguration"> | number
    created_by?: IntFilter<"userSearchConfiguration"> | number
    created_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    updated_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    updated_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    deleted_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    deleted_at?: DateTimeNullableFilter<"userSearchConfiguration"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type userSearchConfigurationOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    entity_slug?: SortOrder
    view_name?: SortOrder
    is_default?: SortOrder
    search_values?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: userSearchConfigurationOrderByRelevanceInput
  }

  export type userSearchConfigurationWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: userSearchConfigurationCompany_idIdCompoundUniqueInput
    company_id_user_id_entity_slug_view_name?: userSearchConfigurationCompany_idUser_idEntity_slugView_nameCompoundUniqueInput
    AND?: userSearchConfigurationWhereInput | userSearchConfigurationWhereInput[]
    OR?: userSearchConfigurationWhereInput[]
    NOT?: userSearchConfigurationWhereInput | userSearchConfigurationWhereInput[]
    uuid?: UuidFilter<"userSearchConfiguration"> | string
    user_id?: IntFilter<"userSearchConfiguration"> | number
    entity_slug?: StringFilter<"userSearchConfiguration"> | string
    view_name?: StringFilter<"userSearchConfiguration"> | string
    is_default?: BoolFilter<"userSearchConfiguration"> | boolean
    search_values?: JsonNullableFilter<"userSearchConfiguration">
    status_id?: IntFilter<"userSearchConfiguration"> | number
    company_id?: IntFilter<"userSearchConfiguration"> | number
    created_by?: IntFilter<"userSearchConfiguration"> | number
    created_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    updated_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    updated_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    deleted_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    deleted_at?: DateTimeNullableFilter<"userSearchConfiguration"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_user_id_entity_slug_view_name">

  export type userSearchConfigurationOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    entity_slug?: SortOrder
    view_name?: SortOrder
    is_default?: SortOrder
    search_values?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: userSearchConfigurationCountOrderByAggregateInput
    _avg?: userSearchConfigurationAvgOrderByAggregateInput
    _max?: userSearchConfigurationMaxOrderByAggregateInput
    _min?: userSearchConfigurationMinOrderByAggregateInput
    _sum?: userSearchConfigurationSumOrderByAggregateInput
  }

  export type userSearchConfigurationScalarWhereWithAggregatesInput = {
    AND?: userSearchConfigurationScalarWhereWithAggregatesInput | userSearchConfigurationScalarWhereWithAggregatesInput[]
    OR?: userSearchConfigurationScalarWhereWithAggregatesInput[]
    NOT?: userSearchConfigurationScalarWhereWithAggregatesInput | userSearchConfigurationScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"userSearchConfiguration"> | number
    uuid?: UuidWithAggregatesFilter<"userSearchConfiguration"> | string
    user_id?: IntWithAggregatesFilter<"userSearchConfiguration"> | number
    entity_slug?: StringWithAggregatesFilter<"userSearchConfiguration"> | string
    view_name?: StringWithAggregatesFilter<"userSearchConfiguration"> | string
    is_default?: BoolWithAggregatesFilter<"userSearchConfiguration"> | boolean
    search_values?: JsonNullableWithAggregatesFilter<"userSearchConfiguration">
    status_id?: IntWithAggregatesFilter<"userSearchConfiguration"> | number
    company_id?: IntWithAggregatesFilter<"userSearchConfiguration"> | number
    created_by?: IntWithAggregatesFilter<"userSearchConfiguration"> | number
    created_at?: DateTimeWithAggregatesFilter<"userSearchConfiguration"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"userSearchConfiguration"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"userSearchConfiguration"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"userSearchConfiguration"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"userSearchConfiguration"> | Date | string | null
  }

  export type MasterEntityWhereInput = {
    AND?: MasterEntityWhereInput | MasterEntityWhereInput[]
    OR?: MasterEntityWhereInput[]
    NOT?: MasterEntityWhereInput | MasterEntityWhereInput[]
    id?: IntFilter<"MasterEntity"> | number
    uuid?: UuidFilter<"MasterEntity"> | string
    name?: StringFilter<"MasterEntity"> | string
    entity_name?: StringFilter<"MasterEntity"> | string
    entity_type?: StringFilter<"MasterEntity"> | string
    report_type?: EnumReportTypeFilter<"MasterEntity"> | $Enums.ReportType
    primary_table?: StringNullableFilter<"MasterEntity"> | string | null
    is_admin_module?: BoolFilter<"MasterEntity"> | boolean
    draft_mode?: BoolFilter<"MasterEntity"> | boolean
    associated_tables?: JsonNullableFilter<"MasterEntity">
    associated_entity_name?: StringNullableFilter<"MasterEntity"> | string | null
    query_information?: JsonNullableFilter<"MasterEntity">
    form_information?: JsonNullableFilter<"MasterEntity">
    report_information?: JsonNullableFilter<"MasterEntity">
    add_query_information?: JsonNullableFilter<"MasterEntity">
    edit_query_information?: JsonNullableFilter<"MasterEntity">
    preset_query_information?: JsonNullableFilter<"MasterEntity">
    static_page_content?: StringNullableFilter<"MasterEntity"> | string | null
    header_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    footer_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    export_template_id?: IntNullableFilter<"MasterEntity"> | number | null
    export_template_file_name?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_group_id?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_type?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_rows?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_columns?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_order_no?: DecimalNullableFilter<"MasterEntity"> | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: JsonNullableFilter<"MasterEntity">
    dashboard_grid?: StringNullableFilter<"MasterEntity"> | string | null
    reload_timeout?: IntNullableFilter<"MasterEntity"> | number | null
    status_id?: IntFilter<"MasterEntity"> | number
    company_id?: IntFilter<"MasterEntity"> | number
    created_at?: DateTimeFilter<"MasterEntity"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MasterEntity"> | Date | string | null
    associated_entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    children?: MasterEntityListRelationFilter
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    permissions?: PermissionsListRelationFilter
    line_items?: MasterEntityLineItemListRelationFilter
    menus?: MenuItemsListRelationFilter
  }

  export type MasterEntityOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    entity_name?: SortOrder
    entity_type?: SortOrder
    report_type?: SortOrder
    primary_table?: SortOrderInput | SortOrder
    is_admin_module?: SortOrder
    draft_mode?: SortOrder
    associated_tables?: SortOrderInput | SortOrder
    associated_entity_name?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    form_information?: SortOrderInput | SortOrder
    report_information?: SortOrderInput | SortOrder
    add_query_information?: SortOrderInput | SortOrder
    edit_query_information?: SortOrderInput | SortOrder
    preset_query_information?: SortOrderInput | SortOrder
    static_page_content?: SortOrderInput | SortOrder
    header_entity_id?: SortOrderInput | SortOrder
    footer_entity_id?: SortOrderInput | SortOrder
    export_template_id?: SortOrderInput | SortOrder
    export_template_file_name?: SortOrderInput | SortOrder
    dashboard_wizard_group_id?: SortOrderInput | SortOrder
    dashboard_wizard_type?: SortOrderInput | SortOrder
    dashboard_wizard_rows?: SortOrderInput | SortOrder
    dashboard_wizard_columns?: SortOrderInput | SortOrder
    dashboard_wizard_order_no?: SortOrderInput | SortOrder
    dashboard_wizard_options?: SortOrderInput | SortOrder
    dashboard_grid?: SortOrderInput | SortOrder
    reload_timeout?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    associated_entity?: MasterEntityOrderByWithRelationInput
    children?: MasterEntityOrderByRelationAggregateInput
    status?: StatusOrderByWithRelationInput
    permissions?: PermissionsOrderByRelationAggregateInput
    line_items?: MasterEntityLineItemOrderByRelationAggregateInput
    menus?: MenuItemsOrderByRelationAggregateInput
    _relevance?: MasterEntityOrderByRelevanceInput
  }

  export type MasterEntityWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: MasterEntityCompany_idIdCompoundUniqueInput
    company_id_entity_name?: MasterEntityCompany_idEntity_nameCompoundUniqueInput
    AND?: MasterEntityWhereInput | MasterEntityWhereInput[]
    OR?: MasterEntityWhereInput[]
    NOT?: MasterEntityWhereInput | MasterEntityWhereInput[]
    uuid?: UuidFilter<"MasterEntity"> | string
    name?: StringFilter<"MasterEntity"> | string
    entity_name?: StringFilter<"MasterEntity"> | string
    entity_type?: StringFilter<"MasterEntity"> | string
    report_type?: EnumReportTypeFilter<"MasterEntity"> | $Enums.ReportType
    primary_table?: StringNullableFilter<"MasterEntity"> | string | null
    is_admin_module?: BoolFilter<"MasterEntity"> | boolean
    draft_mode?: BoolFilter<"MasterEntity"> | boolean
    associated_tables?: JsonNullableFilter<"MasterEntity">
    associated_entity_name?: StringNullableFilter<"MasterEntity"> | string | null
    query_information?: JsonNullableFilter<"MasterEntity">
    form_information?: JsonNullableFilter<"MasterEntity">
    report_information?: JsonNullableFilter<"MasterEntity">
    add_query_information?: JsonNullableFilter<"MasterEntity">
    edit_query_information?: JsonNullableFilter<"MasterEntity">
    preset_query_information?: JsonNullableFilter<"MasterEntity">
    static_page_content?: StringNullableFilter<"MasterEntity"> | string | null
    header_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    footer_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    export_template_id?: IntNullableFilter<"MasterEntity"> | number | null
    export_template_file_name?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_group_id?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_type?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_rows?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_columns?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_order_no?: DecimalNullableFilter<"MasterEntity"> | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: JsonNullableFilter<"MasterEntity">
    dashboard_grid?: StringNullableFilter<"MasterEntity"> | string | null
    reload_timeout?: IntNullableFilter<"MasterEntity"> | number | null
    status_id?: IntFilter<"MasterEntity"> | number
    company_id?: IntFilter<"MasterEntity"> | number
    created_at?: DateTimeFilter<"MasterEntity"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MasterEntity"> | Date | string | null
    associated_entity?: XOR<MasterEntityNullableRelationFilter, MasterEntityWhereInput> | null
    children?: MasterEntityListRelationFilter
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    permissions?: PermissionsListRelationFilter
    line_items?: MasterEntityLineItemListRelationFilter
    menus?: MenuItemsListRelationFilter
  }, "id" | "company_id_id" | "company_id_entity_name">

  export type MasterEntityOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    entity_name?: SortOrder
    entity_type?: SortOrder
    report_type?: SortOrder
    primary_table?: SortOrderInput | SortOrder
    is_admin_module?: SortOrder
    draft_mode?: SortOrder
    associated_tables?: SortOrderInput | SortOrder
    associated_entity_name?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    form_information?: SortOrderInput | SortOrder
    report_information?: SortOrderInput | SortOrder
    add_query_information?: SortOrderInput | SortOrder
    edit_query_information?: SortOrderInput | SortOrder
    preset_query_information?: SortOrderInput | SortOrder
    static_page_content?: SortOrderInput | SortOrder
    header_entity_id?: SortOrderInput | SortOrder
    footer_entity_id?: SortOrderInput | SortOrder
    export_template_id?: SortOrderInput | SortOrder
    export_template_file_name?: SortOrderInput | SortOrder
    dashboard_wizard_group_id?: SortOrderInput | SortOrder
    dashboard_wizard_type?: SortOrderInput | SortOrder
    dashboard_wizard_rows?: SortOrderInput | SortOrder
    dashboard_wizard_columns?: SortOrderInput | SortOrder
    dashboard_wizard_order_no?: SortOrderInput | SortOrder
    dashboard_wizard_options?: SortOrderInput | SortOrder
    dashboard_grid?: SortOrderInput | SortOrder
    reload_timeout?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: MasterEntityCountOrderByAggregateInput
    _avg?: MasterEntityAvgOrderByAggregateInput
    _max?: MasterEntityMaxOrderByAggregateInput
    _min?: MasterEntityMinOrderByAggregateInput
    _sum?: MasterEntitySumOrderByAggregateInput
  }

  export type MasterEntityScalarWhereWithAggregatesInput = {
    AND?: MasterEntityScalarWhereWithAggregatesInput | MasterEntityScalarWhereWithAggregatesInput[]
    OR?: MasterEntityScalarWhereWithAggregatesInput[]
    NOT?: MasterEntityScalarWhereWithAggregatesInput | MasterEntityScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"MasterEntity"> | number
    uuid?: UuidWithAggregatesFilter<"MasterEntity"> | string
    name?: StringWithAggregatesFilter<"MasterEntity"> | string
    entity_name?: StringWithAggregatesFilter<"MasterEntity"> | string
    entity_type?: StringWithAggregatesFilter<"MasterEntity"> | string
    report_type?: EnumReportTypeWithAggregatesFilter<"MasterEntity"> | $Enums.ReportType
    primary_table?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    is_admin_module?: BoolWithAggregatesFilter<"MasterEntity"> | boolean
    draft_mode?: BoolWithAggregatesFilter<"MasterEntity"> | boolean
    associated_tables?: JsonNullableWithAggregatesFilter<"MasterEntity">
    associated_entity_name?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    query_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    form_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    report_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    add_query_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    edit_query_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    preset_query_information?: JsonNullableWithAggregatesFilter<"MasterEntity">
    static_page_content?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    header_entity_id?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    footer_entity_id?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    export_template_id?: IntNullableWithAggregatesFilter<"MasterEntity"> | number | null
    export_template_file_name?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    dashboard_wizard_group_id?: IntNullableWithAggregatesFilter<"MasterEntity"> | number | null
    dashboard_wizard_type?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    dashboard_wizard_rows?: IntNullableWithAggregatesFilter<"MasterEntity"> | number | null
    dashboard_wizard_columns?: IntNullableWithAggregatesFilter<"MasterEntity"> | number | null
    dashboard_wizard_order_no?: DecimalNullableWithAggregatesFilter<"MasterEntity"> | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: JsonNullableWithAggregatesFilter<"MasterEntity">
    dashboard_grid?: StringNullableWithAggregatesFilter<"MasterEntity"> | string | null
    reload_timeout?: IntNullableWithAggregatesFilter<"MasterEntity"> | number | null
    status_id?: IntWithAggregatesFilter<"MasterEntity"> | number
    company_id?: IntWithAggregatesFilter<"MasterEntity"> | number
    created_at?: DateTimeWithAggregatesFilter<"MasterEntity"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"MasterEntity"> | Date | string | null
  }

  export type MasterEntityLineItemWhereInput = {
    AND?: MasterEntityLineItemWhereInput | MasterEntityLineItemWhereInput[]
    OR?: MasterEntityLineItemWhereInput[]
    NOT?: MasterEntityLineItemWhereInput | MasterEntityLineItemWhereInput[]
    id?: IntFilter<"MasterEntityLineItem"> | number
    master_grid_id?: IntFilter<"MasterEntityLineItem"> | number
    field_name?: StringFilter<"MasterEntityLineItem"> | string
    display_name?: StringFilter<"MasterEntityLineItem"> | string
    field_html_content?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    enum_values?: JsonNullableFilter<"MasterEntityLineItem">
    order_no?: DecimalFilter<"MasterEntityLineItem"> | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFilter<"MasterEntityLineItem"> | boolean
    is_searchable?: BoolFilter<"MasterEntityLineItem"> | boolean
    clause_type?: EnumClauseTypeFilter<"MasterEntityLineItem"> | $Enums.ClauseType
    is_sortable?: BoolFilter<"MasterEntityLineItem"> | boolean
    field_type_id?: IntFilter<"MasterEntityLineItem"> | number
    link_type?: StringFilter<"MasterEntityLineItem"> | string
    link_action?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    link_mode?: StringFilter<"MasterEntityLineItem"> | string
    status_id?: IntFilter<"MasterEntityLineItem"> | number
    company_id?: IntFilter<"MasterEntityLineItem"> | number
    created_at?: DateTimeFilter<"MasterEntityLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    master_grid?: XOR<MasterEntityRelationFilter, MasterEntityWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }

  export type MasterEntityLineItemOrderByWithRelationInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_html_content?: SortOrderInput | SortOrder
    enum_values?: SortOrderInput | SortOrder
    order_no?: SortOrder
    is_grid_column?: SortOrder
    is_searchable?: SortOrder
    clause_type?: SortOrder
    is_sortable?: SortOrder
    field_type_id?: SortOrder
    link_type?: SortOrder
    link_action?: SortOrderInput | SortOrder
    link_mode?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    master_grid?: MasterEntityOrderByWithRelationInput
    field_type?: FieldTypeOrderByWithRelationInput
    _relevance?: MasterEntityLineItemOrderByRelevanceInput
  }

  export type MasterEntityLineItemWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: MasterEntityLineItemCompany_idIdCompoundUniqueInput
    company_id_master_grid_id_field_name_display_name?: MasterEntityLineItemCompany_idMaster_grid_idField_nameDisplay_nameCompoundUniqueInput
    AND?: MasterEntityLineItemWhereInput | MasterEntityLineItemWhereInput[]
    OR?: MasterEntityLineItemWhereInput[]
    NOT?: MasterEntityLineItemWhereInput | MasterEntityLineItemWhereInput[]
    master_grid_id?: IntFilter<"MasterEntityLineItem"> | number
    field_name?: StringFilter<"MasterEntityLineItem"> | string
    display_name?: StringFilter<"MasterEntityLineItem"> | string
    field_html_content?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    enum_values?: JsonNullableFilter<"MasterEntityLineItem">
    order_no?: DecimalFilter<"MasterEntityLineItem"> | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFilter<"MasterEntityLineItem"> | boolean
    is_searchable?: BoolFilter<"MasterEntityLineItem"> | boolean
    clause_type?: EnumClauseTypeFilter<"MasterEntityLineItem"> | $Enums.ClauseType
    is_sortable?: BoolFilter<"MasterEntityLineItem"> | boolean
    field_type_id?: IntFilter<"MasterEntityLineItem"> | number
    link_type?: StringFilter<"MasterEntityLineItem"> | string
    link_action?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    link_mode?: StringFilter<"MasterEntityLineItem"> | string
    status_id?: IntFilter<"MasterEntityLineItem"> | number
    company_id?: IntFilter<"MasterEntityLineItem"> | number
    created_at?: DateTimeFilter<"MasterEntityLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    master_grid?: XOR<MasterEntityRelationFilter, MasterEntityWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }, "id" | "company_id_id" | "company_id_master_grid_id_field_name_display_name">

  export type MasterEntityLineItemOrderByWithAggregationInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_html_content?: SortOrderInput | SortOrder
    enum_values?: SortOrderInput | SortOrder
    order_no?: SortOrder
    is_grid_column?: SortOrder
    is_searchable?: SortOrder
    clause_type?: SortOrder
    is_sortable?: SortOrder
    field_type_id?: SortOrder
    link_type?: SortOrder
    link_action?: SortOrderInput | SortOrder
    link_mode?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: MasterEntityLineItemCountOrderByAggregateInput
    _avg?: MasterEntityLineItemAvgOrderByAggregateInput
    _max?: MasterEntityLineItemMaxOrderByAggregateInput
    _min?: MasterEntityLineItemMinOrderByAggregateInput
    _sum?: MasterEntityLineItemSumOrderByAggregateInput
  }

  export type MasterEntityLineItemScalarWhereWithAggregatesInput = {
    AND?: MasterEntityLineItemScalarWhereWithAggregatesInput | MasterEntityLineItemScalarWhereWithAggregatesInput[]
    OR?: MasterEntityLineItemScalarWhereWithAggregatesInput[]
    NOT?: MasterEntityLineItemScalarWhereWithAggregatesInput | MasterEntityLineItemScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"MasterEntityLineItem"> | number
    master_grid_id?: IntWithAggregatesFilter<"MasterEntityLineItem"> | number
    field_name?: StringWithAggregatesFilter<"MasterEntityLineItem"> | string
    display_name?: StringWithAggregatesFilter<"MasterEntityLineItem"> | string
    field_html_content?: StringNullableWithAggregatesFilter<"MasterEntityLineItem"> | string | null
    enum_values?: JsonNullableWithAggregatesFilter<"MasterEntityLineItem">
    order_no?: DecimalWithAggregatesFilter<"MasterEntityLineItem"> | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolWithAggregatesFilter<"MasterEntityLineItem"> | boolean
    is_searchable?: BoolWithAggregatesFilter<"MasterEntityLineItem"> | boolean
    clause_type?: EnumClauseTypeWithAggregatesFilter<"MasterEntityLineItem"> | $Enums.ClauseType
    is_sortable?: BoolWithAggregatesFilter<"MasterEntityLineItem"> | boolean
    field_type_id?: IntWithAggregatesFilter<"MasterEntityLineItem"> | number
    link_type?: StringWithAggregatesFilter<"MasterEntityLineItem"> | string
    link_action?: StringNullableWithAggregatesFilter<"MasterEntityLineItem"> | string | null
    link_mode?: StringWithAggregatesFilter<"MasterEntityLineItem"> | string
    status_id?: IntWithAggregatesFilter<"MasterEntityLineItem"> | number
    company_id?: IntWithAggregatesFilter<"MasterEntityLineItem"> | number
    created_at?: DateTimeWithAggregatesFilter<"MasterEntityLineItem"> | Date | string
  }

  export type FieldTypeWhereInput = {
    AND?: FieldTypeWhereInput | FieldTypeWhereInput[]
    OR?: FieldTypeWhereInput[]
    NOT?: FieldTypeWhereInput | FieldTypeWhereInput[]
    id?: IntFilter<"FieldType"> | number
    field_type?: StringFilter<"FieldType"> | string
    company_id?: IntFilter<"FieldType"> | number
    status_id?: IntFilter<"FieldType"> | number
    created_at?: DateTimeFilter<"FieldType"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    master_grid_lineitem?: MasterEntityLineItemListRelationFilter
    importTemplateLineItem?: ImportTemplateLineItemListRelationFilter
    exportTemplateLineItem?: ExportTemplateLineItemListRelationFilter
  }

  export type FieldTypeOrderByWithRelationInput = {
    id?: SortOrder
    field_type?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    master_grid_lineitem?: MasterEntityLineItemOrderByRelationAggregateInput
    importTemplateLineItem?: ImportTemplateLineItemOrderByRelationAggregateInput
    exportTemplateLineItem?: ExportTemplateLineItemOrderByRelationAggregateInput
    _relevance?: FieldTypeOrderByRelevanceInput
  }

  export type FieldTypeWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: FieldTypeCompany_idIdCompoundUniqueInput
    AND?: FieldTypeWhereInput | FieldTypeWhereInput[]
    OR?: FieldTypeWhereInput[]
    NOT?: FieldTypeWhereInput | FieldTypeWhereInput[]
    field_type?: StringFilter<"FieldType"> | string
    company_id?: IntFilter<"FieldType"> | number
    status_id?: IntFilter<"FieldType"> | number
    created_at?: DateTimeFilter<"FieldType"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    master_grid_lineitem?: MasterEntityLineItemListRelationFilter
    importTemplateLineItem?: ImportTemplateLineItemListRelationFilter
    exportTemplateLineItem?: ExportTemplateLineItemListRelationFilter
  }, "id" | "company_id_id">

  export type FieldTypeOrderByWithAggregationInput = {
    id?: SortOrder
    field_type?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    _count?: FieldTypeCountOrderByAggregateInput
    _avg?: FieldTypeAvgOrderByAggregateInput
    _max?: FieldTypeMaxOrderByAggregateInput
    _min?: FieldTypeMinOrderByAggregateInput
    _sum?: FieldTypeSumOrderByAggregateInput
  }

  export type FieldTypeScalarWhereWithAggregatesInput = {
    AND?: FieldTypeScalarWhereWithAggregatesInput | FieldTypeScalarWhereWithAggregatesInput[]
    OR?: FieldTypeScalarWhereWithAggregatesInput[]
    NOT?: FieldTypeScalarWhereWithAggregatesInput | FieldTypeScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"FieldType"> | number
    field_type?: StringWithAggregatesFilter<"FieldType"> | string
    company_id?: IntWithAggregatesFilter<"FieldType"> | number
    status_id?: IntWithAggregatesFilter<"FieldType"> | number
    created_at?: DateTimeWithAggregatesFilter<"FieldType"> | Date | string
  }

  export type menuTypeWhereInput = {
    AND?: menuTypeWhereInput | menuTypeWhereInput[]
    OR?: menuTypeWhereInput[]
    NOT?: menuTypeWhereInput | menuTypeWhereInput[]
    id?: IntFilter<"menuType"> | number
    name?: StringNullableFilter<"menuType"> | string | null
    status_id?: IntFilter<"menuType"> | number
    company_id?: IntFilter<"menuType"> | number
    created_at?: DateTimeFilter<"menuType"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type menuTypeOrderByWithRelationInput = {
    id?: SortOrder
    name?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: menuTypeOrderByRelevanceInput
  }

  export type menuTypeWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: menuTypeCompany_idIdCompoundUniqueInput
    AND?: menuTypeWhereInput | menuTypeWhereInput[]
    OR?: menuTypeWhereInput[]
    NOT?: menuTypeWhereInput | menuTypeWhereInput[]
    name?: StringNullableFilter<"menuType"> | string | null
    status_id?: IntFilter<"menuType"> | number
    company_id?: IntFilter<"menuType"> | number
    created_at?: DateTimeFilter<"menuType"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id">

  export type menuTypeOrderByWithAggregationInput = {
    id?: SortOrder
    name?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: menuTypeCountOrderByAggregateInput
    _avg?: menuTypeAvgOrderByAggregateInput
    _max?: menuTypeMaxOrderByAggregateInput
    _min?: menuTypeMinOrderByAggregateInput
    _sum?: menuTypeSumOrderByAggregateInput
  }

  export type menuTypeScalarWhereWithAggregatesInput = {
    AND?: menuTypeScalarWhereWithAggregatesInput | menuTypeScalarWhereWithAggregatesInput[]
    OR?: menuTypeScalarWhereWithAggregatesInput[]
    NOT?: menuTypeScalarWhereWithAggregatesInput | menuTypeScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"menuType"> | number
    name?: StringNullableWithAggregatesFilter<"menuType"> | string | null
    status_id?: IntWithAggregatesFilter<"menuType"> | number
    company_id?: IntWithAggregatesFilter<"menuType"> | number
    created_at?: DateTimeWithAggregatesFilter<"menuType"> | Date | string
  }

  export type NotificationTemplateProcessWhereInput = {
    AND?: NotificationTemplateProcessWhereInput | NotificationTemplateProcessWhereInput[]
    OR?: NotificationTemplateProcessWhereInput[]
    NOT?: NotificationTemplateProcessWhereInput | NotificationTemplateProcessWhereInput[]
    id?: IntFilter<"NotificationTemplateProcess"> | number
    uuid?: UuidFilter<"NotificationTemplateProcess"> | string
    name?: StringFilter<"NotificationTemplateProcess"> | string
    slug?: StringFilter<"NotificationTemplateProcess"> | string
    query_information?: StringNullableFilter<"NotificationTemplateProcess"> | string | null
    status_id?: IntFilter<"NotificationTemplateProcess"> | number
    company_id?: IntFilter<"NotificationTemplateProcess"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateProcess"> | $Enums.NotificationType
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_groups?: NotificationTemplateProcessTagsMappingListRelationFilter
    notification_templates?: NotificationTemplateListRelationFilter
    notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
  }

  export type NotificationTemplateProcessOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    notification_type?: SortOrder
    status?: StatusOrderByWithRelationInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingOrderByRelationAggregateInput
    notification_templates?: NotificationTemplateOrderByRelationAggregateInput
    notification_template_assignments?: NotificationTemplateAssignmentOrderByRelationAggregateInput
    _relevance?: NotificationTemplateProcessOrderByRelevanceInput
  }

  export type NotificationTemplateProcessWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: NotificationTemplateProcessCompany_idIdCompoundUniqueInput
    company_id_slug?: NotificationTemplateProcessCompany_idSlugCompoundUniqueInput
    company_id_slug_notification_type?: NotificationTemplateProcessCompany_idSlugNotification_typeCompoundUniqueInput
    AND?: NotificationTemplateProcessWhereInput | NotificationTemplateProcessWhereInput[]
    OR?: NotificationTemplateProcessWhereInput[]
    NOT?: NotificationTemplateProcessWhereInput | NotificationTemplateProcessWhereInput[]
    uuid?: UuidFilter<"NotificationTemplateProcess"> | string
    name?: StringFilter<"NotificationTemplateProcess"> | string
    slug?: StringFilter<"NotificationTemplateProcess"> | string
    query_information?: StringNullableFilter<"NotificationTemplateProcess"> | string | null
    status_id?: IntFilter<"NotificationTemplateProcess"> | number
    company_id?: IntFilter<"NotificationTemplateProcess"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateProcess"> | $Enums.NotificationType
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_groups?: NotificationTemplateProcessTagsMappingListRelationFilter
    notification_templates?: NotificationTemplateListRelationFilter
    notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug" | "company_id_slug_notification_type">

  export type NotificationTemplateProcessOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    notification_type?: SortOrder
    _count?: NotificationTemplateProcessCountOrderByAggregateInput
    _avg?: NotificationTemplateProcessAvgOrderByAggregateInput
    _max?: NotificationTemplateProcessMaxOrderByAggregateInput
    _min?: NotificationTemplateProcessMinOrderByAggregateInput
    _sum?: NotificationTemplateProcessSumOrderByAggregateInput
  }

  export type NotificationTemplateProcessScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateProcessScalarWhereWithAggregatesInput | NotificationTemplateProcessScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateProcessScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateProcessScalarWhereWithAggregatesInput | NotificationTemplateProcessScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationTemplateProcess"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationTemplateProcess"> | string
    name?: StringWithAggregatesFilter<"NotificationTemplateProcess"> | string
    slug?: StringWithAggregatesFilter<"NotificationTemplateProcess"> | string
    query_information?: StringNullableWithAggregatesFilter<"NotificationTemplateProcess"> | string | null
    status_id?: IntWithAggregatesFilter<"NotificationTemplateProcess"> | number
    company_id?: IntWithAggregatesFilter<"NotificationTemplateProcess"> | number
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationTemplateProcess"> | $Enums.NotificationType
  }

  export type NotificationTemplateTagWhereInput = {
    AND?: NotificationTemplateTagWhereInput | NotificationTemplateTagWhereInput[]
    OR?: NotificationTemplateTagWhereInput[]
    NOT?: NotificationTemplateTagWhereInput | NotificationTemplateTagWhereInput[]
    id?: IntFilter<"NotificationTemplateTag"> | number
    uuid?: UuidFilter<"NotificationTemplateTag"> | string
    slug?: StringFilter<"NotificationTemplateTag"> | string
    name?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    description?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateTag"> | number
    company_id?: IntFilter<"NotificationTemplateTag"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_groups?: NotificationTemplateProcessTagsMappingListRelationFilter
  }

  export type NotificationTemplateTagOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingOrderByRelationAggregateInput
    _relevance?: NotificationTemplateTagOrderByRelevanceInput
  }

  export type NotificationTemplateTagWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: NotificationTemplateTagCompany_idIdCompoundUniqueInput
    company_id_slug?: NotificationTemplateTagCompany_idSlugCompoundUniqueInput
    AND?: NotificationTemplateTagWhereInput | NotificationTemplateTagWhereInput[]
    OR?: NotificationTemplateTagWhereInput[]
    NOT?: NotificationTemplateTagWhereInput | NotificationTemplateTagWhereInput[]
    uuid?: UuidFilter<"NotificationTemplateTag"> | string
    slug?: StringFilter<"NotificationTemplateTag"> | string
    name?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    description?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateTag"> | number
    company_id?: IntFilter<"NotificationTemplateTag"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_groups?: NotificationTemplateProcessTagsMappingListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug">

  export type NotificationTemplateTagOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: NotificationTemplateTagCountOrderByAggregateInput
    _avg?: NotificationTemplateTagAvgOrderByAggregateInput
    _max?: NotificationTemplateTagMaxOrderByAggregateInput
    _min?: NotificationTemplateTagMinOrderByAggregateInput
    _sum?: NotificationTemplateTagSumOrderByAggregateInput
  }

  export type NotificationTemplateTagScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateTagScalarWhereWithAggregatesInput | NotificationTemplateTagScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateTagScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateTagScalarWhereWithAggregatesInput | NotificationTemplateTagScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationTemplateTag"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationTemplateTag"> | string
    slug?: StringWithAggregatesFilter<"NotificationTemplateTag"> | string
    name?: StringNullableWithAggregatesFilter<"NotificationTemplateTag"> | string | null
    description?: StringNullableWithAggregatesFilter<"NotificationTemplateTag"> | string | null
    status_id?: IntWithAggregatesFilter<"NotificationTemplateTag"> | number
    company_id?: IntWithAggregatesFilter<"NotificationTemplateTag"> | number
  }

  export type NotificationTemplateRecipientTagWhereInput = {
    AND?: NotificationTemplateRecipientTagWhereInput | NotificationTemplateRecipientTagWhereInput[]
    OR?: NotificationTemplateRecipientTagWhereInput[]
    NOT?: NotificationTemplateRecipientTagWhereInput | NotificationTemplateRecipientTagWhereInput[]
    id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    uuid?: UuidFilter<"NotificationTemplateRecipientTag"> | string
    slug?: StringFilter<"NotificationTemplateRecipientTag"> | string
    name?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateRecipientTag"> | $Enums.NotificationType
    description?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    query_information?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    company_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type NotificationTemplateRecipientTagOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    notification_type?: SortOrder
    description?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: NotificationTemplateRecipientTagOrderByRelevanceInput
  }

  export type NotificationTemplateRecipientTagWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: NotificationTemplateRecipientTagCompany_idIdCompoundUniqueInput
    company_id_slug?: NotificationTemplateRecipientTagCompany_idSlugCompoundUniqueInput
    company_id_slug_notification_type?: NotificationTemplateRecipientTagCompany_idSlugNotification_typeCompoundUniqueInput
    AND?: NotificationTemplateRecipientTagWhereInput | NotificationTemplateRecipientTagWhereInput[]
    OR?: NotificationTemplateRecipientTagWhereInput[]
    NOT?: NotificationTemplateRecipientTagWhereInput | NotificationTemplateRecipientTagWhereInput[]
    uuid?: UuidFilter<"NotificationTemplateRecipientTag"> | string
    slug?: StringFilter<"NotificationTemplateRecipientTag"> | string
    name?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateRecipientTag"> | $Enums.NotificationType
    description?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    query_information?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    company_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_slug" | "company_id_slug_notification_type">

  export type NotificationTemplateRecipientTagOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    notification_type?: SortOrder
    description?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: NotificationTemplateRecipientTagCountOrderByAggregateInput
    _avg?: NotificationTemplateRecipientTagAvgOrderByAggregateInput
    _max?: NotificationTemplateRecipientTagMaxOrderByAggregateInput
    _min?: NotificationTemplateRecipientTagMinOrderByAggregateInput
    _sum?: NotificationTemplateRecipientTagSumOrderByAggregateInput
  }

  export type NotificationTemplateRecipientTagScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateRecipientTagScalarWhereWithAggregatesInput | NotificationTemplateRecipientTagScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateRecipientTagScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateRecipientTagScalarWhereWithAggregatesInput | NotificationTemplateRecipientTagScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationTemplateRecipientTag"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationTemplateRecipientTag"> | string
    slug?: StringWithAggregatesFilter<"NotificationTemplateRecipientTag"> | string
    name?: StringNullableWithAggregatesFilter<"NotificationTemplateRecipientTag"> | string | null
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationTemplateRecipientTag"> | $Enums.NotificationType
    description?: StringNullableWithAggregatesFilter<"NotificationTemplateRecipientTag"> | string | null
    query_information?: StringNullableWithAggregatesFilter<"NotificationTemplateRecipientTag"> | string | null
    status_id?: IntWithAggregatesFilter<"NotificationTemplateRecipientTag"> | number
    company_id?: IntWithAggregatesFilter<"NotificationTemplateRecipientTag"> | number
  }

  export type NotificationTemplateProcessTagsMappingWhereInput = {
    AND?: NotificationTemplateProcessTagsMappingWhereInput | NotificationTemplateProcessTagsMappingWhereInput[]
    OR?: NotificationTemplateProcessTagsMappingWhereInput[]
    NOT?: NotificationTemplateProcessTagsMappingWhereInput | NotificationTemplateProcessTagsMappingWhereInput[]
    notification_template_process_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_tag_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    company_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template_tag?: XOR<NotificationTemplateTagRelationFilter, NotificationTemplateTagWhereInput>
  }

  export type NotificationTemplateProcessTagsMappingOrderByWithRelationInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
    notification_template_process?: NotificationTemplateProcessOrderByWithRelationInput
    notification_template_tag?: NotificationTemplateTagOrderByWithRelationInput
  }

  export type NotificationTemplateProcessTagsMappingWhereUniqueInput = Prisma.AtLeast<{
    notification_template_process_id_notification_template_tag_id_company_id?: NotificationTemplateProcessTagsMappingNotification_template_process_idNotification_template_tag_idCompany_idCompoundUniqueInput
    AND?: NotificationTemplateProcessTagsMappingWhereInput | NotificationTemplateProcessTagsMappingWhereInput[]
    OR?: NotificationTemplateProcessTagsMappingWhereInput[]
    NOT?: NotificationTemplateProcessTagsMappingWhereInput | NotificationTemplateProcessTagsMappingWhereInput[]
    notification_template_process_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_tag_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    company_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template_tag?: XOR<NotificationTemplateTagRelationFilter, NotificationTemplateTagWhereInput>
  }, "notification_template_process_id_notification_template_tag_id_company_id">

  export type NotificationTemplateProcessTagsMappingOrderByWithAggregationInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
    _count?: NotificationTemplateProcessTagsMappingCountOrderByAggregateInput
    _avg?: NotificationTemplateProcessTagsMappingAvgOrderByAggregateInput
    _max?: NotificationTemplateProcessTagsMappingMaxOrderByAggregateInput
    _min?: NotificationTemplateProcessTagsMappingMinOrderByAggregateInput
    _sum?: NotificationTemplateProcessTagsMappingSumOrderByAggregateInput
  }

  export type NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput | NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput | NotificationTemplateProcessTagsMappingScalarWhereWithAggregatesInput[]
    notification_template_process_id?: IntWithAggregatesFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_tag_id?: IntWithAggregatesFilter<"NotificationTemplateProcessTagsMapping"> | number
    company_id?: IntWithAggregatesFilter<"NotificationTemplateProcessTagsMapping"> | number
  }

  export type NotificationTemplateWhereInput = {
    AND?: NotificationTemplateWhereInput | NotificationTemplateWhereInput[]
    OR?: NotificationTemplateWhereInput[]
    NOT?: NotificationTemplateWhereInput | NotificationTemplateWhereInput[]
    id?: IntFilter<"NotificationTemplate"> | number
    uuid?: UuidFilter<"NotificationTemplate"> | string
    slug?: StringFilter<"NotificationTemplate"> | string
    name?: StringFilter<"NotificationTemplate"> | string
    email_subject?: StringNullableFilter<"NotificationTemplate"> | string | null
    message?: StringNullableFilter<"NotificationTemplate"> | string | null
    components?: JsonNullableFilter<"NotificationTemplate">
    parameter_format?: StringNullableFilter<"NotificationTemplate"> | string | null
    category?: StringNullableFilter<"NotificationTemplate"> | string | null
    language?: StringNullableFilter<"NotificationTemplate"> | string | null
    email_body?: StringNullableFilter<"NotificationTemplate"> | string | null
    notification_template_process_id?: IntFilter<"NotificationTemplate"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplate"> | $Enums.NotificationType
    status_id?: IntFilter<"NotificationTemplate"> | number
    created_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    created_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    updated_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    updated_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"NotificationTemplate"> | Date | string | null
    deleted_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    company_id?: IntFilter<"NotificationTemplate"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentListRelationFilter
  }

  export type NotificationTemplateOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    email_subject?: SortOrderInput | SortOrder
    message?: SortOrderInput | SortOrder
    components?: SortOrderInput | SortOrder
    parameter_format?: SortOrderInput | SortOrder
    category?: SortOrderInput | SortOrder
    language?: SortOrderInput | SortOrder
    email_body?: SortOrderInput | SortOrder
    notification_template_process_id?: SortOrder
    notification_type?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    notification_template_process?: NotificationTemplateProcessOrderByWithRelationInput
    notification_template_assignments?: NotificationTemplateAssignmentOrderByRelationAggregateInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    _relevance?: NotificationTemplateOrderByRelevanceInput
  }

  export type NotificationTemplateWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: NotificationTemplateCompany_idIdCompoundUniqueInput
    company_id_slug?: NotificationTemplateCompany_idSlugCompoundUniqueInput
    company_id_slug_notification_type?: NotificationTemplateCompany_idSlugNotification_typeCompoundUniqueInput
    AND?: NotificationTemplateWhereInput | NotificationTemplateWhereInput[]
    OR?: NotificationTemplateWhereInput[]
    NOT?: NotificationTemplateWhereInput | NotificationTemplateWhereInput[]
    uuid?: UuidFilter<"NotificationTemplate"> | string
    slug?: StringFilter<"NotificationTemplate"> | string
    name?: StringFilter<"NotificationTemplate"> | string
    email_subject?: StringNullableFilter<"NotificationTemplate"> | string | null
    message?: StringNullableFilter<"NotificationTemplate"> | string | null
    components?: JsonNullableFilter<"NotificationTemplate">
    parameter_format?: StringNullableFilter<"NotificationTemplate"> | string | null
    category?: StringNullableFilter<"NotificationTemplate"> | string | null
    language?: StringNullableFilter<"NotificationTemplate"> | string | null
    email_body?: StringNullableFilter<"NotificationTemplate"> | string | null
    notification_template_process_id?: IntFilter<"NotificationTemplate"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplate"> | $Enums.NotificationType
    status_id?: IntFilter<"NotificationTemplate"> | number
    created_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    created_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    updated_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    updated_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"NotificationTemplate"> | Date | string | null
    deleted_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    company_id?: IntFilter<"NotificationTemplate"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template_assignments?: NotificationTemplateAssignmentListRelationFilter
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentListRelationFilter
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug" | "company_id_slug_notification_type">

  export type NotificationTemplateOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    email_subject?: SortOrderInput | SortOrder
    message?: SortOrderInput | SortOrder
    components?: SortOrderInput | SortOrder
    parameter_format?: SortOrderInput | SortOrder
    category?: SortOrderInput | SortOrder
    language?: SortOrderInput | SortOrder
    email_body?: SortOrderInput | SortOrder
    notification_template_process_id?: SortOrder
    notification_type?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _count?: NotificationTemplateCountOrderByAggregateInput
    _avg?: NotificationTemplateAvgOrderByAggregateInput
    _max?: NotificationTemplateMaxOrderByAggregateInput
    _min?: NotificationTemplateMinOrderByAggregateInput
    _sum?: NotificationTemplateSumOrderByAggregateInput
  }

  export type NotificationTemplateScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateScalarWhereWithAggregatesInput | NotificationTemplateScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateScalarWhereWithAggregatesInput | NotificationTemplateScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationTemplate"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationTemplate"> | string
    slug?: StringWithAggregatesFilter<"NotificationTemplate"> | string
    name?: StringWithAggregatesFilter<"NotificationTemplate"> | string
    email_subject?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    message?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    components?: JsonNullableWithAggregatesFilter<"NotificationTemplate">
    parameter_format?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    category?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    language?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    email_body?: StringNullableWithAggregatesFilter<"NotificationTemplate"> | string | null
    notification_template_process_id?: IntWithAggregatesFilter<"NotificationTemplate"> | number
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationTemplate"> | $Enums.NotificationType
    status_id?: IntWithAggregatesFilter<"NotificationTemplate"> | number
    created_at?: DateTimeWithAggregatesFilter<"NotificationTemplate"> | Date | string
    created_by?: IntNullableWithAggregatesFilter<"NotificationTemplate"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"NotificationTemplate"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"NotificationTemplate"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"NotificationTemplate"> | Date | string | null
    deleted_by?: IntNullableWithAggregatesFilter<"NotificationTemplate"> | number | null
    company_id?: IntWithAggregatesFilter<"NotificationTemplate"> | number
  }

  export type NotificationTemplateAssignmentWhereInput = {
    AND?: NotificationTemplateAssignmentWhereInput | NotificationTemplateAssignmentWhereInput[]
    OR?: NotificationTemplateAssignmentWhereInput[]
    NOT?: NotificationTemplateAssignmentWhereInput | NotificationTemplateAssignmentWhereInput[]
    id?: IntFilter<"NotificationTemplateAssignment"> | number
    uuid?: UuidFilter<"NotificationTemplateAssignment"> | string
    notification_template_process_id?: IntFilter<"NotificationTemplateAssignment"> | number
    template_id?: IntFilter<"NotificationTemplateAssignment"> | number
    recipient_type?: EnumRecipientTypeFilter<"NotificationTemplateAssignment"> | $Enums.RecipientType
    notification_to?: StringNullableFilter<"NotificationTemplateAssignment"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateAssignment"> | $Enums.NotificationType
    company_id?: IntFilter<"NotificationTemplateAssignment"> | number
    created_at?: DateTimeFilter<"NotificationTemplateAssignment"> | Date | string
    created_by?: IntFilter<"NotificationTemplateAssignment"> | number
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template?: XOR<NotificationTemplateRelationFilter, NotificationTemplateWhereInput>
    created?: XOR<UserRelationFilter, UserWhereInput>
    email_template_cc_bcc?: EmailTemplateCcBccListRelationFilter
  }

  export type NotificationTemplateAssignmentOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    recipient_type?: SortOrder
    notification_to?: SortOrderInput | SortOrder
    notification_type?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    notification_template_process?: NotificationTemplateProcessOrderByWithRelationInput
    notification_template?: NotificationTemplateOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    email_template_cc_bcc?: EmailTemplateCcBccOrderByRelationAggregateInput
    _relevance?: NotificationTemplateAssignmentOrderByRelevanceInput
  }

  export type NotificationTemplateAssignmentWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: NotificationTemplateAssignmentWhereInput | NotificationTemplateAssignmentWhereInput[]
    OR?: NotificationTemplateAssignmentWhereInput[]
    NOT?: NotificationTemplateAssignmentWhereInput | NotificationTemplateAssignmentWhereInput[]
    uuid?: UuidFilter<"NotificationTemplateAssignment"> | string
    notification_template_process_id?: IntFilter<"NotificationTemplateAssignment"> | number
    template_id?: IntFilter<"NotificationTemplateAssignment"> | number
    recipient_type?: EnumRecipientTypeFilter<"NotificationTemplateAssignment"> | $Enums.RecipientType
    notification_to?: StringNullableFilter<"NotificationTemplateAssignment"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateAssignment"> | $Enums.NotificationType
    company_id?: IntFilter<"NotificationTemplateAssignment"> | number
    created_at?: DateTimeFilter<"NotificationTemplateAssignment"> | Date | string
    created_by?: IntFilter<"NotificationTemplateAssignment"> | number
    notification_template_process?: XOR<NotificationTemplateProcessRelationFilter, NotificationTemplateProcessWhereInput>
    notification_template?: XOR<NotificationTemplateRelationFilter, NotificationTemplateWhereInput>
    created?: XOR<UserRelationFilter, UserWhereInput>
    email_template_cc_bcc?: EmailTemplateCcBccListRelationFilter
  }, "id" | "id">

  export type NotificationTemplateAssignmentOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    recipient_type?: SortOrder
    notification_to?: SortOrderInput | SortOrder
    notification_type?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    _count?: NotificationTemplateAssignmentCountOrderByAggregateInput
    _avg?: NotificationTemplateAssignmentAvgOrderByAggregateInput
    _max?: NotificationTemplateAssignmentMaxOrderByAggregateInput
    _min?: NotificationTemplateAssignmentMinOrderByAggregateInput
    _sum?: NotificationTemplateAssignmentSumOrderByAggregateInput
  }

  export type NotificationTemplateAssignmentScalarWhereWithAggregatesInput = {
    AND?: NotificationTemplateAssignmentScalarWhereWithAggregatesInput | NotificationTemplateAssignmentScalarWhereWithAggregatesInput[]
    OR?: NotificationTemplateAssignmentScalarWhereWithAggregatesInput[]
    NOT?: NotificationTemplateAssignmentScalarWhereWithAggregatesInput | NotificationTemplateAssignmentScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationTemplateAssignment"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationTemplateAssignment"> | string
    notification_template_process_id?: IntWithAggregatesFilter<"NotificationTemplateAssignment"> | number
    template_id?: IntWithAggregatesFilter<"NotificationTemplateAssignment"> | number
    recipient_type?: EnumRecipientTypeWithAggregatesFilter<"NotificationTemplateAssignment"> | $Enums.RecipientType
    notification_to?: StringNullableWithAggregatesFilter<"NotificationTemplateAssignment"> | string | null
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationTemplateAssignment"> | $Enums.NotificationType
    company_id?: IntWithAggregatesFilter<"NotificationTemplateAssignment"> | number
    created_at?: DateTimeWithAggregatesFilter<"NotificationTemplateAssignment"> | Date | string
    created_by?: IntWithAggregatesFilter<"NotificationTemplateAssignment"> | number
  }

  export type EmailTemplateCcBccWhereInput = {
    AND?: EmailTemplateCcBccWhereInput | EmailTemplateCcBccWhereInput[]
    OR?: EmailTemplateCcBccWhereInput[]
    NOT?: EmailTemplateCcBccWhereInput | EmailTemplateCcBccWhereInput[]
    id?: IntFilter<"EmailTemplateCcBcc"> | number
    uuid?: UuidFilter<"EmailTemplateCcBcc"> | string
    send_type?: EnumsendMailTypeFilter<"EmailTemplateCcBcc"> | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFilter<"EmailTemplateCcBcc"> | $Enums.RecipientType
    email_to?: StringNullableFilter<"EmailTemplateCcBcc"> | string | null
    company_id?: IntFilter<"EmailTemplateCcBcc"> | number
    created_at?: DateTimeFilter<"EmailTemplateCcBcc"> | Date | string
    created_by?: IntFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment_id?: IntFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment?: XOR<NotificationTemplateAssignmentRelationFilter, NotificationTemplateAssignmentWhereInput>
  }

  export type EmailTemplateCcBccOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    send_type?: SortOrder
    recipient_type?: SortOrder
    email_to?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
    email_template_assignment?: NotificationTemplateAssignmentOrderByWithRelationInput
    _relevance?: EmailTemplateCcBccOrderByRelevanceInput
  }

  export type EmailTemplateCcBccWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    email_template_assignment_id_send_type_recipient_type_email_to?: EmailTemplateCcBccEmail_template_assignment_idSend_typeRecipient_typeEmail_toCompoundUniqueInput
    AND?: EmailTemplateCcBccWhereInput | EmailTemplateCcBccWhereInput[]
    OR?: EmailTemplateCcBccWhereInput[]
    NOT?: EmailTemplateCcBccWhereInput | EmailTemplateCcBccWhereInput[]
    uuid?: UuidFilter<"EmailTemplateCcBcc"> | string
    send_type?: EnumsendMailTypeFilter<"EmailTemplateCcBcc"> | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFilter<"EmailTemplateCcBcc"> | $Enums.RecipientType
    email_to?: StringNullableFilter<"EmailTemplateCcBcc"> | string | null
    company_id?: IntFilter<"EmailTemplateCcBcc"> | number
    created_at?: DateTimeFilter<"EmailTemplateCcBcc"> | Date | string
    created_by?: IntFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment_id?: IntFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment?: XOR<NotificationTemplateAssignmentRelationFilter, NotificationTemplateAssignmentWhereInput>
  }, "id" | "email_template_assignment_id_send_type_recipient_type_email_to">

  export type EmailTemplateCcBccOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    send_type?: SortOrder
    recipient_type?: SortOrder
    email_to?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
    _count?: EmailTemplateCcBccCountOrderByAggregateInput
    _avg?: EmailTemplateCcBccAvgOrderByAggregateInput
    _max?: EmailTemplateCcBccMaxOrderByAggregateInput
    _min?: EmailTemplateCcBccMinOrderByAggregateInput
    _sum?: EmailTemplateCcBccSumOrderByAggregateInput
  }

  export type EmailTemplateCcBccScalarWhereWithAggregatesInput = {
    AND?: EmailTemplateCcBccScalarWhereWithAggregatesInput | EmailTemplateCcBccScalarWhereWithAggregatesInput[]
    OR?: EmailTemplateCcBccScalarWhereWithAggregatesInput[]
    NOT?: EmailTemplateCcBccScalarWhereWithAggregatesInput | EmailTemplateCcBccScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"EmailTemplateCcBcc"> | number
    uuid?: UuidWithAggregatesFilter<"EmailTemplateCcBcc"> | string
    send_type?: EnumsendMailTypeWithAggregatesFilter<"EmailTemplateCcBcc"> | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeWithAggregatesFilter<"EmailTemplateCcBcc"> | $Enums.RecipientType
    email_to?: StringNullableWithAggregatesFilter<"EmailTemplateCcBcc"> | string | null
    company_id?: IntWithAggregatesFilter<"EmailTemplateCcBcc"> | number
    created_at?: DateTimeWithAggregatesFilter<"EmailTemplateCcBcc"> | Date | string
    created_by?: IntWithAggregatesFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment_id?: IntWithAggregatesFilter<"EmailTemplateCcBcc"> | number
  }

  export type NotificationProcessJobWhereInput = {
    AND?: NotificationProcessJobWhereInput | NotificationProcessJobWhereInput[]
    OR?: NotificationProcessJobWhereInput[]
    NOT?: NotificationProcessJobWhereInput | NotificationProcessJobWhereInput[]
    id?: IntFilter<"NotificationProcessJob"> | number
    uuid?: UuidFilter<"NotificationProcessJob"> | string
    notification_template_process_slug?: StringFilter<"NotificationProcessJob"> | string
    unique_id?: StringFilter<"NotificationProcessJob"> | string
    user_id?: IntFilter<"NotificationProcessJob"> | number
    prefill_data?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationProcessJob"> | string | null
    company_id?: IntFilter<"NotificationProcessJob"> | number
    status_id?: IntFilter<"NotificationProcessJob"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationProcessJob"> | $Enums.NotificationType
    created_at?: DateTimeFilter<"NotificationProcessJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationProcessJob"> | number | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type NotificationProcessJobOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_slug?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrderInput | SortOrder
    attachments_path?: SortOrderInput | SortOrder
    attachments_name?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    notification_type?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    _relevance?: NotificationProcessJobOrderByRelevanceInput
  }

  export type NotificationProcessJobWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: NotificationProcessJobWhereInput | NotificationProcessJobWhereInput[]
    OR?: NotificationProcessJobWhereInput[]
    NOT?: NotificationProcessJobWhereInput | NotificationProcessJobWhereInput[]
    uuid?: UuidFilter<"NotificationProcessJob"> | string
    notification_template_process_slug?: StringFilter<"NotificationProcessJob"> | string
    unique_id?: StringFilter<"NotificationProcessJob"> | string
    user_id?: IntFilter<"NotificationProcessJob"> | number
    prefill_data?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationProcessJob"> | string | null
    company_id?: IntFilter<"NotificationProcessJob"> | number
    status_id?: IntFilter<"NotificationProcessJob"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationProcessJob"> | $Enums.NotificationType
    created_at?: DateTimeFilter<"NotificationProcessJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationProcessJob"> | number | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id">

  export type NotificationProcessJobOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_slug?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrderInput | SortOrder
    attachments_path?: SortOrderInput | SortOrder
    attachments_name?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    notification_type?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    _count?: NotificationProcessJobCountOrderByAggregateInput
    _avg?: NotificationProcessJobAvgOrderByAggregateInput
    _max?: NotificationProcessJobMaxOrderByAggregateInput
    _min?: NotificationProcessJobMinOrderByAggregateInput
    _sum?: NotificationProcessJobSumOrderByAggregateInput
  }

  export type NotificationProcessJobScalarWhereWithAggregatesInput = {
    AND?: NotificationProcessJobScalarWhereWithAggregatesInput | NotificationProcessJobScalarWhereWithAggregatesInput[]
    OR?: NotificationProcessJobScalarWhereWithAggregatesInput[]
    NOT?: NotificationProcessJobScalarWhereWithAggregatesInput | NotificationProcessJobScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationProcessJob"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationProcessJob"> | string
    notification_template_process_slug?: StringWithAggregatesFilter<"NotificationProcessJob"> | string
    unique_id?: StringWithAggregatesFilter<"NotificationProcessJob"> | string
    user_id?: IntWithAggregatesFilter<"NotificationProcessJob"> | number
    prefill_data?: StringNullableWithAggregatesFilter<"NotificationProcessJob"> | string | null
    attachments_path?: StringNullableWithAggregatesFilter<"NotificationProcessJob"> | string | null
    attachments_name?: StringNullableWithAggregatesFilter<"NotificationProcessJob"> | string | null
    company_id?: IntWithAggregatesFilter<"NotificationProcessJob"> | number
    status_id?: IntWithAggregatesFilter<"NotificationProcessJob"> | number
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationProcessJob"> | $Enums.NotificationType
    created_at?: DateTimeWithAggregatesFilter<"NotificationProcessJob"> | Date | string
    created_by?: IntNullableWithAggregatesFilter<"NotificationProcessJob"> | number | null
  }

  export type NotificationJobWhereInput = {
    AND?: NotificationJobWhereInput | NotificationJobWhereInput[]
    OR?: NotificationJobWhereInput[]
    NOT?: NotificationJobWhereInput | NotificationJobWhereInput[]
    id?: IntFilter<"NotificationJob"> | number
    uuid?: UuidFilter<"NotificationJob"> | string
    process_slug?: StringFilter<"NotificationJob"> | string
    notification_to?: StringNullableFilter<"NotificationJob"> | string | null
    notification_subject?: StringNullableFilter<"NotificationJob"> | string | null
    notification_content?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationJob"> | string | null
    notification_cc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_bcc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_type_id?: StringFilter<"NotificationJob"> | string
    notification_status_id?: StringFilter<"NotificationJob"> | string
    notification_type?: EnumNotificationTypeFilter<"NotificationJob"> | $Enums.NotificationType
    whatsapp_notification_data?: JsonNullableFilter<"NotificationJob">
    last_attempt_message?: StringNullableFilter<"NotificationJob"> | string | null
    company_id?: IntFilter<"NotificationJob"> | number
    status_id?: IntFilter<"NotificationJob"> | number
    parent_id?: IntFilter<"NotificationJob"> | number
    no_of_attempts?: IntFilter<"NotificationJob"> | number
    created_at?: DateTimeFilter<"NotificationJob"> | Date | string
    updated_at?: DateTimeFilter<"NotificationJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationJob"> | number | null
    sent_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
    read_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type NotificationJobOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    process_slug?: SortOrder
    notification_to?: SortOrderInput | SortOrder
    notification_subject?: SortOrderInput | SortOrder
    notification_content?: SortOrderInput | SortOrder
    attachments_path?: SortOrderInput | SortOrder
    attachments_name?: SortOrderInput | SortOrder
    notification_cc?: SortOrderInput | SortOrder
    notification_bcc?: SortOrderInput | SortOrder
    notification_type_id?: SortOrder
    notification_status_id?: SortOrder
    notification_type?: SortOrder
    whatsapp_notification_data?: SortOrderInput | SortOrder
    last_attempt_message?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    sent_at?: SortOrderInput | SortOrder
    read_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    _relevance?: NotificationJobOrderByRelevanceInput
  }

  export type NotificationJobWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: NotificationJobWhereInput | NotificationJobWhereInput[]
    OR?: NotificationJobWhereInput[]
    NOT?: NotificationJobWhereInput | NotificationJobWhereInput[]
    uuid?: UuidFilter<"NotificationJob"> | string
    process_slug?: StringFilter<"NotificationJob"> | string
    notification_to?: StringNullableFilter<"NotificationJob"> | string | null
    notification_subject?: StringNullableFilter<"NotificationJob"> | string | null
    notification_content?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationJob"> | string | null
    notification_cc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_bcc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_type_id?: StringFilter<"NotificationJob"> | string
    notification_status_id?: StringFilter<"NotificationJob"> | string
    notification_type?: EnumNotificationTypeFilter<"NotificationJob"> | $Enums.NotificationType
    whatsapp_notification_data?: JsonNullableFilter<"NotificationJob">
    last_attempt_message?: StringNullableFilter<"NotificationJob"> | string | null
    company_id?: IntFilter<"NotificationJob"> | number
    status_id?: IntFilter<"NotificationJob"> | number
    parent_id?: IntFilter<"NotificationJob"> | number
    no_of_attempts?: IntFilter<"NotificationJob"> | number
    created_at?: DateTimeFilter<"NotificationJob"> | Date | string
    updated_at?: DateTimeFilter<"NotificationJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationJob"> | number | null
    sent_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
    read_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id">

  export type NotificationJobOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    process_slug?: SortOrder
    notification_to?: SortOrderInput | SortOrder
    notification_subject?: SortOrderInput | SortOrder
    notification_content?: SortOrderInput | SortOrder
    attachments_path?: SortOrderInput | SortOrder
    attachments_name?: SortOrderInput | SortOrder
    notification_cc?: SortOrderInput | SortOrder
    notification_bcc?: SortOrderInput | SortOrder
    notification_type_id?: SortOrder
    notification_status_id?: SortOrder
    notification_type?: SortOrder
    whatsapp_notification_data?: SortOrderInput | SortOrder
    last_attempt_message?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    created_by?: SortOrderInput | SortOrder
    sent_at?: SortOrderInput | SortOrder
    read_at?: SortOrderInput | SortOrder
    _count?: NotificationJobCountOrderByAggregateInput
    _avg?: NotificationJobAvgOrderByAggregateInput
    _max?: NotificationJobMaxOrderByAggregateInput
    _min?: NotificationJobMinOrderByAggregateInput
    _sum?: NotificationJobSumOrderByAggregateInput
  }

  export type NotificationJobScalarWhereWithAggregatesInput = {
    AND?: NotificationJobScalarWhereWithAggregatesInput | NotificationJobScalarWhereWithAggregatesInput[]
    OR?: NotificationJobScalarWhereWithAggregatesInput[]
    NOT?: NotificationJobScalarWhereWithAggregatesInput | NotificationJobScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"NotificationJob"> | number
    uuid?: UuidWithAggregatesFilter<"NotificationJob"> | string
    process_slug?: StringWithAggregatesFilter<"NotificationJob"> | string
    notification_to?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    notification_subject?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    notification_content?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    attachments_path?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    attachments_name?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    notification_cc?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    notification_bcc?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    notification_type_id?: StringWithAggregatesFilter<"NotificationJob"> | string
    notification_status_id?: StringWithAggregatesFilter<"NotificationJob"> | string
    notification_type?: EnumNotificationTypeWithAggregatesFilter<"NotificationJob"> | $Enums.NotificationType
    whatsapp_notification_data?: JsonNullableWithAggregatesFilter<"NotificationJob">
    last_attempt_message?: StringNullableWithAggregatesFilter<"NotificationJob"> | string | null
    company_id?: IntWithAggregatesFilter<"NotificationJob"> | number
    status_id?: IntWithAggregatesFilter<"NotificationJob"> | number
    parent_id?: IntWithAggregatesFilter<"NotificationJob"> | number
    no_of_attempts?: IntWithAggregatesFilter<"NotificationJob"> | number
    created_at?: DateTimeWithAggregatesFilter<"NotificationJob"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"NotificationJob"> | Date | string
    created_by?: IntNullableWithAggregatesFilter<"NotificationJob"> | number | null
    sent_at?: DateTimeNullableWithAggregatesFilter<"NotificationJob"> | Date | string | null
    read_at?: DateTimeNullableWithAggregatesFilter<"NotificationJob"> | Date | string | null
  }

  export type CarouselTemplateWhereInput = {
    AND?: CarouselTemplateWhereInput | CarouselTemplateWhereInput[]
    OR?: CarouselTemplateWhereInput[]
    NOT?: CarouselTemplateWhereInput | CarouselTemplateWhereInput[]
    id?: IntFilter<"CarouselTemplate"> | number
    uuid?: UuidFilter<"CarouselTemplate"> | string
    name?: StringFilter<"CarouselTemplate"> | string
    slug?: StringFilter<"CarouselTemplate"> | string
    description?: StringNullableFilter<"CarouselTemplate"> | string | null
    status_id?: IntFilter<"CarouselTemplate"> | number
    company_id?: IntFilter<"CarouselTemplate"> | number
    created_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    created_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    updated_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    updated_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"CarouselTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: CarouselTemplateLineItemListRelationFilter
  }

  export type CarouselTemplateOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    line_items?: CarouselTemplateLineItemOrderByRelationAggregateInput
    _relevance?: CarouselTemplateOrderByRelevanceInput
  }

  export type CarouselTemplateWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: CarouselTemplateCompany_idIdCompoundUniqueInput
    company_id_slug?: CarouselTemplateCompany_idSlugCompoundUniqueInput
    AND?: CarouselTemplateWhereInput | CarouselTemplateWhereInput[]
    OR?: CarouselTemplateWhereInput[]
    NOT?: CarouselTemplateWhereInput | CarouselTemplateWhereInput[]
    uuid?: UuidFilter<"CarouselTemplate"> | string
    name?: StringFilter<"CarouselTemplate"> | string
    slug?: StringFilter<"CarouselTemplate"> | string
    description?: StringNullableFilter<"CarouselTemplate"> | string | null
    status_id?: IntFilter<"CarouselTemplate"> | number
    company_id?: IntFilter<"CarouselTemplate"> | number
    created_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    created_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    updated_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    updated_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"CarouselTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: CarouselTemplateLineItemListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug">

  export type CarouselTemplateOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: CarouselTemplateCountOrderByAggregateInput
    _avg?: CarouselTemplateAvgOrderByAggregateInput
    _max?: CarouselTemplateMaxOrderByAggregateInput
    _min?: CarouselTemplateMinOrderByAggregateInput
    _sum?: CarouselTemplateSumOrderByAggregateInput
  }

  export type CarouselTemplateScalarWhereWithAggregatesInput = {
    AND?: CarouselTemplateScalarWhereWithAggregatesInput | CarouselTemplateScalarWhereWithAggregatesInput[]
    OR?: CarouselTemplateScalarWhereWithAggregatesInput[]
    NOT?: CarouselTemplateScalarWhereWithAggregatesInput | CarouselTemplateScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"CarouselTemplate"> | number
    uuid?: UuidWithAggregatesFilter<"CarouselTemplate"> | string
    name?: StringWithAggregatesFilter<"CarouselTemplate"> | string
    slug?: StringWithAggregatesFilter<"CarouselTemplate"> | string
    description?: StringNullableWithAggregatesFilter<"CarouselTemplate"> | string | null
    status_id?: IntWithAggregatesFilter<"CarouselTemplate"> | number
    company_id?: IntWithAggregatesFilter<"CarouselTemplate"> | number
    created_by?: IntNullableWithAggregatesFilter<"CarouselTemplate"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"CarouselTemplate"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"CarouselTemplate"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"CarouselTemplate"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"CarouselTemplate"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"CarouselTemplate"> | Date | string | null
  }

  export type CarouselTemplateLineItemWhereInput = {
    AND?: CarouselTemplateLineItemWhereInput | CarouselTemplateLineItemWhereInput[]
    OR?: CarouselTemplateLineItemWhereInput[]
    NOT?: CarouselTemplateLineItemWhereInput | CarouselTemplateLineItemWhereInput[]
    id?: IntFilter<"CarouselTemplateLineItem"> | number
    carousel_template_id?: IntFilter<"CarouselTemplateLineItem"> | number
    name?: StringFilter<"CarouselTemplateLineItem"> | string
    slug?: StringFilter<"CarouselTemplateLineItem"> | string
    description?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    image_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    video_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    clickable_link?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    order_no?: DecimalFilter<"CarouselTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"CarouselTemplateLineItem"> | number
    company_id?: IntFilter<"CarouselTemplateLineItem"> | number
    created_at?: DateTimeFilter<"CarouselTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    carousel_template?: XOR<CarouselTemplateRelationFilter, CarouselTemplateWhereInput>
  }

  export type CarouselTemplateLineItemOrderByWithRelationInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    image_url?: SortOrderInput | SortOrder
    video_url?: SortOrderInput | SortOrder
    clickable_link?: SortOrderInput | SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    carousel_template?: CarouselTemplateOrderByWithRelationInput
    _relevance?: CarouselTemplateLineItemOrderByRelevanceInput
  }

  export type CarouselTemplateLineItemWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: CarouselTemplateLineItemCompany_idIdCompoundUniqueInput
    company_id_carousel_template_id_slug?: CarouselTemplateLineItemCompany_idCarousel_template_idSlugCompoundUniqueInput
    AND?: CarouselTemplateLineItemWhereInput | CarouselTemplateLineItemWhereInput[]
    OR?: CarouselTemplateLineItemWhereInput[]
    NOT?: CarouselTemplateLineItemWhereInput | CarouselTemplateLineItemWhereInput[]
    carousel_template_id?: IntFilter<"CarouselTemplateLineItem"> | number
    name?: StringFilter<"CarouselTemplateLineItem"> | string
    slug?: StringFilter<"CarouselTemplateLineItem"> | string
    description?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    image_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    video_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    clickable_link?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    order_no?: DecimalFilter<"CarouselTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"CarouselTemplateLineItem"> | number
    company_id?: IntFilter<"CarouselTemplateLineItem"> | number
    created_at?: DateTimeFilter<"CarouselTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    carousel_template?: XOR<CarouselTemplateRelationFilter, CarouselTemplateWhereInput>
  }, "id" | "company_id_id" | "company_id_carousel_template_id_slug">

  export type CarouselTemplateLineItemOrderByWithAggregationInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    image_url?: SortOrderInput | SortOrder
    video_url?: SortOrderInput | SortOrder
    clickable_link?: SortOrderInput | SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: CarouselTemplateLineItemCountOrderByAggregateInput
    _avg?: CarouselTemplateLineItemAvgOrderByAggregateInput
    _max?: CarouselTemplateLineItemMaxOrderByAggregateInput
    _min?: CarouselTemplateLineItemMinOrderByAggregateInput
    _sum?: CarouselTemplateLineItemSumOrderByAggregateInput
  }

  export type CarouselTemplateLineItemScalarWhereWithAggregatesInput = {
    AND?: CarouselTemplateLineItemScalarWhereWithAggregatesInput | CarouselTemplateLineItemScalarWhereWithAggregatesInput[]
    OR?: CarouselTemplateLineItemScalarWhereWithAggregatesInput[]
    NOT?: CarouselTemplateLineItemScalarWhereWithAggregatesInput | CarouselTemplateLineItemScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"CarouselTemplateLineItem"> | number
    carousel_template_id?: IntWithAggregatesFilter<"CarouselTemplateLineItem"> | number
    name?: StringWithAggregatesFilter<"CarouselTemplateLineItem"> | string
    slug?: StringWithAggregatesFilter<"CarouselTemplateLineItem"> | string
    description?: StringNullableWithAggregatesFilter<"CarouselTemplateLineItem"> | string | null
    image_url?: StringNullableWithAggregatesFilter<"CarouselTemplateLineItem"> | string | null
    video_url?: StringNullableWithAggregatesFilter<"CarouselTemplateLineItem"> | string | null
    clickable_link?: StringNullableWithAggregatesFilter<"CarouselTemplateLineItem"> | string | null
    order_no?: DecimalWithAggregatesFilter<"CarouselTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    status_id?: IntWithAggregatesFilter<"CarouselTemplateLineItem"> | number
    company_id?: IntWithAggregatesFilter<"CarouselTemplateLineItem"> | number
    created_at?: DateTimeWithAggregatesFilter<"CarouselTemplateLineItem"> | Date | string
  }

  export type ImportTemplateWhereInput = {
    AND?: ImportTemplateWhereInput | ImportTemplateWhereInput[]
    OR?: ImportTemplateWhereInput[]
    NOT?: ImportTemplateWhereInput | ImportTemplateWhereInput[]
    id?: IntFilter<"ImportTemplate"> | number
    uuid?: UuidFilter<"ImportTemplate"> | string
    name?: StringFilter<"ImportTemplate"> | string
    slug?: StringFilter<"ImportTemplate"> | string
    description?: StringNullableFilter<"ImportTemplate"> | string | null
    max_row_count?: IntFilter<"ImportTemplate"> | number
    header_row?: IntFilter<"ImportTemplate"> | number
    data_start_row?: IntFilter<"ImportTemplate"> | number
    data_end_row?: IntFilter<"ImportTemplate"> | number
    ignore_error_rows?: BoolFilter<"ImportTemplate"> | boolean
    is_admin_module?: BoolFilter<"ImportTemplate"> | boolean
    is_send_mail?: BoolFilter<"ImportTemplate"> | boolean
    email_process_slug?: StringNullableFilter<"ImportTemplate"> | string | null
    job_type?: StringNullableFilter<"ImportTemplate"> | string | null
    batch_process_count?: IntNullableFilter<"ImportTemplate"> | number | null
    status_id?: IntFilter<"ImportTemplate"> | number
    company_id?: IntFilter<"ImportTemplate"> | number
    created_by?: IntNullableFilter<"ImportTemplate"> | number | null
    created_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ImportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ImportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ImportTemplateLineItemListRelationFilter
    queries?: ImportTemplateQueriesListRelationFilter
    import_jobs?: ImportJobListRelationFilter
    direct_import_details?: DirectImportDetailsListRelationFilter
  }

  export type ImportTemplateOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    ignore_error_rows?: SortOrder
    is_admin_module?: SortOrder
    is_send_mail?: SortOrder
    email_process_slug?: SortOrderInput | SortOrder
    job_type?: SortOrderInput | SortOrder
    batch_process_count?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    line_items?: ImportTemplateLineItemOrderByRelationAggregateInput
    queries?: ImportTemplateQueriesOrderByRelationAggregateInput
    import_jobs?: ImportJobOrderByRelationAggregateInput
    direct_import_details?: DirectImportDetailsOrderByRelationAggregateInput
    _relevance?: ImportTemplateOrderByRelevanceInput
  }

  export type ImportTemplateWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ImportTemplateCompany_idIdCompoundUniqueInput
    company_id_slug?: ImportTemplateCompany_idSlugCompoundUniqueInput
    AND?: ImportTemplateWhereInput | ImportTemplateWhereInput[]
    OR?: ImportTemplateWhereInput[]
    NOT?: ImportTemplateWhereInput | ImportTemplateWhereInput[]
    uuid?: UuidFilter<"ImportTemplate"> | string
    name?: StringFilter<"ImportTemplate"> | string
    slug?: StringFilter<"ImportTemplate"> | string
    description?: StringNullableFilter<"ImportTemplate"> | string | null
    max_row_count?: IntFilter<"ImportTemplate"> | number
    header_row?: IntFilter<"ImportTemplate"> | number
    data_start_row?: IntFilter<"ImportTemplate"> | number
    data_end_row?: IntFilter<"ImportTemplate"> | number
    ignore_error_rows?: BoolFilter<"ImportTemplate"> | boolean
    is_admin_module?: BoolFilter<"ImportTemplate"> | boolean
    is_send_mail?: BoolFilter<"ImportTemplate"> | boolean
    email_process_slug?: StringNullableFilter<"ImportTemplate"> | string | null
    job_type?: StringNullableFilter<"ImportTemplate"> | string | null
    batch_process_count?: IntNullableFilter<"ImportTemplate"> | number | null
    status_id?: IntFilter<"ImportTemplate"> | number
    company_id?: IntFilter<"ImportTemplate"> | number
    created_by?: IntNullableFilter<"ImportTemplate"> | number | null
    created_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ImportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ImportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ImportTemplateLineItemListRelationFilter
    queries?: ImportTemplateQueriesListRelationFilter
    import_jobs?: ImportJobListRelationFilter
    direct_import_details?: DirectImportDetailsListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug">

  export type ImportTemplateOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    ignore_error_rows?: SortOrder
    is_admin_module?: SortOrder
    is_send_mail?: SortOrder
    email_process_slug?: SortOrderInput | SortOrder
    job_type?: SortOrderInput | SortOrder
    batch_process_count?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ImportTemplateCountOrderByAggregateInput
    _avg?: ImportTemplateAvgOrderByAggregateInput
    _max?: ImportTemplateMaxOrderByAggregateInput
    _min?: ImportTemplateMinOrderByAggregateInput
    _sum?: ImportTemplateSumOrderByAggregateInput
  }

  export type ImportTemplateScalarWhereWithAggregatesInput = {
    AND?: ImportTemplateScalarWhereWithAggregatesInput | ImportTemplateScalarWhereWithAggregatesInput[]
    OR?: ImportTemplateScalarWhereWithAggregatesInput[]
    NOT?: ImportTemplateScalarWhereWithAggregatesInput | ImportTemplateScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ImportTemplate"> | number
    uuid?: UuidWithAggregatesFilter<"ImportTemplate"> | string
    name?: StringWithAggregatesFilter<"ImportTemplate"> | string
    slug?: StringWithAggregatesFilter<"ImportTemplate"> | string
    description?: StringNullableWithAggregatesFilter<"ImportTemplate"> | string | null
    max_row_count?: IntWithAggregatesFilter<"ImportTemplate"> | number
    header_row?: IntWithAggregatesFilter<"ImportTemplate"> | number
    data_start_row?: IntWithAggregatesFilter<"ImportTemplate"> | number
    data_end_row?: IntWithAggregatesFilter<"ImportTemplate"> | number
    ignore_error_rows?: BoolWithAggregatesFilter<"ImportTemplate"> | boolean
    is_admin_module?: BoolWithAggregatesFilter<"ImportTemplate"> | boolean
    is_send_mail?: BoolWithAggregatesFilter<"ImportTemplate"> | boolean
    email_process_slug?: StringNullableWithAggregatesFilter<"ImportTemplate"> | string | null
    job_type?: StringNullableWithAggregatesFilter<"ImportTemplate"> | string | null
    batch_process_count?: IntNullableWithAggregatesFilter<"ImportTemplate"> | number | null
    status_id?: IntWithAggregatesFilter<"ImportTemplate"> | number
    company_id?: IntWithAggregatesFilter<"ImportTemplate"> | number
    created_by?: IntNullableWithAggregatesFilter<"ImportTemplate"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ImportTemplate"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ImportTemplate"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ImportTemplate"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ImportTemplate"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ImportTemplate"> | Date | string | null
  }

  export type ImportTemplateLineItemWhereInput = {
    AND?: ImportTemplateLineItemWhereInput | ImportTemplateLineItemWhereInput[]
    OR?: ImportTemplateLineItemWhereInput[]
    NOT?: ImportTemplateLineItemWhereInput | ImportTemplateLineItemWhereInput[]
    id?: IntFilter<"ImportTemplateLineItem"> | number
    import_template_id?: IntFilter<"ImportTemplateLineItem"> | number
    field_name?: StringFilter<"ImportTemplateLineItem"> | string
    display_name?: StringFilter<"ImportTemplateLineItem"> | string
    field_table?: StringFilter<"ImportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ImportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    width?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    default_value?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    check_reg_exp?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_nullable?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_unique?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_foreign?: BoolFilter<"ImportTemplateLineItem"> | boolean
    unique_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_enum?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_multiple?: BoolFilter<"ImportTemplateLineItem"> | boolean
    enum_values?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    expression_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    query_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    foreign_table?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_can_create?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_individual?: BoolFilter<"ImportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ImportTemplateLineItem"> | number
    company_id?: IntFilter<"ImportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ImportTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateRelationFilter, ImportTemplateWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }

  export type ImportTemplateLineItemOrderByWithRelationInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    width?: SortOrderInput | SortOrder
    default_value?: SortOrderInput | SortOrder
    check_reg_exp?: SortOrderInput | SortOrder
    is_nullable?: SortOrder
    is_unique?: SortOrder
    is_foreign?: SortOrder
    unique_query?: SortOrderInput | SortOrder
    foreign_query?: SortOrderInput | SortOrder
    is_enum?: SortOrder
    is_multiple?: SortOrder
    enum_values?: SortOrderInput | SortOrder
    expression_rules?: SortOrderInput | SortOrder
    query_rules?: SortOrderInput | SortOrder
    foreign_table?: SortOrderInput | SortOrder
    foreign_column?: SortOrderInput | SortOrder
    foreign_can_create?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrderInput | SortOrder
    field_type_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    import_template?: ImportTemplateOrderByWithRelationInput
    field_type?: FieldTypeOrderByWithRelationInput
    _relevance?: ImportTemplateLineItemOrderByRelevanceInput
  }

  export type ImportTemplateLineItemWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ImportTemplateLineItemCompany_idIdCompoundUniqueInput
    company_id_import_template_id_field_table_field_name?: ImportTemplateLineItemCompany_idImport_template_idField_tableField_nameCompoundUniqueInput
    company_id_import_template_id_display_name?: ImportTemplateLineItemCompany_idImport_template_idDisplay_nameCompoundUniqueInput
    AND?: ImportTemplateLineItemWhereInput | ImportTemplateLineItemWhereInput[]
    OR?: ImportTemplateLineItemWhereInput[]
    NOT?: ImportTemplateLineItemWhereInput | ImportTemplateLineItemWhereInput[]
    import_template_id?: IntFilter<"ImportTemplateLineItem"> | number
    field_name?: StringFilter<"ImportTemplateLineItem"> | string
    display_name?: StringFilter<"ImportTemplateLineItem"> | string
    field_table?: StringFilter<"ImportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ImportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    width?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    default_value?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    check_reg_exp?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_nullable?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_unique?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_foreign?: BoolFilter<"ImportTemplateLineItem"> | boolean
    unique_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_enum?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_multiple?: BoolFilter<"ImportTemplateLineItem"> | boolean
    enum_values?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    expression_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    query_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    foreign_table?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_can_create?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_individual?: BoolFilter<"ImportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ImportTemplateLineItem"> | number
    company_id?: IntFilter<"ImportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ImportTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateRelationFilter, ImportTemplateWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }, "id" | "company_id_id" | "company_id_import_template_id_field_table_field_name" | "company_id_import_template_id_display_name">

  export type ImportTemplateLineItemOrderByWithAggregationInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    width?: SortOrderInput | SortOrder
    default_value?: SortOrderInput | SortOrder
    check_reg_exp?: SortOrderInput | SortOrder
    is_nullable?: SortOrder
    is_unique?: SortOrder
    is_foreign?: SortOrder
    unique_query?: SortOrderInput | SortOrder
    foreign_query?: SortOrderInput | SortOrder
    is_enum?: SortOrder
    is_multiple?: SortOrder
    enum_values?: SortOrderInput | SortOrder
    expression_rules?: SortOrderInput | SortOrder
    query_rules?: SortOrderInput | SortOrder
    foreign_table?: SortOrderInput | SortOrder
    foreign_column?: SortOrderInput | SortOrder
    foreign_can_create?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrderInput | SortOrder
    field_type_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: ImportTemplateLineItemCountOrderByAggregateInput
    _avg?: ImportTemplateLineItemAvgOrderByAggregateInput
    _max?: ImportTemplateLineItemMaxOrderByAggregateInput
    _min?: ImportTemplateLineItemMinOrderByAggregateInput
    _sum?: ImportTemplateLineItemSumOrderByAggregateInput
  }

  export type ImportTemplateLineItemScalarWhereWithAggregatesInput = {
    AND?: ImportTemplateLineItemScalarWhereWithAggregatesInput | ImportTemplateLineItemScalarWhereWithAggregatesInput[]
    OR?: ImportTemplateLineItemScalarWhereWithAggregatesInput[]
    NOT?: ImportTemplateLineItemScalarWhereWithAggregatesInput | ImportTemplateLineItemScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ImportTemplateLineItem"> | number
    import_template_id?: IntWithAggregatesFilter<"ImportTemplateLineItem"> | number
    field_name?: StringWithAggregatesFilter<"ImportTemplateLineItem"> | string
    display_name?: StringWithAggregatesFilter<"ImportTemplateLineItem"> | string
    field_table?: StringWithAggregatesFilter<"ImportTemplateLineItem"> | string
    order_no?: DecimalWithAggregatesFilter<"ImportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    width?: IntNullableWithAggregatesFilter<"ImportTemplateLineItem"> | number | null
    default_value?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    check_reg_exp?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    is_nullable?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    is_unique?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    is_foreign?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    unique_query?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    foreign_query?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    is_enum?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    is_multiple?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    enum_values?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    expression_rules?: JsonNullableWithAggregatesFilter<"ImportTemplateLineItem">
    query_rules?: JsonNullableWithAggregatesFilter<"ImportTemplateLineItem">
    foreign_table?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    foreign_column?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    foreign_can_create?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    is_individual?: BoolWithAggregatesFilter<"ImportTemplateLineItem"> | boolean
    individual_column?: StringNullableWithAggregatesFilter<"ImportTemplateLineItem"> | string | null
    field_type_id?: IntNullableWithAggregatesFilter<"ImportTemplateLineItem"> | number | null
    status_id?: IntWithAggregatesFilter<"ImportTemplateLineItem"> | number
    company_id?: IntWithAggregatesFilter<"ImportTemplateLineItem"> | number
    created_at?: DateTimeWithAggregatesFilter<"ImportTemplateLineItem"> | Date | string
  }

  export type ImportTemplateQueriesWhereInput = {
    AND?: ImportTemplateQueriesWhereInput | ImportTemplateQueriesWhereInput[]
    OR?: ImportTemplateQueriesWhereInput[]
    NOT?: ImportTemplateQueriesWhereInput | ImportTemplateQueriesWhereInput[]
    id?: IntFilter<"ImportTemplateQueries"> | number
    import_template_id?: IntFilter<"ImportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ImportTemplateQueries"> | string | null
    query_name?: StringFilter<"ImportTemplateQueries"> | string
    allow_multiple?: BoolFilter<"ImportTemplateQueries"> | boolean
    is_individual?: BoolFilter<"ImportTemplateQueries"> | boolean
    before_lineitems?: BoolFilter<"ImportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ImportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ImportTemplateQueries"> | number
    company_id?: IntFilter<"ImportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ImportTemplateQueries"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateRelationFilter, ImportTemplateWhereInput>
  }

  export type ImportTemplateQueriesOrderByWithRelationInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    query_string?: SortOrderInput | SortOrder
    query_name?: SortOrder
    allow_multiple?: SortOrder
    is_individual?: SortOrder
    before_lineitems?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    import_template?: ImportTemplateOrderByWithRelationInput
    _relevance?: ImportTemplateQueriesOrderByRelevanceInput
  }

  export type ImportTemplateQueriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ImportTemplateQueriesCompany_idIdCompoundUniqueInput
    AND?: ImportTemplateQueriesWhereInput | ImportTemplateQueriesWhereInput[]
    OR?: ImportTemplateQueriesWhereInput[]
    NOT?: ImportTemplateQueriesWhereInput | ImportTemplateQueriesWhereInput[]
    import_template_id?: IntFilter<"ImportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ImportTemplateQueries"> | string | null
    query_name?: StringFilter<"ImportTemplateQueries"> | string
    allow_multiple?: BoolFilter<"ImportTemplateQueries"> | boolean
    is_individual?: BoolFilter<"ImportTemplateQueries"> | boolean
    before_lineitems?: BoolFilter<"ImportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ImportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ImportTemplateQueries"> | number
    company_id?: IntFilter<"ImportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ImportTemplateQueries"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateRelationFilter, ImportTemplateWhereInput>
  }, "id" | "company_id_id">

  export type ImportTemplateQueriesOrderByWithAggregationInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    query_string?: SortOrderInput | SortOrder
    query_name?: SortOrder
    allow_multiple?: SortOrder
    is_individual?: SortOrder
    before_lineitems?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: ImportTemplateQueriesCountOrderByAggregateInput
    _avg?: ImportTemplateQueriesAvgOrderByAggregateInput
    _max?: ImportTemplateQueriesMaxOrderByAggregateInput
    _min?: ImportTemplateQueriesMinOrderByAggregateInput
    _sum?: ImportTemplateQueriesSumOrderByAggregateInput
  }

  export type ImportTemplateQueriesScalarWhereWithAggregatesInput = {
    AND?: ImportTemplateQueriesScalarWhereWithAggregatesInput | ImportTemplateQueriesScalarWhereWithAggregatesInput[]
    OR?: ImportTemplateQueriesScalarWhereWithAggregatesInput[]
    NOT?: ImportTemplateQueriesScalarWhereWithAggregatesInput | ImportTemplateQueriesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ImportTemplateQueries"> | number
    import_template_id?: IntWithAggregatesFilter<"ImportTemplateQueries"> | number
    query_string?: StringNullableWithAggregatesFilter<"ImportTemplateQueries"> | string | null
    query_name?: StringWithAggregatesFilter<"ImportTemplateQueries"> | string
    allow_multiple?: BoolWithAggregatesFilter<"ImportTemplateQueries"> | boolean
    is_individual?: BoolWithAggregatesFilter<"ImportTemplateQueries"> | boolean
    before_lineitems?: BoolWithAggregatesFilter<"ImportTemplateQueries"> | boolean
    order_no?: DecimalWithAggregatesFilter<"ImportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntWithAggregatesFilter<"ImportTemplateQueries"> | number
    company_id?: IntWithAggregatesFilter<"ImportTemplateQueries"> | number
    created_at?: DateTimeWithAggregatesFilter<"ImportTemplateQueries"> | Date | string
  }

  export type DirectImportDetailsWhereInput = {
    AND?: DirectImportDetailsWhereInput | DirectImportDetailsWhereInput[]
    OR?: DirectImportDetailsWhereInput[]
    NOT?: DirectImportDetailsWhereInput | DirectImportDetailsWhereInput[]
    id?: IntFilter<"DirectImportDetails"> | number
    uuid?: UuidFilter<"DirectImportDetails"> | string
    import_template_id?: IntNullableFilter<"DirectImportDetails"> | number | null
    file_path?: StringNullableFilter<"DirectImportDetails"> | string | null
    file_name?: StringNullableFilter<"DirectImportDetails"> | string | null
    status_id?: IntFilter<"DirectImportDetails"> | number
    company_id?: IntFilter<"DirectImportDetails"> | number
    created_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    created_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    updated_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    updated_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    deleted_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    deleted_at?: DateTimeNullableFilter<"DirectImportDetails"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateNullableRelationFilter, ImportTemplateWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type DirectImportDetailsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrderInput | SortOrder
    file_path?: SortOrderInput | SortOrder
    file_name?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    import_template?: ImportTemplateOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    _relevance?: DirectImportDetailsOrderByRelevanceInput
  }

  export type DirectImportDetailsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DirectImportDetailsCompany_idIdCompoundUniqueInput
    AND?: DirectImportDetailsWhereInput | DirectImportDetailsWhereInput[]
    OR?: DirectImportDetailsWhereInput[]
    NOT?: DirectImportDetailsWhereInput | DirectImportDetailsWhereInput[]
    uuid?: UuidFilter<"DirectImportDetails"> | string
    import_template_id?: IntNullableFilter<"DirectImportDetails"> | number | null
    file_path?: StringNullableFilter<"DirectImportDetails"> | string | null
    file_name?: StringNullableFilter<"DirectImportDetails"> | string | null
    status_id?: IntFilter<"DirectImportDetails"> | number
    company_id?: IntFilter<"DirectImportDetails"> | number
    created_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    created_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    updated_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    updated_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    deleted_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    deleted_at?: DateTimeNullableFilter<"DirectImportDetails"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateNullableRelationFilter, ImportTemplateWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id">

  export type DirectImportDetailsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrderInput | SortOrder
    file_path?: SortOrderInput | SortOrder
    file_name?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DirectImportDetailsCountOrderByAggregateInput
    _avg?: DirectImportDetailsAvgOrderByAggregateInput
    _max?: DirectImportDetailsMaxOrderByAggregateInput
    _min?: DirectImportDetailsMinOrderByAggregateInput
    _sum?: DirectImportDetailsSumOrderByAggregateInput
  }

  export type DirectImportDetailsScalarWhereWithAggregatesInput = {
    AND?: DirectImportDetailsScalarWhereWithAggregatesInput | DirectImportDetailsScalarWhereWithAggregatesInput[]
    OR?: DirectImportDetailsScalarWhereWithAggregatesInput[]
    NOT?: DirectImportDetailsScalarWhereWithAggregatesInput | DirectImportDetailsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DirectImportDetails"> | number
    uuid?: UuidWithAggregatesFilter<"DirectImportDetails"> | string
    import_template_id?: IntNullableWithAggregatesFilter<"DirectImportDetails"> | number | null
    file_path?: StringNullableWithAggregatesFilter<"DirectImportDetails"> | string | null
    file_name?: StringNullableWithAggregatesFilter<"DirectImportDetails"> | string | null
    status_id?: IntWithAggregatesFilter<"DirectImportDetails"> | number
    company_id?: IntWithAggregatesFilter<"DirectImportDetails"> | number
    created_by?: IntNullableWithAggregatesFilter<"DirectImportDetails"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"DirectImportDetails"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"DirectImportDetails"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"DirectImportDetails"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"DirectImportDetails"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"DirectImportDetails"> | Date | string | null
  }

  export type ImportJobWhereInput = {
    AND?: ImportJobWhereInput | ImportJobWhereInput[]
    OR?: ImportJobWhereInput[]
    NOT?: ImportJobWhereInput | ImportJobWhereInput[]
    id?: IntFilter<"ImportJob"> | number
    uuid?: UuidFilter<"ImportJob"> | string
    import_template_id?: IntNullableFilter<"ImportJob"> | number | null
    name?: StringFilter<"ImportJob"> | string
    description?: StringNullableFilter<"ImportJob"> | string | null
    sequence_number?: StringNullableFilter<"ImportJob"> | string | null
    ignore_error_rows?: BoolFilter<"ImportJob"> | boolean
    header_details?: JsonNullableFilter<"ImportJob">
    table_config?: JsonNullableFilter<"ImportJob">
    total_rows?: IntFilter<"ImportJob"> | number
    completed_rows?: IntFilter<"ImportJob"> | number
    error_rows?: IntFilter<"ImportJob"> | number
    batch_process_count?: IntNullableFilter<"ImportJob"> | number | null
    job_status?: StringNullableFilter<"ImportJob"> | string | null
    last_processed_row_id?: IntNullableFilter<"ImportJob"> | number | null
    file_path?: StringNullableFilter<"ImportJob"> | string | null
    file_name?: StringNullableFilter<"ImportJob"> | string | null
    validation_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    validation_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    expected_completion_time?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    status_id?: IntFilter<"ImportJob"> | number
    company_id?: IntFilter<"ImportJob"> | number
    created_by?: IntNullableFilter<"ImportJob"> | number | null
    created_at?: DateTimeFilter<"ImportJob"> | Date | string
    updated_by?: IntNullableFilter<"ImportJob"> | number | null
    updated_at?: DateTimeFilter<"ImportJob"> | Date | string
    deleted_by?: IntNullableFilter<"ImportJob"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateNullableRelationFilter, ImportTemplateWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ImportJobLineItemListRelationFilter
  }

  export type ImportJobOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrderInput | SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    sequence_number?: SortOrderInput | SortOrder
    ignore_error_rows?: SortOrder
    header_details?: SortOrderInput | SortOrder
    table_config?: SortOrderInput | SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrderInput | SortOrder
    job_status?: SortOrderInput | SortOrder
    last_processed_row_id?: SortOrderInput | SortOrder
    file_path?: SortOrderInput | SortOrder
    file_name?: SortOrderInput | SortOrder
    validation_started_at?: SortOrderInput | SortOrder
    validation_completed_at?: SortOrderInput | SortOrder
    processing_started_at?: SortOrderInput | SortOrder
    processing_completed_at?: SortOrderInput | SortOrder
    expected_completion_time?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    import_template?: ImportTemplateOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    line_items?: ImportJobLineItemOrderByRelationAggregateInput
    _relevance?: ImportJobOrderByRelevanceInput
  }

  export type ImportJobWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ImportJobCompany_idIdCompoundUniqueInput
    AND?: ImportJobWhereInput | ImportJobWhereInput[]
    OR?: ImportJobWhereInput[]
    NOT?: ImportJobWhereInput | ImportJobWhereInput[]
    uuid?: UuidFilter<"ImportJob"> | string
    import_template_id?: IntNullableFilter<"ImportJob"> | number | null
    name?: StringFilter<"ImportJob"> | string
    description?: StringNullableFilter<"ImportJob"> | string | null
    sequence_number?: StringNullableFilter<"ImportJob"> | string | null
    ignore_error_rows?: BoolFilter<"ImportJob"> | boolean
    header_details?: JsonNullableFilter<"ImportJob">
    table_config?: JsonNullableFilter<"ImportJob">
    total_rows?: IntFilter<"ImportJob"> | number
    completed_rows?: IntFilter<"ImportJob"> | number
    error_rows?: IntFilter<"ImportJob"> | number
    batch_process_count?: IntNullableFilter<"ImportJob"> | number | null
    job_status?: StringNullableFilter<"ImportJob"> | string | null
    last_processed_row_id?: IntNullableFilter<"ImportJob"> | number | null
    file_path?: StringNullableFilter<"ImportJob"> | string | null
    file_name?: StringNullableFilter<"ImportJob"> | string | null
    validation_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    validation_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    expected_completion_time?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    status_id?: IntFilter<"ImportJob"> | number
    company_id?: IntFilter<"ImportJob"> | number
    created_by?: IntNullableFilter<"ImportJob"> | number | null
    created_at?: DateTimeFilter<"ImportJob"> | Date | string
    updated_by?: IntNullableFilter<"ImportJob"> | number | null
    updated_at?: DateTimeFilter<"ImportJob"> | Date | string
    deleted_by?: IntNullableFilter<"ImportJob"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_template?: XOR<ImportTemplateNullableRelationFilter, ImportTemplateWhereInput> | null
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ImportJobLineItemListRelationFilter
  }, "id" | "company_id_id">

  export type ImportJobOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrderInput | SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    sequence_number?: SortOrderInput | SortOrder
    ignore_error_rows?: SortOrder
    header_details?: SortOrderInput | SortOrder
    table_config?: SortOrderInput | SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrderInput | SortOrder
    job_status?: SortOrderInput | SortOrder
    last_processed_row_id?: SortOrderInput | SortOrder
    file_path?: SortOrderInput | SortOrder
    file_name?: SortOrderInput | SortOrder
    validation_started_at?: SortOrderInput | SortOrder
    validation_completed_at?: SortOrderInput | SortOrder
    processing_started_at?: SortOrderInput | SortOrder
    processing_completed_at?: SortOrderInput | SortOrder
    expected_completion_time?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ImportJobCountOrderByAggregateInput
    _avg?: ImportJobAvgOrderByAggregateInput
    _max?: ImportJobMaxOrderByAggregateInput
    _min?: ImportJobMinOrderByAggregateInput
    _sum?: ImportJobSumOrderByAggregateInput
  }

  export type ImportJobScalarWhereWithAggregatesInput = {
    AND?: ImportJobScalarWhereWithAggregatesInput | ImportJobScalarWhereWithAggregatesInput[]
    OR?: ImportJobScalarWhereWithAggregatesInput[]
    NOT?: ImportJobScalarWhereWithAggregatesInput | ImportJobScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ImportJob"> | number
    uuid?: UuidWithAggregatesFilter<"ImportJob"> | string
    import_template_id?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    name?: StringWithAggregatesFilter<"ImportJob"> | string
    description?: StringNullableWithAggregatesFilter<"ImportJob"> | string | null
    sequence_number?: StringNullableWithAggregatesFilter<"ImportJob"> | string | null
    ignore_error_rows?: BoolWithAggregatesFilter<"ImportJob"> | boolean
    header_details?: JsonNullableWithAggregatesFilter<"ImportJob">
    table_config?: JsonNullableWithAggregatesFilter<"ImportJob">
    total_rows?: IntWithAggregatesFilter<"ImportJob"> | number
    completed_rows?: IntWithAggregatesFilter<"ImportJob"> | number
    error_rows?: IntWithAggregatesFilter<"ImportJob"> | number
    batch_process_count?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    job_status?: StringNullableWithAggregatesFilter<"ImportJob"> | string | null
    last_processed_row_id?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    file_path?: StringNullableWithAggregatesFilter<"ImportJob"> | string | null
    file_name?: StringNullableWithAggregatesFilter<"ImportJob"> | string | null
    validation_started_at?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
    validation_completed_at?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
    processing_started_at?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
    processing_completed_at?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
    expected_completion_time?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
    status_id?: IntWithAggregatesFilter<"ImportJob"> | number
    company_id?: IntWithAggregatesFilter<"ImportJob"> | number
    created_by?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ImportJob"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ImportJob"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ImportJob"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null
  }

  export type ImportJobLineItemWhereInput = {
    AND?: ImportJobLineItemWhereInput | ImportJobLineItemWhereInput[]
    OR?: ImportJobLineItemWhereInput[]
    NOT?: ImportJobLineItemWhereInput | ImportJobLineItemWhereInput[]
    id?: IntFilter<"ImportJobLineItem"> | number
    import_job_id?: IntFilter<"ImportJobLineItem"> | number
    row_object?: JsonNullableFilter<"ImportJobLineItem">
    job_status?: StringNullableFilter<"ImportJobLineItem"> | string | null
    status_id?: IntFilter<"ImportJobLineItem"> | number
    company_id?: IntFilter<"ImportJobLineItem"> | number
    created_at?: DateTimeFilter<"ImportJobLineItem"> | Date | string
    validated_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_job?: XOR<ImportJobRelationFilter, ImportJobWhereInput>
  }

  export type ImportJobLineItemOrderByWithRelationInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    row_object?: SortOrderInput | SortOrder
    job_status?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    validated_at?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    import_job?: ImportJobOrderByWithRelationInput
    _relevance?: ImportJobLineItemOrderByRelevanceInput
  }

  export type ImportJobLineItemWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ImportJobLineItemCompany_idIdCompoundUniqueInput
    AND?: ImportJobLineItemWhereInput | ImportJobLineItemWhereInput[]
    OR?: ImportJobLineItemWhereInput[]
    NOT?: ImportJobLineItemWhereInput | ImportJobLineItemWhereInput[]
    import_job_id?: IntFilter<"ImportJobLineItem"> | number
    row_object?: JsonNullableFilter<"ImportJobLineItem">
    job_status?: StringNullableFilter<"ImportJobLineItem"> | string | null
    status_id?: IntFilter<"ImportJobLineItem"> | number
    company_id?: IntFilter<"ImportJobLineItem"> | number
    created_at?: DateTimeFilter<"ImportJobLineItem"> | Date | string
    validated_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    import_job?: XOR<ImportJobRelationFilter, ImportJobWhereInput>
  }, "id" | "company_id_id">

  export type ImportJobLineItemOrderByWithAggregationInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    row_object?: SortOrderInput | SortOrder
    job_status?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    validated_at?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    _count?: ImportJobLineItemCountOrderByAggregateInput
    _avg?: ImportJobLineItemAvgOrderByAggregateInput
    _max?: ImportJobLineItemMaxOrderByAggregateInput
    _min?: ImportJobLineItemMinOrderByAggregateInput
    _sum?: ImportJobLineItemSumOrderByAggregateInput
  }

  export type ImportJobLineItemScalarWhereWithAggregatesInput = {
    AND?: ImportJobLineItemScalarWhereWithAggregatesInput | ImportJobLineItemScalarWhereWithAggregatesInput[]
    OR?: ImportJobLineItemScalarWhereWithAggregatesInput[]
    NOT?: ImportJobLineItemScalarWhereWithAggregatesInput | ImportJobLineItemScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ImportJobLineItem"> | number
    import_job_id?: IntWithAggregatesFilter<"ImportJobLineItem"> | number
    row_object?: JsonNullableWithAggregatesFilter<"ImportJobLineItem">
    job_status?: StringNullableWithAggregatesFilter<"ImportJobLineItem"> | string | null
    status_id?: IntWithAggregatesFilter<"ImportJobLineItem"> | number
    company_id?: IntWithAggregatesFilter<"ImportJobLineItem"> | number
    created_at?: DateTimeWithAggregatesFilter<"ImportJobLineItem"> | Date | string
    validated_at?: DateTimeNullableWithAggregatesFilter<"ImportJobLineItem"> | Date | string | null
    processed_at?: DateTimeNullableWithAggregatesFilter<"ImportJobLineItem"> | Date | string | null
  }

  export type ExportTemplateWhereInput = {
    AND?: ExportTemplateWhereInput | ExportTemplateWhereInput[]
    OR?: ExportTemplateWhereInput[]
    NOT?: ExportTemplateWhereInput | ExportTemplateWhereInput[]
    id?: IntFilter<"ExportTemplate"> | number
    uuid?: UuidFilter<"ExportTemplate"> | string
    name?: StringFilter<"ExportTemplate"> | string
    slug?: StringFilter<"ExportTemplate"> | string
    description?: StringNullableFilter<"ExportTemplate"> | string | null
    max_row_count?: IntFilter<"ExportTemplate"> | number
    header_row?: IntFilter<"ExportTemplate"> | number
    data_start_row?: IntFilter<"ExportTemplate"> | number
    data_end_row?: IntFilter<"ExportTemplate"> | number
    data_filepath?: StringNullableFilter<"ExportTemplate"> | string | null
    template_type?: EnumTemplateTypeFilter<"ExportTemplate"> | $Enums.TemplateType
    pdf_configurations?: JsonNullableFilter<"ExportTemplate">
    status_id?: IntFilter<"ExportTemplate"> | number
    company_id?: IntFilter<"ExportTemplate"> | number
    created_by?: IntNullableFilter<"ExportTemplate"> | number | null
    created_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ExportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ExportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ExportTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ExportTemplateLineItemListRelationFilter
    queries?: ExportTemplateQueriesListRelationFilter
  }

  export type ExportTemplateOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    data_filepath?: SortOrderInput | SortOrder
    template_type?: SortOrder
    pdf_configurations?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created?: UserOrderByWithRelationInput
    updated?: UserOrderByWithRelationInput
    deleted?: UserOrderByWithRelationInput
    line_items?: ExportTemplateLineItemOrderByRelationAggregateInput
    queries?: ExportTemplateQueriesOrderByRelationAggregateInput
    _relevance?: ExportTemplateOrderByRelevanceInput
  }

  export type ExportTemplateWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ExportTemplateCompany_idIdCompoundUniqueInput
    company_id_slug?: ExportTemplateCompany_idSlugCompoundUniqueInput
    AND?: ExportTemplateWhereInput | ExportTemplateWhereInput[]
    OR?: ExportTemplateWhereInput[]
    NOT?: ExportTemplateWhereInput | ExportTemplateWhereInput[]
    uuid?: UuidFilter<"ExportTemplate"> | string
    name?: StringFilter<"ExportTemplate"> | string
    slug?: StringFilter<"ExportTemplate"> | string
    description?: StringNullableFilter<"ExportTemplate"> | string | null
    max_row_count?: IntFilter<"ExportTemplate"> | number
    header_row?: IntFilter<"ExportTemplate"> | number
    data_start_row?: IntFilter<"ExportTemplate"> | number
    data_end_row?: IntFilter<"ExportTemplate"> | number
    data_filepath?: StringNullableFilter<"ExportTemplate"> | string | null
    template_type?: EnumTemplateTypeFilter<"ExportTemplate"> | $Enums.TemplateType
    pdf_configurations?: JsonNullableFilter<"ExportTemplate">
    status_id?: IntFilter<"ExportTemplate"> | number
    company_id?: IntFilter<"ExportTemplate"> | number
    created_by?: IntNullableFilter<"ExportTemplate"> | number | null
    created_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ExportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ExportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ExportTemplate"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    line_items?: ExportTemplateLineItemListRelationFilter
    queries?: ExportTemplateQueriesListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug">

  export type ExportTemplateOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    data_filepath?: SortOrderInput | SortOrder
    template_type?: SortOrder
    pdf_configurations?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ExportTemplateCountOrderByAggregateInput
    _avg?: ExportTemplateAvgOrderByAggregateInput
    _max?: ExportTemplateMaxOrderByAggregateInput
    _min?: ExportTemplateMinOrderByAggregateInput
    _sum?: ExportTemplateSumOrderByAggregateInput
  }

  export type ExportTemplateScalarWhereWithAggregatesInput = {
    AND?: ExportTemplateScalarWhereWithAggregatesInput | ExportTemplateScalarWhereWithAggregatesInput[]
    OR?: ExportTemplateScalarWhereWithAggregatesInput[]
    NOT?: ExportTemplateScalarWhereWithAggregatesInput | ExportTemplateScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ExportTemplate"> | number
    uuid?: UuidWithAggregatesFilter<"ExportTemplate"> | string
    name?: StringWithAggregatesFilter<"ExportTemplate"> | string
    slug?: StringWithAggregatesFilter<"ExportTemplate"> | string
    description?: StringNullableWithAggregatesFilter<"ExportTemplate"> | string | null
    max_row_count?: IntWithAggregatesFilter<"ExportTemplate"> | number
    header_row?: IntWithAggregatesFilter<"ExportTemplate"> | number
    data_start_row?: IntWithAggregatesFilter<"ExportTemplate"> | number
    data_end_row?: IntWithAggregatesFilter<"ExportTemplate"> | number
    data_filepath?: StringNullableWithAggregatesFilter<"ExportTemplate"> | string | null
    template_type?: EnumTemplateTypeWithAggregatesFilter<"ExportTemplate"> | $Enums.TemplateType
    pdf_configurations?: JsonNullableWithAggregatesFilter<"ExportTemplate">
    status_id?: IntWithAggregatesFilter<"ExportTemplate"> | number
    company_id?: IntWithAggregatesFilter<"ExportTemplate"> | number
    created_by?: IntNullableWithAggregatesFilter<"ExportTemplate"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ExportTemplate"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ExportTemplate"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ExportTemplate"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ExportTemplate"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ExportTemplate"> | Date | string | null
  }

  export type ExportTemplateLineItemWhereInput = {
    AND?: ExportTemplateLineItemWhereInput | ExportTemplateLineItemWhereInput[]
    OR?: ExportTemplateLineItemWhereInput[]
    NOT?: ExportTemplateLineItemWhereInput | ExportTemplateLineItemWhereInput[]
    id?: IntFilter<"ExportTemplateLineItem"> | number
    export_template_id?: IntFilter<"ExportTemplateLineItem"> | number
    field_name?: StringFilter<"ExportTemplateLineItem"> | string
    display_name?: StringFilter<"ExportTemplateLineItem"> | string
    field_table?: StringFilter<"ExportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ExportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    default_value?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    column_name?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    is_individual?: BoolFilter<"ExportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ExportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ExportTemplateLineItem"> | number
    company_id?: IntFilter<"ExportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ExportTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    export_template?: XOR<ExportTemplateRelationFilter, ExportTemplateWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }

  export type ExportTemplateLineItemOrderByWithRelationInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    default_value?: SortOrderInput | SortOrder
    column_name?: SortOrderInput | SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrderInput | SortOrder
    field_type_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    export_template?: ExportTemplateOrderByWithRelationInput
    field_type?: FieldTypeOrderByWithRelationInput
    _relevance?: ExportTemplateLineItemOrderByRelevanceInput
  }

  export type ExportTemplateLineItemWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ExportTemplateLineItemCompany_idIdCompoundUniqueInput
    company_id_export_template_id_field_table_field_name?: ExportTemplateLineItemCompany_idExport_template_idField_tableField_nameCompoundUniqueInput
    company_id_export_template_id_display_name?: ExportTemplateLineItemCompany_idExport_template_idDisplay_nameCompoundUniqueInput
    AND?: ExportTemplateLineItemWhereInput | ExportTemplateLineItemWhereInput[]
    OR?: ExportTemplateLineItemWhereInput[]
    NOT?: ExportTemplateLineItemWhereInput | ExportTemplateLineItemWhereInput[]
    export_template_id?: IntFilter<"ExportTemplateLineItem"> | number
    field_name?: StringFilter<"ExportTemplateLineItem"> | string
    display_name?: StringFilter<"ExportTemplateLineItem"> | string
    field_table?: StringFilter<"ExportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ExportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    default_value?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    column_name?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    is_individual?: BoolFilter<"ExportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ExportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ExportTemplateLineItem"> | number
    company_id?: IntFilter<"ExportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ExportTemplateLineItem"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    export_template?: XOR<ExportTemplateRelationFilter, ExportTemplateWhereInput>
    field_type?: XOR<FieldTypeNullableRelationFilter, FieldTypeWhereInput> | null
  }, "id" | "company_id_id" | "company_id_export_template_id_field_table_field_name" | "company_id_export_template_id_display_name">

  export type ExportTemplateLineItemOrderByWithAggregationInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    default_value?: SortOrderInput | SortOrder
    column_name?: SortOrderInput | SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrderInput | SortOrder
    field_type_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: ExportTemplateLineItemCountOrderByAggregateInput
    _avg?: ExportTemplateLineItemAvgOrderByAggregateInput
    _max?: ExportTemplateLineItemMaxOrderByAggregateInput
    _min?: ExportTemplateLineItemMinOrderByAggregateInput
    _sum?: ExportTemplateLineItemSumOrderByAggregateInput
  }

  export type ExportTemplateLineItemScalarWhereWithAggregatesInput = {
    AND?: ExportTemplateLineItemScalarWhereWithAggregatesInput | ExportTemplateLineItemScalarWhereWithAggregatesInput[]
    OR?: ExportTemplateLineItemScalarWhereWithAggregatesInput[]
    NOT?: ExportTemplateLineItemScalarWhereWithAggregatesInput | ExportTemplateLineItemScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ExportTemplateLineItem"> | number
    export_template_id?: IntWithAggregatesFilter<"ExportTemplateLineItem"> | number
    field_name?: StringWithAggregatesFilter<"ExportTemplateLineItem"> | string
    display_name?: StringWithAggregatesFilter<"ExportTemplateLineItem"> | string
    field_table?: StringWithAggregatesFilter<"ExportTemplateLineItem"> | string
    order_no?: DecimalWithAggregatesFilter<"ExportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    default_value?: StringNullableWithAggregatesFilter<"ExportTemplateLineItem"> | string | null
    column_name?: StringNullableWithAggregatesFilter<"ExportTemplateLineItem"> | string | null
    is_individual?: BoolWithAggregatesFilter<"ExportTemplateLineItem"> | boolean
    individual_column?: StringNullableWithAggregatesFilter<"ExportTemplateLineItem"> | string | null
    field_type_id?: IntNullableWithAggregatesFilter<"ExportTemplateLineItem"> | number | null
    status_id?: IntWithAggregatesFilter<"ExportTemplateLineItem"> | number
    company_id?: IntWithAggregatesFilter<"ExportTemplateLineItem"> | number
    created_at?: DateTimeWithAggregatesFilter<"ExportTemplateLineItem"> | Date | string
  }

  export type ExportTemplateQueriesWhereInput = {
    AND?: ExportTemplateQueriesWhereInput | ExportTemplateQueriesWhereInput[]
    OR?: ExportTemplateQueriesWhereInput[]
    NOT?: ExportTemplateQueriesWhereInput | ExportTemplateQueriesWhereInput[]
    id?: IntFilter<"ExportTemplateQueries"> | number
    export_template_id?: IntFilter<"ExportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ExportTemplateQueries"> | string | null
    query_name?: StringFilter<"ExportTemplateQueries"> | string
    query_procedure?: StringFilter<"ExportTemplateQueries"> | string
    is_individual?: BoolFilter<"ExportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ExportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ExportTemplateQueries"> | number
    company_id?: IntFilter<"ExportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ExportTemplateQueries"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    export_template?: XOR<ExportTemplateRelationFilter, ExportTemplateWhereInput>
  }

  export type ExportTemplateQueriesOrderByWithRelationInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    query_string?: SortOrderInput | SortOrder
    query_name?: SortOrder
    query_procedure?: SortOrder
    is_individual?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    export_template?: ExportTemplateOrderByWithRelationInput
    _relevance?: ExportTemplateQueriesOrderByRelevanceInput
  }

  export type ExportTemplateQueriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ExportTemplateQueriesCompany_idIdCompoundUniqueInput
    AND?: ExportTemplateQueriesWhereInput | ExportTemplateQueriesWhereInput[]
    OR?: ExportTemplateQueriesWhereInput[]
    NOT?: ExportTemplateQueriesWhereInput | ExportTemplateQueriesWhereInput[]
    export_template_id?: IntFilter<"ExportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ExportTemplateQueries"> | string | null
    query_name?: StringFilter<"ExportTemplateQueries"> | string
    query_procedure?: StringFilter<"ExportTemplateQueries"> | string
    is_individual?: BoolFilter<"ExportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ExportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ExportTemplateQueries"> | number
    company_id?: IntFilter<"ExportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ExportTemplateQueries"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    export_template?: XOR<ExportTemplateRelationFilter, ExportTemplateWhereInput>
  }, "id" | "company_id_id">

  export type ExportTemplateQueriesOrderByWithAggregationInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    query_string?: SortOrderInput | SortOrder
    query_name?: SortOrder
    query_procedure?: SortOrder
    is_individual?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: ExportTemplateQueriesCountOrderByAggregateInput
    _avg?: ExportTemplateQueriesAvgOrderByAggregateInput
    _max?: ExportTemplateQueriesMaxOrderByAggregateInput
    _min?: ExportTemplateQueriesMinOrderByAggregateInput
    _sum?: ExportTemplateQueriesSumOrderByAggregateInput
  }

  export type ExportTemplateQueriesScalarWhereWithAggregatesInput = {
    AND?: ExportTemplateQueriesScalarWhereWithAggregatesInput | ExportTemplateQueriesScalarWhereWithAggregatesInput[]
    OR?: ExportTemplateQueriesScalarWhereWithAggregatesInput[]
    NOT?: ExportTemplateQueriesScalarWhereWithAggregatesInput | ExportTemplateQueriesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ExportTemplateQueries"> | number
    export_template_id?: IntWithAggregatesFilter<"ExportTemplateQueries"> | number
    query_string?: StringNullableWithAggregatesFilter<"ExportTemplateQueries"> | string | null
    query_name?: StringWithAggregatesFilter<"ExportTemplateQueries"> | string
    query_procedure?: StringWithAggregatesFilter<"ExportTemplateQueries"> | string
    is_individual?: BoolWithAggregatesFilter<"ExportTemplateQueries"> | boolean
    order_no?: DecimalWithAggregatesFilter<"ExportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntWithAggregatesFilter<"ExportTemplateQueries"> | number
    company_id?: IntWithAggregatesFilter<"ExportTemplateQueries"> | number
    created_at?: DateTimeWithAggregatesFilter<"ExportTemplateQueries"> | Date | string
  }

  export type StatusWhereInput = {
    AND?: StatusWhereInput | StatusWhereInput[]
    OR?: StatusWhereInput[]
    NOT?: StatusWhereInput | StatusWhereInput[]
    id?: IntFilter<"Status"> | number
    name?: StringFilter<"Status"> | string
    slug?: StringFilter<"Status"> | string
    description?: StringNullableFilter<"Status"> | string | null
    status_id?: IntNullableFilter<"Status"> | number | null
    status?: XOR<StatusNullableRelationFilter, StatusWhereInput> | null
    status_list?: StatusListRelationFilter
    shipment_images?: ShipmentImagesListRelationFilter
    users?: UserListRelationFilter
    request_logs?: RequestLogListRelationFilter
    permissions?: PermissionsListRelationFilter
    roles?: RoleListRelationFilter
    languages?: LanguageListRelationFilter
    language_contents?: LanguageContentListRelationFilter
    menuitems?: MenuItemsListRelationFilter
    menus?: MenusListRelationFilter
    master_grids?: MasterEntityListRelationFilter
    master_grid_line_items?: MasterEntityLineItemListRelationFilter
    field_types?: FieldTypeListRelationFilter
    menu_types?: MenuTypeListRelationFilter
    notification_template_processes?: NotificationTemplateProcessListRelationFilter
    notification_template_tags?: NotificationTemplateTagListRelationFilter
    notification_template_receiver_tags?: NotificationTemplateRecipientTagListRelationFilter
    notification_templates?: NotificationTemplateListRelationFilter
    notification_process_jobs?: NotificationProcessJobListRelationFilter
    notification_job?: NotificationJobListRelationFilter
    import_templates?: ImportTemplateListRelationFilter
    import_template_line_items?: ImportTemplateLineItemListRelationFilter
    import_template_queries?: ImportTemplateQueriesListRelationFilter
    export_templates?: ExportTemplateListRelationFilter
    export_template_line_items?: ExportTemplateLineItemListRelationFilter
    export_template_queries?: ExportTemplateQueriesListRelationFilter
    designations?: DesignationListRelationFilter
    departments?: DepartmentListRelationFilter
    audit_logs?: AuditLogListRelationFilter
    financial_years?: FinancialYearListRelationFilter
    document_sequences?: DocumentSequenceListRelationFilter
    file_upload_logs?: FileUploadLogListRelationFilter
    device_registration?: DeviceRegistrationListRelationFilter
    import_job?: ImportJobListRelationFilter
    import_job_line_items?: ImportJobLineItemListRelationFilter
    policies?: PoliciesListRelationFilter
    app_versions?: AppversionsListRelationFilter
    approval_workflows?: ApprovalWorkflowListRelationFilter
    approval_process_job_workflows?: ApprovalProcessJobWorkflowListRelationFilter
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagListRelationFilter
    approval_workflow_assignments?: ApprovalWorkflowAssignmentListRelationFilter
    approval_process_job?: ApprovalProcessJobListRelationFilter
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserListRelationFilter
    delegations?: DelegationListRelationFilter
    about_lcp?: AboutLCPListRelationFilter
    schema_chunks?: SchemaChunkListRelationFilter
    openai_usage_logs?: OpenaiUsageLogListRelationFilter
    embedding_vector_logs?: EmbeddingVectorLogsListRelationFilter
    query_execution_log?: QueryExecutionLogListRelationFilter
    child_processes?: ChildProcessListRelationFilter
    child_process_logs?: ChildProcessLogListRelationFilter
    carousel_templates?: CarouselTemplateListRelationFilter
    carousel_template_line_items?: CarouselTemplateLineItemListRelationFilter
    scheduled_job_logs?: ScheduledJobLogsListRelationFilter
    scheduled_jobs?: ScheduledJobListRelationFilter
    app_categories?: CategoriesListRelationFilter
    theme_attributes?: ThemeAttributesListRelationFilter
    themes?: ThemesListRelationFilter
    theme_line_items?: ThemeLineItemsListRelationFilter
    barcodeTemplates?: BarcodeTemplatesListRelationFilter
    user_login_histories?: UserLoginHistoryListRelationFilter
    direct_import_details?: DirectImportDetailsListRelationFilter
    delivery_notes?: DeliveryNotesListRelationFilter
    delivery_note_line_items?: DeliveryNoteLineItemsListRelationFilter
    customers_delivery_addresses?: CustomerDeliveryAddressesListRelationFilter
    shipments?: ShipmentsListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
    vehicles?: VehiclesListRelationFilter
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    geofences?: GeoFencesListRelationFilter
    geofence_tracking?: GeoFenceTrackingListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    delivery_note_status?: DeliveryNoteStatusListRelationFilter
    erp_logs?: ErpLogsListRelationFilter
    erp_logs_line_items?: ErpLogsLineItemsListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
    temp_session_data?: TempSessionDataListRelationFilter
    shipment_status?: ShipmentStatusListRelationFilter
    shipment_status_history?: ShipmentStatusHistoryListRelationFilter
    pod_status?: PodStatusListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryListRelationFilter
    tree_builder_examples?: TreeBuilderExampleListRelationFilter
    user_search_configurations?: UserSearchConfigurationListRelationFilter
  }

  export type StatusOrderByWithRelationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    status_list?: StatusOrderByRelationAggregateInput
    shipment_images?: ShipmentImagesOrderByRelationAggregateInput
    users?: UserOrderByRelationAggregateInput
    request_logs?: RequestLogOrderByRelationAggregateInput
    permissions?: PermissionsOrderByRelationAggregateInput
    roles?: RoleOrderByRelationAggregateInput
    languages?: LanguageOrderByRelationAggregateInput
    language_contents?: LanguageContentOrderByRelationAggregateInput
    menuitems?: MenuItemsOrderByRelationAggregateInput
    menus?: MenusOrderByRelationAggregateInput
    master_grids?: MasterEntityOrderByRelationAggregateInput
    master_grid_line_items?: MasterEntityLineItemOrderByRelationAggregateInput
    field_types?: FieldTypeOrderByRelationAggregateInput
    menu_types?: menuTypeOrderByRelationAggregateInput
    notification_template_processes?: NotificationTemplateProcessOrderByRelationAggregateInput
    notification_template_tags?: NotificationTemplateTagOrderByRelationAggregateInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagOrderByRelationAggregateInput
    notification_templates?: NotificationTemplateOrderByRelationAggregateInput
    notification_process_jobs?: NotificationProcessJobOrderByRelationAggregateInput
    notification_job?: NotificationJobOrderByRelationAggregateInput
    import_templates?: ImportTemplateOrderByRelationAggregateInput
    import_template_line_items?: ImportTemplateLineItemOrderByRelationAggregateInput
    import_template_queries?: ImportTemplateQueriesOrderByRelationAggregateInput
    export_templates?: ExportTemplateOrderByRelationAggregateInput
    export_template_line_items?: ExportTemplateLineItemOrderByRelationAggregateInput
    export_template_queries?: ExportTemplateQueriesOrderByRelationAggregateInput
    designations?: DesignationOrderByRelationAggregateInput
    departments?: DepartmentOrderByRelationAggregateInput
    audit_logs?: AuditLogOrderByRelationAggregateInput
    financial_years?: FinancialYearOrderByRelationAggregateInput
    document_sequences?: DocumentSequenceOrderByRelationAggregateInput
    file_upload_logs?: FileUploadLogOrderByRelationAggregateInput
    device_registration?: DeviceRegistrationOrderByRelationAggregateInput
    import_job?: ImportJobOrderByRelationAggregateInput
    import_job_line_items?: ImportJobLineItemOrderByRelationAggregateInput
    policies?: PoliciesOrderByRelationAggregateInput
    app_versions?: AppversionsOrderByRelationAggregateInput
    approval_workflows?: ApprovalWorkflowOrderByRelationAggregateInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowOrderByRelationAggregateInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagOrderByRelationAggregateInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    approval_process_job?: ApprovalProcessJobOrderByRelationAggregateInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserOrderByRelationAggregateInput
    delegations?: DelegationOrderByRelationAggregateInput
    about_lcp?: AboutLCPOrderByRelationAggregateInput
    schema_chunks?: SchemaChunkOrderByRelationAggregateInput
    openai_usage_logs?: OpenaiUsageLogOrderByRelationAggregateInput
    embedding_vector_logs?: EmbeddingVectorLogsOrderByRelationAggregateInput
    query_execution_log?: QueryExecutionLogOrderByRelationAggregateInput
    child_processes?: ChildProcessOrderByRelationAggregateInput
    child_process_logs?: ChildProcessLogOrderByRelationAggregateInput
    carousel_templates?: CarouselTemplateOrderByRelationAggregateInput
    carousel_template_line_items?: CarouselTemplateLineItemOrderByRelationAggregateInput
    scheduled_job_logs?: ScheduledJobLogsOrderByRelationAggregateInput
    scheduled_jobs?: ScheduledJobOrderByRelationAggregateInput
    app_categories?: CategoriesOrderByRelationAggregateInput
    theme_attributes?: ThemeAttributesOrderByRelationAggregateInput
    themes?: ThemesOrderByRelationAggregateInput
    theme_line_items?: ThemeLineItemsOrderByRelationAggregateInput
    barcodeTemplates?: BarcodeTemplatesOrderByRelationAggregateInput
    user_login_histories?: UserLoginHistoryOrderByRelationAggregateInput
    direct_import_details?: DirectImportDetailsOrderByRelationAggregateInput
    delivery_notes?: DeliveryNotesOrderByRelationAggregateInput
    delivery_note_line_items?: DeliveryNoteLineItemsOrderByRelationAggregateInput
    customers_delivery_addresses?: CustomerDeliveryAddressesOrderByRelationAggregateInput
    shipments?: ShipmentsOrderByRelationAggregateInput
    shipment_customers?: ShipmentCustomersOrderByRelationAggregateInput
    shipment_location?: ShipmentsLocationOrderByRelationAggregateInput
    shipment_delivery_notes?: ShipmentDeliveryNotesOrderByRelationAggregateInput
    vehicles?: VehiclesOrderByRelationAggregateInput
    vehicle_gps_data?: VehiclesGpsDataOrderByRelationAggregateInput
    geofences?: GeoFencesOrderByRelationAggregateInput
    geofence_tracking?: GeoFenceTrackingOrderByRelationAggregateInput
    customer_geofence_mapping?: CustomerGeoFenceMappingOrderByRelationAggregateInput
    delivery_note_status?: DeliveryNoteStatusOrderByRelationAggregateInput
    erp_logs?: ErpLogsOrderByRelationAggregateInput
    erp_logs_line_items?: ErpLogsLineItemsOrderByRelationAggregateInput
    vehicle_user_mapping?: VehicleUserMappingOrderByRelationAggregateInput
    vehicle_geofence_history?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    temp_session_data?: TempSessionDataOrderByRelationAggregateInput
    shipment_status?: ShipmentStatusOrderByRelationAggregateInput
    shipment_status_history?: ShipmentStatusHistoryOrderByRelationAggregateInput
    pod_status?: PodStatusOrderByRelationAggregateInput
    vehicle_trip_histories?: VehicleTripHistoriesOrderByRelationAggregateInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryOrderByRelationAggregateInput
    tree_builder_examples?: TreeBuilderExampleOrderByRelationAggregateInput
    user_search_configurations?: userSearchConfigurationOrderByRelationAggregateInput
    _relevance?: StatusOrderByRelevanceInput
  }

  export type StatusWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    slug?: string
    AND?: StatusWhereInput | StatusWhereInput[]
    OR?: StatusWhereInput[]
    NOT?: StatusWhereInput | StatusWhereInput[]
    name?: StringFilter<"Status"> | string
    description?: StringNullableFilter<"Status"> | string | null
    status_id?: IntNullableFilter<"Status"> | number | null
    status?: XOR<StatusNullableRelationFilter, StatusWhereInput> | null
    status_list?: StatusListRelationFilter
    shipment_images?: ShipmentImagesListRelationFilter
    users?: UserListRelationFilter
    request_logs?: RequestLogListRelationFilter
    permissions?: PermissionsListRelationFilter
    roles?: RoleListRelationFilter
    languages?: LanguageListRelationFilter
    language_contents?: LanguageContentListRelationFilter
    menuitems?: MenuItemsListRelationFilter
    menus?: MenusListRelationFilter
    master_grids?: MasterEntityListRelationFilter
    master_grid_line_items?: MasterEntityLineItemListRelationFilter
    field_types?: FieldTypeListRelationFilter
    menu_types?: MenuTypeListRelationFilter
    notification_template_processes?: NotificationTemplateProcessListRelationFilter
    notification_template_tags?: NotificationTemplateTagListRelationFilter
    notification_template_receiver_tags?: NotificationTemplateRecipientTagListRelationFilter
    notification_templates?: NotificationTemplateListRelationFilter
    notification_process_jobs?: NotificationProcessJobListRelationFilter
    notification_job?: NotificationJobListRelationFilter
    import_templates?: ImportTemplateListRelationFilter
    import_template_line_items?: ImportTemplateLineItemListRelationFilter
    import_template_queries?: ImportTemplateQueriesListRelationFilter
    export_templates?: ExportTemplateListRelationFilter
    export_template_line_items?: ExportTemplateLineItemListRelationFilter
    export_template_queries?: ExportTemplateQueriesListRelationFilter
    designations?: DesignationListRelationFilter
    departments?: DepartmentListRelationFilter
    audit_logs?: AuditLogListRelationFilter
    financial_years?: FinancialYearListRelationFilter
    document_sequences?: DocumentSequenceListRelationFilter
    file_upload_logs?: FileUploadLogListRelationFilter
    device_registration?: DeviceRegistrationListRelationFilter
    import_job?: ImportJobListRelationFilter
    import_job_line_items?: ImportJobLineItemListRelationFilter
    policies?: PoliciesListRelationFilter
    app_versions?: AppversionsListRelationFilter
    approval_workflows?: ApprovalWorkflowListRelationFilter
    approval_process_job_workflows?: ApprovalProcessJobWorkflowListRelationFilter
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagListRelationFilter
    approval_workflow_assignments?: ApprovalWorkflowAssignmentListRelationFilter
    approval_process_job?: ApprovalProcessJobListRelationFilter
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserListRelationFilter
    delegations?: DelegationListRelationFilter
    about_lcp?: AboutLCPListRelationFilter
    schema_chunks?: SchemaChunkListRelationFilter
    openai_usage_logs?: OpenaiUsageLogListRelationFilter
    embedding_vector_logs?: EmbeddingVectorLogsListRelationFilter
    query_execution_log?: QueryExecutionLogListRelationFilter
    child_processes?: ChildProcessListRelationFilter
    child_process_logs?: ChildProcessLogListRelationFilter
    carousel_templates?: CarouselTemplateListRelationFilter
    carousel_template_line_items?: CarouselTemplateLineItemListRelationFilter
    scheduled_job_logs?: ScheduledJobLogsListRelationFilter
    scheduled_jobs?: ScheduledJobListRelationFilter
    app_categories?: CategoriesListRelationFilter
    theme_attributes?: ThemeAttributesListRelationFilter
    themes?: ThemesListRelationFilter
    theme_line_items?: ThemeLineItemsListRelationFilter
    barcodeTemplates?: BarcodeTemplatesListRelationFilter
    user_login_histories?: UserLoginHistoryListRelationFilter
    direct_import_details?: DirectImportDetailsListRelationFilter
    delivery_notes?: DeliveryNotesListRelationFilter
    delivery_note_line_items?: DeliveryNoteLineItemsListRelationFilter
    customers_delivery_addresses?: CustomerDeliveryAddressesListRelationFilter
    shipments?: ShipmentsListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
    vehicles?: VehiclesListRelationFilter
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    geofences?: GeoFencesListRelationFilter
    geofence_tracking?: GeoFenceTrackingListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    delivery_note_status?: DeliveryNoteStatusListRelationFilter
    erp_logs?: ErpLogsListRelationFilter
    erp_logs_line_items?: ErpLogsLineItemsListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
    temp_session_data?: TempSessionDataListRelationFilter
    shipment_status?: ShipmentStatusListRelationFilter
    shipment_status_history?: ShipmentStatusHistoryListRelationFilter
    pod_status?: PodStatusListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryListRelationFilter
    tree_builder_examples?: TreeBuilderExampleListRelationFilter
    user_search_configurations?: UserSearchConfigurationListRelationFilter
  }, "id" | "id" | "slug">

  export type StatusOrderByWithAggregationInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrderInput | SortOrder
    _count?: StatusCountOrderByAggregateInput
    _avg?: StatusAvgOrderByAggregateInput
    _max?: StatusMaxOrderByAggregateInput
    _min?: StatusMinOrderByAggregateInput
    _sum?: StatusSumOrderByAggregateInput
  }

  export type StatusScalarWhereWithAggregatesInput = {
    AND?: StatusScalarWhereWithAggregatesInput | StatusScalarWhereWithAggregatesInput[]
    OR?: StatusScalarWhereWithAggregatesInput[]
    NOT?: StatusScalarWhereWithAggregatesInput | StatusScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Status"> | number
    name?: StringWithAggregatesFilter<"Status"> | string
    slug?: StringWithAggregatesFilter<"Status"> | string
    description?: StringNullableWithAggregatesFilter<"Status"> | string | null
    status_id?: IntNullableWithAggregatesFilter<"Status"> | number | null
  }

  export type CategoryTypesWhereInput = {
    AND?: CategoryTypesWhereInput | CategoryTypesWhereInput[]
    OR?: CategoryTypesWhereInput[]
    NOT?: CategoryTypesWhereInput | CategoryTypesWhereInput[]
    id?: IntFilter<"CategoryTypes"> | number
    uuid?: UuidFilter<"CategoryTypes"> | string
    category_type_id?: StringFilter<"CategoryTypes"> | string
    name?: StringFilter<"CategoryTypes"> | string
    description?: StringNullableFilter<"CategoryTypes"> | string | null
    company_id?: IntFilter<"CategoryTypes"> | number
    created_by?: IntNullableFilter<"CategoryTypes"> | number | null
    updated_by?: IntNullableFilter<"CategoryTypes"> | number | null
    deleted_by?: IntNullableFilter<"CategoryTypes"> | number | null
    created_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    updated_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"CategoryTypes"> | Date | string | null
    created_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    categories?: CategoriesListRelationFilter
  }

  export type CategoryTypesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    created_category_types?: UserOrderByWithRelationInput
    updated_category_types?: UserOrderByWithRelationInput
    deleted_category_types?: UserOrderByWithRelationInput
    categories?: CategoriesOrderByRelationAggregateInput
    _relevance?: CategoryTypesOrderByRelevanceInput
  }

  export type CategoryTypesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    category_type_id?: string
    company_id_category_type_id?: CategoryTypesCompany_idCategory_type_idCompoundUniqueInput
    company_id_id?: CategoryTypesCompany_idIdCompoundUniqueInput
    company_id_name?: CategoryTypesCompany_idNameCompoundUniqueInput
    AND?: CategoryTypesWhereInput | CategoryTypesWhereInput[]
    OR?: CategoryTypesWhereInput[]
    NOT?: CategoryTypesWhereInput | CategoryTypesWhereInput[]
    uuid?: UuidFilter<"CategoryTypes"> | string
    name?: StringFilter<"CategoryTypes"> | string
    description?: StringNullableFilter<"CategoryTypes"> | string | null
    company_id?: IntFilter<"CategoryTypes"> | number
    created_by?: IntNullableFilter<"CategoryTypes"> | number | null
    updated_by?: IntNullableFilter<"CategoryTypes"> | number | null
    deleted_by?: IntNullableFilter<"CategoryTypes"> | number | null
    created_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    updated_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"CategoryTypes"> | Date | string | null
    created_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_category_types?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    categories?: CategoriesListRelationFilter
  }, "id" | "category_type_id" | "company_id_category_type_id" | "company_id_id" | "company_id_name">

  export type CategoryTypesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: CategoryTypesCountOrderByAggregateInput
    _avg?: CategoryTypesAvgOrderByAggregateInput
    _max?: CategoryTypesMaxOrderByAggregateInput
    _min?: CategoryTypesMinOrderByAggregateInput
    _sum?: CategoryTypesSumOrderByAggregateInput
  }

  export type CategoryTypesScalarWhereWithAggregatesInput = {
    AND?: CategoryTypesScalarWhereWithAggregatesInput | CategoryTypesScalarWhereWithAggregatesInput[]
    OR?: CategoryTypesScalarWhereWithAggregatesInput[]
    NOT?: CategoryTypesScalarWhereWithAggregatesInput | CategoryTypesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"CategoryTypes"> | number
    uuid?: UuidWithAggregatesFilter<"CategoryTypes"> | string
    category_type_id?: StringWithAggregatesFilter<"CategoryTypes"> | string
    name?: StringWithAggregatesFilter<"CategoryTypes"> | string
    description?: StringNullableWithAggregatesFilter<"CategoryTypes"> | string | null
    company_id?: IntWithAggregatesFilter<"CategoryTypes"> | number
    created_by?: IntNullableWithAggregatesFilter<"CategoryTypes"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"CategoryTypes"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"CategoryTypes"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"CategoryTypes"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"CategoryTypes"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"CategoryTypes"> | Date | string | null
  }

  export type CategoriesWhereInput = {
    AND?: CategoriesWhereInput | CategoriesWhereInput[]
    OR?: CategoriesWhereInput[]
    NOT?: CategoriesWhereInput | CategoriesWhereInput[]
    id?: IntFilter<"Categories"> | number
    uuid?: UuidFilter<"Categories"> | string
    category_type_id?: StringFilter<"Categories"> | string
    category_id?: StringFilter<"Categories"> | string
    parent_id?: StringNullableFilter<"Categories"> | string | null
    name?: StringFilter<"Categories"> | string
    description?: StringNullableFilter<"Categories"> | string | null
    status_id?: IntFilter<"Categories"> | number
    company_id?: IntFilter<"Categories"> | number
    created_by?: IntNullableFilter<"Categories"> | number | null
    updated_by?: IntNullableFilter<"Categories"> | number | null
    deleted_by?: IntNullableFilter<"Categories"> | number | null
    created_at?: DateTimeFilter<"Categories"> | Date | string
    updated_at?: DateTimeFilter<"Categories"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Categories"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    category_type?: XOR<CategoryTypesRelationFilter, CategoryTypesWhereInput>
    created_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    configurations?: ConfigurationsListRelationFilter
    user_configurations?: UserConfigurationsListRelationFilter
  }

  export type CategoriesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    category_id?: SortOrder
    parent_id?: SortOrderInput | SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    category_type?: CategoryTypesOrderByWithRelationInput
    created_categories?: UserOrderByWithRelationInput
    updated_categories?: UserOrderByWithRelationInput
    deleted_categories?: UserOrderByWithRelationInput
    configurations?: ConfigurationsOrderByRelationAggregateInput
    user_configurations?: UserConfigurationsOrderByRelationAggregateInput
    _relevance?: CategoriesOrderByRelevanceInput
  }

  export type CategoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_category_type_id_category_id?: CategoriesCompany_idCategory_type_idCategory_idCompoundUniqueInput
    company_id_category_type_id_category_id_name?: CategoriesCompany_idCategory_type_idCategory_idNameCompoundUniqueInput
    company_id_id?: CategoriesCompany_idIdCompoundUniqueInput
    AND?: CategoriesWhereInput | CategoriesWhereInput[]
    OR?: CategoriesWhereInput[]
    NOT?: CategoriesWhereInput | CategoriesWhereInput[]
    uuid?: UuidFilter<"Categories"> | string
    category_type_id?: StringFilter<"Categories"> | string
    category_id?: StringFilter<"Categories"> | string
    parent_id?: StringNullableFilter<"Categories"> | string | null
    name?: StringFilter<"Categories"> | string
    description?: StringNullableFilter<"Categories"> | string | null
    status_id?: IntFilter<"Categories"> | number
    company_id?: IntFilter<"Categories"> | number
    created_by?: IntNullableFilter<"Categories"> | number | null
    updated_by?: IntNullableFilter<"Categories"> | number | null
    deleted_by?: IntNullableFilter<"Categories"> | number | null
    created_at?: DateTimeFilter<"Categories"> | Date | string
    updated_at?: DateTimeFilter<"Categories"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Categories"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    category_type?: XOR<CategoryTypesRelationFilter, CategoryTypesWhereInput>
    created_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_categories?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    configurations?: ConfigurationsListRelationFilter
    user_configurations?: UserConfigurationsListRelationFilter
  }, "id" | "company_id_category_type_id_category_id" | "company_id_category_type_id_category_id_name" | "company_id_id">

  export type CategoriesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    category_id?: SortOrder
    parent_id?: SortOrderInput | SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: CategoriesCountOrderByAggregateInput
    _avg?: CategoriesAvgOrderByAggregateInput
    _max?: CategoriesMaxOrderByAggregateInput
    _min?: CategoriesMinOrderByAggregateInput
    _sum?: CategoriesSumOrderByAggregateInput
  }

  export type CategoriesScalarWhereWithAggregatesInput = {
    AND?: CategoriesScalarWhereWithAggregatesInput | CategoriesScalarWhereWithAggregatesInput[]
    OR?: CategoriesScalarWhereWithAggregatesInput[]
    NOT?: CategoriesScalarWhereWithAggregatesInput | CategoriesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Categories"> | number
    uuid?: UuidWithAggregatesFilter<"Categories"> | string
    category_type_id?: StringWithAggregatesFilter<"Categories"> | string
    category_id?: StringWithAggregatesFilter<"Categories"> | string
    parent_id?: StringNullableWithAggregatesFilter<"Categories"> | string | null
    name?: StringWithAggregatesFilter<"Categories"> | string
    description?: StringNullableWithAggregatesFilter<"Categories"> | string | null
    status_id?: IntWithAggregatesFilter<"Categories"> | number
    company_id?: IntWithAggregatesFilter<"Categories"> | number
    created_by?: IntNullableWithAggregatesFilter<"Categories"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Categories"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Categories"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Categories"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Categories"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Categories"> | Date | string | null
  }

  export type ConfigurationsWhereInput = {
    AND?: ConfigurationsWhereInput | ConfigurationsWhereInput[]
    OR?: ConfigurationsWhereInput[]
    NOT?: ConfigurationsWhereInput | ConfigurationsWhereInput[]
    id?: IntFilter<"Configurations"> | number
    uuid?: UuidFilter<"Configurations"> | string
    order_no?: DecimalFilter<"Configurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"Configurations"> | string
    category_id?: StringFilter<"Configurations"> | string
    category_type_id?: StringNullableFilter<"Configurations"> | string | null
    config_select_json?: JsonNullableFilter<"Configurations">
    config_file_value?: StringNullableFilter<"Configurations"> | string | null
    config_value_type?: StringFilter<"Configurations"> | string
    config_field_type?: StringFilter<"Configurations"> | string
    display_config?: BoolFilter<"Configurations"> | boolean
    config_value?: StringNullableFilter<"Configurations"> | string | null
    company_id?: IntFilter<"Configurations"> | number
    created_by?: IntNullableFilter<"Configurations"> | number | null
    updated_by?: IntNullableFilter<"Configurations"> | number | null
    deleted_by?: IntNullableFilter<"Configurations"> | number | null
    created_at?: DateTimeFilter<"Configurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
    category?: XOR<CategoriesNullableRelationFilter, CategoriesWhereInput> | null
    created_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type ConfigurationsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrderInput | SortOrder
    config_select_json?: SortOrderInput | SortOrder
    config_file_value?: SortOrderInput | SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    category?: CategoriesOrderByWithRelationInput
    created_configurations?: UserOrderByWithRelationInput
    updated_configurations?: UserOrderByWithRelationInput
    deleted_configurations?: UserOrderByWithRelationInput
    _relevance?: ConfigurationsOrderByRelevanceInput
  }

  export type ConfigurationsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ConfigurationsCompany_idIdCompoundUniqueInput
    company_id_config_key?: ConfigurationsCompany_idConfig_keyCompoundUniqueInput
    AND?: ConfigurationsWhereInput | ConfigurationsWhereInput[]
    OR?: ConfigurationsWhereInput[]
    NOT?: ConfigurationsWhereInput | ConfigurationsWhereInput[]
    uuid?: UuidFilter<"Configurations"> | string
    order_no?: DecimalFilter<"Configurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"Configurations"> | string
    category_id?: StringFilter<"Configurations"> | string
    category_type_id?: StringNullableFilter<"Configurations"> | string | null
    config_select_json?: JsonNullableFilter<"Configurations">
    config_file_value?: StringNullableFilter<"Configurations"> | string | null
    config_value_type?: StringFilter<"Configurations"> | string
    config_field_type?: StringFilter<"Configurations"> | string
    display_config?: BoolFilter<"Configurations"> | boolean
    config_value?: StringNullableFilter<"Configurations"> | string | null
    company_id?: IntFilter<"Configurations"> | number
    created_by?: IntNullableFilter<"Configurations"> | number | null
    updated_by?: IntNullableFilter<"Configurations"> | number | null
    deleted_by?: IntNullableFilter<"Configurations"> | number | null
    created_at?: DateTimeFilter<"Configurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
    category?: XOR<CategoriesNullableRelationFilter, CategoriesWhereInput> | null
    created_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_config_key">

  export type ConfigurationsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrderInput | SortOrder
    config_select_json?: SortOrderInput | SortOrder
    config_file_value?: SortOrderInput | SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ConfigurationsCountOrderByAggregateInput
    _avg?: ConfigurationsAvgOrderByAggregateInput
    _max?: ConfigurationsMaxOrderByAggregateInput
    _min?: ConfigurationsMinOrderByAggregateInput
    _sum?: ConfigurationsSumOrderByAggregateInput
  }

  export type ConfigurationsScalarWhereWithAggregatesInput = {
    AND?: ConfigurationsScalarWhereWithAggregatesInput | ConfigurationsScalarWhereWithAggregatesInput[]
    OR?: ConfigurationsScalarWhereWithAggregatesInput[]
    NOT?: ConfigurationsScalarWhereWithAggregatesInput | ConfigurationsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Configurations"> | number
    uuid?: UuidWithAggregatesFilter<"Configurations"> | string
    order_no?: DecimalWithAggregatesFilter<"Configurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringWithAggregatesFilter<"Configurations"> | string
    category_id?: StringWithAggregatesFilter<"Configurations"> | string
    category_type_id?: StringNullableWithAggregatesFilter<"Configurations"> | string | null
    config_select_json?: JsonNullableWithAggregatesFilter<"Configurations">
    config_file_value?: StringNullableWithAggregatesFilter<"Configurations"> | string | null
    config_value_type?: StringWithAggregatesFilter<"Configurations"> | string
    config_field_type?: StringWithAggregatesFilter<"Configurations"> | string
    display_config?: BoolWithAggregatesFilter<"Configurations"> | boolean
    config_value?: StringNullableWithAggregatesFilter<"Configurations"> | string | null
    company_id?: IntWithAggregatesFilter<"Configurations"> | number
    created_by?: IntNullableWithAggregatesFilter<"Configurations"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Configurations"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Configurations"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Configurations"> | Date | string
    updated_at?: DateTimeNullableWithAggregatesFilter<"Configurations"> | Date | string | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Configurations"> | Date | string | null
  }

  export type UserConfigurationsWhereInput = {
    AND?: UserConfigurationsWhereInput | UserConfigurationsWhereInput[]
    OR?: UserConfigurationsWhereInput[]
    NOT?: UserConfigurationsWhereInput | UserConfigurationsWhereInput[]
    id?: IntFilter<"UserConfigurations"> | number
    uuid?: UuidFilter<"UserConfigurations"> | string
    order_no?: DecimalFilter<"UserConfigurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"UserConfigurations"> | string
    category_id?: StringFilter<"UserConfigurations"> | string
    category_type_id?: StringNullableFilter<"UserConfigurations"> | string | null
    config_select_json?: JsonNullableFilter<"UserConfigurations">
    config_file_value?: StringNullableFilter<"UserConfigurations"> | string | null
    config_value_type?: StringFilter<"UserConfigurations"> | string
    config_field_type?: StringFilter<"UserConfigurations"> | string
    display_config?: BoolFilter<"UserConfigurations"> | boolean
    config_value?: StringNullableFilter<"UserConfigurations"> | string | null
    user_id?: IntFilter<"UserConfigurations"> | number
    company_id?: IntFilter<"UserConfigurations"> | number
    created_by?: IntNullableFilter<"UserConfigurations"> | number | null
    updated_by?: IntNullableFilter<"UserConfigurations"> | number | null
    deleted_by?: IntNullableFilter<"UserConfigurations"> | number | null
    created_at?: DateTimeFilter<"UserConfigurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
    category?: XOR<CategoriesNullableRelationFilter, CategoriesWhereInput> | null
    created_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type UserConfigurationsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrderInput | SortOrder
    config_select_json?: SortOrderInput | SortOrder
    config_file_value?: SortOrderInput | SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrderInput | SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    category?: CategoriesOrderByWithRelationInput
    created_user_configurations?: UserOrderByWithRelationInput
    updated_user_configurations?: UserOrderByWithRelationInput
    deleted_user_configurations?: UserOrderByWithRelationInput
    _relevance?: UserConfigurationsOrderByRelevanceInput
  }

  export type UserConfigurationsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: UserConfigurationsCompany_idIdCompoundUniqueInput
    company_id_config_key_user_id?: UserConfigurationsCompany_idConfig_keyUser_idCompoundUniqueInput
    AND?: UserConfigurationsWhereInput | UserConfigurationsWhereInput[]
    OR?: UserConfigurationsWhereInput[]
    NOT?: UserConfigurationsWhereInput | UserConfigurationsWhereInput[]
    uuid?: UuidFilter<"UserConfigurations"> | string
    order_no?: DecimalFilter<"UserConfigurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"UserConfigurations"> | string
    category_id?: StringFilter<"UserConfigurations"> | string
    category_type_id?: StringNullableFilter<"UserConfigurations"> | string | null
    config_select_json?: JsonNullableFilter<"UserConfigurations">
    config_file_value?: StringNullableFilter<"UserConfigurations"> | string | null
    config_value_type?: StringFilter<"UserConfigurations"> | string
    config_field_type?: StringFilter<"UserConfigurations"> | string
    display_config?: BoolFilter<"UserConfigurations"> | boolean
    config_value?: StringNullableFilter<"UserConfigurations"> | string | null
    user_id?: IntFilter<"UserConfigurations"> | number
    company_id?: IntFilter<"UserConfigurations"> | number
    created_by?: IntNullableFilter<"UserConfigurations"> | number | null
    updated_by?: IntNullableFilter<"UserConfigurations"> | number | null
    deleted_by?: IntNullableFilter<"UserConfigurations"> | number | null
    created_at?: DateTimeFilter<"UserConfigurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
    category?: XOR<CategoriesNullableRelationFilter, CategoriesWhereInput> | null
    created_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    updated_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_user_configurations?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_config_key_user_id">

  export type UserConfigurationsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrderInput | SortOrder
    config_select_json?: SortOrderInput | SortOrder
    config_file_value?: SortOrderInput | SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrderInput | SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: UserConfigurationsCountOrderByAggregateInput
    _avg?: UserConfigurationsAvgOrderByAggregateInput
    _max?: UserConfigurationsMaxOrderByAggregateInput
    _min?: UserConfigurationsMinOrderByAggregateInput
    _sum?: UserConfigurationsSumOrderByAggregateInput
  }

  export type UserConfigurationsScalarWhereWithAggregatesInput = {
    AND?: UserConfigurationsScalarWhereWithAggregatesInput | UserConfigurationsScalarWhereWithAggregatesInput[]
    OR?: UserConfigurationsScalarWhereWithAggregatesInput[]
    NOT?: UserConfigurationsScalarWhereWithAggregatesInput | UserConfigurationsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"UserConfigurations"> | number
    uuid?: UuidWithAggregatesFilter<"UserConfigurations"> | string
    order_no?: DecimalWithAggregatesFilter<"UserConfigurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringWithAggregatesFilter<"UserConfigurations"> | string
    category_id?: StringWithAggregatesFilter<"UserConfigurations"> | string
    category_type_id?: StringNullableWithAggregatesFilter<"UserConfigurations"> | string | null
    config_select_json?: JsonNullableWithAggregatesFilter<"UserConfigurations">
    config_file_value?: StringNullableWithAggregatesFilter<"UserConfigurations"> | string | null
    config_value_type?: StringWithAggregatesFilter<"UserConfigurations"> | string
    config_field_type?: StringWithAggregatesFilter<"UserConfigurations"> | string
    display_config?: BoolWithAggregatesFilter<"UserConfigurations"> | boolean
    config_value?: StringNullableWithAggregatesFilter<"UserConfigurations"> | string | null
    user_id?: IntWithAggregatesFilter<"UserConfigurations"> | number
    company_id?: IntWithAggregatesFilter<"UserConfigurations"> | number
    created_by?: IntNullableWithAggregatesFilter<"UserConfigurations"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"UserConfigurations"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"UserConfigurations"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"UserConfigurations"> | Date | string
    updated_at?: DateTimeNullableWithAggregatesFilter<"UserConfigurations"> | Date | string | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"UserConfigurations"> | Date | string | null
  }

  export type FileUploadLogWhereInput = {
    AND?: FileUploadLogWhereInput | FileUploadLogWhereInput[]
    OR?: FileUploadLogWhereInput[]
    NOT?: FileUploadLogWhereInput | FileUploadLogWhereInput[]
    id?: IntFilter<"FileUploadLog"> | number
    uuid?: UuidFilter<"FileUploadLog"> | string
    doc_name?: StringNullableFilter<"FileUploadLog"> | string | null
    org_name?: StringNullableFilter<"FileUploadLog"> | string | null
    extension?: StringNullableFilter<"FileUploadLog"> | string | null
    description?: StringNullableFilter<"FileUploadLog"> | string | null
    status_id?: IntFilter<"FileUploadLog"> | number
    company_id?: IntFilter<"FileUploadLog"> | number
    created_at?: DateTimeFilter<"FileUploadLog"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type FileUploadLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    doc_name?: SortOrderInput | SortOrder
    org_name?: SortOrderInput | SortOrder
    extension?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: FileUploadLogOrderByRelevanceInput
  }

  export type FileUploadLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: FileUploadLogCompany_idIdCompoundUniqueInput
    AND?: FileUploadLogWhereInput | FileUploadLogWhereInput[]
    OR?: FileUploadLogWhereInput[]
    NOT?: FileUploadLogWhereInput | FileUploadLogWhereInput[]
    uuid?: UuidFilter<"FileUploadLog"> | string
    doc_name?: StringNullableFilter<"FileUploadLog"> | string | null
    org_name?: StringNullableFilter<"FileUploadLog"> | string | null
    extension?: StringNullableFilter<"FileUploadLog"> | string | null
    description?: StringNullableFilter<"FileUploadLog"> | string | null
    status_id?: IntFilter<"FileUploadLog"> | number
    company_id?: IntFilter<"FileUploadLog"> | number
    created_at?: DateTimeFilter<"FileUploadLog"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id">

  export type FileUploadLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    doc_name?: SortOrderInput | SortOrder
    org_name?: SortOrderInput | SortOrder
    extension?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    _count?: FileUploadLogCountOrderByAggregateInput
    _avg?: FileUploadLogAvgOrderByAggregateInput
    _max?: FileUploadLogMaxOrderByAggregateInput
    _min?: FileUploadLogMinOrderByAggregateInput
    _sum?: FileUploadLogSumOrderByAggregateInput
  }

  export type FileUploadLogScalarWhereWithAggregatesInput = {
    AND?: FileUploadLogScalarWhereWithAggregatesInput | FileUploadLogScalarWhereWithAggregatesInput[]
    OR?: FileUploadLogScalarWhereWithAggregatesInput[]
    NOT?: FileUploadLogScalarWhereWithAggregatesInput | FileUploadLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"FileUploadLog"> | number
    uuid?: UuidWithAggregatesFilter<"FileUploadLog"> | string
    doc_name?: StringNullableWithAggregatesFilter<"FileUploadLog"> | string | null
    org_name?: StringNullableWithAggregatesFilter<"FileUploadLog"> | string | null
    extension?: StringNullableWithAggregatesFilter<"FileUploadLog"> | string | null
    description?: StringNullableWithAggregatesFilter<"FileUploadLog"> | string | null
    status_id?: IntWithAggregatesFilter<"FileUploadLog"> | number
    company_id?: IntWithAggregatesFilter<"FileUploadLog"> | number
    created_at?: DateTimeWithAggregatesFilter<"FileUploadLog"> | Date | string
  }

  export type DataTransferQueriesWhereInput = {
    AND?: DataTransferQueriesWhereInput | DataTransferQueriesWhereInput[]
    OR?: DataTransferQueriesWhereInput[]
    NOT?: DataTransferQueriesWhereInput | DataTransferQueriesWhereInput[]
    id?: IntFilter<"DataTransferQueries"> | number
    uuid?: UuidFilter<"DataTransferQueries"> | string
    select_query?: StringFilter<"DataTransferQueries"> | string
    insert_query?: StringFilter<"DataTransferQueries"> | string
    transfer_type?: StringFilter<"DataTransferQueries"> | string
    job_name?: StringFilter<"DataTransferQueries"> | string
    destination_table?: StringFilter<"DataTransferQueries"> | string
    clear_destination_table?: BoolFilter<"DataTransferQueries"> | boolean
    execution_order?: IntFilter<"DataTransferQueries"> | number
    command_type?: StringFilter<"DataTransferQueries"> | string
    status_id?: IntFilter<"DataTransferQueries"> | number
    created_by?: IntNullableFilter<"DataTransferQueries"> | number | null
    created_at?: DateTimeNullableFilter<"DataTransferQueries"> | Date | string | null
    company_id?: IntFilter<"DataTransferQueries"> | number
  }

  export type DataTransferQueriesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    select_query?: SortOrder
    insert_query?: SortOrder
    transfer_type?: SortOrder
    job_name?: SortOrder
    destination_table?: SortOrder
    clear_destination_table?: SortOrder
    execution_order?: SortOrder
    command_type?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _relevance?: DataTransferQueriesOrderByRelevanceInput
  }

  export type DataTransferQueriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DataTransferQueriesCompany_idIdCompoundUniqueInput
    AND?: DataTransferQueriesWhereInput | DataTransferQueriesWhereInput[]
    OR?: DataTransferQueriesWhereInput[]
    NOT?: DataTransferQueriesWhereInput | DataTransferQueriesWhereInput[]
    uuid?: UuidFilter<"DataTransferQueries"> | string
    select_query?: StringFilter<"DataTransferQueries"> | string
    insert_query?: StringFilter<"DataTransferQueries"> | string
    transfer_type?: StringFilter<"DataTransferQueries"> | string
    job_name?: StringFilter<"DataTransferQueries"> | string
    destination_table?: StringFilter<"DataTransferQueries"> | string
    clear_destination_table?: BoolFilter<"DataTransferQueries"> | boolean
    execution_order?: IntFilter<"DataTransferQueries"> | number
    command_type?: StringFilter<"DataTransferQueries"> | string
    status_id?: IntFilter<"DataTransferQueries"> | number
    created_by?: IntNullableFilter<"DataTransferQueries"> | number | null
    created_at?: DateTimeNullableFilter<"DataTransferQueries"> | Date | string | null
    company_id?: IntFilter<"DataTransferQueries"> | number
  }, "id" | "company_id_id">

  export type DataTransferQueriesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    select_query?: SortOrder
    insert_query?: SortOrder
    transfer_type?: SortOrder
    job_name?: SortOrder
    destination_table?: SortOrder
    clear_destination_table?: SortOrder
    execution_order?: SortOrder
    command_type?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _count?: DataTransferQueriesCountOrderByAggregateInput
    _avg?: DataTransferQueriesAvgOrderByAggregateInput
    _max?: DataTransferQueriesMaxOrderByAggregateInput
    _min?: DataTransferQueriesMinOrderByAggregateInput
    _sum?: DataTransferQueriesSumOrderByAggregateInput
  }

  export type DataTransferQueriesScalarWhereWithAggregatesInput = {
    AND?: DataTransferQueriesScalarWhereWithAggregatesInput | DataTransferQueriesScalarWhereWithAggregatesInput[]
    OR?: DataTransferQueriesScalarWhereWithAggregatesInput[]
    NOT?: DataTransferQueriesScalarWhereWithAggregatesInput | DataTransferQueriesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DataTransferQueries"> | number
    uuid?: UuidWithAggregatesFilter<"DataTransferQueries"> | string
    select_query?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    insert_query?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    transfer_type?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    job_name?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    destination_table?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    clear_destination_table?: BoolWithAggregatesFilter<"DataTransferQueries"> | boolean
    execution_order?: IntWithAggregatesFilter<"DataTransferQueries"> | number
    command_type?: StringWithAggregatesFilter<"DataTransferQueries"> | string
    status_id?: IntWithAggregatesFilter<"DataTransferQueries"> | number
    created_by?: IntNullableWithAggregatesFilter<"DataTransferQueries"> | number | null
    created_at?: DateTimeNullableWithAggregatesFilter<"DataTransferQueries"> | Date | string | null
    company_id?: IntWithAggregatesFilter<"DataTransferQueries"> | number
  }

  export type DeviceRegistrationWhereInput = {
    AND?: DeviceRegistrationWhereInput | DeviceRegistrationWhereInput[]
    OR?: DeviceRegistrationWhereInput[]
    NOT?: DeviceRegistrationWhereInput | DeviceRegistrationWhereInput[]
    id?: IntFilter<"DeviceRegistration"> | number
    uuid?: UuidFilter<"DeviceRegistration"> | string
    company_id?: IntFilter<"DeviceRegistration"> | number
    device_name?: StringFilter<"DeviceRegistration"> | string
    device_unique_id?: StringFilter<"DeviceRegistration"> | string
    user_id?: IntFilter<"DeviceRegistration"> | number
    status_id?: IntFilter<"DeviceRegistration"> | number
    created_by?: IntFilter<"DeviceRegistration"> | number
    created_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    updated_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    updated_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    deleted_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeviceRegistration"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_device_registration?: XOR<UserRelationFilter, UserWhereInput>
    updated_device_registration?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_device_registration?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type DeviceRegistrationOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    device_name?: SortOrder
    device_unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created_device_registration?: UserOrderByWithRelationInput
    updated_device_registration?: UserOrderByWithRelationInput
    deleted_device_registration?: UserOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: DeviceRegistrationOrderByRelevanceInput
  }

  export type DeviceRegistrationWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DeviceRegistrationCompany_idIdCompoundUniqueInput
    company_id_uuid?: DeviceRegistrationCompany_idUuidCompoundUniqueInput
    AND?: DeviceRegistrationWhereInput | DeviceRegistrationWhereInput[]
    OR?: DeviceRegistrationWhereInput[]
    NOT?: DeviceRegistrationWhereInput | DeviceRegistrationWhereInput[]
    uuid?: UuidFilter<"DeviceRegistration"> | string
    company_id?: IntFilter<"DeviceRegistration"> | number
    device_name?: StringFilter<"DeviceRegistration"> | string
    device_unique_id?: StringFilter<"DeviceRegistration"> | string
    user_id?: IntFilter<"DeviceRegistration"> | number
    status_id?: IntFilter<"DeviceRegistration"> | number
    created_by?: IntFilter<"DeviceRegistration"> | number
    created_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    updated_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    updated_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    deleted_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeviceRegistration"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_device_registration?: XOR<UserRelationFilter, UserWhereInput>
    updated_device_registration?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_device_registration?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type DeviceRegistrationOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    device_name?: SortOrder
    device_unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DeviceRegistrationCountOrderByAggregateInput
    _avg?: DeviceRegistrationAvgOrderByAggregateInput
    _max?: DeviceRegistrationMaxOrderByAggregateInput
    _min?: DeviceRegistrationMinOrderByAggregateInput
    _sum?: DeviceRegistrationSumOrderByAggregateInput
  }

  export type DeviceRegistrationScalarWhereWithAggregatesInput = {
    AND?: DeviceRegistrationScalarWhereWithAggregatesInput | DeviceRegistrationScalarWhereWithAggregatesInput[]
    OR?: DeviceRegistrationScalarWhereWithAggregatesInput[]
    NOT?: DeviceRegistrationScalarWhereWithAggregatesInput | DeviceRegistrationScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DeviceRegistration"> | number
    uuid?: UuidWithAggregatesFilter<"DeviceRegistration"> | string
    company_id?: IntWithAggregatesFilter<"DeviceRegistration"> | number
    device_name?: StringWithAggregatesFilter<"DeviceRegistration"> | string
    device_unique_id?: StringWithAggregatesFilter<"DeviceRegistration"> | string
    user_id?: IntWithAggregatesFilter<"DeviceRegistration"> | number
    status_id?: IntWithAggregatesFilter<"DeviceRegistration"> | number
    created_by?: IntWithAggregatesFilter<"DeviceRegistration"> | number
    created_at?: DateTimeWithAggregatesFilter<"DeviceRegistration"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"DeviceRegistration"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"DeviceRegistration"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"DeviceRegistration"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"DeviceRegistration"> | Date | string | null
  }

  export type PoliciesWhereInput = {
    AND?: PoliciesWhereInput | PoliciesWhereInput[]
    OR?: PoliciesWhereInput[]
    NOT?: PoliciesWhereInput | PoliciesWhereInput[]
    id?: IntFilter<"Policies"> | number
    uuid?: UuidFilter<"Policies"> | string
    company_id?: IntFilter<"Policies"> | number
    slug?: StringFilter<"Policies"> | string
    name?: StringFilter<"Policies"> | string
    description?: StringFilter<"Policies"> | string
    query_information?: JsonNullableFilter<"Policies">
    status_id?: IntFilter<"Policies"> | number
    created_by?: IntFilter<"Policies"> | number
    created_at?: DateTimeFilter<"Policies"> | Date | string
    updated_by?: IntNullableFilter<"Policies"> | number | null
    updated_at?: DateTimeFilter<"Policies"> | Date | string
    deleted_by?: IntNullableFilter<"Policies"> | number | null
    deleted_at?: DateTimeNullableFilter<"Policies"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user_policy?: UserPoliciesListRelationFilter
    role_policy?: RolePoliciesListRelationFilter
    created_policy?: XOR<UserRelationFilter, UserWhereInput>
    updated_policy?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_policy?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type PoliciesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    user_policy?: UserPoliciesOrderByRelationAggregateInput
    role_policy?: RolePoliciesOrderByRelationAggregateInput
    created_policy?: UserOrderByWithRelationInput
    updated_policy?: UserOrderByWithRelationInput
    deleted_policy?: UserOrderByWithRelationInput
    _relevance?: PoliciesOrderByRelevanceInput
  }

  export type PoliciesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: PoliciesCompany_idIdCompoundUniqueInput
    company_id_uuid?: PoliciesCompany_idUuidCompoundUniqueInput
    company_id_name?: PoliciesCompany_idNameCompoundUniqueInput
    company_id_slug?: PoliciesCompany_idSlugCompoundUniqueInput
    AND?: PoliciesWhereInput | PoliciesWhereInput[]
    OR?: PoliciesWhereInput[]
    NOT?: PoliciesWhereInput | PoliciesWhereInput[]
    uuid?: UuidFilter<"Policies"> | string
    company_id?: IntFilter<"Policies"> | number
    slug?: StringFilter<"Policies"> | string
    name?: StringFilter<"Policies"> | string
    description?: StringFilter<"Policies"> | string
    query_information?: JsonNullableFilter<"Policies">
    status_id?: IntFilter<"Policies"> | number
    created_by?: IntFilter<"Policies"> | number
    created_at?: DateTimeFilter<"Policies"> | Date | string
    updated_by?: IntNullableFilter<"Policies"> | number | null
    updated_at?: DateTimeFilter<"Policies"> | Date | string
    deleted_by?: IntNullableFilter<"Policies"> | number | null
    deleted_at?: DateTimeNullableFilter<"Policies"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user_policy?: UserPoliciesListRelationFilter
    role_policy?: RolePoliciesListRelationFilter
    created_policy?: XOR<UserRelationFilter, UserWhereInput>
    updated_policy?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_policy?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_name" | "company_id_slug">

  export type PoliciesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: PoliciesCountOrderByAggregateInput
    _avg?: PoliciesAvgOrderByAggregateInput
    _max?: PoliciesMaxOrderByAggregateInput
    _min?: PoliciesMinOrderByAggregateInput
    _sum?: PoliciesSumOrderByAggregateInput
  }

  export type PoliciesScalarWhereWithAggregatesInput = {
    AND?: PoliciesScalarWhereWithAggregatesInput | PoliciesScalarWhereWithAggregatesInput[]
    OR?: PoliciesScalarWhereWithAggregatesInput[]
    NOT?: PoliciesScalarWhereWithAggregatesInput | PoliciesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Policies"> | number
    uuid?: UuidWithAggregatesFilter<"Policies"> | string
    company_id?: IntWithAggregatesFilter<"Policies"> | number
    slug?: StringWithAggregatesFilter<"Policies"> | string
    name?: StringWithAggregatesFilter<"Policies"> | string
    description?: StringWithAggregatesFilter<"Policies"> | string
    query_information?: JsonNullableWithAggregatesFilter<"Policies">
    status_id?: IntWithAggregatesFilter<"Policies"> | number
    created_by?: IntWithAggregatesFilter<"Policies"> | number
    created_at?: DateTimeWithAggregatesFilter<"Policies"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"Policies"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"Policies"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"Policies"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Policies"> | Date | string | null
  }

  export type UserPoliciesWhereInput = {
    AND?: UserPoliciesWhereInput | UserPoliciesWhereInput[]
    OR?: UserPoliciesWhereInput[]
    NOT?: UserPoliciesWhereInput | UserPoliciesWhereInput[]
    company_id?: IntFilter<"UserPolicies"> | number
    policy_id?: IntFilter<"UserPolicies"> | number
    user_id?: IntFilter<"UserPolicies"> | number
    policy?: XOR<PoliciesRelationFilter, PoliciesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type UserPoliciesOrderByWithRelationInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
    policy?: PoliciesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
  }

  export type UserPoliciesWhereUniqueInput = Prisma.AtLeast<{
    company_id_policy_id_user_id?: UserPoliciesCompany_idPolicy_idUser_idCompoundUniqueInput
    AND?: UserPoliciesWhereInput | UserPoliciesWhereInput[]
    OR?: UserPoliciesWhereInput[]
    NOT?: UserPoliciesWhereInput | UserPoliciesWhereInput[]
    company_id?: IntFilter<"UserPolicies"> | number
    policy_id?: IntFilter<"UserPolicies"> | number
    user_id?: IntFilter<"UserPolicies"> | number
    policy?: XOR<PoliciesRelationFilter, PoliciesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "company_id_policy_id_user_id">

  export type UserPoliciesOrderByWithAggregationInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
    _count?: UserPoliciesCountOrderByAggregateInput
    _avg?: UserPoliciesAvgOrderByAggregateInput
    _max?: UserPoliciesMaxOrderByAggregateInput
    _min?: UserPoliciesMinOrderByAggregateInput
    _sum?: UserPoliciesSumOrderByAggregateInput
  }

  export type UserPoliciesScalarWhereWithAggregatesInput = {
    AND?: UserPoliciesScalarWhereWithAggregatesInput | UserPoliciesScalarWhereWithAggregatesInput[]
    OR?: UserPoliciesScalarWhereWithAggregatesInput[]
    NOT?: UserPoliciesScalarWhereWithAggregatesInput | UserPoliciesScalarWhereWithAggregatesInput[]
    company_id?: IntWithAggregatesFilter<"UserPolicies"> | number
    policy_id?: IntWithAggregatesFilter<"UserPolicies"> | number
    user_id?: IntWithAggregatesFilter<"UserPolicies"> | number
  }

  export type RolePoliciesWhereInput = {
    AND?: RolePoliciesWhereInput | RolePoliciesWhereInput[]
    OR?: RolePoliciesWhereInput[]
    NOT?: RolePoliciesWhereInput | RolePoliciesWhereInput[]
    company_id?: IntFilter<"RolePolicies"> | number
    policy_id?: IntFilter<"RolePolicies"> | number
    role_id?: IntFilter<"RolePolicies"> | number
    policy?: XOR<PoliciesRelationFilter, PoliciesWhereInput>
    role?: XOR<RoleRelationFilter, RoleWhereInput>
  }

  export type RolePoliciesOrderByWithRelationInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
    policy?: PoliciesOrderByWithRelationInput
    role?: RoleOrderByWithRelationInput
  }

  export type RolePoliciesWhereUniqueInput = Prisma.AtLeast<{
    company_id_policy_id_role_id?: RolePoliciesCompany_idPolicy_idRole_idCompoundUniqueInput
    AND?: RolePoliciesWhereInput | RolePoliciesWhereInput[]
    OR?: RolePoliciesWhereInput[]
    NOT?: RolePoliciesWhereInput | RolePoliciesWhereInput[]
    company_id?: IntFilter<"RolePolicies"> | number
    policy_id?: IntFilter<"RolePolicies"> | number
    role_id?: IntFilter<"RolePolicies"> | number
    policy?: XOR<PoliciesRelationFilter, PoliciesWhereInput>
    role?: XOR<RoleRelationFilter, RoleWhereInput>
  }, "company_id_policy_id_role_id">

  export type RolePoliciesOrderByWithAggregationInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
    _count?: RolePoliciesCountOrderByAggregateInput
    _avg?: RolePoliciesAvgOrderByAggregateInput
    _max?: RolePoliciesMaxOrderByAggregateInput
    _min?: RolePoliciesMinOrderByAggregateInput
    _sum?: RolePoliciesSumOrderByAggregateInput
  }

  export type RolePoliciesScalarWhereWithAggregatesInput = {
    AND?: RolePoliciesScalarWhereWithAggregatesInput | RolePoliciesScalarWhereWithAggregatesInput[]
    OR?: RolePoliciesScalarWhereWithAggregatesInput[]
    NOT?: RolePoliciesScalarWhereWithAggregatesInput | RolePoliciesScalarWhereWithAggregatesInput[]
    company_id?: IntWithAggregatesFilter<"RolePolicies"> | number
    policy_id?: IntWithAggregatesFilter<"RolePolicies"> | number
    role_id?: IntWithAggregatesFilter<"RolePolicies"> | number
  }

  export type AppversionsWhereInput = {
    AND?: AppversionsWhereInput | AppversionsWhereInput[]
    OR?: AppversionsWhereInput[]
    NOT?: AppversionsWhereInput | AppversionsWhereInput[]
    id?: IntFilter<"Appversions"> | number
    uuid?: UuidFilter<"Appversions"> | string
    company_id?: IntFilter<"Appversions"> | number
    type?: StringFilter<"Appversions"> | string
    version_type?: StringFilter<"Appversions"> | string
    version?: StringFilter<"Appversions"> | string
    description?: StringFilter<"Appversions"> | string
    is_frontend_changed?: BoolFilter<"Appversions"> | boolean
    is_backend_changed?: BoolFilter<"Appversions"> | boolean
    is_database_changed?: BoolFilter<"Appversions"> | boolean
    developed_by?: StringNullableFilter<"Appversions"> | string | null
    status_id?: IntFilter<"Appversions"> | number
    created_by?: IntFilter<"Appversions"> | number
    created_at?: DateTimeFilter<"Appversions"> | Date | string
    updated_by?: IntNullableFilter<"Appversions"> | number | null
    updated_at?: DateTimeFilter<"Appversions"> | Date | string
    deleted_by?: IntNullableFilter<"Appversions"> | number | null
    deleted_at?: DateTimeNullableFilter<"Appversions"> | Date | string | null
    app_url?: StringNullableFilter<"Appversions"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_app_versions?: XOR<UserRelationFilter, UserWhereInput>
    updated_app_versions?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_app_versions?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type AppversionsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    type?: SortOrder
    version_type?: SortOrder
    version?: SortOrder
    description?: SortOrder
    is_frontend_changed?: SortOrder
    is_backend_changed?: SortOrder
    is_database_changed?: SortOrder
    developed_by?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    app_url?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created_app_versions?: UserOrderByWithRelationInput
    updated_app_versions?: UserOrderByWithRelationInput
    deleted_app_versions?: UserOrderByWithRelationInput
    _relevance?: AppversionsOrderByRelevanceInput
  }

  export type AppversionsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: AppversionsCompany_idIdCompoundUniqueInput
    company_id_uuid?: AppversionsCompany_idUuidCompoundUniqueInput
    AND?: AppversionsWhereInput | AppversionsWhereInput[]
    OR?: AppversionsWhereInput[]
    NOT?: AppversionsWhereInput | AppversionsWhereInput[]
    uuid?: UuidFilter<"Appversions"> | string
    company_id?: IntFilter<"Appversions"> | number
    type?: StringFilter<"Appversions"> | string
    version_type?: StringFilter<"Appversions"> | string
    version?: StringFilter<"Appversions"> | string
    description?: StringFilter<"Appversions"> | string
    is_frontend_changed?: BoolFilter<"Appversions"> | boolean
    is_backend_changed?: BoolFilter<"Appversions"> | boolean
    is_database_changed?: BoolFilter<"Appversions"> | boolean
    developed_by?: StringNullableFilter<"Appversions"> | string | null
    status_id?: IntFilter<"Appversions"> | number
    created_by?: IntFilter<"Appversions"> | number
    created_at?: DateTimeFilter<"Appversions"> | Date | string
    updated_by?: IntNullableFilter<"Appversions"> | number | null
    updated_at?: DateTimeFilter<"Appversions"> | Date | string
    deleted_by?: IntNullableFilter<"Appversions"> | number | null
    deleted_at?: DateTimeNullableFilter<"Appversions"> | Date | string | null
    app_url?: StringNullableFilter<"Appversions"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_app_versions?: XOR<UserRelationFilter, UserWhereInput>
    updated_app_versions?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_app_versions?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid">

  export type AppversionsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    type?: SortOrder
    version_type?: SortOrder
    version?: SortOrder
    description?: SortOrder
    is_frontend_changed?: SortOrder
    is_backend_changed?: SortOrder
    is_database_changed?: SortOrder
    developed_by?: SortOrderInput | SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    app_url?: SortOrderInput | SortOrder
    _count?: AppversionsCountOrderByAggregateInput
    _avg?: AppversionsAvgOrderByAggregateInput
    _max?: AppversionsMaxOrderByAggregateInput
    _min?: AppversionsMinOrderByAggregateInput
    _sum?: AppversionsSumOrderByAggregateInput
  }

  export type AppversionsScalarWhereWithAggregatesInput = {
    AND?: AppversionsScalarWhereWithAggregatesInput | AppversionsScalarWhereWithAggregatesInput[]
    OR?: AppversionsScalarWhereWithAggregatesInput[]
    NOT?: AppversionsScalarWhereWithAggregatesInput | AppversionsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Appversions"> | number
    uuid?: UuidWithAggregatesFilter<"Appversions"> | string
    company_id?: IntWithAggregatesFilter<"Appversions"> | number
    type?: StringWithAggregatesFilter<"Appversions"> | string
    version_type?: StringWithAggregatesFilter<"Appversions"> | string
    version?: StringWithAggregatesFilter<"Appversions"> | string
    description?: StringWithAggregatesFilter<"Appversions"> | string
    is_frontend_changed?: BoolWithAggregatesFilter<"Appversions"> | boolean
    is_backend_changed?: BoolWithAggregatesFilter<"Appversions"> | boolean
    is_database_changed?: BoolWithAggregatesFilter<"Appversions"> | boolean
    developed_by?: StringNullableWithAggregatesFilter<"Appversions"> | string | null
    status_id?: IntWithAggregatesFilter<"Appversions"> | number
    created_by?: IntWithAggregatesFilter<"Appversions"> | number
    created_at?: DateTimeWithAggregatesFilter<"Appversions"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"Appversions"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"Appversions"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"Appversions"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Appversions"> | Date | string | null
    app_url?: StringNullableWithAggregatesFilter<"Appversions"> | string | null
  }

  export type ScheduledJobWhereInput = {
    AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
    OR?: ScheduledJobWhereInput[]
    NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
    id?: IntFilter<"ScheduledJob"> | number
    uuid?: UuidFilter<"ScheduledJob"> | string
    timing?: StringFilter<"ScheduledJob"> | string
    cron_url?: StringNullableFilter<"ScheduledJob"> | string | null
    concat_base_url?: BoolFilter<"ScheduledJob"> | boolean
    downloadables?: StringNullableFilter<"ScheduledJob"> | string | null
    description?: StringNullableFilter<"ScheduledJob"> | string | null
    created_at?: DateTimeFilter<"ScheduledJob"> | Date | string
    company_id?: IntFilter<"ScheduledJob"> | number
    status_id?: IntFilter<"ScheduledJob"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    scheduled_job_logs?: ScheduledJobLogsListRelationFilter
  }

  export type ScheduledJobOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    timing?: SortOrder
    cron_url?: SortOrderInput | SortOrder
    concat_base_url?: SortOrder
    downloadables?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    scheduled_job_logs?: ScheduledJobLogsOrderByRelationAggregateInput
    _relevance?: ScheduledJobOrderByRelevanceInput
  }

  export type ScheduledJobWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
    OR?: ScheduledJobWhereInput[]
    NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[]
    uuid?: UuidFilter<"ScheduledJob"> | string
    timing?: StringFilter<"ScheduledJob"> | string
    cron_url?: StringNullableFilter<"ScheduledJob"> | string | null
    concat_base_url?: BoolFilter<"ScheduledJob"> | boolean
    downloadables?: StringNullableFilter<"ScheduledJob"> | string | null
    description?: StringNullableFilter<"ScheduledJob"> | string | null
    created_at?: DateTimeFilter<"ScheduledJob"> | Date | string
    company_id?: IntFilter<"ScheduledJob"> | number
    status_id?: IntFilter<"ScheduledJob"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    scheduled_job_logs?: ScheduledJobLogsListRelationFilter
  }, "id">

  export type ScheduledJobOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    timing?: SortOrder
    cron_url?: SortOrderInput | SortOrder
    concat_base_url?: SortOrder
    downloadables?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    _count?: ScheduledJobCountOrderByAggregateInput
    _avg?: ScheduledJobAvgOrderByAggregateInput
    _max?: ScheduledJobMaxOrderByAggregateInput
    _min?: ScheduledJobMinOrderByAggregateInput
    _sum?: ScheduledJobSumOrderByAggregateInput
  }

  export type ScheduledJobScalarWhereWithAggregatesInput = {
    AND?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
    OR?: ScheduledJobScalarWhereWithAggregatesInput[]
    NOT?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ScheduledJob"> | number
    uuid?: UuidWithAggregatesFilter<"ScheduledJob"> | string
    timing?: StringWithAggregatesFilter<"ScheduledJob"> | string
    cron_url?: StringNullableWithAggregatesFilter<"ScheduledJob"> | string | null
    concat_base_url?: BoolWithAggregatesFilter<"ScheduledJob"> | boolean
    downloadables?: StringNullableWithAggregatesFilter<"ScheduledJob"> | string | null
    description?: StringNullableWithAggregatesFilter<"ScheduledJob"> | string | null
    created_at?: DateTimeWithAggregatesFilter<"ScheduledJob"> | Date | string
    company_id?: IntWithAggregatesFilter<"ScheduledJob"> | number
    status_id?: IntWithAggregatesFilter<"ScheduledJob"> | number
  }

  export type ScheduledJobLogsWhereInput = {
    AND?: ScheduledJobLogsWhereInput | ScheduledJobLogsWhereInput[]
    OR?: ScheduledJobLogsWhereInput[]
    NOT?: ScheduledJobLogsWhereInput | ScheduledJobLogsWhereInput[]
    id?: IntFilter<"ScheduledJobLogs"> | number
    uuid?: UuidFilter<"ScheduledJobLogs"> | string
    scheduled_job_id?: IntFilter<"ScheduledJobLogs"> | number
    executed_statement?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    schedule_status?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    downloadables?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    response?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    created_at?: DateTimeFilter<"ScheduledJobLogs"> | Date | string
    company_id?: IntFilter<"ScheduledJobLogs"> | number
    status_id?: IntFilter<"ScheduledJobLogs"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    scheduled_job?: XOR<ScheduledJobRelationFilter, ScheduledJobWhereInput>
  }

  export type ScheduledJobLogsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    scheduled_job_id?: SortOrder
    executed_statement?: SortOrderInput | SortOrder
    schedule_status?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    response?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    scheduled_job?: ScheduledJobOrderByWithRelationInput
    _relevance?: ScheduledJobLogsOrderByRelevanceInput
  }

  export type ScheduledJobLogsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ScheduledJobLogsCompany_idIdCompoundUniqueInput
    AND?: ScheduledJobLogsWhereInput | ScheduledJobLogsWhereInput[]
    OR?: ScheduledJobLogsWhereInput[]
    NOT?: ScheduledJobLogsWhereInput | ScheduledJobLogsWhereInput[]
    uuid?: UuidFilter<"ScheduledJobLogs"> | string
    scheduled_job_id?: IntFilter<"ScheduledJobLogs"> | number
    executed_statement?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    schedule_status?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    downloadables?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    response?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    created_at?: DateTimeFilter<"ScheduledJobLogs"> | Date | string
    company_id?: IntFilter<"ScheduledJobLogs"> | number
    status_id?: IntFilter<"ScheduledJobLogs"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    scheduled_job?: XOR<ScheduledJobRelationFilter, ScheduledJobWhereInput>
  }, "id" | "company_id_id">

  export type ScheduledJobLogsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    scheduled_job_id?: SortOrder
    executed_statement?: SortOrderInput | SortOrder
    schedule_status?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    response?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    _count?: ScheduledJobLogsCountOrderByAggregateInput
    _avg?: ScheduledJobLogsAvgOrderByAggregateInput
    _max?: ScheduledJobLogsMaxOrderByAggregateInput
    _min?: ScheduledJobLogsMinOrderByAggregateInput
    _sum?: ScheduledJobLogsSumOrderByAggregateInput
  }

  export type ScheduledJobLogsScalarWhereWithAggregatesInput = {
    AND?: ScheduledJobLogsScalarWhereWithAggregatesInput | ScheduledJobLogsScalarWhereWithAggregatesInput[]
    OR?: ScheduledJobLogsScalarWhereWithAggregatesInput[]
    NOT?: ScheduledJobLogsScalarWhereWithAggregatesInput | ScheduledJobLogsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ScheduledJobLogs"> | number
    uuid?: UuidWithAggregatesFilter<"ScheduledJobLogs"> | string
    scheduled_job_id?: IntWithAggregatesFilter<"ScheduledJobLogs"> | number
    executed_statement?: StringNullableWithAggregatesFilter<"ScheduledJobLogs"> | string | null
    schedule_status?: StringNullableWithAggregatesFilter<"ScheduledJobLogs"> | string | null
    downloadables?: StringNullableWithAggregatesFilter<"ScheduledJobLogs"> | string | null
    response?: StringNullableWithAggregatesFilter<"ScheduledJobLogs"> | string | null
    created_at?: DateTimeWithAggregatesFilter<"ScheduledJobLogs"> | Date | string
    company_id?: IntWithAggregatesFilter<"ScheduledJobLogs"> | number
    status_id?: IntWithAggregatesFilter<"ScheduledJobLogs"> | number
  }

  export type ApprovalWorkflowWhereInput = {
    AND?: ApprovalWorkflowWhereInput | ApprovalWorkflowWhereInput[]
    OR?: ApprovalWorkflowWhereInput[]
    NOT?: ApprovalWorkflowWhereInput | ApprovalWorkflowWhereInput[]
    id?: IntFilter<"ApprovalWorkflow"> | number
    uuid?: UuidFilter<"ApprovalWorkflow"> | string
    name?: StringFilter<"ApprovalWorkflow"> | string
    description?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    slug?: StringFilter<"ApprovalWorkflow"> | string
    query_information?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    status_id?: IntFilter<"ApprovalWorkflow"> | number
    url?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    company_id?: IntFilter<"ApprovalWorkflow"> | number
    created_by?: IntFilter<"ApprovalWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflow"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approval_workflow_assignments?: ApprovalWorkflowAssignmentListRelationFilter
  }

  export type ApprovalWorkflowOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    slug?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    url?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentOrderByRelationAggregateInput
    _relevance?: ApprovalWorkflowOrderByRelevanceInput
  }

  export type ApprovalWorkflowWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ApprovalWorkflowCompany_idIdCompoundUniqueInput
    company_id_slug?: ApprovalWorkflowCompany_idSlugCompoundUniqueInput
    AND?: ApprovalWorkflowWhereInput | ApprovalWorkflowWhereInput[]
    OR?: ApprovalWorkflowWhereInput[]
    NOT?: ApprovalWorkflowWhereInput | ApprovalWorkflowWhereInput[]
    uuid?: UuidFilter<"ApprovalWorkflow"> | string
    name?: StringFilter<"ApprovalWorkflow"> | string
    description?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    slug?: StringFilter<"ApprovalWorkflow"> | string
    query_information?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    status_id?: IntFilter<"ApprovalWorkflow"> | number
    url?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    company_id?: IntFilter<"ApprovalWorkflow"> | number
    created_by?: IntFilter<"ApprovalWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflow"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approval_workflow_assignments?: ApprovalWorkflowAssignmentListRelationFilter
  }, "id" | "company_id_id" | "company_id_slug">

  export type ApprovalWorkflowOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    slug?: SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    url?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ApprovalWorkflowCountOrderByAggregateInput
    _avg?: ApprovalWorkflowAvgOrderByAggregateInput
    _max?: ApprovalWorkflowMaxOrderByAggregateInput
    _min?: ApprovalWorkflowMinOrderByAggregateInput
    _sum?: ApprovalWorkflowSumOrderByAggregateInput
  }

  export type ApprovalWorkflowScalarWhereWithAggregatesInput = {
    AND?: ApprovalWorkflowScalarWhereWithAggregatesInput | ApprovalWorkflowScalarWhereWithAggregatesInput[]
    OR?: ApprovalWorkflowScalarWhereWithAggregatesInput[]
    NOT?: ApprovalWorkflowScalarWhereWithAggregatesInput | ApprovalWorkflowScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalWorkflow"> | number
    uuid?: UuidWithAggregatesFilter<"ApprovalWorkflow"> | string
    name?: StringWithAggregatesFilter<"ApprovalWorkflow"> | string
    description?: StringNullableWithAggregatesFilter<"ApprovalWorkflow"> | string | null
    slug?: StringWithAggregatesFilter<"ApprovalWorkflow"> | string
    query_information?: StringNullableWithAggregatesFilter<"ApprovalWorkflow"> | string | null
    status_id?: IntWithAggregatesFilter<"ApprovalWorkflow"> | number
    url?: StringNullableWithAggregatesFilter<"ApprovalWorkflow"> | string | null
    company_id?: IntWithAggregatesFilter<"ApprovalWorkflow"> | number
    created_by?: IntWithAggregatesFilter<"ApprovalWorkflow"> | number
    created_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflow"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflow"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflow"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflow"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ApprovalWorkflow"> | Date | string | null
  }

  export type ApprovalWorkflowApproverTagWhereInput = {
    AND?: ApprovalWorkflowApproverTagWhereInput | ApprovalWorkflowApproverTagWhereInput[]
    OR?: ApprovalWorkflowApproverTagWhereInput[]
    NOT?: ApprovalWorkflowApproverTagWhereInput | ApprovalWorkflowApproverTagWhereInput[]
    id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    uuid?: UuidFilter<"ApprovalWorkflowApproverTag"> | string
    slug?: StringFilter<"ApprovalWorkflowApproverTag"> | string
    name?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    description?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    query_information?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    status_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    company_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_by?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowApproverTag"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ApprovalWorkflowApproverTagOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: ApprovalWorkflowApproverTagOrderByRelevanceInput
  }

  export type ApprovalWorkflowApproverTagWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ApprovalWorkflowApproverTagCompany_idIdCompoundUniqueInput
    company_id_slug?: ApprovalWorkflowApproverTagCompany_idSlugCompoundUniqueInput
    AND?: ApprovalWorkflowApproverTagWhereInput | ApprovalWorkflowApproverTagWhereInput[]
    OR?: ApprovalWorkflowApproverTagWhereInput[]
    NOT?: ApprovalWorkflowApproverTagWhereInput | ApprovalWorkflowApproverTagWhereInput[]
    uuid?: UuidFilter<"ApprovalWorkflowApproverTag"> | string
    slug?: StringFilter<"ApprovalWorkflowApproverTag"> | string
    name?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    description?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    query_information?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    status_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    company_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_by?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowApproverTag"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_slug">

  export type ApprovalWorkflowApproverTagOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    query_information?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ApprovalWorkflowApproverTagCountOrderByAggregateInput
    _avg?: ApprovalWorkflowApproverTagAvgOrderByAggregateInput
    _max?: ApprovalWorkflowApproverTagMaxOrderByAggregateInput
    _min?: ApprovalWorkflowApproverTagMinOrderByAggregateInput
    _sum?: ApprovalWorkflowApproverTagSumOrderByAggregateInput
  }

  export type ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput = {
    AND?: ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput | ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput[]
    OR?: ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput[]
    NOT?: ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput | ApprovalWorkflowApproverTagScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number
    uuid?: UuidWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | string
    slug?: StringWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | string
    name?: StringNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | string | null
    description?: StringNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | string | null
    query_information?: StringNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | string | null
    status_id?: IntWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number
    company_id?: IntWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number
    created_by?: IntWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number
    created_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ApprovalWorkflowApproverTag"> | Date | string | null
  }

  export type ApprovalWorkflowAssignmentWhereInput = {
    AND?: ApprovalWorkflowAssignmentWhereInput | ApprovalWorkflowAssignmentWhereInput[]
    OR?: ApprovalWorkflowAssignmentWhereInput[]
    NOT?: ApprovalWorkflowAssignmentWhereInput | ApprovalWorkflowAssignmentWhereInput[]
    id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    uuid?: UuidFilter<"ApprovalWorkflowAssignment"> | string
    approval_workflow_slug?: StringFilter<"ApprovalWorkflowAssignment"> | string
    approver_order_no?: DecimalFilter<"ApprovalWorkflowAssignment"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalWorkflowAssignment"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalWorkflowAssignment"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    reject_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    status_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    company_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_by?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowAssignment"> | Date | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    approval_workflow?: XOR<ApprovalWorkflowRelationFilter, ApprovalWorkflowWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approve_mail?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    reject_mail?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    approve_whatsapp?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    reject_whatsapp?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
  }

  export type ApprovalWorkflowAssignmentOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrderInput | SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    approve_mail_id?: SortOrderInput | SortOrder
    reject_mail_id?: SortOrderInput | SortOrder
    approve_whatsapp_id?: SortOrderInput | SortOrder
    reject_whatsapp_id?: SortOrderInput | SortOrder
    approval_workflow?: ApprovalWorkflowOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    approve_mail?: NotificationTemplateOrderByWithRelationInput
    reject_mail?: NotificationTemplateOrderByWithRelationInput
    approve_whatsapp?: NotificationTemplateOrderByWithRelationInput
    reject_whatsapp?: NotificationTemplateOrderByWithRelationInput
    _relevance?: ApprovalWorkflowAssignmentOrderByRelevanceInput
  }

  export type ApprovalWorkflowAssignmentWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ApprovalWorkflowAssignmentCompany_idIdCompoundUniqueInput
    company_id_uuid?: ApprovalWorkflowAssignmentCompany_idUuidCompoundUniqueInput
    company_id_approval_workflow_slug_approver_order_no?: ApprovalWorkflowAssignmentCompany_idApproval_workflow_slugApprover_order_noCompoundUniqueInput
    AND?: ApprovalWorkflowAssignmentWhereInput | ApprovalWorkflowAssignmentWhereInput[]
    OR?: ApprovalWorkflowAssignmentWhereInput[]
    NOT?: ApprovalWorkflowAssignmentWhereInput | ApprovalWorkflowAssignmentWhereInput[]
    uuid?: UuidFilter<"ApprovalWorkflowAssignment"> | string
    approval_workflow_slug?: StringFilter<"ApprovalWorkflowAssignment"> | string
    approver_order_no?: DecimalFilter<"ApprovalWorkflowAssignment"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalWorkflowAssignment"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalWorkflowAssignment"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    reject_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    status_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    company_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_by?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowAssignment"> | Date | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    approval_workflow?: XOR<ApprovalWorkflowRelationFilter, ApprovalWorkflowWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approve_mail?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    reject_mail?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    approve_whatsapp?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
    reject_whatsapp?: XOR<NotificationTemplateNullableRelationFilter, NotificationTemplateWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_approval_workflow_slug_approver_order_no">

  export type ApprovalWorkflowAssignmentOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrderInput | SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    approve_mail_id?: SortOrderInput | SortOrder
    reject_mail_id?: SortOrderInput | SortOrder
    approve_whatsapp_id?: SortOrderInput | SortOrder
    reject_whatsapp_id?: SortOrderInput | SortOrder
    _count?: ApprovalWorkflowAssignmentCountOrderByAggregateInput
    _avg?: ApprovalWorkflowAssignmentAvgOrderByAggregateInput
    _max?: ApprovalWorkflowAssignmentMaxOrderByAggregateInput
    _min?: ApprovalWorkflowAssignmentMinOrderByAggregateInput
    _sum?: ApprovalWorkflowAssignmentSumOrderByAggregateInput
  }

  export type ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput = {
    AND?: ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput | ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput[]
    OR?: ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput[]
    NOT?: ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput | ApprovalWorkflowAssignmentScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number
    uuid?: UuidWithAggregatesFilter<"ApprovalWorkflowAssignment"> | string
    approval_workflow_slug?: StringWithAggregatesFilter<"ApprovalWorkflowAssignment"> | string
    approver_order_no?: DecimalWithAggregatesFilter<"ApprovalWorkflowAssignment"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeWithAggregatesFilter<"ApprovalWorkflowAssignment"> | $Enums.ApproverType
    approver?: StringNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    reject_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    status_id?: IntWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number
    company_id?: IntWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number
    created_by?: IntWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number
    created_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflowAssignment"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ApprovalWorkflowAssignment"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | Date | string | null
    approve_mail_id?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_mail_id?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
    approve_whatsapp_id?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_whatsapp_id?: IntNullableWithAggregatesFilter<"ApprovalWorkflowAssignment"> | number | null
  }

  export type ApprovalProcessJobWhereInput = {
    AND?: ApprovalProcessJobWhereInput | ApprovalProcessJobWhereInput[]
    OR?: ApprovalProcessJobWhereInput[]
    NOT?: ApprovalProcessJobWhereInput | ApprovalProcessJobWhereInput[]
    id?: IntFilter<"ApprovalProcessJob"> | number
    uuid?: UuidFilter<"ApprovalProcessJob"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJob"> | string
    sequence_no?: StringFilter<"ApprovalProcessJob"> | string
    description?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    primary_table?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    unique_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJob"> | string
    user_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    prefill_data?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    details?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    status_id?: IntFilter<"ApprovalProcessJob"> | number
    company_id?: IntFilter<"ApprovalProcessJob"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ApprovalProcessJobOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    sequence_no?: SortOrder
    description?: SortOrderInput | SortOrder
    primary_table?: SortOrderInput | SortOrder
    unique_id?: SortOrderInput | SortOrder
    screen_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    prefill_data?: SortOrderInput | SortOrder
    details?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: ApprovalProcessJobOrderByRelevanceInput
  }

  export type ApprovalProcessJobWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_uuid?: ApprovalProcessJobCompany_idUuidCompoundUniqueInput
    company_id_id?: ApprovalProcessJobCompany_idIdCompoundUniqueInput
    AND?: ApprovalProcessJobWhereInput | ApprovalProcessJobWhereInput[]
    OR?: ApprovalProcessJobWhereInput[]
    NOT?: ApprovalProcessJobWhereInput | ApprovalProcessJobWhereInput[]
    uuid?: UuidFilter<"ApprovalProcessJob"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJob"> | string
    sequence_no?: StringFilter<"ApprovalProcessJob"> | string
    description?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    primary_table?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    unique_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJob"> | string
    user_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    prefill_data?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    details?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    status_id?: IntFilter<"ApprovalProcessJob"> | number
    company_id?: IntFilter<"ApprovalProcessJob"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_uuid" | "company_id_id">

  export type ApprovalProcessJobOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    sequence_no?: SortOrder
    description?: SortOrderInput | SortOrder
    primary_table?: SortOrderInput | SortOrder
    unique_id?: SortOrderInput | SortOrder
    screen_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    prefill_data?: SortOrderInput | SortOrder
    details?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: ApprovalProcessJobCountOrderByAggregateInput
    _avg?: ApprovalProcessJobAvgOrderByAggregateInput
    _max?: ApprovalProcessJobMaxOrderByAggregateInput
    _min?: ApprovalProcessJobMinOrderByAggregateInput
    _sum?: ApprovalProcessJobSumOrderByAggregateInput
  }

  export type ApprovalProcessJobScalarWhereWithAggregatesInput = {
    AND?: ApprovalProcessJobScalarWhereWithAggregatesInput | ApprovalProcessJobScalarWhereWithAggregatesInput[]
    OR?: ApprovalProcessJobScalarWhereWithAggregatesInput[]
    NOT?: ApprovalProcessJobScalarWhereWithAggregatesInput | ApprovalProcessJobScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalProcessJob"> | number
    uuid?: UuidWithAggregatesFilter<"ApprovalProcessJob"> | string
    approval_workflow_slug?: StringWithAggregatesFilter<"ApprovalProcessJob"> | string
    sequence_no?: StringWithAggregatesFilter<"ApprovalProcessJob"> | string
    description?: StringNullableWithAggregatesFilter<"ApprovalProcessJob"> | string | null
    primary_table?: StringNullableWithAggregatesFilter<"ApprovalProcessJob"> | string | null
    unique_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJob"> | number | null
    screen_id?: StringWithAggregatesFilter<"ApprovalProcessJob"> | string
    user_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJob"> | number | null
    prefill_data?: StringNullableWithAggregatesFilter<"ApprovalProcessJob"> | string | null
    details?: StringNullableWithAggregatesFilter<"ApprovalProcessJob"> | string | null
    status_id?: IntWithAggregatesFilter<"ApprovalProcessJob"> | number
    company_id?: IntWithAggregatesFilter<"ApprovalProcessJob"> | number
  }

  export type ApprovalProcessJobWorkflowWhereInput = {
    AND?: ApprovalProcessJobWorkflowWhereInput | ApprovalProcessJobWorkflowWhereInput[]
    OR?: ApprovalProcessJobWorkflowWhereInput[]
    NOT?: ApprovalProcessJobWorkflowWhereInput | ApprovalProcessJobWorkflowWhereInput[]
    id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    approval_workflow_assignment_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    approval_process_job_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_process_job_name?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approval_process_job_description?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    reject_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    primary_table?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    sequence_no?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    unique_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    prefill_data?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    url?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approver_order_no?: DecimalFilter<"ApprovalProcessJobWorkflow"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    review_status?: EnumApprovalStatusFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApprovalStatus
    status_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    reviewed_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reason?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    company_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalProcessJobWorkflow"> | Date | string
    assigned_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    deleted_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    details?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserListRelationFilter
  }

  export type ApprovalProcessJobWorkflowOrderByWithRelationInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    approval_process_job_id?: SortOrder
    approval_workflow_slug?: SortOrder
    approval_process_job_name?: SortOrderInput | SortOrder
    approval_process_job_description?: SortOrderInput | SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    primary_table?: SortOrderInput | SortOrder
    sequence_no?: SortOrder
    unique_id?: SortOrderInput | SortOrder
    user_id?: SortOrderInput | SortOrder
    screen_id?: SortOrder
    prefill_data?: SortOrderInput | SortOrder
    url?: SortOrderInput | SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrderInput | SortOrder
    review_status?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrderInput | SortOrder
    reason?: SortOrderInput | SortOrder
    approve_mail_id?: SortOrderInput | SortOrder
    reject_mail_id?: SortOrderInput | SortOrder
    approve_whatsapp_id?: SortOrderInput | SortOrder
    reject_whatsapp_id?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    assigned_at?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    details?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserOrderByRelationAggregateInput
    _relevance?: ApprovalProcessJobWorkflowOrderByRelevanceInput
  }

  export type ApprovalProcessJobWorkflowWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ApprovalProcessJobWorkflowCompany_idIdCompoundUniqueInput
    AND?: ApprovalProcessJobWorkflowWhereInput | ApprovalProcessJobWorkflowWhereInput[]
    OR?: ApprovalProcessJobWorkflowWhereInput[]
    NOT?: ApprovalProcessJobWorkflowWhereInput | ApprovalProcessJobWorkflowWhereInput[]
    approval_workflow_assignment_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    approval_process_job_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_process_job_name?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approval_process_job_description?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    reject_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    primary_table?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    sequence_no?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    unique_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    prefill_data?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    url?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approver_order_no?: DecimalFilter<"ApprovalProcessJobWorkflow"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    review_status?: EnumApprovalStatusFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApprovalStatus
    status_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    reviewed_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reason?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    company_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalProcessJobWorkflow"> | Date | string
    assigned_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    deleted_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    details?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserListRelationFilter
  }, "id" | "company_id_id">

  export type ApprovalProcessJobWorkflowOrderByWithAggregationInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    approval_process_job_id?: SortOrder
    approval_workflow_slug?: SortOrder
    approval_process_job_name?: SortOrderInput | SortOrder
    approval_process_job_description?: SortOrderInput | SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    primary_table?: SortOrderInput | SortOrder
    sequence_no?: SortOrder
    unique_id?: SortOrderInput | SortOrder
    user_id?: SortOrderInput | SortOrder
    screen_id?: SortOrder
    prefill_data?: SortOrderInput | SortOrder
    url?: SortOrderInput | SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrderInput | SortOrder
    review_status?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrderInput | SortOrder
    reason?: SortOrderInput | SortOrder
    approve_mail_id?: SortOrderInput | SortOrder
    reject_mail_id?: SortOrderInput | SortOrder
    approve_whatsapp_id?: SortOrderInput | SortOrder
    reject_whatsapp_id?: SortOrderInput | SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    assigned_at?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    details?: SortOrderInput | SortOrder
    _count?: ApprovalProcessJobWorkflowCountOrderByAggregateInput
    _avg?: ApprovalProcessJobWorkflowAvgOrderByAggregateInput
    _max?: ApprovalProcessJobWorkflowMaxOrderByAggregateInput
    _min?: ApprovalProcessJobWorkflowMinOrderByAggregateInput
    _sum?: ApprovalProcessJobWorkflowSumOrderByAggregateInput
  }

  export type ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput = {
    AND?: ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput | ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput[]
    OR?: ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput[]
    NOT?: ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput | ApprovalProcessJobWorkflowScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number
    approval_workflow_assignment_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number
    approval_process_job_id?: StringWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string
    approval_workflow_slug?: StringWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string
    approval_process_job_name?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    approval_process_job_description?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    reject_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    primary_table?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    sequence_no?: StringWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string
    unique_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    user_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    screen_id?: StringWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string
    prefill_data?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    url?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    approver_order_no?: DecimalWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApproverType
    approver?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    review_status?: EnumApprovalStatusWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApprovalStatus
    status_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number
    reviewed_by?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    reason?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_mail_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_mail_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    approve_whatsapp_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_whatsapp_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    company_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number
    created_at?: DateTimeWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | Date | string
    assigned_at?: DateTimeNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    processed_at?: DateTimeNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    deleted_by?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    details?: StringNullableWithAggregatesFilter<"ApprovalProcessJobWorkflow"> | string | null
  }

  export type ApprovalProcessJobWorkflowUserWhereInput = {
    AND?: ApprovalProcessJobWorkflowUserWhereInput | ApprovalProcessJobWorkflowUserWhereInput[]
    OR?: ApprovalProcessJobWorkflowUserWhereInput[]
    NOT?: ApprovalProcessJobWorkflowUserWhereInput | ApprovalProcessJobWorkflowUserWhereInput[]
    id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    uuid?: UuidFilter<"ApprovalProcessJobWorkflowUser"> | string
    approval_process_job_workflow_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflowUser"> | number | null
    status_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    company_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    approval_process_job_workflow?: XOR<ApprovalProcessJobWorkflowRelationFilter, ApprovalProcessJobWorkflowWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ApprovalProcessJobWorkflowUserOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    approval_process_job_workflow?: ApprovalProcessJobWorkflowOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: ApprovalProcessJobWorkflowUserOrderByRelevanceInput
  }

  export type ApprovalProcessJobWorkflowUserWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ApprovalProcessJobWorkflowUserCompany_idIdCompoundUniqueInput
    company_id_uuid?: ApprovalProcessJobWorkflowUserCompany_idUuidCompoundUniqueInput
    AND?: ApprovalProcessJobWorkflowUserWhereInput | ApprovalProcessJobWorkflowUserWhereInput[]
    OR?: ApprovalProcessJobWorkflowUserWhereInput[]
    NOT?: ApprovalProcessJobWorkflowUserWhereInput | ApprovalProcessJobWorkflowUserWhereInput[]
    uuid?: UuidFilter<"ApprovalProcessJobWorkflowUser"> | string
    approval_process_job_workflow_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflowUser"> | number | null
    status_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    company_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    approval_process_job_workflow?: XOR<ApprovalProcessJobWorkflowRelationFilter, ApprovalProcessJobWorkflowWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type ApprovalProcessJobWorkflowUserOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: ApprovalProcessJobWorkflowUserCountOrderByAggregateInput
    _avg?: ApprovalProcessJobWorkflowUserAvgOrderByAggregateInput
    _max?: ApprovalProcessJobWorkflowUserMaxOrderByAggregateInput
    _min?: ApprovalProcessJobWorkflowUserMinOrderByAggregateInput
    _sum?: ApprovalProcessJobWorkflowUserSumOrderByAggregateInput
  }

  export type ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput = {
    AND?: ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput | ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput[]
    OR?: ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput[]
    NOT?: ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput | ApprovalProcessJobWorkflowUserScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | number
    uuid?: UuidWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | string
    approval_process_job_workflow_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | number
    user_id?: IntNullableWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | number | null
    status_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | number
    company_id?: IntWithAggregatesFilter<"ApprovalProcessJobWorkflowUser"> | number
  }

  export type DelegationWhereInput = {
    AND?: DelegationWhereInput | DelegationWhereInput[]
    OR?: DelegationWhereInput[]
    NOT?: DelegationWhereInput | DelegationWhereInput[]
    id?: IntFilter<"Delegation"> | number
    uuid?: UuidFilter<"Delegation"> | string
    user_id?: IntFilter<"Delegation"> | number
    delegated_user_id?: IntFilter<"Delegation"> | number
    reason?: StringNullableFilter<"Delegation"> | string | null
    start_date?: DateTimeFilter<"Delegation"> | Date | string
    end_date?: DateTimeFilter<"Delegation"> | Date | string
    status_id?: IntFilter<"Delegation"> | number
    company_id?: IntFilter<"Delegation"> | number
    created_by?: IntFilter<"Delegation"> | number
    created_at?: DateTimeFilter<"Delegation"> | Date | string
    updated_by?: IntNullableFilter<"Delegation"> | number | null
    updated_at?: DateTimeFilter<"Delegation"> | Date | string
    deleted_by?: IntNullableFilter<"Delegation"> | number | null
    deleted_at?: DateTimeNullableFilter<"Delegation"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type DelegationOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    reason?: SortOrderInput | SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: DelegationOrderByRelevanceInput
  }

  export type DelegationWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DelegationCompany_idIdCompoundUniqueInput
    company_id_uuid?: DelegationCompany_idUuidCompoundUniqueInput
    AND?: DelegationWhereInput | DelegationWhereInput[]
    OR?: DelegationWhereInput[]
    NOT?: DelegationWhereInput | DelegationWhereInput[]
    uuid?: UuidFilter<"Delegation"> | string
    user_id?: IntFilter<"Delegation"> | number
    delegated_user_id?: IntFilter<"Delegation"> | number
    reason?: StringNullableFilter<"Delegation"> | string | null
    start_date?: DateTimeFilter<"Delegation"> | Date | string
    end_date?: DateTimeFilter<"Delegation"> | Date | string
    status_id?: IntFilter<"Delegation"> | number
    company_id?: IntFilter<"Delegation"> | number
    created_by?: IntFilter<"Delegation"> | number
    created_at?: DateTimeFilter<"Delegation"> | Date | string
    updated_by?: IntNullableFilter<"Delegation"> | number | null
    updated_at?: DateTimeFilter<"Delegation"> | Date | string
    deleted_by?: IntNullableFilter<"Delegation"> | number | null
    deleted_at?: DateTimeNullableFilter<"Delegation"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type DelegationOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    reason?: SortOrderInput | SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DelegationCountOrderByAggregateInput
    _avg?: DelegationAvgOrderByAggregateInput
    _max?: DelegationMaxOrderByAggregateInput
    _min?: DelegationMinOrderByAggregateInput
    _sum?: DelegationSumOrderByAggregateInput
  }

  export type DelegationScalarWhereWithAggregatesInput = {
    AND?: DelegationScalarWhereWithAggregatesInput | DelegationScalarWhereWithAggregatesInput[]
    OR?: DelegationScalarWhereWithAggregatesInput[]
    NOT?: DelegationScalarWhereWithAggregatesInput | DelegationScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Delegation"> | number
    uuid?: UuidWithAggregatesFilter<"Delegation"> | string
    user_id?: IntWithAggregatesFilter<"Delegation"> | number
    delegated_user_id?: IntWithAggregatesFilter<"Delegation"> | number
    reason?: StringNullableWithAggregatesFilter<"Delegation"> | string | null
    start_date?: DateTimeWithAggregatesFilter<"Delegation"> | Date | string
    end_date?: DateTimeWithAggregatesFilter<"Delegation"> | Date | string
    status_id?: IntWithAggregatesFilter<"Delegation"> | number
    company_id?: IntWithAggregatesFilter<"Delegation"> | number
    created_by?: IntWithAggregatesFilter<"Delegation"> | number
    created_at?: DateTimeWithAggregatesFilter<"Delegation"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"Delegation"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"Delegation"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"Delegation"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Delegation"> | Date | string | null
  }

  export type SchemaChunkWhereInput = {
    AND?: SchemaChunkWhereInput | SchemaChunkWhereInput[]
    OR?: SchemaChunkWhereInput[]
    NOT?: SchemaChunkWhereInput | SchemaChunkWhereInput[]
    id?: IntFilter<"SchemaChunk"> | number
    uuid?: UuidFilter<"SchemaChunk"> | string
    table_name?: StringFilter<"SchemaChunk"> | string
    chunk?: StringFilter<"SchemaChunk"> | string
    status_id?: IntFilter<"SchemaChunk"> | number
    created_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    created_by?: IntFilter<"SchemaChunk"> | number
    updated_by?: IntNullableFilter<"SchemaChunk"> | number | null
    updated_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    deleted_by?: IntNullableFilter<"SchemaChunk"> | number | null
    deleted_at?: DateTimeNullableFilter<"SchemaChunk"> | Date | string | null
    company_id?: IntFilter<"SchemaChunk"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type SchemaChunkOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    table_name?: SortOrder
    chunk?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: SchemaChunkOrderByRelevanceInput
  }

  export type SchemaChunkWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    table_name?: string
    AND?: SchemaChunkWhereInput | SchemaChunkWhereInput[]
    OR?: SchemaChunkWhereInput[]
    NOT?: SchemaChunkWhereInput | SchemaChunkWhereInput[]
    uuid?: UuidFilter<"SchemaChunk"> | string
    chunk?: StringFilter<"SchemaChunk"> | string
    status_id?: IntFilter<"SchemaChunk"> | number
    created_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    created_by?: IntFilter<"SchemaChunk"> | number
    updated_by?: IntNullableFilter<"SchemaChunk"> | number | null
    updated_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    deleted_by?: IntNullableFilter<"SchemaChunk"> | number | null
    deleted_at?: DateTimeNullableFilter<"SchemaChunk"> | Date | string | null
    company_id?: IntFilter<"SchemaChunk"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "table_name">

  export type SchemaChunkOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    table_name?: SortOrder
    chunk?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    _count?: SchemaChunkCountOrderByAggregateInput
    _avg?: SchemaChunkAvgOrderByAggregateInput
    _max?: SchemaChunkMaxOrderByAggregateInput
    _min?: SchemaChunkMinOrderByAggregateInput
    _sum?: SchemaChunkSumOrderByAggregateInput
  }

  export type SchemaChunkScalarWhereWithAggregatesInput = {
    AND?: SchemaChunkScalarWhereWithAggregatesInput | SchemaChunkScalarWhereWithAggregatesInput[]
    OR?: SchemaChunkScalarWhereWithAggregatesInput[]
    NOT?: SchemaChunkScalarWhereWithAggregatesInput | SchemaChunkScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"SchemaChunk"> | number
    uuid?: UuidWithAggregatesFilter<"SchemaChunk"> | string
    table_name?: StringWithAggregatesFilter<"SchemaChunk"> | string
    chunk?: StringWithAggregatesFilter<"SchemaChunk"> | string
    status_id?: IntWithAggregatesFilter<"SchemaChunk"> | number
    created_at?: DateTimeWithAggregatesFilter<"SchemaChunk"> | Date | string
    created_by?: IntWithAggregatesFilter<"SchemaChunk"> | number
    updated_by?: IntNullableWithAggregatesFilter<"SchemaChunk"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"SchemaChunk"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"SchemaChunk"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"SchemaChunk"> | Date | string | null
    company_id?: IntWithAggregatesFilter<"SchemaChunk"> | number
  }

  export type EmbeddingVectorLogsWhereInput = {
    AND?: EmbeddingVectorLogsWhereInput | EmbeddingVectorLogsWhereInput[]
    OR?: EmbeddingVectorLogsWhereInput[]
    NOT?: EmbeddingVectorLogsWhereInput | EmbeddingVectorLogsWhereInput[]
    id?: IntFilter<"EmbeddingVectorLogs"> | number
    uuid?: UuidFilter<"EmbeddingVectorLogs"> | string
    user_id?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    cost?: DecimalFilter<"EmbeddingVectorLogs"> | Decimal | DecimalJsLike | number | string
    company_id?: IntFilter<"EmbeddingVectorLogs"> | number
    table_name?: StringFilter<"EmbeddingVectorLogs"> | string
    status_id?: IntFilter<"EmbeddingVectorLogs"> | number
    created_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    created_by?: IntFilter<"EmbeddingVectorLogs"> | number
    updated_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    updated_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    deleted_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    deleted_at?: DateTimeNullableFilter<"EmbeddingVectorLogs"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type EmbeddingVectorLogsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    table_name?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: EmbeddingVectorLogsOrderByRelevanceInput
  }

  export type EmbeddingVectorLogsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: EmbeddingVectorLogsWhereInput | EmbeddingVectorLogsWhereInput[]
    OR?: EmbeddingVectorLogsWhereInput[]
    NOT?: EmbeddingVectorLogsWhereInput | EmbeddingVectorLogsWhereInput[]
    uuid?: UuidFilter<"EmbeddingVectorLogs"> | string
    user_id?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    cost?: DecimalFilter<"EmbeddingVectorLogs"> | Decimal | DecimalJsLike | number | string
    company_id?: IntFilter<"EmbeddingVectorLogs"> | number
    table_name?: StringFilter<"EmbeddingVectorLogs"> | string
    status_id?: IntFilter<"EmbeddingVectorLogs"> | number
    created_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    created_by?: IntFilter<"EmbeddingVectorLogs"> | number
    updated_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    updated_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    deleted_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    deleted_at?: DateTimeNullableFilter<"EmbeddingVectorLogs"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type EmbeddingVectorLogsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    table_name?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: EmbeddingVectorLogsCountOrderByAggregateInput
    _avg?: EmbeddingVectorLogsAvgOrderByAggregateInput
    _max?: EmbeddingVectorLogsMaxOrderByAggregateInput
    _min?: EmbeddingVectorLogsMinOrderByAggregateInput
    _sum?: EmbeddingVectorLogsSumOrderByAggregateInput
  }

  export type EmbeddingVectorLogsScalarWhereWithAggregatesInput = {
    AND?: EmbeddingVectorLogsScalarWhereWithAggregatesInput | EmbeddingVectorLogsScalarWhereWithAggregatesInput[]
    OR?: EmbeddingVectorLogsScalarWhereWithAggregatesInput[]
    NOT?: EmbeddingVectorLogsScalarWhereWithAggregatesInput | EmbeddingVectorLogsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"EmbeddingVectorLogs"> | number
    uuid?: UuidWithAggregatesFilter<"EmbeddingVectorLogs"> | string
    user_id?: IntNullableWithAggregatesFilter<"EmbeddingVectorLogs"> | number | null
    cost?: DecimalWithAggregatesFilter<"EmbeddingVectorLogs"> | Decimal | DecimalJsLike | number | string
    company_id?: IntWithAggregatesFilter<"EmbeddingVectorLogs"> | number
    table_name?: StringWithAggregatesFilter<"EmbeddingVectorLogs"> | string
    status_id?: IntWithAggregatesFilter<"EmbeddingVectorLogs"> | number
    created_at?: DateTimeWithAggregatesFilter<"EmbeddingVectorLogs"> | Date | string
    created_by?: IntWithAggregatesFilter<"EmbeddingVectorLogs"> | number
    updated_by?: IntNullableWithAggregatesFilter<"EmbeddingVectorLogs"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"EmbeddingVectorLogs"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"EmbeddingVectorLogs"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"EmbeddingVectorLogs"> | Date | string | null
  }

  export type OpenaiUsageLogWhereInput = {
    AND?: OpenaiUsageLogWhereInput | OpenaiUsageLogWhereInput[]
    OR?: OpenaiUsageLogWhereInput[]
    NOT?: OpenaiUsageLogWhereInput | OpenaiUsageLogWhereInput[]
    id?: IntFilter<"OpenaiUsageLog"> | number
    uuid?: UuidFilter<"OpenaiUsageLog"> | string
    user_id?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    prompt?: StringFilter<"OpenaiUsageLog"> | string
    generated_sql?: StringFilter<"OpenaiUsageLog"> | string
    prompt_tokens?: IntFilter<"OpenaiUsageLog"> | number
    completion_tokens?: IntFilter<"OpenaiUsageLog"> | number
    total_tokens?: IntFilter<"OpenaiUsageLog"> | number
    cost?: DecimalFilter<"OpenaiUsageLog"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"OpenaiUsageLog"> | number
    company_id?: IntFilter<"OpenaiUsageLog"> | number
    created_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    created_by?: IntFilter<"OpenaiUsageLog"> | number
    updated_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    updated_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    deleted_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"OpenaiUsageLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type OpenaiUsageLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    prompt?: SortOrder
    generated_sql?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: OpenaiUsageLogOrderByRelevanceInput
  }

  export type OpenaiUsageLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: OpenaiUsageLogWhereInput | OpenaiUsageLogWhereInput[]
    OR?: OpenaiUsageLogWhereInput[]
    NOT?: OpenaiUsageLogWhereInput | OpenaiUsageLogWhereInput[]
    uuid?: UuidFilter<"OpenaiUsageLog"> | string
    user_id?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    prompt?: StringFilter<"OpenaiUsageLog"> | string
    generated_sql?: StringFilter<"OpenaiUsageLog"> | string
    prompt_tokens?: IntFilter<"OpenaiUsageLog"> | number
    completion_tokens?: IntFilter<"OpenaiUsageLog"> | number
    total_tokens?: IntFilter<"OpenaiUsageLog"> | number
    cost?: DecimalFilter<"OpenaiUsageLog"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"OpenaiUsageLog"> | number
    company_id?: IntFilter<"OpenaiUsageLog"> | number
    created_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    created_by?: IntFilter<"OpenaiUsageLog"> | number
    updated_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    updated_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    deleted_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"OpenaiUsageLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type OpenaiUsageLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrderInput | SortOrder
    prompt?: SortOrder
    generated_sql?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: OpenaiUsageLogCountOrderByAggregateInput
    _avg?: OpenaiUsageLogAvgOrderByAggregateInput
    _max?: OpenaiUsageLogMaxOrderByAggregateInput
    _min?: OpenaiUsageLogMinOrderByAggregateInput
    _sum?: OpenaiUsageLogSumOrderByAggregateInput
  }

  export type OpenaiUsageLogScalarWhereWithAggregatesInput = {
    AND?: OpenaiUsageLogScalarWhereWithAggregatesInput | OpenaiUsageLogScalarWhereWithAggregatesInput[]
    OR?: OpenaiUsageLogScalarWhereWithAggregatesInput[]
    NOT?: OpenaiUsageLogScalarWhereWithAggregatesInput | OpenaiUsageLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    uuid?: UuidWithAggregatesFilter<"OpenaiUsageLog"> | string
    user_id?: IntNullableWithAggregatesFilter<"OpenaiUsageLog"> | number | null
    prompt?: StringWithAggregatesFilter<"OpenaiUsageLog"> | string
    generated_sql?: StringWithAggregatesFilter<"OpenaiUsageLog"> | string
    prompt_tokens?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    completion_tokens?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    total_tokens?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    cost?: DecimalWithAggregatesFilter<"OpenaiUsageLog"> | Decimal | DecimalJsLike | number | string
    status_id?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    company_id?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    created_at?: DateTimeWithAggregatesFilter<"OpenaiUsageLog"> | Date | string
    created_by?: IntWithAggregatesFilter<"OpenaiUsageLog"> | number
    updated_by?: IntNullableWithAggregatesFilter<"OpenaiUsageLog"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"OpenaiUsageLog"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"OpenaiUsageLog"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"OpenaiUsageLog"> | Date | string | null
  }

  export type QueryExecutionLogWhereInput = {
    AND?: QueryExecutionLogWhereInput | QueryExecutionLogWhereInput[]
    OR?: QueryExecutionLogWhereInput[]
    NOT?: QueryExecutionLogWhereInput | QueryExecutionLogWhereInput[]
    id?: IntFilter<"QueryExecutionLog"> | number
    uuid?: UuidFilter<"QueryExecutionLog"> | string
    company_id?: IntFilter<"QueryExecutionLog"> | number
    status_id?: IntFilter<"QueryExecutionLog"> | number
    query?: StringFilter<"QueryExecutionLog"> | string
    created_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    created_by?: IntFilter<"QueryExecutionLog"> | number
    updated_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    updated_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    deleted_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"QueryExecutionLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type QueryExecutionLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    query?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: QueryExecutionLogOrderByRelevanceInput
  }

  export type QueryExecutionLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: QueryExecutionLogWhereInput | QueryExecutionLogWhereInput[]
    OR?: QueryExecutionLogWhereInput[]
    NOT?: QueryExecutionLogWhereInput | QueryExecutionLogWhereInput[]
    uuid?: UuidFilter<"QueryExecutionLog"> | string
    company_id?: IntFilter<"QueryExecutionLog"> | number
    status_id?: IntFilter<"QueryExecutionLog"> | number
    query?: StringFilter<"QueryExecutionLog"> | string
    created_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    created_by?: IntFilter<"QueryExecutionLog"> | number
    updated_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    updated_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    deleted_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"QueryExecutionLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type QueryExecutionLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    query?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: QueryExecutionLogCountOrderByAggregateInput
    _avg?: QueryExecutionLogAvgOrderByAggregateInput
    _max?: QueryExecutionLogMaxOrderByAggregateInput
    _min?: QueryExecutionLogMinOrderByAggregateInput
    _sum?: QueryExecutionLogSumOrderByAggregateInput
  }

  export type QueryExecutionLogScalarWhereWithAggregatesInput = {
    AND?: QueryExecutionLogScalarWhereWithAggregatesInput | QueryExecutionLogScalarWhereWithAggregatesInput[]
    OR?: QueryExecutionLogScalarWhereWithAggregatesInput[]
    NOT?: QueryExecutionLogScalarWhereWithAggregatesInput | QueryExecutionLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"QueryExecutionLog"> | number
    uuid?: UuidWithAggregatesFilter<"QueryExecutionLog"> | string
    company_id?: IntWithAggregatesFilter<"QueryExecutionLog"> | number
    status_id?: IntWithAggregatesFilter<"QueryExecutionLog"> | number
    query?: StringWithAggregatesFilter<"QueryExecutionLog"> | string
    created_at?: DateTimeWithAggregatesFilter<"QueryExecutionLog"> | Date | string
    created_by?: IntWithAggregatesFilter<"QueryExecutionLog"> | number
    updated_by?: IntNullableWithAggregatesFilter<"QueryExecutionLog"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"QueryExecutionLog"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"QueryExecutionLog"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"QueryExecutionLog"> | Date | string | null
  }

  export type ChildProcessWhereInput = {
    AND?: ChildProcessWhereInput | ChildProcessWhereInput[]
    OR?: ChildProcessWhereInput[]
    NOT?: ChildProcessWhereInput | ChildProcessWhereInput[]
    id?: IntFilter<"ChildProcess"> | number
    uuid?: UuidFilter<"ChildProcess"> | string
    name?: StringFilter<"ChildProcess"> | string
    slug?: StringFilter<"ChildProcess"> | string
    description?: StringNullableFilter<"ChildProcess"> | string | null
    downloadables?: StringNullableFilter<"ChildProcess"> | string | null
    command?: StringFilter<"ChildProcess"> | string
    status_id?: IntFilter<"ChildProcess"> | number
    company_id?: IntFilter<"ChildProcess"> | number
    created_by?: IntFilter<"ChildProcess"> | number
    created_at?: DateTimeFilter<"ChildProcess"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcess"> | number | null
    updated_at?: DateTimeFilter<"ChildProcess"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcess"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcess"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    child_process_logs?: ChildProcessLogListRelationFilter
  }

  export type ChildProcessOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    command?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    child_process_logs?: ChildProcessLogOrderByRelationAggregateInput
    _relevance?: ChildProcessOrderByRelevanceInput
  }

  export type ChildProcessWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ChildProcessCompany_idIdCompoundUniqueInput
    company_id_uuid?: ChildProcessCompany_idUuidCompoundUniqueInput
    company_id_slug?: ChildProcessCompany_idSlugCompoundUniqueInput
    AND?: ChildProcessWhereInput | ChildProcessWhereInput[]
    OR?: ChildProcessWhereInput[]
    NOT?: ChildProcessWhereInput | ChildProcessWhereInput[]
    uuid?: UuidFilter<"ChildProcess"> | string
    name?: StringFilter<"ChildProcess"> | string
    slug?: StringFilter<"ChildProcess"> | string
    description?: StringNullableFilter<"ChildProcess"> | string | null
    downloadables?: StringNullableFilter<"ChildProcess"> | string | null
    command?: StringFilter<"ChildProcess"> | string
    status_id?: IntFilter<"ChildProcess"> | number
    company_id?: IntFilter<"ChildProcess"> | number
    created_by?: IntFilter<"ChildProcess"> | number
    created_at?: DateTimeFilter<"ChildProcess"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcess"> | number | null
    updated_at?: DateTimeFilter<"ChildProcess"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcess"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcess"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    child_process_logs?: ChildProcessLogListRelationFilter
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_slug">

  export type ChildProcessOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    command?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ChildProcessCountOrderByAggregateInput
    _avg?: ChildProcessAvgOrderByAggregateInput
    _max?: ChildProcessMaxOrderByAggregateInput
    _min?: ChildProcessMinOrderByAggregateInput
    _sum?: ChildProcessSumOrderByAggregateInput
  }

  export type ChildProcessScalarWhereWithAggregatesInput = {
    AND?: ChildProcessScalarWhereWithAggregatesInput | ChildProcessScalarWhereWithAggregatesInput[]
    OR?: ChildProcessScalarWhereWithAggregatesInput[]
    NOT?: ChildProcessScalarWhereWithAggregatesInput | ChildProcessScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ChildProcess"> | number
    uuid?: UuidWithAggregatesFilter<"ChildProcess"> | string
    name?: StringWithAggregatesFilter<"ChildProcess"> | string
    slug?: StringWithAggregatesFilter<"ChildProcess"> | string
    description?: StringNullableWithAggregatesFilter<"ChildProcess"> | string | null
    downloadables?: StringNullableWithAggregatesFilter<"ChildProcess"> | string | null
    command?: StringWithAggregatesFilter<"ChildProcess"> | string
    status_id?: IntWithAggregatesFilter<"ChildProcess"> | number
    company_id?: IntWithAggregatesFilter<"ChildProcess"> | number
    created_by?: IntWithAggregatesFilter<"ChildProcess"> | number
    created_at?: DateTimeWithAggregatesFilter<"ChildProcess"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ChildProcess"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ChildProcess"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ChildProcess"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ChildProcess"> | Date | string | null
  }

  export type ChildProcessLogWhereInput = {
    AND?: ChildProcessLogWhereInput | ChildProcessLogWhereInput[]
    OR?: ChildProcessLogWhereInput[]
    NOT?: ChildProcessLogWhereInput | ChildProcessLogWhereInput[]
    id?: IntFilter<"ChildProcessLog"> | number
    uuid?: UuidFilter<"ChildProcessLog"> | string
    child_process_id?: IntFilter<"ChildProcessLog"> | number
    process_status?: StringNullableFilter<"ChildProcessLog"> | string | null
    downloadables?: StringNullableFilter<"ChildProcessLog"> | string | null
    output?: StringFilter<"ChildProcessLog"> | string
    initiated_by?: IntFilter<"ChildProcessLog"> | number
    status_id?: IntFilter<"ChildProcessLog"> | number
    company_id?: IntFilter<"ChildProcessLog"> | number
    created_by?: IntFilter<"ChildProcessLog"> | number
    created_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    updated_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcessLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    child_process?: XOR<ChildProcessRelationFilter, ChildProcessWhereInput>
    initiator?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type ChildProcessLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    child_process_id?: SortOrder
    process_status?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    output?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    child_process?: ChildProcessOrderByWithRelationInput
    initiator?: UserOrderByWithRelationInput
    _relevance?: ChildProcessLogOrderByRelevanceInput
  }

  export type ChildProcessLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ChildProcessLogCompany_idIdCompoundUniqueInput
    company_id_uuid?: ChildProcessLogCompany_idUuidCompoundUniqueInput
    AND?: ChildProcessLogWhereInput | ChildProcessLogWhereInput[]
    OR?: ChildProcessLogWhereInput[]
    NOT?: ChildProcessLogWhereInput | ChildProcessLogWhereInput[]
    uuid?: UuidFilter<"ChildProcessLog"> | string
    child_process_id?: IntFilter<"ChildProcessLog"> | number
    process_status?: StringNullableFilter<"ChildProcessLog"> | string | null
    downloadables?: StringNullableFilter<"ChildProcessLog"> | string | null
    output?: StringFilter<"ChildProcessLog"> | string
    initiated_by?: IntFilter<"ChildProcessLog"> | number
    status_id?: IntFilter<"ChildProcessLog"> | number
    company_id?: IntFilter<"ChildProcessLog"> | number
    created_by?: IntFilter<"ChildProcessLog"> | number
    created_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    updated_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcessLog"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    child_process?: XOR<ChildProcessRelationFilter, ChildProcessWhereInput>
    initiator?: XOR<UserRelationFilter, UserWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type ChildProcessLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    child_process_id?: SortOrder
    process_status?: SortOrderInput | SortOrder
    downloadables?: SortOrderInput | SortOrder
    output?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ChildProcessLogCountOrderByAggregateInput
    _avg?: ChildProcessLogAvgOrderByAggregateInput
    _max?: ChildProcessLogMaxOrderByAggregateInput
    _min?: ChildProcessLogMinOrderByAggregateInput
    _sum?: ChildProcessLogSumOrderByAggregateInput
  }

  export type ChildProcessLogScalarWhereWithAggregatesInput = {
    AND?: ChildProcessLogScalarWhereWithAggregatesInput | ChildProcessLogScalarWhereWithAggregatesInput[]
    OR?: ChildProcessLogScalarWhereWithAggregatesInput[]
    NOT?: ChildProcessLogScalarWhereWithAggregatesInput | ChildProcessLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    uuid?: UuidWithAggregatesFilter<"ChildProcessLog"> | string
    child_process_id?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    process_status?: StringNullableWithAggregatesFilter<"ChildProcessLog"> | string | null
    downloadables?: StringNullableWithAggregatesFilter<"ChildProcessLog"> | string | null
    output?: StringWithAggregatesFilter<"ChildProcessLog"> | string
    initiated_by?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    status_id?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    company_id?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    created_by?: IntWithAggregatesFilter<"ChildProcessLog"> | number
    created_at?: DateTimeWithAggregatesFilter<"ChildProcessLog"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ChildProcessLog"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ChildProcessLog"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ChildProcessLog"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ChildProcessLog"> | Date | string | null
  }

  export type ThemesWhereInput = {
    AND?: ThemesWhereInput | ThemesWhereInput[]
    OR?: ThemesWhereInput[]
    NOT?: ThemesWhereInput | ThemesWhereInput[]
    id?: IntFilter<"Themes"> | number
    uuid?: UuidFilter<"Themes"> | string
    name?: StringFilter<"Themes"> | string
    description?: StringNullableFilter<"Themes"> | string | null
    reference_images?: StringNullableFilter<"Themes"> | string | null
    status_id?: IntFilter<"Themes"> | number
    company_id?: IntFilter<"Themes"> | number
    created_by?: IntNullableFilter<"Themes"> | number | null
    updated_by?: IntNullableFilter<"Themes"> | number | null
    deleted_by?: IntNullableFilter<"Themes"> | number | null
    created_at?: DateTimeFilter<"Themes"> | Date | string
    updated_at?: DateTimeFilter<"Themes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Themes"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    theme_attributes?: ThemeLineItemsListRelationFilter
    CreatedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type ThemesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    reference_images?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    theme_attributes?: ThemeLineItemsOrderByRelationAggregateInput
    CreatedTheme?: UserOrderByWithRelationInput
    UpdatedTheme?: UserOrderByWithRelationInput
    DeletedTheme?: UserOrderByWithRelationInput
    _relevance?: ThemesOrderByRelevanceInput
  }

  export type ThemesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ThemesCompany_idIdCompoundUniqueInput
    company_id_uuid?: ThemesCompany_idUuidCompoundUniqueInput
    company_id_name?: ThemesCompany_idNameCompoundUniqueInput
    AND?: ThemesWhereInput | ThemesWhereInput[]
    OR?: ThemesWhereInput[]
    NOT?: ThemesWhereInput | ThemesWhereInput[]
    uuid?: UuidFilter<"Themes"> | string
    name?: StringFilter<"Themes"> | string
    description?: StringNullableFilter<"Themes"> | string | null
    reference_images?: StringNullableFilter<"Themes"> | string | null
    status_id?: IntFilter<"Themes"> | number
    company_id?: IntFilter<"Themes"> | number
    created_by?: IntNullableFilter<"Themes"> | number | null
    updated_by?: IntNullableFilter<"Themes"> | number | null
    deleted_by?: IntNullableFilter<"Themes"> | number | null
    created_at?: DateTimeFilter<"Themes"> | Date | string
    updated_at?: DateTimeFilter<"Themes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Themes"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    theme_attributes?: ThemeLineItemsListRelationFilter
    CreatedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedTheme?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_name">

  export type ThemesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrderInput | SortOrder
    reference_images?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ThemesCountOrderByAggregateInput
    _avg?: ThemesAvgOrderByAggregateInput
    _max?: ThemesMaxOrderByAggregateInput
    _min?: ThemesMinOrderByAggregateInput
    _sum?: ThemesSumOrderByAggregateInput
  }

  export type ThemesScalarWhereWithAggregatesInput = {
    AND?: ThemesScalarWhereWithAggregatesInput | ThemesScalarWhereWithAggregatesInput[]
    OR?: ThemesScalarWhereWithAggregatesInput[]
    NOT?: ThemesScalarWhereWithAggregatesInput | ThemesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Themes"> | number
    uuid?: UuidWithAggregatesFilter<"Themes"> | string
    name?: StringWithAggregatesFilter<"Themes"> | string
    description?: StringNullableWithAggregatesFilter<"Themes"> | string | null
    reference_images?: StringNullableWithAggregatesFilter<"Themes"> | string | null
    status_id?: IntWithAggregatesFilter<"Themes"> | number
    company_id?: IntWithAggregatesFilter<"Themes"> | number
    created_by?: IntNullableWithAggregatesFilter<"Themes"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"Themes"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"Themes"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Themes"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"Themes"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Themes"> | Date | string | null
  }

  export type ThemeLineItemsWhereInput = {
    AND?: ThemeLineItemsWhereInput | ThemeLineItemsWhereInput[]
    OR?: ThemeLineItemsWhereInput[]
    NOT?: ThemeLineItemsWhereInput | ThemeLineItemsWhereInput[]
    id?: IntFilter<"ThemeLineItems"> | number
    uuid?: UuidFilter<"ThemeLineItems"> | string
    theme_id?: IntFilter<"ThemeLineItems"> | number
    attribute?: StringFilter<"ThemeLineItems"> | string
    value?: StringNullableFilter<"ThemeLineItems"> | string | null
    description?: StringNullableFilter<"ThemeLineItems"> | string | null
    status_id?: IntFilter<"ThemeLineItems"> | number
    company_id?: IntFilter<"ThemeLineItems"> | number
    created_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    updated_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    created_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    updated_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeLineItems"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    themes?: XOR<ThemesRelationFilter, ThemesWhereInput>
    CreatedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type ThemeLineItemsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    theme_id?: SortOrder
    attribute?: SortOrder
    value?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    themes?: ThemesOrderByWithRelationInput
    CreatedThemeLineItems?: UserOrderByWithRelationInput
    UpdatedThemeLineItems?: UserOrderByWithRelationInput
    DeletedThemeLineItems?: UserOrderByWithRelationInput
    _relevance?: ThemeLineItemsOrderByRelevanceInput
  }

  export type ThemeLineItemsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ThemeLineItemsCompany_idIdCompoundUniqueInput
    company_id_uuid?: ThemeLineItemsCompany_idUuidCompoundUniqueInput
    AND?: ThemeLineItemsWhereInput | ThemeLineItemsWhereInput[]
    OR?: ThemeLineItemsWhereInput[]
    NOT?: ThemeLineItemsWhereInput | ThemeLineItemsWhereInput[]
    uuid?: UuidFilter<"ThemeLineItems"> | string
    theme_id?: IntFilter<"ThemeLineItems"> | number
    attribute?: StringFilter<"ThemeLineItems"> | string
    value?: StringNullableFilter<"ThemeLineItems"> | string | null
    description?: StringNullableFilter<"ThemeLineItems"> | string | null
    status_id?: IntFilter<"ThemeLineItems"> | number
    company_id?: IntFilter<"ThemeLineItems"> | number
    created_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    updated_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    created_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    updated_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeLineItems"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    themes?: XOR<ThemesRelationFilter, ThemesWhereInput>
    CreatedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedThemeLineItems?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid">

  export type ThemeLineItemsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    theme_id?: SortOrder
    attribute?: SortOrder
    value?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ThemeLineItemsCountOrderByAggregateInput
    _avg?: ThemeLineItemsAvgOrderByAggregateInput
    _max?: ThemeLineItemsMaxOrderByAggregateInput
    _min?: ThemeLineItemsMinOrderByAggregateInput
    _sum?: ThemeLineItemsSumOrderByAggregateInput
  }

  export type ThemeLineItemsScalarWhereWithAggregatesInput = {
    AND?: ThemeLineItemsScalarWhereWithAggregatesInput | ThemeLineItemsScalarWhereWithAggregatesInput[]
    OR?: ThemeLineItemsScalarWhereWithAggregatesInput[]
    NOT?: ThemeLineItemsScalarWhereWithAggregatesInput | ThemeLineItemsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ThemeLineItems"> | number
    uuid?: UuidWithAggregatesFilter<"ThemeLineItems"> | string
    theme_id?: IntWithAggregatesFilter<"ThemeLineItems"> | number
    attribute?: StringWithAggregatesFilter<"ThemeLineItems"> | string
    value?: StringNullableWithAggregatesFilter<"ThemeLineItems"> | string | null
    description?: StringNullableWithAggregatesFilter<"ThemeLineItems"> | string | null
    status_id?: IntWithAggregatesFilter<"ThemeLineItems"> | number
    company_id?: IntWithAggregatesFilter<"ThemeLineItems"> | number
    created_by?: IntNullableWithAggregatesFilter<"ThemeLineItems"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"ThemeLineItems"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"ThemeLineItems"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ThemeLineItems"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"ThemeLineItems"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ThemeLineItems"> | Date | string | null
  }

  export type ThemeAttributesWhereInput = {
    AND?: ThemeAttributesWhereInput | ThemeAttributesWhereInput[]
    OR?: ThemeAttributesWhereInput[]
    NOT?: ThemeAttributesWhereInput | ThemeAttributesWhereInput[]
    id?: IntFilter<"ThemeAttributes"> | number
    uuid?: UuidFilter<"ThemeAttributes"> | string
    attribute?: StringFilter<"ThemeAttributes"> | string
    value?: StringNullableFilter<"ThemeAttributes"> | string | null
    description?: StringNullableFilter<"ThemeAttributes"> | string | null
    status_id?: IntFilter<"ThemeAttributes"> | number
    company_id?: IntFilter<"ThemeAttributes"> | number
    created_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    updated_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    deleted_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    created_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    updated_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeAttributes"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    CreatedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type ThemeAttributesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    attribute?: SortOrder
    value?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    CreatedThemeAttributes?: UserOrderByWithRelationInput
    UpdatedThemeAttributes?: UserOrderByWithRelationInput
    DeletedThemeAttributes?: UserOrderByWithRelationInput
    _relevance?: ThemeAttributesOrderByRelevanceInput
  }

  export type ThemeAttributesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ThemeAttributesCompany_idIdCompoundUniqueInput
    company_id_uuid?: ThemeAttributesCompany_idUuidCompoundUniqueInput
    AND?: ThemeAttributesWhereInput | ThemeAttributesWhereInput[]
    OR?: ThemeAttributesWhereInput[]
    NOT?: ThemeAttributesWhereInput | ThemeAttributesWhereInput[]
    uuid?: UuidFilter<"ThemeAttributes"> | string
    attribute?: StringFilter<"ThemeAttributes"> | string
    value?: StringNullableFilter<"ThemeAttributes"> | string | null
    description?: StringNullableFilter<"ThemeAttributes"> | string | null
    status_id?: IntFilter<"ThemeAttributes"> | number
    company_id?: IntFilter<"ThemeAttributes"> | number
    created_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    updated_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    deleted_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    created_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    updated_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeAttributes"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    CreatedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    UpdatedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    DeletedThemeAttributes?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid">

  export type ThemeAttributesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    attribute?: SortOrder
    value?: SortOrderInput | SortOrder
    description?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ThemeAttributesCountOrderByAggregateInput
    _avg?: ThemeAttributesAvgOrderByAggregateInput
    _max?: ThemeAttributesMaxOrderByAggregateInput
    _min?: ThemeAttributesMinOrderByAggregateInput
    _sum?: ThemeAttributesSumOrderByAggregateInput
  }

  export type ThemeAttributesScalarWhereWithAggregatesInput = {
    AND?: ThemeAttributesScalarWhereWithAggregatesInput | ThemeAttributesScalarWhereWithAggregatesInput[]
    OR?: ThemeAttributesScalarWhereWithAggregatesInput[]
    NOT?: ThemeAttributesScalarWhereWithAggregatesInput | ThemeAttributesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ThemeAttributes"> | number
    uuid?: UuidWithAggregatesFilter<"ThemeAttributes"> | string
    attribute?: StringWithAggregatesFilter<"ThemeAttributes"> | string
    value?: StringNullableWithAggregatesFilter<"ThemeAttributes"> | string | null
    description?: StringNullableWithAggregatesFilter<"ThemeAttributes"> | string | null
    status_id?: IntWithAggregatesFilter<"ThemeAttributes"> | number
    company_id?: IntWithAggregatesFilter<"ThemeAttributes"> | number
    created_by?: IntNullableWithAggregatesFilter<"ThemeAttributes"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"ThemeAttributes"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"ThemeAttributes"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ThemeAttributes"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"ThemeAttributes"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ThemeAttributes"> | Date | string | null
  }

  export type BarcodeTemplatesWhereInput = {
    AND?: BarcodeTemplatesWhereInput | BarcodeTemplatesWhereInput[]
    OR?: BarcodeTemplatesWhereInput[]
    NOT?: BarcodeTemplatesWhereInput | BarcodeTemplatesWhereInput[]
    id?: IntFilter<"BarcodeTemplates"> | number
    uuid?: UuidFilter<"BarcodeTemplates"> | string
    company_id?: IntFilter<"BarcodeTemplates"> | number
    prefix?: StringFilter<"BarcodeTemplates"> | string
    label_start?: StringFilter<"BarcodeTemplates"> | string
    label_end?: StringFilter<"BarcodeTemplates"> | string
    name?: StringFilter<"BarcodeTemplates"> | string
    page_width?: IntFilter<"BarcodeTemplates"> | number
    page_height?: IntFilter<"BarcodeTemplates"> | number
    zpl_code?: StringFilter<"BarcodeTemplates"> | string
    status_id?: IntFilter<"BarcodeTemplates"> | number
    created_by?: IntFilter<"BarcodeTemplates"> | number
    created_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    updated_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    updated_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    deleted_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    deleted_at?: DateTimeNullableFilter<"BarcodeTemplates"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_barcode_templates?: XOR<UserRelationFilter, UserWhereInput>
    updated_barcode_templates?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_barcode_templates?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type BarcodeTemplatesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    prefix?: SortOrder
    label_start?: SortOrder
    label_end?: SortOrder
    name?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    zpl_code?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    created_barcode_templates?: UserOrderByWithRelationInput
    updated_barcode_templates?: UserOrderByWithRelationInput
    deleted_barcode_templates?: UserOrderByWithRelationInput
    _relevance?: BarcodeTemplatesOrderByRelevanceInput
  }

  export type BarcodeTemplatesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: BarcodeTemplatesCompany_idIdCompoundUniqueInput
    company_id_uuid?: BarcodeTemplatesCompany_idUuidCompoundUniqueInput
    AND?: BarcodeTemplatesWhereInput | BarcodeTemplatesWhereInput[]
    OR?: BarcodeTemplatesWhereInput[]
    NOT?: BarcodeTemplatesWhereInput | BarcodeTemplatesWhereInput[]
    uuid?: UuidFilter<"BarcodeTemplates"> | string
    company_id?: IntFilter<"BarcodeTemplates"> | number
    prefix?: StringFilter<"BarcodeTemplates"> | string
    label_start?: StringFilter<"BarcodeTemplates"> | string
    label_end?: StringFilter<"BarcodeTemplates"> | string
    name?: StringFilter<"BarcodeTemplates"> | string
    page_width?: IntFilter<"BarcodeTemplates"> | number
    page_height?: IntFilter<"BarcodeTemplates"> | number
    zpl_code?: StringFilter<"BarcodeTemplates"> | string
    status_id?: IntFilter<"BarcodeTemplates"> | number
    created_by?: IntFilter<"BarcodeTemplates"> | number
    created_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    updated_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    updated_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    deleted_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    deleted_at?: DateTimeNullableFilter<"BarcodeTemplates"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    created_barcode_templates?: XOR<UserRelationFilter, UserWhereInput>
    updated_barcode_templates?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    deleted_barcode_templates?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "company_id_id" | "company_id_uuid">

  export type BarcodeTemplatesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    prefix?: SortOrder
    label_start?: SortOrder
    label_end?: SortOrder
    name?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    zpl_code?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: BarcodeTemplatesCountOrderByAggregateInput
    _avg?: BarcodeTemplatesAvgOrderByAggregateInput
    _max?: BarcodeTemplatesMaxOrderByAggregateInput
    _min?: BarcodeTemplatesMinOrderByAggregateInput
    _sum?: BarcodeTemplatesSumOrderByAggregateInput
  }

  export type BarcodeTemplatesScalarWhereWithAggregatesInput = {
    AND?: BarcodeTemplatesScalarWhereWithAggregatesInput | BarcodeTemplatesScalarWhereWithAggregatesInput[]
    OR?: BarcodeTemplatesScalarWhereWithAggregatesInput[]
    NOT?: BarcodeTemplatesScalarWhereWithAggregatesInput | BarcodeTemplatesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    uuid?: UuidWithAggregatesFilter<"BarcodeTemplates"> | string
    company_id?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    prefix?: StringWithAggregatesFilter<"BarcodeTemplates"> | string
    label_start?: StringWithAggregatesFilter<"BarcodeTemplates"> | string
    label_end?: StringWithAggregatesFilter<"BarcodeTemplates"> | string
    name?: StringWithAggregatesFilter<"BarcodeTemplates"> | string
    page_width?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    page_height?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    zpl_code?: StringWithAggregatesFilter<"BarcodeTemplates"> | string
    status_id?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    created_by?: IntWithAggregatesFilter<"BarcodeTemplates"> | number
    created_at?: DateTimeWithAggregatesFilter<"BarcodeTemplates"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"BarcodeTemplates"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"BarcodeTemplates"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"BarcodeTemplates"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"BarcodeTemplates"> | Date | string | null
  }

  export type UserLoginHistoryWhereInput = {
    AND?: UserLoginHistoryWhereInput | UserLoginHistoryWhereInput[]
    OR?: UserLoginHistoryWhereInput[]
    NOT?: UserLoginHistoryWhereInput | UserLoginHistoryWhereInput[]
    id?: IntFilter<"UserLoginHistory"> | number
    user_id?: IntFilter<"UserLoginHistory"> | number
    session_id?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_time?: DateTimeFilter<"UserLoginHistory"> | Date | string
    logout_time?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    ip_address?: StringNullableFilter<"UserLoginHistory"> | string | null
    user_agent?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_status?: EnumLoginStatusFilter<"UserLoginHistory"> | $Enums.LoginStatus
    status_id?: IntFilter<"UserLoginHistory"> | number
    failure_reason?: StringNullableFilter<"UserLoginHistory"> | string | null
    created_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    updated_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    deleted_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    created_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    updated_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    company_id?: IntFilter<"UserLoginHistory"> | number
    device_id?: StringNullableFilter<"UserLoginHistory"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type UserLoginHistoryOrderByWithRelationInput = {
    id?: SortOrder
    user_id?: SortOrder
    session_id?: SortOrderInput | SortOrder
    login_time?: SortOrder
    logout_time?: SortOrderInput | SortOrder
    ip_address?: SortOrderInput | SortOrder
    user_agent?: SortOrderInput | SortOrder
    login_status?: SortOrder
    status_id?: SortOrder
    failure_reason?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    device_id?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: UserLoginHistoryOrderByRelevanceInput
  }

  export type UserLoginHistoryWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: UserLoginHistoryCompany_idIdCompoundUniqueInput
    user_id_login_time?: UserLoginHistoryUser_idLogin_timeCompoundUniqueInput
    AND?: UserLoginHistoryWhereInput | UserLoginHistoryWhereInput[]
    OR?: UserLoginHistoryWhereInput[]
    NOT?: UserLoginHistoryWhereInput | UserLoginHistoryWhereInput[]
    user_id?: IntFilter<"UserLoginHistory"> | number
    session_id?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_time?: DateTimeFilter<"UserLoginHistory"> | Date | string
    logout_time?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    ip_address?: StringNullableFilter<"UserLoginHistory"> | string | null
    user_agent?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_status?: EnumLoginStatusFilter<"UserLoginHistory"> | $Enums.LoginStatus
    status_id?: IntFilter<"UserLoginHistory"> | number
    failure_reason?: StringNullableFilter<"UserLoginHistory"> | string | null
    created_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    updated_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    deleted_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    created_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    updated_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    company_id?: IntFilter<"UserLoginHistory"> | number
    device_id?: StringNullableFilter<"UserLoginHistory"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "id" | "company_id_id" | "user_id_login_time">

  export type UserLoginHistoryOrderByWithAggregationInput = {
    id?: SortOrder
    user_id?: SortOrder
    session_id?: SortOrderInput | SortOrder
    login_time?: SortOrder
    logout_time?: SortOrderInput | SortOrder
    ip_address?: SortOrderInput | SortOrder
    user_agent?: SortOrderInput | SortOrder
    login_status?: SortOrder
    status_id?: SortOrder
    failure_reason?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    company_id?: SortOrder
    device_id?: SortOrderInput | SortOrder
    _count?: UserLoginHistoryCountOrderByAggregateInput
    _avg?: UserLoginHistoryAvgOrderByAggregateInput
    _max?: UserLoginHistoryMaxOrderByAggregateInput
    _min?: UserLoginHistoryMinOrderByAggregateInput
    _sum?: UserLoginHistorySumOrderByAggregateInput
  }

  export type UserLoginHistoryScalarWhereWithAggregatesInput = {
    AND?: UserLoginHistoryScalarWhereWithAggregatesInput | UserLoginHistoryScalarWhereWithAggregatesInput[]
    OR?: UserLoginHistoryScalarWhereWithAggregatesInput[]
    NOT?: UserLoginHistoryScalarWhereWithAggregatesInput | UserLoginHistoryScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"UserLoginHistory"> | number
    user_id?: IntWithAggregatesFilter<"UserLoginHistory"> | number
    session_id?: StringNullableWithAggregatesFilter<"UserLoginHistory"> | string | null
    login_time?: DateTimeWithAggregatesFilter<"UserLoginHistory"> | Date | string
    logout_time?: DateTimeNullableWithAggregatesFilter<"UserLoginHistory"> | Date | string | null
    ip_address?: StringNullableWithAggregatesFilter<"UserLoginHistory"> | string | null
    user_agent?: StringNullableWithAggregatesFilter<"UserLoginHistory"> | string | null
    login_status?: EnumLoginStatusWithAggregatesFilter<"UserLoginHistory"> | $Enums.LoginStatus
    status_id?: IntWithAggregatesFilter<"UserLoginHistory"> | number
    failure_reason?: StringNullableWithAggregatesFilter<"UserLoginHistory"> | string | null
    created_by?: IntNullableWithAggregatesFilter<"UserLoginHistory"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"UserLoginHistory"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"UserLoginHistory"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"UserLoginHistory"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"UserLoginHistory"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"UserLoginHistory"> | Date | string | null
    company_id?: IntWithAggregatesFilter<"UserLoginHistory"> | number
    device_id?: StringNullableWithAggregatesFilter<"UserLoginHistory"> | string | null
  }

  export type PhoneCountryCodesWhereInput = {
    AND?: PhoneCountryCodesWhereInput | PhoneCountryCodesWhereInput[]
    OR?: PhoneCountryCodesWhereInput[]
    NOT?: PhoneCountryCodesWhereInput | PhoneCountryCodesWhereInput[]
    id?: IntFilter<"PhoneCountryCodes"> | number
    uuid?: UuidFilter<"PhoneCountryCodes"> | string
    country_code?: StringFilter<"PhoneCountryCodes"> | string
    iso_code?: StringFilter<"PhoneCountryCodes"> | string
    country_name?: StringFilter<"PhoneCountryCodes"> | string
    company_id?: IntFilter<"PhoneCountryCodes"> | number
    status_id?: IntFilter<"PhoneCountryCodes"> | number
  }

  export type PhoneCountryCodesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    country_code?: SortOrder
    iso_code?: SortOrder
    country_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    _relevance?: PhoneCountryCodesOrderByRelevanceInput
  }

  export type PhoneCountryCodesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: PhoneCountryCodesWhereInput | PhoneCountryCodesWhereInput[]
    OR?: PhoneCountryCodesWhereInput[]
    NOT?: PhoneCountryCodesWhereInput | PhoneCountryCodesWhereInput[]
    uuid?: UuidFilter<"PhoneCountryCodes"> | string
    country_code?: StringFilter<"PhoneCountryCodes"> | string
    iso_code?: StringFilter<"PhoneCountryCodes"> | string
    country_name?: StringFilter<"PhoneCountryCodes"> | string
    company_id?: IntFilter<"PhoneCountryCodes"> | number
    status_id?: IntFilter<"PhoneCountryCodes"> | number
  }, "id">

  export type PhoneCountryCodesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    country_code?: SortOrder
    iso_code?: SortOrder
    country_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    _count?: PhoneCountryCodesCountOrderByAggregateInput
    _avg?: PhoneCountryCodesAvgOrderByAggregateInput
    _max?: PhoneCountryCodesMaxOrderByAggregateInput
    _min?: PhoneCountryCodesMinOrderByAggregateInput
    _sum?: PhoneCountryCodesSumOrderByAggregateInput
  }

  export type PhoneCountryCodesScalarWhereWithAggregatesInput = {
    AND?: PhoneCountryCodesScalarWhereWithAggregatesInput | PhoneCountryCodesScalarWhereWithAggregatesInput[]
    OR?: PhoneCountryCodesScalarWhereWithAggregatesInput[]
    NOT?: PhoneCountryCodesScalarWhereWithAggregatesInput | PhoneCountryCodesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"PhoneCountryCodes"> | number
    uuid?: UuidWithAggregatesFilter<"PhoneCountryCodes"> | string
    country_code?: StringWithAggregatesFilter<"PhoneCountryCodes"> | string
    iso_code?: StringWithAggregatesFilter<"PhoneCountryCodes"> | string
    country_name?: StringWithAggregatesFilter<"PhoneCountryCodes"> | string
    company_id?: IntWithAggregatesFilter<"PhoneCountryCodes"> | number
    status_id?: IntWithAggregatesFilter<"PhoneCountryCodes"> | number
  }

  export type TreeBuilderExampleWhereInput = {
    AND?: TreeBuilderExampleWhereInput | TreeBuilderExampleWhereInput[]
    OR?: TreeBuilderExampleWhereInput[]
    NOT?: TreeBuilderExampleWhereInput | TreeBuilderExampleWhereInput[]
    id?: IntFilter<"TreeBuilderExample"> | number
    uuid?: UuidFilter<"TreeBuilderExample"> | string
    name?: StringFilter<"TreeBuilderExample"> | string
    code?: StringFilter<"TreeBuilderExample"> | string
    company_id?: IntFilter<"TreeBuilderExample"> | number
    status_id?: IntFilter<"TreeBuilderExample"> | number
    parent_id?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    updated_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    deleted_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    updated_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    deleted_at?: DateTimeNullableFilter<"TreeBuilderExample"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    parent?: XOR<TreeBuilderExampleNullableRelationFilter, TreeBuilderExampleWhereInput> | null
    children?: TreeBuilderExampleListRelationFilter
  }

  export type TreeBuilderExampleOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    parent?: TreeBuilderExampleOrderByWithRelationInput
    children?: TreeBuilderExampleOrderByRelationAggregateInput
    _relevance?: TreeBuilderExampleOrderByRelevanceInput
  }

  export type TreeBuilderExampleWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: TreeBuilderExampleCompany_idIdCompoundUniqueInput
    company_id_code?: TreeBuilderExampleCompany_idCodeCompoundUniqueInput
    AND?: TreeBuilderExampleWhereInput | TreeBuilderExampleWhereInput[]
    OR?: TreeBuilderExampleWhereInput[]
    NOT?: TreeBuilderExampleWhereInput | TreeBuilderExampleWhereInput[]
    uuid?: UuidFilter<"TreeBuilderExample"> | string
    name?: StringFilter<"TreeBuilderExample"> | string
    code?: StringFilter<"TreeBuilderExample"> | string
    company_id?: IntFilter<"TreeBuilderExample"> | number
    status_id?: IntFilter<"TreeBuilderExample"> | number
    parent_id?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    updated_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    deleted_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    updated_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    deleted_at?: DateTimeNullableFilter<"TreeBuilderExample"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    parent?: XOR<TreeBuilderExampleNullableRelationFilter, TreeBuilderExampleWhereInput> | null
    children?: TreeBuilderExampleListRelationFilter
  }, "id" | "company_id_id" | "company_id_code">

  export type TreeBuilderExampleOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: TreeBuilderExampleCountOrderByAggregateInput
    _avg?: TreeBuilderExampleAvgOrderByAggregateInput
    _max?: TreeBuilderExampleMaxOrderByAggregateInput
    _min?: TreeBuilderExampleMinOrderByAggregateInput
    _sum?: TreeBuilderExampleSumOrderByAggregateInput
  }

  export type TreeBuilderExampleScalarWhereWithAggregatesInput = {
    AND?: TreeBuilderExampleScalarWhereWithAggregatesInput | TreeBuilderExampleScalarWhereWithAggregatesInput[]
    OR?: TreeBuilderExampleScalarWhereWithAggregatesInput[]
    NOT?: TreeBuilderExampleScalarWhereWithAggregatesInput | TreeBuilderExampleScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"TreeBuilderExample"> | number
    uuid?: UuidWithAggregatesFilter<"TreeBuilderExample"> | string
    name?: StringWithAggregatesFilter<"TreeBuilderExample"> | string
    code?: StringWithAggregatesFilter<"TreeBuilderExample"> | string
    company_id?: IntWithAggregatesFilter<"TreeBuilderExample"> | number
    status_id?: IntWithAggregatesFilter<"TreeBuilderExample"> | number
    parent_id?: IntNullableWithAggregatesFilter<"TreeBuilderExample"> | number | null
    created_by?: IntNullableWithAggregatesFilter<"TreeBuilderExample"> | number | null
    updated_by?: IntNullableWithAggregatesFilter<"TreeBuilderExample"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"TreeBuilderExample"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"TreeBuilderExample"> | Date | string
    updated_at?: DateTimeWithAggregatesFilter<"TreeBuilderExample"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"TreeBuilderExample"> | Date | string | null
  }

  export type DeliveryNotesWhereInput = {
    AND?: DeliveryNotesWhereInput | DeliveryNotesWhereInput[]
    OR?: DeliveryNotesWhereInput[]
    NOT?: DeliveryNotesWhereInput | DeliveryNotesWhereInput[]
    id?: IntFilter<"DeliveryNotes"> | number
    uuid?: UuidFilter<"DeliveryNotes"> | string
    delivery_note_number?: StringFilter<"DeliveryNotes"> | string
    date_of_issue?: DateTimeFilter<"DeliveryNotes"> | Date | string
    customer_order_number?: StringFilter<"DeliveryNotes"> | string
    reference_number?: StringFilter<"DeliveryNotes"> | string
    shipment_type?: StringNullableFilter<"DeliveryNotes"> | string | null
    supply_agreement?: StringNullableFilter<"DeliveryNotes"> | string | null
    purchase_reference?: StringNullableFilter<"DeliveryNotes"> | string | null
    alloy?: StringNullableFilter<"DeliveryNotes"> | string | null
    temper?: StringNullableFilter<"DeliveryNotes"> | string | null
    color?: StringNullableFilter<"DeliveryNotes"> | string | null
    aluminium_profiles?: StringNullableFilter<"DeliveryNotes"> | string | null
    number_of_boxes?: IntNullableFilter<"DeliveryNotes"> | number | null
    number_of_bundles?: IntNullableFilter<"DeliveryNotes"> | number | null
    customer_delivery_address_id?: IntFilter<"DeliveryNotes"> | number
    customer_id?: IntFilter<"DeliveryNotes"> | number
    status_id?: IntFilter<"DeliveryNotes"> | number
    dn_status_id?: IntFilter<"DeliveryNotes"> | number
    company_id?: IntFilter<"DeliveryNotes"> | number
    created_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    created_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNotes"> | Date | string | null
    customer_delivery_contact_info?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_name?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_address?: XOR<CustomerDeliveryAddressesRelationFilter, CustomerDeliveryAddressesWhereInput>
    customer?: XOR<UserRelationFilter, UserWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    dn_status?: XOR<DeliveryNoteStatusRelationFilter, DeliveryNoteStatusWhereInput>
    delivery_note_line_items?: DeliveryNoteLineItemsListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }

  export type DeliveryNotesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrderInput | SortOrder
    supply_agreement?: SortOrderInput | SortOrder
    purchase_reference?: SortOrderInput | SortOrder
    alloy?: SortOrderInput | SortOrder
    temper?: SortOrderInput | SortOrder
    color?: SortOrderInput | SortOrder
    aluminium_profiles?: SortOrderInput | SortOrder
    number_of_boxes?: SortOrderInput | SortOrder
    number_of_bundles?: SortOrderInput | SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    customer_delivery_contact_info?: SortOrderInput | SortOrder
    customer_delivery_contact_name?: SortOrderInput | SortOrder
    customer_delivery_contact_email?: SortOrderInput | SortOrder
    customer_delivery_contact_number?: SortOrderInput | SortOrder
    customer_delivery_address?: CustomerDeliveryAddressesOrderByWithRelationInput
    customer?: UserOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    dn_status?: DeliveryNoteStatusOrderByWithRelationInput
    delivery_note_line_items?: DeliveryNoteLineItemsOrderByRelationAggregateInput
    shipment_delivery_notes?: ShipmentDeliveryNotesOrderByRelationAggregateInput
    _relevance?: DeliveryNotesOrderByRelevanceInput
  }

  export type DeliveryNotesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    delivery_note_number?: string
    company_id_id?: DeliveryNotesCompany_idIdCompoundUniqueInput
    company_id_uuid?: DeliveryNotesCompany_idUuidCompoundUniqueInput
    AND?: DeliveryNotesWhereInput | DeliveryNotesWhereInput[]
    OR?: DeliveryNotesWhereInput[]
    NOT?: DeliveryNotesWhereInput | DeliveryNotesWhereInput[]
    uuid?: UuidFilter<"DeliveryNotes"> | string
    date_of_issue?: DateTimeFilter<"DeliveryNotes"> | Date | string
    customer_order_number?: StringFilter<"DeliveryNotes"> | string
    reference_number?: StringFilter<"DeliveryNotes"> | string
    shipment_type?: StringNullableFilter<"DeliveryNotes"> | string | null
    supply_agreement?: StringNullableFilter<"DeliveryNotes"> | string | null
    purchase_reference?: StringNullableFilter<"DeliveryNotes"> | string | null
    alloy?: StringNullableFilter<"DeliveryNotes"> | string | null
    temper?: StringNullableFilter<"DeliveryNotes"> | string | null
    color?: StringNullableFilter<"DeliveryNotes"> | string | null
    aluminium_profiles?: StringNullableFilter<"DeliveryNotes"> | string | null
    number_of_boxes?: IntNullableFilter<"DeliveryNotes"> | number | null
    number_of_bundles?: IntNullableFilter<"DeliveryNotes"> | number | null
    customer_delivery_address_id?: IntFilter<"DeliveryNotes"> | number
    customer_id?: IntFilter<"DeliveryNotes"> | number
    status_id?: IntFilter<"DeliveryNotes"> | number
    dn_status_id?: IntFilter<"DeliveryNotes"> | number
    company_id?: IntFilter<"DeliveryNotes"> | number
    created_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    created_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNotes"> | Date | string | null
    customer_delivery_contact_info?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_name?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_address?: XOR<CustomerDeliveryAddressesRelationFilter, CustomerDeliveryAddressesWhereInput>
    customer?: XOR<UserRelationFilter, UserWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    dn_status?: XOR<DeliveryNoteStatusRelationFilter, DeliveryNoteStatusWhereInput>
    delivery_note_line_items?: DeliveryNoteLineItemsListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }, "id" | "delivery_note_number" | "company_id_id" | "company_id_uuid">

  export type DeliveryNotesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrderInput | SortOrder
    supply_agreement?: SortOrderInput | SortOrder
    purchase_reference?: SortOrderInput | SortOrder
    alloy?: SortOrderInput | SortOrder
    temper?: SortOrderInput | SortOrder
    color?: SortOrderInput | SortOrder
    aluminium_profiles?: SortOrderInput | SortOrder
    number_of_boxes?: SortOrderInput | SortOrder
    number_of_bundles?: SortOrderInput | SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    customer_delivery_contact_info?: SortOrderInput | SortOrder
    customer_delivery_contact_name?: SortOrderInput | SortOrder
    customer_delivery_contact_email?: SortOrderInput | SortOrder
    customer_delivery_contact_number?: SortOrderInput | SortOrder
    _count?: DeliveryNotesCountOrderByAggregateInput
    _avg?: DeliveryNotesAvgOrderByAggregateInput
    _max?: DeliveryNotesMaxOrderByAggregateInput
    _min?: DeliveryNotesMinOrderByAggregateInput
    _sum?: DeliveryNotesSumOrderByAggregateInput
  }

  export type DeliveryNotesScalarWhereWithAggregatesInput = {
    AND?: DeliveryNotesScalarWhereWithAggregatesInput | DeliveryNotesScalarWhereWithAggregatesInput[]
    OR?: DeliveryNotesScalarWhereWithAggregatesInput[]
    NOT?: DeliveryNotesScalarWhereWithAggregatesInput | DeliveryNotesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    uuid?: UuidWithAggregatesFilter<"DeliveryNotes"> | string
    delivery_note_number?: StringWithAggregatesFilter<"DeliveryNotes"> | string
    date_of_issue?: DateTimeWithAggregatesFilter<"DeliveryNotes"> | Date | string
    customer_order_number?: StringWithAggregatesFilter<"DeliveryNotes"> | string
    reference_number?: StringWithAggregatesFilter<"DeliveryNotes"> | string
    shipment_type?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    supply_agreement?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    purchase_reference?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    alloy?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    temper?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    color?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    aluminium_profiles?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    number_of_boxes?: IntNullableWithAggregatesFilter<"DeliveryNotes"> | number | null
    number_of_bundles?: IntNullableWithAggregatesFilter<"DeliveryNotes"> | number | null
    customer_delivery_address_id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    customer_id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    status_id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    dn_status_id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    company_id?: IntWithAggregatesFilter<"DeliveryNotes"> | number
    created_by?: IntNullableWithAggregatesFilter<"DeliveryNotes"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"DeliveryNotes"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"DeliveryNotes"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"DeliveryNotes"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"DeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"DeliveryNotes"> | Date | string | null
    customer_delivery_contact_info?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_name?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_email?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_number?: StringNullableWithAggregatesFilter<"DeliveryNotes"> | string | null
  }

  export type DeliveryNoteStatusWhereInput = {
    AND?: DeliveryNoteStatusWhereInput | DeliveryNoteStatusWhereInput[]
    OR?: DeliveryNoteStatusWhereInput[]
    NOT?: DeliveryNoteStatusWhereInput | DeliveryNoteStatusWhereInput[]
    id?: IntFilter<"DeliveryNoteStatus"> | number
    uuid?: UuidFilter<"DeliveryNoteStatus"> | string
    name?: StringFilter<"DeliveryNoteStatus"> | string
    code?: StringFilter<"DeliveryNoteStatus"> | string
    status_id?: IntFilter<"DeliveryNoteStatus"> | number
    company_id?: IntFilter<"DeliveryNoteStatus"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    delivery_notes?: DeliveryNotesListRelationFilter
  }

  export type DeliveryNoteStatusOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    delivery_notes?: DeliveryNotesOrderByRelationAggregateInput
    _relevance?: DeliveryNoteStatusOrderByRelevanceInput
  }

  export type DeliveryNoteStatusWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    code?: string
    company_id_id?: DeliveryNoteStatusCompany_idIdCompoundUniqueInput
    company_id_uuid?: DeliveryNoteStatusCompany_idUuidCompoundUniqueInput
    AND?: DeliveryNoteStatusWhereInput | DeliveryNoteStatusWhereInput[]
    OR?: DeliveryNoteStatusWhereInput[]
    NOT?: DeliveryNoteStatusWhereInput | DeliveryNoteStatusWhereInput[]
    uuid?: UuidFilter<"DeliveryNoteStatus"> | string
    name?: StringFilter<"DeliveryNoteStatus"> | string
    status_id?: IntFilter<"DeliveryNoteStatus"> | number
    company_id?: IntFilter<"DeliveryNoteStatus"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    delivery_notes?: DeliveryNotesListRelationFilter
  }, "id" | "code" | "company_id_id" | "company_id_uuid">

  export type DeliveryNoteStatusOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: DeliveryNoteStatusCountOrderByAggregateInput
    _avg?: DeliveryNoteStatusAvgOrderByAggregateInput
    _max?: DeliveryNoteStatusMaxOrderByAggregateInput
    _min?: DeliveryNoteStatusMinOrderByAggregateInput
    _sum?: DeliveryNoteStatusSumOrderByAggregateInput
  }

  export type DeliveryNoteStatusScalarWhereWithAggregatesInput = {
    AND?: DeliveryNoteStatusScalarWhereWithAggregatesInput | DeliveryNoteStatusScalarWhereWithAggregatesInput[]
    OR?: DeliveryNoteStatusScalarWhereWithAggregatesInput[]
    NOT?: DeliveryNoteStatusScalarWhereWithAggregatesInput | DeliveryNoteStatusScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DeliveryNoteStatus"> | number
    uuid?: UuidWithAggregatesFilter<"DeliveryNoteStatus"> | string
    name?: StringWithAggregatesFilter<"DeliveryNoteStatus"> | string
    code?: StringWithAggregatesFilter<"DeliveryNoteStatus"> | string
    status_id?: IntWithAggregatesFilter<"DeliveryNoteStatus"> | number
    company_id?: IntWithAggregatesFilter<"DeliveryNoteStatus"> | number
  }

  export type DeliveryNoteLineItemsWhereInput = {
    AND?: DeliveryNoteLineItemsWhereInput | DeliveryNoteLineItemsWhereInput[]
    OR?: DeliveryNoteLineItemsWhereInput[]
    NOT?: DeliveryNoteLineItemsWhereInput | DeliveryNoteLineItemsWhereInput[]
    id?: IntFilter<"DeliveryNoteLineItems"> | number
    uuid?: UuidFilter<"DeliveryNoteLineItems"> | string
    delivery_note_id?: IntFilter<"DeliveryNoteLineItems"> | number
    length?: DecimalFilter<"DeliveryNoteLineItems"> | Decimal | DecimalJsLike | number | string
    quantity?: IntFilter<"DeliveryNoteLineItems"> | number
    weight?: IntFilter<"DeliveryNoteLineItems"> | number
    item_description?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    slip_no?: StringFilter<"DeliveryNoteLineItems"> | string
    section_number?: StringFilter<"DeliveryNoteLineItems"> | string
    item_code?: StringFilter<"DeliveryNoteLineItems"> | string
    remarks?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    status_id?: IntFilter<"DeliveryNoteLineItems"> | number
    company_id?: IntFilter<"DeliveryNoteLineItems"> | number
    created_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    created_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNoteLineItems"> | Date | string | null
    delivery_note?: XOR<DeliveryNotesRelationFilter, DeliveryNotesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type DeliveryNoteLineItemsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    item_description?: SortOrderInput | SortOrder
    slip_no?: SortOrder
    section_number?: SortOrder
    item_code?: SortOrder
    remarks?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    delivery_note?: DeliveryNotesOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: DeliveryNoteLineItemsOrderByRelevanceInput
  }

  export type DeliveryNoteLineItemsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: DeliveryNoteLineItemsCompany_idIdCompoundUniqueInput
    company_id_uuid?: DeliveryNoteLineItemsCompany_idUuidCompoundUniqueInput
    AND?: DeliveryNoteLineItemsWhereInput | DeliveryNoteLineItemsWhereInput[]
    OR?: DeliveryNoteLineItemsWhereInput[]
    NOT?: DeliveryNoteLineItemsWhereInput | DeliveryNoteLineItemsWhereInput[]
    uuid?: UuidFilter<"DeliveryNoteLineItems"> | string
    delivery_note_id?: IntFilter<"DeliveryNoteLineItems"> | number
    length?: DecimalFilter<"DeliveryNoteLineItems"> | Decimal | DecimalJsLike | number | string
    quantity?: IntFilter<"DeliveryNoteLineItems"> | number
    weight?: IntFilter<"DeliveryNoteLineItems"> | number
    item_description?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    slip_no?: StringFilter<"DeliveryNoteLineItems"> | string
    section_number?: StringFilter<"DeliveryNoteLineItems"> | string
    item_code?: StringFilter<"DeliveryNoteLineItems"> | string
    remarks?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    status_id?: IntFilter<"DeliveryNoteLineItems"> | number
    company_id?: IntFilter<"DeliveryNoteLineItems"> | number
    created_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    created_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNoteLineItems"> | Date | string | null
    delivery_note?: XOR<DeliveryNotesRelationFilter, DeliveryNotesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type DeliveryNoteLineItemsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    item_description?: SortOrderInput | SortOrder
    slip_no?: SortOrder
    section_number?: SortOrder
    item_code?: SortOrder
    remarks?: SortOrderInput | SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: DeliveryNoteLineItemsCountOrderByAggregateInput
    _avg?: DeliveryNoteLineItemsAvgOrderByAggregateInput
    _max?: DeliveryNoteLineItemsMaxOrderByAggregateInput
    _min?: DeliveryNoteLineItemsMinOrderByAggregateInput
    _sum?: DeliveryNoteLineItemsSumOrderByAggregateInput
  }

  export type DeliveryNoteLineItemsScalarWhereWithAggregatesInput = {
    AND?: DeliveryNoteLineItemsScalarWhereWithAggregatesInput | DeliveryNoteLineItemsScalarWhereWithAggregatesInput[]
    OR?: DeliveryNoteLineItemsScalarWhereWithAggregatesInput[]
    NOT?: DeliveryNoteLineItemsScalarWhereWithAggregatesInput | DeliveryNoteLineItemsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    uuid?: UuidWithAggregatesFilter<"DeliveryNoteLineItems"> | string
    delivery_note_id?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    length?: DecimalWithAggregatesFilter<"DeliveryNoteLineItems"> | Decimal | DecimalJsLike | number | string
    quantity?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    weight?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    item_description?: StringNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | string | null
    slip_no?: StringWithAggregatesFilter<"DeliveryNoteLineItems"> | string
    section_number?: StringWithAggregatesFilter<"DeliveryNoteLineItems"> | string
    item_code?: StringWithAggregatesFilter<"DeliveryNoteLineItems"> | string
    remarks?: StringNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | string | null
    status_id?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    company_id?: IntWithAggregatesFilter<"DeliveryNoteLineItems"> | number
    created_by?: IntNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"DeliveryNoteLineItems"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"DeliveryNoteLineItems"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"DeliveryNoteLineItems"> | Date | string | null
  }

  export type CustomerDeliveryAddressesWhereInput = {
    AND?: CustomerDeliveryAddressesWhereInput | CustomerDeliveryAddressesWhereInput[]
    OR?: CustomerDeliveryAddressesWhereInput[]
    NOT?: CustomerDeliveryAddressesWhereInput | CustomerDeliveryAddressesWhereInput[]
    id?: IntFilter<"CustomerDeliveryAddresses"> | number
    uuid?: UuidFilter<"CustomerDeliveryAddresses"> | string
    delivery_address_code?: StringFilter<"CustomerDeliveryAddresses"> | string
    company_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    status_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    billing_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    shipping_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_location?: StringFilter<"CustomerDeliveryAddresses"> | string
    customer_contact_no?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_address_lat_long?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    delivery_notes?: DeliveryNotesListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
  }

  export type CustomerDeliveryAddressesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_address_code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    billing_address?: SortOrderInput | SortOrder
    shipping_address?: SortOrderInput | SortOrder
    delivery_location?: SortOrder
    customer_contact_no?: SortOrderInput | SortOrder
    delivery_address_lat_long?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    delivery_notes?: DeliveryNotesOrderByRelationAggregateInput
    shipment_location?: ShipmentsLocationOrderByRelationAggregateInput
    _relevance?: CustomerDeliveryAddressesOrderByRelevanceInput
  }

  export type CustomerDeliveryAddressesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    delivery_address_code?: string
    company_id_id?: CustomerDeliveryAddressesCompany_idIdCompoundUniqueInput
    company_id_uuid?: CustomerDeliveryAddressesCompany_idUuidCompoundUniqueInput
    AND?: CustomerDeliveryAddressesWhereInput | CustomerDeliveryAddressesWhereInput[]
    OR?: CustomerDeliveryAddressesWhereInput[]
    NOT?: CustomerDeliveryAddressesWhereInput | CustomerDeliveryAddressesWhereInput[]
    uuid?: UuidFilter<"CustomerDeliveryAddresses"> | string
    company_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    status_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    billing_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    shipping_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_location?: StringFilter<"CustomerDeliveryAddresses"> | string
    customer_contact_no?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_address_lat_long?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    delivery_notes?: DeliveryNotesListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
  }, "id" | "delivery_address_code" | "company_id_id" | "company_id_uuid">

  export type CustomerDeliveryAddressesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_address_code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    billing_address?: SortOrderInput | SortOrder
    shipping_address?: SortOrderInput | SortOrder
    delivery_location?: SortOrder
    customer_contact_no?: SortOrderInput | SortOrder
    delivery_address_lat_long?: SortOrderInput | SortOrder
    _count?: CustomerDeliveryAddressesCountOrderByAggregateInput
    _avg?: CustomerDeliveryAddressesAvgOrderByAggregateInput
    _max?: CustomerDeliveryAddressesMaxOrderByAggregateInput
    _min?: CustomerDeliveryAddressesMinOrderByAggregateInput
    _sum?: CustomerDeliveryAddressesSumOrderByAggregateInput
  }

  export type CustomerDeliveryAddressesScalarWhereWithAggregatesInput = {
    AND?: CustomerDeliveryAddressesScalarWhereWithAggregatesInput | CustomerDeliveryAddressesScalarWhereWithAggregatesInput[]
    OR?: CustomerDeliveryAddressesScalarWhereWithAggregatesInput[]
    NOT?: CustomerDeliveryAddressesScalarWhereWithAggregatesInput | CustomerDeliveryAddressesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"CustomerDeliveryAddresses"> | number
    uuid?: UuidWithAggregatesFilter<"CustomerDeliveryAddresses"> | string
    delivery_address_code?: StringWithAggregatesFilter<"CustomerDeliveryAddresses"> | string
    company_id?: IntWithAggregatesFilter<"CustomerDeliveryAddresses"> | number
    status_id?: IntWithAggregatesFilter<"CustomerDeliveryAddresses"> | number
    billing_address?: StringNullableWithAggregatesFilter<"CustomerDeliveryAddresses"> | string | null
    shipping_address?: StringNullableWithAggregatesFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_location?: StringWithAggregatesFilter<"CustomerDeliveryAddresses"> | string
    customer_contact_no?: StringNullableWithAggregatesFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_address_lat_long?: StringNullableWithAggregatesFilter<"CustomerDeliveryAddresses"> | string | null
  }

  export type ShipmentsWhereInput = {
    AND?: ShipmentsWhereInput | ShipmentsWhereInput[]
    OR?: ShipmentsWhereInput[]
    NOT?: ShipmentsWhereInput | ShipmentsWhereInput[]
    id?: IntFilter<"Shipments"> | number
    uuid?: UuidFilter<"Shipments"> | string
    shipment_number?: StringFilter<"Shipments"> | string
    company_id?: IntFilter<"Shipments"> | number
    status_id?: IntFilter<"Shipments"> | number
    shipment_status_id?: IntFilter<"Shipments"> | number
    reason?: StringNullableFilter<"Shipments"> | string | null
    vehicle_id?: IntFilter<"Shipments"> | number
    created_by?: IntFilter<"Shipments"> | number
    created_at?: DateTimeFilter<"Shipments"> | Date | string
    updated_by?: IntNullableFilter<"Shipments"> | number | null
    updated_at?: DateTimeFilter<"Shipments"> | Date | string
    deleted_by?: IntNullableFilter<"Shipments"> | number | null
    deleted_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
    driver_id?: IntNullableFilter<"Shipments"> | number | null
    mobile_build_version?: StringNullableFilter<"Shipments"> | string | null
    shipment_delivered_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
  }

  export type ShipmentsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    reason?: SortOrderInput | SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    driver_id?: SortOrderInput | SortOrder
    mobile_build_version?: SortOrderInput | SortOrder
    shipment_delivered_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    shipment_status?: ShipmentStatusOrderByWithRelationInput
    vehicle?: VehiclesOrderByWithRelationInput
    shipment_customers?: ShipmentCustomersOrderByRelationAggregateInput
    shipment_location?: ShipmentsLocationOrderByRelationAggregateInput
    shipment_delivery_notes?: ShipmentDeliveryNotesOrderByRelationAggregateInput
    vehicle_geofence_history?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    _relevance?: ShipmentsOrderByRelevanceInput
  }

  export type ShipmentsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    shipment_number?: string
    company_id_id?: ShipmentsCompany_idIdCompoundUniqueInput
    company_id_uuid?: ShipmentsCompany_idUuidCompoundUniqueInput
    AND?: ShipmentsWhereInput | ShipmentsWhereInput[]
    OR?: ShipmentsWhereInput[]
    NOT?: ShipmentsWhereInput | ShipmentsWhereInput[]
    uuid?: UuidFilter<"Shipments"> | string
    company_id?: IntFilter<"Shipments"> | number
    status_id?: IntFilter<"Shipments"> | number
    shipment_status_id?: IntFilter<"Shipments"> | number
    reason?: StringNullableFilter<"Shipments"> | string | null
    vehicle_id?: IntFilter<"Shipments"> | number
    created_by?: IntFilter<"Shipments"> | number
    created_at?: DateTimeFilter<"Shipments"> | Date | string
    updated_by?: IntNullableFilter<"Shipments"> | number | null
    updated_at?: DateTimeFilter<"Shipments"> | Date | string
    deleted_by?: IntNullableFilter<"Shipments"> | number | null
    deleted_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
    driver_id?: IntNullableFilter<"Shipments"> | number | null
    mobile_build_version?: StringNullableFilter<"Shipments"> | string | null
    shipment_delivered_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
  }, "id" | "shipment_number" | "company_id_id" | "company_id_uuid">

  export type ShipmentsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    reason?: SortOrderInput | SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    driver_id?: SortOrderInput | SortOrder
    mobile_build_version?: SortOrderInput | SortOrder
    shipment_delivered_at?: SortOrderInput | SortOrder
    _count?: ShipmentsCountOrderByAggregateInput
    _avg?: ShipmentsAvgOrderByAggregateInput
    _max?: ShipmentsMaxOrderByAggregateInput
    _min?: ShipmentsMinOrderByAggregateInput
    _sum?: ShipmentsSumOrderByAggregateInput
  }

  export type ShipmentsScalarWhereWithAggregatesInput = {
    AND?: ShipmentsScalarWhereWithAggregatesInput | ShipmentsScalarWhereWithAggregatesInput[]
    OR?: ShipmentsScalarWhereWithAggregatesInput[]
    NOT?: ShipmentsScalarWhereWithAggregatesInput | ShipmentsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Shipments"> | number
    uuid?: UuidWithAggregatesFilter<"Shipments"> | string
    shipment_number?: StringWithAggregatesFilter<"Shipments"> | string
    company_id?: IntWithAggregatesFilter<"Shipments"> | number
    status_id?: IntWithAggregatesFilter<"Shipments"> | number
    shipment_status_id?: IntWithAggregatesFilter<"Shipments"> | number
    reason?: StringNullableWithAggregatesFilter<"Shipments"> | string | null
    vehicle_id?: IntWithAggregatesFilter<"Shipments"> | number
    created_by?: IntWithAggregatesFilter<"Shipments"> | number
    created_at?: DateTimeWithAggregatesFilter<"Shipments"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"Shipments"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"Shipments"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"Shipments"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Shipments"> | Date | string | null
    driver_id?: IntNullableWithAggregatesFilter<"Shipments"> | number | null
    mobile_build_version?: StringNullableWithAggregatesFilter<"Shipments"> | string | null
    shipment_delivered_at?: DateTimeNullableWithAggregatesFilter<"Shipments"> | Date | string | null
  }

  export type ShipmentCustomersWhereInput = {
    AND?: ShipmentCustomersWhereInput | ShipmentCustomersWhereInput[]
    OR?: ShipmentCustomersWhereInput[]
    NOT?: ShipmentCustomersWhereInput | ShipmentCustomersWhereInput[]
    id?: IntFilter<"ShipmentCustomers"> | number
    uuid?: UuidFilter<"ShipmentCustomers"> | string
    shipment_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_customer_uid?: StringFilter<"ShipmentCustomers"> | string
    company_id?: IntFilter<"ShipmentCustomers"> | number
    status_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_status_id?: IntFilter<"ShipmentCustomers"> | number
    customer_id?: IntFilter<"ShipmentCustomers"> | number
    created_by?: IntFilter<"ShipmentCustomers"> | number
    created_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    updated_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentCustomers"> | Date | string | null
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    customer?: XOR<UserRelationFilter, UserWhereInput>
    shipment_location?: ShipmentsLocationListRelationFilter
  }

  export type ShipmentCustomersOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_customer_uid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    shipments?: ShipmentsOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    shipment_status?: ShipmentStatusOrderByWithRelationInput
    customer?: UserOrderByWithRelationInput
    shipment_location?: ShipmentsLocationOrderByRelationAggregateInput
    _relevance?: ShipmentCustomersOrderByRelevanceInput
  }

  export type ShipmentCustomersWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ShipmentCustomersCompany_idIdCompoundUniqueInput
    company_id_uuid?: ShipmentCustomersCompany_idUuidCompoundUniqueInput
    company_id_shipment_customer_uid?: ShipmentCustomersCompany_idShipment_customer_uidCompoundUniqueInput
    AND?: ShipmentCustomersWhereInput | ShipmentCustomersWhereInput[]
    OR?: ShipmentCustomersWhereInput[]
    NOT?: ShipmentCustomersWhereInput | ShipmentCustomersWhereInput[]
    uuid?: UuidFilter<"ShipmentCustomers"> | string
    shipment_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_customer_uid?: StringFilter<"ShipmentCustomers"> | string
    company_id?: IntFilter<"ShipmentCustomers"> | number
    status_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_status_id?: IntFilter<"ShipmentCustomers"> | number
    customer_id?: IntFilter<"ShipmentCustomers"> | number
    created_by?: IntFilter<"ShipmentCustomers"> | number
    created_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    updated_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentCustomers"> | Date | string | null
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    customer?: XOR<UserRelationFilter, UserWhereInput>
    shipment_location?: ShipmentsLocationListRelationFilter
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_shipment_customer_uid">

  export type ShipmentCustomersOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_customer_uid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ShipmentCustomersCountOrderByAggregateInput
    _avg?: ShipmentCustomersAvgOrderByAggregateInput
    _max?: ShipmentCustomersMaxOrderByAggregateInput
    _min?: ShipmentCustomersMinOrderByAggregateInput
    _sum?: ShipmentCustomersSumOrderByAggregateInput
  }

  export type ShipmentCustomersScalarWhereWithAggregatesInput = {
    AND?: ShipmentCustomersScalarWhereWithAggregatesInput | ShipmentCustomersScalarWhereWithAggregatesInput[]
    OR?: ShipmentCustomersScalarWhereWithAggregatesInput[]
    NOT?: ShipmentCustomersScalarWhereWithAggregatesInput | ShipmentCustomersScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentCustomers"> | string
    shipment_id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    shipment_customer_uid?: StringWithAggregatesFilter<"ShipmentCustomers"> | string
    company_id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    status_id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    shipment_status_id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    customer_id?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    created_by?: IntWithAggregatesFilter<"ShipmentCustomers"> | number
    created_at?: DateTimeWithAggregatesFilter<"ShipmentCustomers"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ShipmentCustomers"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ShipmentCustomers"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ShipmentCustomers"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ShipmentCustomers"> | Date | string | null
  }

  export type ShipmentsLocationWhereInput = {
    AND?: ShipmentsLocationWhereInput | ShipmentsLocationWhereInput[]
    OR?: ShipmentsLocationWhereInput[]
    NOT?: ShipmentsLocationWhereInput | ShipmentsLocationWhereInput[]
    id?: IntFilter<"ShipmentsLocation"> | number
    uuid?: UuidFilter<"ShipmentsLocation"> | string
    customer_address_id?: IntFilter<"ShipmentsLocation"> | number
    otp_status?: EnumOtpStatusNullableFilter<"ShipmentsLocation"> | $Enums.OtpStatus | null
    pod_status_id?: IntFilter<"ShipmentsLocation"> | number
    otp_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
    pod_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_signature?: StringNullableFilter<"ShipmentsLocation"> | string | null
    loaded_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    shipment_location_lat_long?: StringNullableFilter<"ShipmentsLocation"> | string | null
    company_id?: IntFilter<"ShipmentsLocation"> | number
    status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_location_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_customer_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_id?: IntFilter<"ShipmentsLocation"> | number
    pod_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    loaded_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    latest_otp_generated_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    created_by?: IntFilter<"ShipmentsLocation"> | number
    created_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    updated_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    customer_delivery_contact_name?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_address?: XOR<CustomerDeliveryAddressesRelationFilter, CustomerDeliveryAddressesWhereInput>
    pod_status?: XOR<PodStatusNullableRelationFilter, PodStatusWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    shipment_customers?: XOR<ShipmentCustomersRelationFilter, ShipmentCustomersWhereInput>
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }

  export type ShipmentsLocationOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    customer_address_id?: SortOrder
    otp_status?: SortOrderInput | SortOrder
    pod_status_id?: SortOrder
    otp_number?: SortOrderInput | SortOrder
    pod_images?: SortOrderInput | SortOrder
    customer_signature?: SortOrderInput | SortOrder
    loaded_images?: SortOrderInput | SortOrder
    shipment_location_lat_long?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_customer_uid?: SortOrder
    shipment_id?: SortOrder
    pod_at?: SortOrderInput | SortOrder
    loaded_at?: SortOrderInput | SortOrder
    latest_otp_generated_at?: SortOrderInput | SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    customer_delivery_contact_name?: SortOrderInput | SortOrder
    customer_delivery_contact_email?: SortOrderInput | SortOrder
    customer_delivery_contact_number?: SortOrderInput | SortOrder
    customer_address?: CustomerDeliveryAddressesOrderByWithRelationInput
    pod_status?: PodStatusOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    shipment_status?: ShipmentStatusOrderByWithRelationInput
    shipment_customers?: ShipmentCustomersOrderByWithRelationInput
    shipments?: ShipmentsOrderByWithRelationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesOrderByRelationAggregateInput
    _relevance?: ShipmentsLocationOrderByRelevanceInput
  }

  export type ShipmentsLocationWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ShipmentsLocationCompany_idIdCompoundUniqueInput
    company_id_uuid?: ShipmentsLocationCompany_idUuidCompoundUniqueInput
    company_id_shipment_location_uid?: ShipmentsLocationCompany_idShipment_location_uidCompoundUniqueInput
    AND?: ShipmentsLocationWhereInput | ShipmentsLocationWhereInput[]
    OR?: ShipmentsLocationWhereInput[]
    NOT?: ShipmentsLocationWhereInput | ShipmentsLocationWhereInput[]
    uuid?: UuidFilter<"ShipmentsLocation"> | string
    customer_address_id?: IntFilter<"ShipmentsLocation"> | number
    otp_status?: EnumOtpStatusNullableFilter<"ShipmentsLocation"> | $Enums.OtpStatus | null
    pod_status_id?: IntFilter<"ShipmentsLocation"> | number
    otp_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
    pod_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_signature?: StringNullableFilter<"ShipmentsLocation"> | string | null
    loaded_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    shipment_location_lat_long?: StringNullableFilter<"ShipmentsLocation"> | string | null
    company_id?: IntFilter<"ShipmentsLocation"> | number
    status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_location_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_customer_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_id?: IntFilter<"ShipmentsLocation"> | number
    pod_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    loaded_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    latest_otp_generated_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    created_by?: IntFilter<"ShipmentsLocation"> | number
    created_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    updated_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    customer_delivery_contact_name?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_address?: XOR<CustomerDeliveryAddressesRelationFilter, CustomerDeliveryAddressesWhereInput>
    pod_status?: XOR<PodStatusNullableRelationFilter, PodStatusWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    shipment_customers?: XOR<ShipmentCustomersRelationFilter, ShipmentCustomersWhereInput>
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_shipment_location_uid">

  export type ShipmentsLocationOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    customer_address_id?: SortOrder
    otp_status?: SortOrderInput | SortOrder
    pod_status_id?: SortOrder
    otp_number?: SortOrderInput | SortOrder
    pod_images?: SortOrderInput | SortOrder
    customer_signature?: SortOrderInput | SortOrder
    loaded_images?: SortOrderInput | SortOrder
    shipment_location_lat_long?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_customer_uid?: SortOrder
    shipment_id?: SortOrder
    pod_at?: SortOrderInput | SortOrder
    loaded_at?: SortOrderInput | SortOrder
    latest_otp_generated_at?: SortOrderInput | SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    customer_delivery_contact_name?: SortOrderInput | SortOrder
    customer_delivery_contact_email?: SortOrderInput | SortOrder
    customer_delivery_contact_number?: SortOrderInput | SortOrder
    _count?: ShipmentsLocationCountOrderByAggregateInput
    _avg?: ShipmentsLocationAvgOrderByAggregateInput
    _max?: ShipmentsLocationMaxOrderByAggregateInput
    _min?: ShipmentsLocationMinOrderByAggregateInput
    _sum?: ShipmentsLocationSumOrderByAggregateInput
  }

  export type ShipmentsLocationScalarWhereWithAggregatesInput = {
    AND?: ShipmentsLocationScalarWhereWithAggregatesInput | ShipmentsLocationScalarWhereWithAggregatesInput[]
    OR?: ShipmentsLocationScalarWhereWithAggregatesInput[]
    NOT?: ShipmentsLocationScalarWhereWithAggregatesInput | ShipmentsLocationScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentsLocation"> | string
    customer_address_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    otp_status?: EnumOtpStatusNullableWithAggregatesFilter<"ShipmentsLocation"> | $Enums.OtpStatus | null
    pod_status_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    otp_number?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    pod_images?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    customer_signature?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    loaded_images?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    shipment_location_lat_long?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    company_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    status_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    shipment_status_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    shipment_location_uid?: StringWithAggregatesFilter<"ShipmentsLocation"> | string
    shipment_customer_uid?: StringWithAggregatesFilter<"ShipmentsLocation"> | string
    shipment_id?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    pod_at?: DateTimeNullableWithAggregatesFilter<"ShipmentsLocation"> | Date | string | null
    loaded_at?: DateTimeNullableWithAggregatesFilter<"ShipmentsLocation"> | Date | string | null
    latest_otp_generated_at?: DateTimeNullableWithAggregatesFilter<"ShipmentsLocation"> | Date | string | null
    created_by?: IntWithAggregatesFilter<"ShipmentsLocation"> | number
    created_at?: DateTimeWithAggregatesFilter<"ShipmentsLocation"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ShipmentsLocation"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ShipmentsLocation"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ShipmentsLocation"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ShipmentsLocation"> | Date | string | null
    customer_delivery_contact_name?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_email?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_number?: StringNullableWithAggregatesFilter<"ShipmentsLocation"> | string | null
  }

  export type ShipmentDeliveryNotesWhereInput = {
    AND?: ShipmentDeliveryNotesWhereInput | ShipmentDeliveryNotesWhereInput[]
    OR?: ShipmentDeliveryNotesWhereInput[]
    NOT?: ShipmentDeliveryNotesWhereInput | ShipmentDeliveryNotesWhereInput[]
    id?: IntFilter<"ShipmentDeliveryNotes"> | number
    uuid?: UuidFilter<"ShipmentDeliveryNotes"> | string
    delivery_note_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    company_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_location_uid?: StringFilter<"ShipmentDeliveryNotes"> | string
    shipment_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_by?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentDeliveryNotes"> | Date | string | null
    delivery_note?: XOR<DeliveryNotesRelationFilter, DeliveryNotesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    shipment_location?: XOR<ShipmentsLocationRelationFilter, ShipmentsLocationWhereInput>
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
  }

  export type ShipmentDeliveryNotesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    delivery_note?: DeliveryNotesOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    shipment_status?: ShipmentStatusOrderByWithRelationInput
    shipment_location?: ShipmentsLocationOrderByWithRelationInput
    shipments?: ShipmentsOrderByWithRelationInput
    _relevance?: ShipmentDeliveryNotesOrderByRelevanceInput
  }

  export type ShipmentDeliveryNotesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: ShipmentDeliveryNotesCompany_idIdCompoundUniqueInput
    company_id_uuid?: ShipmentDeliveryNotesCompany_idUuidCompoundUniqueInput
    company_id_delivery_note_id_shipment_id?: ShipmentDeliveryNotesCompany_idDelivery_note_idShipment_idCompoundUniqueInput
    AND?: ShipmentDeliveryNotesWhereInput | ShipmentDeliveryNotesWhereInput[]
    OR?: ShipmentDeliveryNotesWhereInput[]
    NOT?: ShipmentDeliveryNotesWhereInput | ShipmentDeliveryNotesWhereInput[]
    uuid?: UuidFilter<"ShipmentDeliveryNotes"> | string
    delivery_note_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    company_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_location_uid?: StringFilter<"ShipmentDeliveryNotes"> | string
    shipment_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_by?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentDeliveryNotes"> | Date | string | null
    delivery_note?: XOR<DeliveryNotesRelationFilter, DeliveryNotesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipment_status?: XOR<ShipmentStatusRelationFilter, ShipmentStatusWhereInput>
    shipment_location?: XOR<ShipmentsLocationRelationFilter, ShipmentsLocationWhereInput>
    shipments?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid" | "company_id_delivery_note_id_shipment_id">

  export type ShipmentDeliveryNotesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ShipmentDeliveryNotesCountOrderByAggregateInput
    _avg?: ShipmentDeliveryNotesAvgOrderByAggregateInput
    _max?: ShipmentDeliveryNotesMaxOrderByAggregateInput
    _min?: ShipmentDeliveryNotesMinOrderByAggregateInput
    _sum?: ShipmentDeliveryNotesSumOrderByAggregateInput
  }

  export type ShipmentDeliveryNotesScalarWhereWithAggregatesInput = {
    AND?: ShipmentDeliveryNotesScalarWhereWithAggregatesInput | ShipmentDeliveryNotesScalarWhereWithAggregatesInput[]
    OR?: ShipmentDeliveryNotesScalarWhereWithAggregatesInput[]
    NOT?: ShipmentDeliveryNotesScalarWhereWithAggregatesInput | ShipmentDeliveryNotesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentDeliveryNotes"> | string
    delivery_note_id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    company_id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    status_id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    shipment_status_id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    shipment_location_uid?: StringWithAggregatesFilter<"ShipmentDeliveryNotes"> | string
    shipment_id?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    created_by?: IntWithAggregatesFilter<"ShipmentDeliveryNotes"> | number
    created_at?: DateTimeWithAggregatesFilter<"ShipmentDeliveryNotes"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ShipmentDeliveryNotes"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ShipmentDeliveryNotes"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"ShipmentDeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ShipmentDeliveryNotes"> | Date | string | null
  }

  export type VehiclesWhereInput = {
    AND?: VehiclesWhereInput | VehiclesWhereInput[]
    OR?: VehiclesWhereInput[]
    NOT?: VehiclesWhereInput | VehiclesWhereInput[]
    id?: IntFilter<"Vehicles"> | number
    uuid?: UuidFilter<"Vehicles"> | string
    vehicle_plate_number?: StringFilter<"Vehicles"> | string
    vehicle_register_number?: StringFilter<"Vehicles"> | string
    company_id?: IntFilter<"Vehicles"> | number
    status_id?: IntFilter<"Vehicles"> | number
    is_assigned?: BoolFilter<"Vehicles"> | boolean
    created_by?: IntNullableFilter<"Vehicles"> | number | null
    created_at?: DateTimeFilter<"Vehicles"> | Date | string
    updated_by?: IntNullableFilter<"Vehicles"> | number | null
    updated_at?: DateTimeFilter<"Vehicles"> | Date | string
    deleted_by?: IntNullableFilter<"Vehicles"> | number | null
    deleted_at?: DateTimeNullableFilter<"Vehicles"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    vehicle_gps_data_log?: VehiclesGpsDataLogListRelationFilter
    geo_fence_tracking?: GeoFenceTrackingListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
    shipments?: ShipmentsListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
  }

  export type VehiclesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_plate_number?: SortOrder
    vehicle_register_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    is_assigned?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    vehicle_gps_data?: VehiclesGpsDataOrderByRelationAggregateInput
    vehicle_gps_data_log?: VehiclesGpsDataLogOrderByRelationAggregateInput
    geo_fence_tracking?: GeoFenceTrackingOrderByRelationAggregateInput
    vehicle_user_mapping?: VehicleUserMappingOrderByRelationAggregateInput
    vehicle_geofence_history?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    shipments?: ShipmentsOrderByRelationAggregateInput
    vehicle_trip_histories?: VehicleTripHistoriesOrderByRelationAggregateInput
    _relevance?: VehiclesOrderByRelevanceInput
  }

  export type VehiclesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    vehicle_plate_number?: string
    vehicle_register_number?: string
    company_id_id?: VehiclesCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehiclesCompany_idUuidCompoundUniqueInput
    AND?: VehiclesWhereInput | VehiclesWhereInput[]
    OR?: VehiclesWhereInput[]
    NOT?: VehiclesWhereInput | VehiclesWhereInput[]
    uuid?: UuidFilter<"Vehicles"> | string
    company_id?: IntFilter<"Vehicles"> | number
    status_id?: IntFilter<"Vehicles"> | number
    is_assigned?: BoolFilter<"Vehicles"> | boolean
    created_by?: IntNullableFilter<"Vehicles"> | number | null
    created_at?: DateTimeFilter<"Vehicles"> | Date | string
    updated_by?: IntNullableFilter<"Vehicles"> | number | null
    updated_at?: DateTimeFilter<"Vehicles"> | Date | string
    deleted_by?: IntNullableFilter<"Vehicles"> | number | null
    deleted_at?: DateTimeNullableFilter<"Vehicles"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    vehicle_gps_data?: VehiclesGpsDataListRelationFilter
    vehicle_gps_data_log?: VehiclesGpsDataLogListRelationFilter
    geo_fence_tracking?: GeoFenceTrackingListRelationFilter
    vehicle_user_mapping?: VehicleUserMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
    shipments?: ShipmentsListRelationFilter
    vehicle_trip_histories?: VehicleTripHistoriesListRelationFilter
  }, "id" | "vehicle_plate_number" | "vehicle_register_number" | "company_id_id" | "company_id_uuid">

  export type VehiclesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_plate_number?: SortOrder
    vehicle_register_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    is_assigned?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: VehiclesCountOrderByAggregateInput
    _avg?: VehiclesAvgOrderByAggregateInput
    _max?: VehiclesMaxOrderByAggregateInput
    _min?: VehiclesMinOrderByAggregateInput
    _sum?: VehiclesSumOrderByAggregateInput
  }

  export type VehiclesScalarWhereWithAggregatesInput = {
    AND?: VehiclesScalarWhereWithAggregatesInput | VehiclesScalarWhereWithAggregatesInput[]
    OR?: VehiclesScalarWhereWithAggregatesInput[]
    NOT?: VehiclesScalarWhereWithAggregatesInput | VehiclesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"Vehicles"> | number
    uuid?: UuidWithAggregatesFilter<"Vehicles"> | string
    vehicle_plate_number?: StringWithAggregatesFilter<"Vehicles"> | string
    vehicle_register_number?: StringWithAggregatesFilter<"Vehicles"> | string
    company_id?: IntWithAggregatesFilter<"Vehicles"> | number
    status_id?: IntWithAggregatesFilter<"Vehicles"> | number
    is_assigned?: BoolWithAggregatesFilter<"Vehicles"> | boolean
    created_by?: IntNullableWithAggregatesFilter<"Vehicles"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"Vehicles"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"Vehicles"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"Vehicles"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"Vehicles"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"Vehicles"> | Date | string | null
  }

  export type VehicleUserMappingWhereInput = {
    AND?: VehicleUserMappingWhereInput | VehicleUserMappingWhereInput[]
    OR?: VehicleUserMappingWhereInput[]
    NOT?: VehicleUserMappingWhereInput | VehicleUserMappingWhereInput[]
    id?: IntFilter<"VehicleUserMapping"> | number
    uuid?: UuidFilter<"VehicleUserMapping"> | string
    company_id?: IntFilter<"VehicleUserMapping"> | number
    status_id?: IntFilter<"VehicleUserMapping"> | number
    vehicle_id?: IntFilter<"VehicleUserMapping"> | number
    user_id?: IntFilter<"VehicleUserMapping"> | number
    created_by?: IntNullableFilter<"VehicleUserMapping"> | number | null
    created_at?: DateTimeNullableFilter<"VehicleUserMapping"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type VehicleUserMappingOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    vehicle?: VehiclesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: VehicleUserMappingOrderByRelevanceInput
  }

  export type VehicleUserMappingWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: VehicleUserMappingCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehicleUserMappingCompany_idUuidCompoundUniqueInput
    AND?: VehicleUserMappingWhereInput | VehicleUserMappingWhereInput[]
    OR?: VehicleUserMappingWhereInput[]
    NOT?: VehicleUserMappingWhereInput | VehicleUserMappingWhereInput[]
    uuid?: UuidFilter<"VehicleUserMapping"> | string
    company_id?: IntFilter<"VehicleUserMapping"> | number
    status_id?: IntFilter<"VehicleUserMapping"> | number
    vehicle_id?: IntFilter<"VehicleUserMapping"> | number
    user_id?: IntFilter<"VehicleUserMapping"> | number
    created_by?: IntNullableFilter<"VehicleUserMapping"> | number | null
    created_at?: DateTimeNullableFilter<"VehicleUserMapping"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type VehicleUserMappingOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    _count?: VehicleUserMappingCountOrderByAggregateInput
    _avg?: VehicleUserMappingAvgOrderByAggregateInput
    _max?: VehicleUserMappingMaxOrderByAggregateInput
    _min?: VehicleUserMappingMinOrderByAggregateInput
    _sum?: VehicleUserMappingSumOrderByAggregateInput
  }

  export type VehicleUserMappingScalarWhereWithAggregatesInput = {
    AND?: VehicleUserMappingScalarWhereWithAggregatesInput | VehicleUserMappingScalarWhereWithAggregatesInput[]
    OR?: VehicleUserMappingScalarWhereWithAggregatesInput[]
    NOT?: VehicleUserMappingScalarWhereWithAggregatesInput | VehicleUserMappingScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"VehicleUserMapping"> | number
    uuid?: UuidWithAggregatesFilter<"VehicleUserMapping"> | string
    company_id?: IntWithAggregatesFilter<"VehicleUserMapping"> | number
    status_id?: IntWithAggregatesFilter<"VehicleUserMapping"> | number
    vehicle_id?: IntWithAggregatesFilter<"VehicleUserMapping"> | number
    user_id?: IntWithAggregatesFilter<"VehicleUserMapping"> | number
    created_by?: IntNullableWithAggregatesFilter<"VehicleUserMapping"> | number | null
    created_at?: DateTimeNullableWithAggregatesFilter<"VehicleUserMapping"> | Date | string | null
  }

  export type VehiclesGpsDataWhereInput = {
    AND?: VehiclesGpsDataWhereInput | VehiclesGpsDataWhereInput[]
    OR?: VehiclesGpsDataWhereInput[]
    NOT?: VehiclesGpsDataWhereInput | VehiclesGpsDataWhereInput[]
    id?: IntFilter<"VehiclesGpsData"> | number
    uuid?: UuidFilter<"VehiclesGpsData"> | string
    vehicle_id?: IntFilter<"VehiclesGpsData"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    unique_gps_data_id?: StringFilter<"VehiclesGpsData"> | string
    driver_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    company_id?: IntFilter<"VehiclesGpsData"> | number
    status_id?: IntFilter<"VehiclesGpsData"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsData"> | Date | string | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type VehiclesGpsDataOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    process_status_id?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    vehicle?: VehiclesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: VehiclesGpsDataOrderByRelevanceInput
  }

  export type VehiclesGpsDataWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    unique_gps_data_id?: string
    company_id_id?: VehiclesGpsDataCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehiclesGpsDataCompany_idUuidCompoundUniqueInput
    AND?: VehiclesGpsDataWhereInput | VehiclesGpsDataWhereInput[]
    OR?: VehiclesGpsDataWhereInput[]
    NOT?: VehiclesGpsDataWhereInput | VehiclesGpsDataWhereInput[]
    uuid?: UuidFilter<"VehiclesGpsData"> | string
    vehicle_id?: IntFilter<"VehiclesGpsData"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    driver_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    company_id?: IntFilter<"VehiclesGpsData"> | number
    status_id?: IntFilter<"VehiclesGpsData"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsData"> | Date | string | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "unique_gps_data_id" | "company_id_id" | "company_id_uuid">

  export type VehiclesGpsDataOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    process_status_id?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    _count?: VehiclesGpsDataCountOrderByAggregateInput
    _avg?: VehiclesGpsDataAvgOrderByAggregateInput
    _max?: VehiclesGpsDataMaxOrderByAggregateInput
    _min?: VehiclesGpsDataMinOrderByAggregateInput
    _sum?: VehiclesGpsDataSumOrderByAggregateInput
  }

  export type VehiclesGpsDataScalarWhereWithAggregatesInput = {
    AND?: VehiclesGpsDataScalarWhereWithAggregatesInput | VehiclesGpsDataScalarWhereWithAggregatesInput[]
    OR?: VehiclesGpsDataScalarWhereWithAggregatesInput[]
    NOT?: VehiclesGpsDataScalarWhereWithAggregatesInput | VehiclesGpsDataScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"VehiclesGpsData"> | number
    uuid?: UuidWithAggregatesFilter<"VehiclesGpsData"> | string
    vehicle_id?: IntWithAggregatesFilter<"VehiclesGpsData"> | number
    latitude?: FloatNullableWithAggregatesFilter<"VehiclesGpsData"> | number | null
    longitude?: FloatNullableWithAggregatesFilter<"VehiclesGpsData"> | number | null
    gps_timestamp?: DateTimeWithAggregatesFilter<"VehiclesGpsData"> | Date | string
    unique_gps_data_id?: StringWithAggregatesFilter<"VehiclesGpsData"> | string
    driver_id?: IntNullableWithAggregatesFilter<"VehiclesGpsData"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"VehiclesGpsData"> | Date | string
    company_id?: IntWithAggregatesFilter<"VehiclesGpsData"> | number
    status_id?: IntWithAggregatesFilter<"VehiclesGpsData"> | number
    shipment_id?: IntNullableWithAggregatesFilter<"VehiclesGpsData"> | number | null
    process_status_id?: IntNullableWithAggregatesFilter<"VehiclesGpsData"> | number | null
    processed_at?: DateTimeNullableWithAggregatesFilter<"VehiclesGpsData"> | Date | string | null
  }

  export type VehiclesGpsDataLogWhereInput = {
    AND?: VehiclesGpsDataLogWhereInput | VehiclesGpsDataLogWhereInput[]
    OR?: VehiclesGpsDataLogWhereInput[]
    NOT?: VehiclesGpsDataLogWhereInput | VehiclesGpsDataLogWhereInput[]
    id?: IntFilter<"VehiclesGpsDataLog"> | number
    uuid?: UuidFilter<"VehiclesGpsDataLog"> | string
    vehicle_id?: IntFilter<"VehiclesGpsDataLog"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    unique_gps_data_id?: StringFilter<"VehiclesGpsDataLog"> | string
    driver_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    company_id?: IntFilter<"VehiclesGpsDataLog"> | number
    status_id?: IntFilter<"VehiclesGpsDataLog"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsDataLog"> | Date | string | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }

  export type VehiclesGpsDataLogOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    process_status_id?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    vehicle?: VehiclesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: VehiclesGpsDataLogOrderByRelevanceInput
  }

  export type VehiclesGpsDataLogWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    unique_gps_data_id?: string
    company_id_id?: VehiclesGpsDataLogCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehiclesGpsDataLogCompany_idUuidCompoundUniqueInput
    latitude_longitude_driver_id_shipment_id?: VehiclesGpsDataLogLatitudeLongitudeDriver_idShipment_idCompoundUniqueInput
    AND?: VehiclesGpsDataLogWhereInput | VehiclesGpsDataLogWhereInput[]
    OR?: VehiclesGpsDataLogWhereInput[]
    NOT?: VehiclesGpsDataLogWhereInput | VehiclesGpsDataLogWhereInput[]
    uuid?: UuidFilter<"VehiclesGpsDataLog"> | string
    vehicle_id?: IntFilter<"VehiclesGpsDataLog"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    driver_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    company_id?: IntFilter<"VehiclesGpsDataLog"> | number
    status_id?: IntFilter<"VehiclesGpsDataLog"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsDataLog"> | Date | string | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
  }, "id" | "unique_gps_data_id" | "company_id_id" | "company_id_uuid" | "latitude_longitude_driver_id_shipment_id">

  export type VehiclesGpsDataLogOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    process_status_id?: SortOrderInput | SortOrder
    processed_at?: SortOrderInput | SortOrder
    _count?: VehiclesGpsDataLogCountOrderByAggregateInput
    _avg?: VehiclesGpsDataLogAvgOrderByAggregateInput
    _max?: VehiclesGpsDataLogMaxOrderByAggregateInput
    _min?: VehiclesGpsDataLogMinOrderByAggregateInput
    _sum?: VehiclesGpsDataLogSumOrderByAggregateInput
  }

  export type VehiclesGpsDataLogScalarWhereWithAggregatesInput = {
    AND?: VehiclesGpsDataLogScalarWhereWithAggregatesInput | VehiclesGpsDataLogScalarWhereWithAggregatesInput[]
    OR?: VehiclesGpsDataLogScalarWhereWithAggregatesInput[]
    NOT?: VehiclesGpsDataLogScalarWhereWithAggregatesInput | VehiclesGpsDataLogScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"VehiclesGpsDataLog"> | number
    uuid?: UuidWithAggregatesFilter<"VehiclesGpsDataLog"> | string
    vehicle_id?: IntWithAggregatesFilter<"VehiclesGpsDataLog"> | number
    latitude?: FloatNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | number | null
    longitude?: FloatNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | number | null
    gps_timestamp?: DateTimeWithAggregatesFilter<"VehiclesGpsDataLog"> | Date | string
    unique_gps_data_id?: StringWithAggregatesFilter<"VehiclesGpsDataLog"> | string
    driver_id?: IntNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"VehiclesGpsDataLog"> | Date | string
    company_id?: IntWithAggregatesFilter<"VehiclesGpsDataLog"> | number
    status_id?: IntWithAggregatesFilter<"VehiclesGpsDataLog"> | number
    shipment_id?: IntNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | number | null
    process_status_id?: IntNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | number | null
    processed_at?: DateTimeNullableWithAggregatesFilter<"VehiclesGpsDataLog"> | Date | string | null
  }

  export type VehicleTripHistoriesWhereInput = {
    AND?: VehicleTripHistoriesWhereInput | VehicleTripHistoriesWhereInput[]
    OR?: VehicleTripHistoriesWhereInput[]
    NOT?: VehicleTripHistoriesWhereInput | VehicleTripHistoriesWhereInput[]
    id?: IntFilter<"VehicleTripHistories"> | number
    uuid?: UuidFilter<"VehicleTripHistories"> | string
    vehicle_id?: IntFilter<"VehicleTripHistories"> | number
    latitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    longitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    gps_timestamp?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    unique_gps_data_id?: StringFilter<"VehicleTripHistories"> | string
    driver_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
    created_at?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    company_id?: IntFilter<"VehicleTripHistories"> | number
    status_id?: IntFilter<"VehicleTripHistories"> | number
    shipment_location_uid?: StringNullableFilter<"VehicleTripHistories"> | string | null
    trip_type?: StringNullableFilter<"VehicleTripHistories"> | string | null
    shipment_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type VehicleTripHistoriesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    trip_type?: SortOrderInput | SortOrder
    shipment_id?: SortOrderInput | SortOrder
    vehicle?: VehiclesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: VehicleTripHistoriesOrderByRelevanceInput
  }

  export type VehicleTripHistoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    unique_gps_data_id?: string
    company_id_id?: VehicleTripHistoriesCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehicleTripHistoriesCompany_idUuidCompoundUniqueInput
    AND?: VehicleTripHistoriesWhereInput | VehicleTripHistoriesWhereInput[]
    OR?: VehicleTripHistoriesWhereInput[]
    NOT?: VehicleTripHistoriesWhereInput | VehicleTripHistoriesWhereInput[]
    uuid?: UuidFilter<"VehicleTripHistories"> | string
    vehicle_id?: IntFilter<"VehicleTripHistories"> | number
    latitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    longitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    gps_timestamp?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    driver_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
    created_at?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    company_id?: IntFilter<"VehicleTripHistories"> | number
    status_id?: IntFilter<"VehicleTripHistories"> | number
    shipment_location_uid?: StringNullableFilter<"VehicleTripHistories"> | string | null
    trip_type?: StringNullableFilter<"VehicleTripHistories"> | string | null
    shipment_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "unique_gps_data_id" | "company_id_id" | "company_id_uuid">

  export type VehicleTripHistoriesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    trip_type?: SortOrderInput | SortOrder
    shipment_id?: SortOrderInput | SortOrder
    _count?: VehicleTripHistoriesCountOrderByAggregateInput
    _avg?: VehicleTripHistoriesAvgOrderByAggregateInput
    _max?: VehicleTripHistoriesMaxOrderByAggregateInput
    _min?: VehicleTripHistoriesMinOrderByAggregateInput
    _sum?: VehicleTripHistoriesSumOrderByAggregateInput
  }

  export type VehicleTripHistoriesScalarWhereWithAggregatesInput = {
    AND?: VehicleTripHistoriesScalarWhereWithAggregatesInput | VehicleTripHistoriesScalarWhereWithAggregatesInput[]
    OR?: VehicleTripHistoriesScalarWhereWithAggregatesInput[]
    NOT?: VehicleTripHistoriesScalarWhereWithAggregatesInput | VehicleTripHistoriesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"VehicleTripHistories"> | number
    uuid?: UuidWithAggregatesFilter<"VehicleTripHistories"> | string
    vehicle_id?: IntWithAggregatesFilter<"VehicleTripHistories"> | number
    latitude?: FloatNullableWithAggregatesFilter<"VehicleTripHistories"> | number | null
    longitude?: FloatNullableWithAggregatesFilter<"VehicleTripHistories"> | number | null
    gps_timestamp?: DateTimeWithAggregatesFilter<"VehicleTripHistories"> | Date | string
    unique_gps_data_id?: StringWithAggregatesFilter<"VehicleTripHistories"> | string
    driver_id?: IntNullableWithAggregatesFilter<"VehicleTripHistories"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"VehicleTripHistories"> | Date | string
    company_id?: IntWithAggregatesFilter<"VehicleTripHistories"> | number
    status_id?: IntWithAggregatesFilter<"VehicleTripHistories"> | number
    shipment_location_uid?: StringNullableWithAggregatesFilter<"VehicleTripHistories"> | string | null
    trip_type?: StringNullableWithAggregatesFilter<"VehicleTripHistories"> | string | null
    shipment_id?: IntNullableWithAggregatesFilter<"VehicleTripHistories"> | number | null
  }

  export type GeoFencesWhereInput = {
    AND?: GeoFencesWhereInput | GeoFencesWhereInput[]
    OR?: GeoFencesWhereInput[]
    NOT?: GeoFencesWhereInput | GeoFencesWhereInput[]
    id?: IntFilter<"GeoFences"> | number
    uuid?: UuidFilter<"GeoFences"> | string
    zone_name?: StringFilter<"GeoFences"> | string
    zone_type?: EnumZoneTypeFilter<"GeoFences"> | $Enums.ZoneType
    radius?: StringNullableFilter<"GeoFences"> | string | null
    category?: EnumGeoCategoryFilter<"GeoFences"> | $Enums.GeoCategory
    latitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    longitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    paths?: JsonNullableFilter<"GeoFences">
    company_id?: IntFilter<"GeoFences"> | number
    status_id?: IntFilter<"GeoFences"> | number
    created_by?: IntFilter<"GeoFences"> | number
    created_at?: DateTimeFilter<"GeoFences"> | Date | string
    updated_by?: IntNullableFilter<"GeoFences"> | number | null
    updated_at?: DateTimeFilter<"GeoFences"> | Date | string
    deleted_by?: IntNullableFilter<"GeoFences"> | number | null
    deleted_at?: DateTimeNullableFilter<"GeoFences"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    geofence_tracking?: GeoFenceTrackingListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
  }

  export type GeoFencesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    zone_name?: SortOrder
    zone_type?: SortOrder
    radius?: SortOrderInput | SortOrder
    category?: SortOrder
    latitude_coords?: SortOrderInput | SortOrder
    longitude_coords?: SortOrderInput | SortOrder
    paths?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    geofence_tracking?: GeoFenceTrackingOrderByRelationAggregateInput
    customer_geofence_mapping?: CustomerGeoFenceMappingOrderByRelationAggregateInput
    vehicle_geofence_history?: VehicleGeofenceHistoryOrderByRelationAggregateInput
    _relevance?: GeoFencesOrderByRelevanceInput
  }

  export type GeoFencesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    zone_name?: string
    company_id_id?: GeoFencesCompany_idIdCompoundUniqueInput
    company_id_uuid?: GeoFencesCompany_idUuidCompoundUniqueInput
    AND?: GeoFencesWhereInput | GeoFencesWhereInput[]
    OR?: GeoFencesWhereInput[]
    NOT?: GeoFencesWhereInput | GeoFencesWhereInput[]
    uuid?: UuidFilter<"GeoFences"> | string
    zone_type?: EnumZoneTypeFilter<"GeoFences"> | $Enums.ZoneType
    radius?: StringNullableFilter<"GeoFences"> | string | null
    category?: EnumGeoCategoryFilter<"GeoFences"> | $Enums.GeoCategory
    latitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    longitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    paths?: JsonNullableFilter<"GeoFences">
    company_id?: IntFilter<"GeoFences"> | number
    status_id?: IntFilter<"GeoFences"> | number
    created_by?: IntFilter<"GeoFences"> | number
    created_at?: DateTimeFilter<"GeoFences"> | Date | string
    updated_by?: IntNullableFilter<"GeoFences"> | number | null
    updated_at?: DateTimeFilter<"GeoFences"> | Date | string
    deleted_by?: IntNullableFilter<"GeoFences"> | number | null
    deleted_at?: DateTimeNullableFilter<"GeoFences"> | Date | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    geofence_tracking?: GeoFenceTrackingListRelationFilter
    customer_geofence_mapping?: CustomerGeoFenceMappingListRelationFilter
    vehicle_geofence_history?: VehicleGeofenceHistoryListRelationFilter
  }, "id" | "zone_name" | "company_id_id" | "company_id_uuid">

  export type GeoFencesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    zone_name?: SortOrder
    zone_type?: SortOrder
    radius?: SortOrderInput | SortOrder
    category?: SortOrder
    latitude_coords?: SortOrderInput | SortOrder
    longitude_coords?: SortOrderInput | SortOrder
    paths?: SortOrderInput | SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrderInput | SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: GeoFencesCountOrderByAggregateInput
    _avg?: GeoFencesAvgOrderByAggregateInput
    _max?: GeoFencesMaxOrderByAggregateInput
    _min?: GeoFencesMinOrderByAggregateInput
    _sum?: GeoFencesSumOrderByAggregateInput
  }

  export type GeoFencesScalarWhereWithAggregatesInput = {
    AND?: GeoFencesScalarWhereWithAggregatesInput | GeoFencesScalarWhereWithAggregatesInput[]
    OR?: GeoFencesScalarWhereWithAggregatesInput[]
    NOT?: GeoFencesScalarWhereWithAggregatesInput | GeoFencesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"GeoFences"> | number
    uuid?: UuidWithAggregatesFilter<"GeoFences"> | string
    zone_name?: StringWithAggregatesFilter<"GeoFences"> | string
    zone_type?: EnumZoneTypeWithAggregatesFilter<"GeoFences"> | $Enums.ZoneType
    radius?: StringNullableWithAggregatesFilter<"GeoFences"> | string | null
    category?: EnumGeoCategoryWithAggregatesFilter<"GeoFences"> | $Enums.GeoCategory
    latitude_coords?: FloatNullableWithAggregatesFilter<"GeoFences"> | number | null
    longitude_coords?: FloatNullableWithAggregatesFilter<"GeoFences"> | number | null
    paths?: JsonNullableWithAggregatesFilter<"GeoFences">
    company_id?: IntWithAggregatesFilter<"GeoFences"> | number
    status_id?: IntWithAggregatesFilter<"GeoFences"> | number
    created_by?: IntWithAggregatesFilter<"GeoFences"> | number
    created_at?: DateTimeWithAggregatesFilter<"GeoFences"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"GeoFences"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"GeoFences"> | Date | string
    deleted_by?: IntNullableWithAggregatesFilter<"GeoFences"> | number | null
    deleted_at?: DateTimeNullableWithAggregatesFilter<"GeoFences"> | Date | string | null
  }

  export type GeoFenceTrackingWhereInput = {
    AND?: GeoFenceTrackingWhereInput | GeoFenceTrackingWhereInput[]
    OR?: GeoFenceTrackingWhereInput[]
    NOT?: GeoFenceTrackingWhereInput | GeoFenceTrackingWhereInput[]
    id?: IntFilter<"GeoFenceTracking"> | number
    uuid?: UuidFilter<"GeoFenceTracking"> | string
    vehicle_id?: IntFilter<"GeoFenceTracking"> | number
    geofence_id?: IntFilter<"GeoFenceTracking"> | number
    activity_type?: EnumGeoTracActivityFilter<"GeoFenceTracking"> | $Enums.GeoTracActivity
    activity_at?: DateTimeFilter<"GeoFenceTracking"> | Date | string
    company_id?: IntFilter<"GeoFenceTracking"> | number
    status_id?: IntFilter<"GeoFenceTracking"> | number
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type GeoFenceTrackingOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    activity_type?: SortOrder
    activity_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle?: VehiclesOrderByWithRelationInput
    geofence?: GeoFencesOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: GeoFenceTrackingOrderByRelevanceInput
  }

  export type GeoFenceTrackingWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: GeoFenceTrackingCompany_idIdCompoundUniqueInput
    company_id_uuid?: GeoFenceTrackingCompany_idUuidCompoundUniqueInput
    AND?: GeoFenceTrackingWhereInput | GeoFenceTrackingWhereInput[]
    OR?: GeoFenceTrackingWhereInput[]
    NOT?: GeoFenceTrackingWhereInput | GeoFenceTrackingWhereInput[]
    uuid?: UuidFilter<"GeoFenceTracking"> | string
    vehicle_id?: IntFilter<"GeoFenceTracking"> | number
    geofence_id?: IntFilter<"GeoFenceTracking"> | number
    activity_type?: EnumGeoTracActivityFilter<"GeoFenceTracking"> | $Enums.GeoTracActivity
    activity_at?: DateTimeFilter<"GeoFenceTracking"> | Date | string
    company_id?: IntFilter<"GeoFenceTracking"> | number
    status_id?: IntFilter<"GeoFenceTracking"> | number
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type GeoFenceTrackingOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    activity_type?: SortOrder
    activity_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    _count?: GeoFenceTrackingCountOrderByAggregateInput
    _avg?: GeoFenceTrackingAvgOrderByAggregateInput
    _max?: GeoFenceTrackingMaxOrderByAggregateInput
    _min?: GeoFenceTrackingMinOrderByAggregateInput
    _sum?: GeoFenceTrackingSumOrderByAggregateInput
  }

  export type GeoFenceTrackingScalarWhereWithAggregatesInput = {
    AND?: GeoFenceTrackingScalarWhereWithAggregatesInput | GeoFenceTrackingScalarWhereWithAggregatesInput[]
    OR?: GeoFenceTrackingScalarWhereWithAggregatesInput[]
    NOT?: GeoFenceTrackingScalarWhereWithAggregatesInput | GeoFenceTrackingScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"GeoFenceTracking"> | number
    uuid?: UuidWithAggregatesFilter<"GeoFenceTracking"> | string
    vehicle_id?: IntWithAggregatesFilter<"GeoFenceTracking"> | number
    geofence_id?: IntWithAggregatesFilter<"GeoFenceTracking"> | number
    activity_type?: EnumGeoTracActivityWithAggregatesFilter<"GeoFenceTracking"> | $Enums.GeoTracActivity
    activity_at?: DateTimeWithAggregatesFilter<"GeoFenceTracking"> | Date | string
    company_id?: IntWithAggregatesFilter<"GeoFenceTracking"> | number
    status_id?: IntWithAggregatesFilter<"GeoFenceTracking"> | number
  }

  export type VehicleGeofenceHistoryWhereInput = {
    AND?: VehicleGeofenceHistoryWhereInput | VehicleGeofenceHistoryWhereInput[]
    OR?: VehicleGeofenceHistoryWhereInput[]
    NOT?: VehicleGeofenceHistoryWhereInput | VehicleGeofenceHistoryWhereInput[]
    id?: IntFilter<"VehicleGeofenceHistory"> | number
    uuid?: UuidFilter<"VehicleGeofenceHistory"> | string
    vehicle_id?: IntFilter<"VehicleGeofenceHistory"> | number
    driver_id?: IntNullableFilter<"VehicleGeofenceHistory"> | number | null
    customer_id?: IntFilter<"VehicleGeofenceHistory"> | number
    geofence_id?: IntFilter<"VehicleGeofenceHistory"> | number
    event_type?: EnumGeoFenceEventTypeFilter<"VehicleGeofenceHistory"> | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
    shipment_id?: IntFilter<"VehicleGeofenceHistory"> | number
    company_id?: IntFilter<"VehicleGeofenceHistory"> | number
    status_id?: IntFilter<"VehicleGeofenceHistory"> | number
    latitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    longitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    created_at?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    driver?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    customer?: XOR<UserRelationFilter, UserWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    shipment?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type VehicleGeofenceHistoryOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    event_type?: SortOrder
    event_timestamp?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    created_at?: SortOrder
    vehicle?: VehiclesOrderByWithRelationInput
    driver?: UserOrderByWithRelationInput
    customer?: UserOrderByWithRelationInput
    geofence?: GeoFencesOrderByWithRelationInput
    shipment?: ShipmentsOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: VehicleGeofenceHistoryOrderByRelevanceInput
  }

  export type VehicleGeofenceHistoryWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: VehicleGeofenceHistoryCompany_idIdCompoundUniqueInput
    company_id_uuid?: VehicleGeofenceHistoryCompany_idUuidCompoundUniqueInput
    AND?: VehicleGeofenceHistoryWhereInput | VehicleGeofenceHistoryWhereInput[]
    OR?: VehicleGeofenceHistoryWhereInput[]
    NOT?: VehicleGeofenceHistoryWhereInput | VehicleGeofenceHistoryWhereInput[]
    uuid?: UuidFilter<"VehicleGeofenceHistory"> | string
    vehicle_id?: IntFilter<"VehicleGeofenceHistory"> | number
    driver_id?: IntNullableFilter<"VehicleGeofenceHistory"> | number | null
    customer_id?: IntFilter<"VehicleGeofenceHistory"> | number
    geofence_id?: IntFilter<"VehicleGeofenceHistory"> | number
    event_type?: EnumGeoFenceEventTypeFilter<"VehicleGeofenceHistory"> | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
    shipment_id?: IntFilter<"VehicleGeofenceHistory"> | number
    company_id?: IntFilter<"VehicleGeofenceHistory"> | number
    status_id?: IntFilter<"VehicleGeofenceHistory"> | number
    latitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    longitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    created_at?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
    vehicle?: XOR<VehiclesRelationFilter, VehiclesWhereInput>
    driver?: XOR<UserNullableRelationFilter, UserWhereInput> | null
    customer?: XOR<UserRelationFilter, UserWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    shipment?: XOR<ShipmentsRelationFilter, ShipmentsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type VehicleGeofenceHistoryOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrderInput | SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    event_type?: SortOrder
    event_timestamp?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrderInput | SortOrder
    longitude?: SortOrderInput | SortOrder
    created_at?: SortOrder
    _count?: VehicleGeofenceHistoryCountOrderByAggregateInput
    _avg?: VehicleGeofenceHistoryAvgOrderByAggregateInput
    _max?: VehicleGeofenceHistoryMaxOrderByAggregateInput
    _min?: VehicleGeofenceHistoryMinOrderByAggregateInput
    _sum?: VehicleGeofenceHistorySumOrderByAggregateInput
  }

  export type VehicleGeofenceHistoryScalarWhereWithAggregatesInput = {
    AND?: VehicleGeofenceHistoryScalarWhereWithAggregatesInput | VehicleGeofenceHistoryScalarWhereWithAggregatesInput[]
    OR?: VehicleGeofenceHistoryScalarWhereWithAggregatesInput[]
    NOT?: VehicleGeofenceHistoryScalarWhereWithAggregatesInput | VehicleGeofenceHistoryScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    uuid?: UuidWithAggregatesFilter<"VehicleGeofenceHistory"> | string
    vehicle_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    driver_id?: IntNullableWithAggregatesFilter<"VehicleGeofenceHistory"> | number | null
    customer_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    geofence_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    event_type?: EnumGeoFenceEventTypeWithAggregatesFilter<"VehicleGeofenceHistory"> | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeWithAggregatesFilter<"VehicleGeofenceHistory"> | Date | string
    shipment_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    company_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    status_id?: IntWithAggregatesFilter<"VehicleGeofenceHistory"> | number
    latitude?: FloatNullableWithAggregatesFilter<"VehicleGeofenceHistory"> | number | null
    longitude?: FloatNullableWithAggregatesFilter<"VehicleGeofenceHistory"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"VehicleGeofenceHistory"> | Date | string
  }

  export type CustomerGeoFenceMappingWhereInput = {
    AND?: CustomerGeoFenceMappingWhereInput | CustomerGeoFenceMappingWhereInput[]
    OR?: CustomerGeoFenceMappingWhereInput[]
    NOT?: CustomerGeoFenceMappingWhereInput | CustomerGeoFenceMappingWhereInput[]
    id?: IntFilter<"CustomerGeoFenceMapping"> | number
    uuid?: UuidFilter<"CustomerGeoFenceMapping"> | string
    company_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    status_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    geofence_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    order_no?: IntFilter<"CustomerGeoFenceMapping"> | number
    customer_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    description?: StringNullableFilter<"CustomerGeoFenceMapping"> | string | null
    created_by?: IntNullableFilter<"CustomerGeoFenceMapping"> | number | null
    created_at?: DateTimeFilter<"CustomerGeoFenceMapping"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }

  export type CustomerGeoFenceMappingOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    description?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    geofence?: GeoFencesOrderByWithRelationInput
    user?: UserOrderByWithRelationInput
    _relevance?: CustomerGeoFenceMappingOrderByRelevanceInput
  }

  export type CustomerGeoFenceMappingWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    company_id_id?: CustomerGeoFenceMappingCompany_idIdCompoundUniqueInput
    company_id_uuid?: CustomerGeoFenceMappingCompany_idUuidCompoundUniqueInput
    AND?: CustomerGeoFenceMappingWhereInput | CustomerGeoFenceMappingWhereInput[]
    OR?: CustomerGeoFenceMappingWhereInput[]
    NOT?: CustomerGeoFenceMappingWhereInput | CustomerGeoFenceMappingWhereInput[]
    uuid?: UuidFilter<"CustomerGeoFenceMapping"> | string
    company_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    status_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    geofence_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    order_no?: IntFilter<"CustomerGeoFenceMapping"> | number
    customer_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    description?: StringNullableFilter<"CustomerGeoFenceMapping"> | string | null
    created_by?: IntNullableFilter<"CustomerGeoFenceMapping"> | number | null
    created_at?: DateTimeFilter<"CustomerGeoFenceMapping"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    geofence?: XOR<GeoFencesRelationFilter, GeoFencesWhereInput>
    user?: XOR<UserRelationFilter, UserWhereInput>
  }, "id" | "company_id_id" | "company_id_uuid">

  export type CustomerGeoFenceMappingOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    description?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    _count?: CustomerGeoFenceMappingCountOrderByAggregateInput
    _avg?: CustomerGeoFenceMappingAvgOrderByAggregateInput
    _max?: CustomerGeoFenceMappingMaxOrderByAggregateInput
    _min?: CustomerGeoFenceMappingMinOrderByAggregateInput
    _sum?: CustomerGeoFenceMappingSumOrderByAggregateInput
  }

  export type CustomerGeoFenceMappingScalarWhereWithAggregatesInput = {
    AND?: CustomerGeoFenceMappingScalarWhereWithAggregatesInput | CustomerGeoFenceMappingScalarWhereWithAggregatesInput[]
    OR?: CustomerGeoFenceMappingScalarWhereWithAggregatesInput[]
    NOT?: CustomerGeoFenceMappingScalarWhereWithAggregatesInput | CustomerGeoFenceMappingScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    uuid?: UuidWithAggregatesFilter<"CustomerGeoFenceMapping"> | string
    company_id?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    status_id?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    geofence_id?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    order_no?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    customer_id?: IntWithAggregatesFilter<"CustomerGeoFenceMapping"> | number
    description?: StringNullableWithAggregatesFilter<"CustomerGeoFenceMapping"> | string | null
    created_by?: IntNullableWithAggregatesFilter<"CustomerGeoFenceMapping"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"CustomerGeoFenceMapping"> | Date | string
  }

  export type ErpLogsWhereInput = {
    AND?: ErpLogsWhereInput | ErpLogsWhereInput[]
    OR?: ErpLogsWhereInput[]
    NOT?: ErpLogsWhereInput | ErpLogsWhereInput[]
    id?: IntFilter<"ErpLogs"> | number
    uuid?: UuidFilter<"ErpLogs"> | string
    req_method?: StringNullableFilter<"ErpLogs"> | string | null
    req_url?: StringNullableFilter<"ErpLogs"> | string | null
    req_body?: JsonFilter<"ErpLogs">
    company_id?: IntFilter<"ErpLogs"> | number
    created_by?: IntNullableFilter<"ErpLogs"> | number | null
    created_at?: DateTimeFilter<"ErpLogs"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogs"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogs"> | number | null
    updated_at?: DateTimeFilter<"ErpLogs"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogs"> | Date | string | null
    response_object?: JsonNullableFilter<"ErpLogs">
    status_id?: IntFilter<"ErpLogs"> | number
    sync_status?: EnumSyncDataFilter<"ErpLogs"> | $Enums.SyncData
    sync_number?: StringNullableFilter<"ErpLogs"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    erp_logs_line_items?: ErpLogsLineItemsListRelationFilter
  }

  export type ErpLogsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    req_method?: SortOrderInput | SortOrder
    req_url?: SortOrderInput | SortOrder
    req_body?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    response_object?: SortOrderInput | SortOrder
    status_id?: SortOrder
    sync_status?: SortOrder
    sync_number?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    erp_logs_line_items?: ErpLogsLineItemsOrderByRelationAggregateInput
    _relevance?: ErpLogsOrderByRelevanceInput
  }

  export type ErpLogsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ErpLogsWhereInput | ErpLogsWhereInput[]
    OR?: ErpLogsWhereInput[]
    NOT?: ErpLogsWhereInput | ErpLogsWhereInput[]
    uuid?: UuidFilter<"ErpLogs"> | string
    req_method?: StringNullableFilter<"ErpLogs"> | string | null
    req_url?: StringNullableFilter<"ErpLogs"> | string | null
    req_body?: JsonFilter<"ErpLogs">
    company_id?: IntFilter<"ErpLogs"> | number
    created_by?: IntNullableFilter<"ErpLogs"> | number | null
    created_at?: DateTimeFilter<"ErpLogs"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogs"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogs"> | number | null
    updated_at?: DateTimeFilter<"ErpLogs"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogs"> | Date | string | null
    response_object?: JsonNullableFilter<"ErpLogs">
    status_id?: IntFilter<"ErpLogs"> | number
    sync_status?: EnumSyncDataFilter<"ErpLogs"> | $Enums.SyncData
    sync_number?: StringNullableFilter<"ErpLogs"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    erp_logs_line_items?: ErpLogsLineItemsListRelationFilter
  }, "id">

  export type ErpLogsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    req_method?: SortOrderInput | SortOrder
    req_url?: SortOrderInput | SortOrder
    req_body?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    response_object?: SortOrderInput | SortOrder
    status_id?: SortOrder
    sync_status?: SortOrder
    sync_number?: SortOrderInput | SortOrder
    _count?: ErpLogsCountOrderByAggregateInput
    _avg?: ErpLogsAvgOrderByAggregateInput
    _max?: ErpLogsMaxOrderByAggregateInput
    _min?: ErpLogsMinOrderByAggregateInput
    _sum?: ErpLogsSumOrderByAggregateInput
  }

  export type ErpLogsScalarWhereWithAggregatesInput = {
    AND?: ErpLogsScalarWhereWithAggregatesInput | ErpLogsScalarWhereWithAggregatesInput[]
    OR?: ErpLogsScalarWhereWithAggregatesInput[]
    NOT?: ErpLogsScalarWhereWithAggregatesInput | ErpLogsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ErpLogs"> | number
    uuid?: UuidWithAggregatesFilter<"ErpLogs"> | string
    req_method?: StringNullableWithAggregatesFilter<"ErpLogs"> | string | null
    req_url?: StringNullableWithAggregatesFilter<"ErpLogs"> | string | null
    req_body?: JsonWithAggregatesFilter<"ErpLogs">
    company_id?: IntWithAggregatesFilter<"ErpLogs"> | number
    created_by?: IntNullableWithAggregatesFilter<"ErpLogs"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ErpLogs"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ErpLogs"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"ErpLogs"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ErpLogs"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ErpLogs"> | Date | string | null
    response_object?: JsonNullableWithAggregatesFilter<"ErpLogs">
    status_id?: IntWithAggregatesFilter<"ErpLogs"> | number
    sync_status?: EnumSyncDataWithAggregatesFilter<"ErpLogs"> | $Enums.SyncData
    sync_number?: StringNullableWithAggregatesFilter<"ErpLogs"> | string | null
  }

  export type ErpLogsLineItemsWhereInput = {
    AND?: ErpLogsLineItemsWhereInput | ErpLogsLineItemsWhereInput[]
    OR?: ErpLogsLineItemsWhereInput[]
    NOT?: ErpLogsLineItemsWhereInput | ErpLogsLineItemsWhereInput[]
    id?: IntFilter<"ErpLogsLineItems"> | number
    uuid?: UuidFilter<"ErpLogsLineItems"> | string
    delivery_note_number?: StringFilter<"ErpLogsLineItems"> | string
    date_of_issue?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    customer_order_number?: StringFilter<"ErpLogsLineItems"> | string
    reference_number?: StringFilter<"ErpLogsLineItems"> | string
    shipment_type?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    line_item_sync_status?: EnumLineItemSyncStatusNullableFilter<"ErpLogsLineItems"> | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFilter<"ErpLogsLineItems"> | string
    purchase_reference?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    alloy?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    temper?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    color?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    aluminium_profiles?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    number_of_boxes?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    number_of_bundles?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    erp_logs_id?: IntFilter<"ErpLogsLineItems"> | number
    line_item?: JsonFilter<"ErpLogsLineItems">
    company_id?: IntFilter<"ErpLogsLineItems"> | number
    status_id?: IntFilter<"ErpLogsLineItems"> | number
    created_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    created_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    updated_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogsLineItems"> | Date | string | null
    erp_logs?: XOR<ErpLogsRelationFilter, ErpLogsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ErpLogsLineItemsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrderInput | SortOrder
    line_item_sync_status?: SortOrderInput | SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrderInput | SortOrder
    alloy?: SortOrderInput | SortOrder
    temper?: SortOrderInput | SortOrder
    color?: SortOrderInput | SortOrder
    aluminium_profiles?: SortOrderInput | SortOrder
    number_of_boxes?: SortOrderInput | SortOrder
    number_of_bundles?: SortOrderInput | SortOrder
    erp_logs_id?: SortOrder
    line_item?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    erp_logs?: ErpLogsOrderByWithRelationInput
    status?: StatusOrderByWithRelationInput
    _relevance?: ErpLogsLineItemsOrderByRelevanceInput
  }

  export type ErpLogsLineItemsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ErpLogsLineItemsWhereInput | ErpLogsLineItemsWhereInput[]
    OR?: ErpLogsLineItemsWhereInput[]
    NOT?: ErpLogsLineItemsWhereInput | ErpLogsLineItemsWhereInput[]
    uuid?: UuidFilter<"ErpLogsLineItems"> | string
    delivery_note_number?: StringFilter<"ErpLogsLineItems"> | string
    date_of_issue?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    customer_order_number?: StringFilter<"ErpLogsLineItems"> | string
    reference_number?: StringFilter<"ErpLogsLineItems"> | string
    shipment_type?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    line_item_sync_status?: EnumLineItemSyncStatusNullableFilter<"ErpLogsLineItems"> | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFilter<"ErpLogsLineItems"> | string
    purchase_reference?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    alloy?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    temper?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    color?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    aluminium_profiles?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    number_of_boxes?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    number_of_bundles?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    erp_logs_id?: IntFilter<"ErpLogsLineItems"> | number
    line_item?: JsonFilter<"ErpLogsLineItems">
    company_id?: IntFilter<"ErpLogsLineItems"> | number
    status_id?: IntFilter<"ErpLogsLineItems"> | number
    created_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    created_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    updated_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogsLineItems"> | Date | string | null
    erp_logs?: XOR<ErpLogsRelationFilter, ErpLogsWhereInput>
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type ErpLogsLineItemsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrderInput | SortOrder
    line_item_sync_status?: SortOrderInput | SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrderInput | SortOrder
    alloy?: SortOrderInput | SortOrder
    temper?: SortOrderInput | SortOrder
    color?: SortOrderInput | SortOrder
    aluminium_profiles?: SortOrderInput | SortOrder
    number_of_boxes?: SortOrderInput | SortOrder
    number_of_bundles?: SortOrderInput | SortOrder
    erp_logs_id?: SortOrder
    line_item?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    updated_by?: SortOrderInput | SortOrder
    deleted_by?: SortOrderInput | SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrderInput | SortOrder
    _count?: ErpLogsLineItemsCountOrderByAggregateInput
    _avg?: ErpLogsLineItemsAvgOrderByAggregateInput
    _max?: ErpLogsLineItemsMaxOrderByAggregateInput
    _min?: ErpLogsLineItemsMinOrderByAggregateInput
    _sum?: ErpLogsLineItemsSumOrderByAggregateInput
  }

  export type ErpLogsLineItemsScalarWhereWithAggregatesInput = {
    AND?: ErpLogsLineItemsScalarWhereWithAggregatesInput | ErpLogsLineItemsScalarWhereWithAggregatesInput[]
    OR?: ErpLogsLineItemsScalarWhereWithAggregatesInput[]
    NOT?: ErpLogsLineItemsScalarWhereWithAggregatesInput | ErpLogsLineItemsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ErpLogsLineItems"> | number
    uuid?: UuidWithAggregatesFilter<"ErpLogsLineItems"> | string
    delivery_note_number?: StringWithAggregatesFilter<"ErpLogsLineItems"> | string
    date_of_issue?: DateTimeWithAggregatesFilter<"ErpLogsLineItems"> | Date | string
    customer_order_number?: StringWithAggregatesFilter<"ErpLogsLineItems"> | string
    reference_number?: StringWithAggregatesFilter<"ErpLogsLineItems"> | string
    shipment_type?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    line_item_sync_status?: EnumLineItemSyncStatusNullableWithAggregatesFilter<"ErpLogsLineItems"> | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringWithAggregatesFilter<"ErpLogsLineItems"> | string
    purchase_reference?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    alloy?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    temper?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    color?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    aluminium_profiles?: StringNullableWithAggregatesFilter<"ErpLogsLineItems"> | string | null
    number_of_boxes?: IntNullableWithAggregatesFilter<"ErpLogsLineItems"> | number | null
    number_of_bundles?: IntNullableWithAggregatesFilter<"ErpLogsLineItems"> | number | null
    erp_logs_id?: IntWithAggregatesFilter<"ErpLogsLineItems"> | number
    line_item?: JsonWithAggregatesFilter<"ErpLogsLineItems">
    company_id?: IntWithAggregatesFilter<"ErpLogsLineItems"> | number
    status_id?: IntWithAggregatesFilter<"ErpLogsLineItems"> | number
    created_by?: IntNullableWithAggregatesFilter<"ErpLogsLineItems"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ErpLogsLineItems"> | Date | string
    updated_by?: IntNullableWithAggregatesFilter<"ErpLogsLineItems"> | number | null
    deleted_by?: IntNullableWithAggregatesFilter<"ErpLogsLineItems"> | number | null
    updated_at?: DateTimeWithAggregatesFilter<"ErpLogsLineItems"> | Date | string
    deleted_at?: DateTimeNullableWithAggregatesFilter<"ErpLogsLineItems"> | Date | string | null
  }

  export type TempSessionDataWhereInput = {
    AND?: TempSessionDataWhereInput | TempSessionDataWhereInput[]
    OR?: TempSessionDataWhereInput[]
    NOT?: TempSessionDataWhereInput | TempSessionDataWhereInput[]
    id?: IntFilter<"TempSessionData"> | number
    uuid?: UuidFilter<"TempSessionData"> | string
    session_id?: StringFilter<"TempSessionData"> | string
    delivery_note_number?: StringFilter<"TempSessionData"> | string
    first_name?: StringFilter<"TempSessionData"> | string
    delivery_location?: StringFilter<"TempSessionData"> | string
    reference_number?: StringFilter<"TempSessionData"> | string
    date_of_issue?: DateTimeFilter<"TempSessionData"> | Date | string
    status_id?: IntFilter<"TempSessionData"> | number
    company_id?: IntFilter<"TempSessionData"> | number
    customer_delivery_id?: IntFilter<"TempSessionData"> | number
    delivery_note_id?: IntFilter<"TempSessionData"> | number
    customer_id?: IntFilter<"TempSessionData"> | number
    created_by?: IntNullableFilter<"TempSessionData"> | number | null
    created_at?: DateTimeFilter<"TempSessionData"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type TempSessionDataOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    session_id?: SortOrder
    delivery_note_number?: SortOrder
    first_name?: SortOrder
    delivery_location?: SortOrder
    reference_number?: SortOrder
    date_of_issue?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: TempSessionDataOrderByRelevanceInput
  }

  export type TempSessionDataWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: TempSessionDataWhereInput | TempSessionDataWhereInput[]
    OR?: TempSessionDataWhereInput[]
    NOT?: TempSessionDataWhereInput | TempSessionDataWhereInput[]
    uuid?: UuidFilter<"TempSessionData"> | string
    session_id?: StringFilter<"TempSessionData"> | string
    delivery_note_number?: StringFilter<"TempSessionData"> | string
    first_name?: StringFilter<"TempSessionData"> | string
    delivery_location?: StringFilter<"TempSessionData"> | string
    reference_number?: StringFilter<"TempSessionData"> | string
    date_of_issue?: DateTimeFilter<"TempSessionData"> | Date | string
    status_id?: IntFilter<"TempSessionData"> | number
    company_id?: IntFilter<"TempSessionData"> | number
    customer_delivery_id?: IntFilter<"TempSessionData"> | number
    delivery_note_id?: IntFilter<"TempSessionData"> | number
    customer_id?: IntFilter<"TempSessionData"> | number
    created_by?: IntNullableFilter<"TempSessionData"> | number | null
    created_at?: DateTimeFilter<"TempSessionData"> | Date | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type TempSessionDataOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    session_id?: SortOrder
    delivery_note_number?: SortOrder
    first_name?: SortOrder
    delivery_location?: SortOrder
    reference_number?: SortOrder
    date_of_issue?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    _count?: TempSessionDataCountOrderByAggregateInput
    _avg?: TempSessionDataAvgOrderByAggregateInput
    _max?: TempSessionDataMaxOrderByAggregateInput
    _min?: TempSessionDataMinOrderByAggregateInput
    _sum?: TempSessionDataSumOrderByAggregateInput
  }

  export type TempSessionDataScalarWhereWithAggregatesInput = {
    AND?: TempSessionDataScalarWhereWithAggregatesInput | TempSessionDataScalarWhereWithAggregatesInput[]
    OR?: TempSessionDataScalarWhereWithAggregatesInput[]
    NOT?: TempSessionDataScalarWhereWithAggregatesInput | TempSessionDataScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"TempSessionData"> | number
    uuid?: UuidWithAggregatesFilter<"TempSessionData"> | string
    session_id?: StringWithAggregatesFilter<"TempSessionData"> | string
    delivery_note_number?: StringWithAggregatesFilter<"TempSessionData"> | string
    first_name?: StringWithAggregatesFilter<"TempSessionData"> | string
    delivery_location?: StringWithAggregatesFilter<"TempSessionData"> | string
    reference_number?: StringWithAggregatesFilter<"TempSessionData"> | string
    date_of_issue?: DateTimeWithAggregatesFilter<"TempSessionData"> | Date | string
    status_id?: IntWithAggregatesFilter<"TempSessionData"> | number
    company_id?: IntWithAggregatesFilter<"TempSessionData"> | number
    customer_delivery_id?: IntWithAggregatesFilter<"TempSessionData"> | number
    delivery_note_id?: IntWithAggregatesFilter<"TempSessionData"> | number
    customer_id?: IntWithAggregatesFilter<"TempSessionData"> | number
    created_by?: IntNullableWithAggregatesFilter<"TempSessionData"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"TempSessionData"> | Date | string
  }

  export type ShipmentStatusWhereInput = {
    AND?: ShipmentStatusWhereInput | ShipmentStatusWhereInput[]
    OR?: ShipmentStatusWhereInput[]
    NOT?: ShipmentStatusWhereInput | ShipmentStatusWhereInput[]
    id?: IntFilter<"ShipmentStatus"> | number
    uuid?: UuidFilter<"ShipmentStatus"> | string
    slug?: StringFilter<"ShipmentStatus"> | string
    name?: StringFilter<"ShipmentStatus"> | string
    status_id?: IntFilter<"ShipmentStatus"> | number
    company_id?: IntFilter<"ShipmentStatus"> | number
    status_color_code?: StringNullableFilter<"ShipmentStatus"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipments?: ShipmentsListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }

  export type ShipmentStatusOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    shipments?: ShipmentsOrderByRelationAggregateInput
    shipment_customers?: ShipmentCustomersOrderByRelationAggregateInput
    shipment_location?: ShipmentsLocationOrderByRelationAggregateInput
    shipment_delivery_notes?: ShipmentDeliveryNotesOrderByRelationAggregateInput
    _relevance?: ShipmentStatusOrderByRelevanceInput
  }

  export type ShipmentStatusWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    slug?: string
    AND?: ShipmentStatusWhereInput | ShipmentStatusWhereInput[]
    OR?: ShipmentStatusWhereInput[]
    NOT?: ShipmentStatusWhereInput | ShipmentStatusWhereInput[]
    uuid?: UuidFilter<"ShipmentStatus"> | string
    name?: StringFilter<"ShipmentStatus"> | string
    status_id?: IntFilter<"ShipmentStatus"> | number
    company_id?: IntFilter<"ShipmentStatus"> | number
    status_color_code?: StringNullableFilter<"ShipmentStatus"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipments?: ShipmentsListRelationFilter
    shipment_customers?: ShipmentCustomersListRelationFilter
    shipment_location?: ShipmentsLocationListRelationFilter
    shipment_delivery_notes?: ShipmentDeliveryNotesListRelationFilter
  }, "id" | "slug">

  export type ShipmentStatusOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrderInput | SortOrder
    _count?: ShipmentStatusCountOrderByAggregateInput
    _avg?: ShipmentStatusAvgOrderByAggregateInput
    _max?: ShipmentStatusMaxOrderByAggregateInput
    _min?: ShipmentStatusMinOrderByAggregateInput
    _sum?: ShipmentStatusSumOrderByAggregateInput
  }

  export type ShipmentStatusScalarWhereWithAggregatesInput = {
    AND?: ShipmentStatusScalarWhereWithAggregatesInput | ShipmentStatusScalarWhereWithAggregatesInput[]
    OR?: ShipmentStatusScalarWhereWithAggregatesInput[]
    NOT?: ShipmentStatusScalarWhereWithAggregatesInput | ShipmentStatusScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentStatus"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentStatus"> | string
    slug?: StringWithAggregatesFilter<"ShipmentStatus"> | string
    name?: StringWithAggregatesFilter<"ShipmentStatus"> | string
    status_id?: IntWithAggregatesFilter<"ShipmentStatus"> | number
    company_id?: IntWithAggregatesFilter<"ShipmentStatus"> | number
    status_color_code?: StringNullableWithAggregatesFilter<"ShipmentStatus"> | string | null
  }

  export type ShipmentStatusHistoryWhereInput = {
    AND?: ShipmentStatusHistoryWhereInput | ShipmentStatusHistoryWhereInput[]
    OR?: ShipmentStatusHistoryWhereInput[]
    NOT?: ShipmentStatusHistoryWhereInput | ShipmentStatusHistoryWhereInput[]
    id?: IntFilter<"ShipmentStatusHistory"> | number
    uuid?: UuidFilter<"ShipmentStatusHistory"> | string
    ref_id?: IntFilter<"ShipmentStatusHistory"> | number
    table_name?: EnumETablesFilter<"ShipmentStatusHistory"> | $Enums.ETables
    from_state?: IntFilter<"ShipmentStatusHistory"> | number
    to_state?: IntFilter<"ShipmentStatusHistory"> | number
    changed_by?: IntFilter<"ShipmentStatusHistory"> | number
    changed_at?: DateTimeFilter<"ShipmentStatusHistory"> | Date | string
    status_id?: IntFilter<"ShipmentStatusHistory"> | number
    company_id?: IntFilter<"ShipmentStatusHistory"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ShipmentStatusHistoryOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    ref_id?: SortOrder
    table_name?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    changed_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: ShipmentStatusHistoryOrderByRelevanceInput
  }

  export type ShipmentStatusHistoryWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ShipmentStatusHistoryWhereInput | ShipmentStatusHistoryWhereInput[]
    OR?: ShipmentStatusHistoryWhereInput[]
    NOT?: ShipmentStatusHistoryWhereInput | ShipmentStatusHistoryWhereInput[]
    uuid?: UuidFilter<"ShipmentStatusHistory"> | string
    ref_id?: IntFilter<"ShipmentStatusHistory"> | number
    table_name?: EnumETablesFilter<"ShipmentStatusHistory"> | $Enums.ETables
    from_state?: IntFilter<"ShipmentStatusHistory"> | number
    to_state?: IntFilter<"ShipmentStatusHistory"> | number
    changed_by?: IntFilter<"ShipmentStatusHistory"> | number
    changed_at?: DateTimeFilter<"ShipmentStatusHistory"> | Date | string
    status_id?: IntFilter<"ShipmentStatusHistory"> | number
    company_id?: IntFilter<"ShipmentStatusHistory"> | number
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type ShipmentStatusHistoryOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    ref_id?: SortOrder
    table_name?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    changed_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    _count?: ShipmentStatusHistoryCountOrderByAggregateInput
    _avg?: ShipmentStatusHistoryAvgOrderByAggregateInput
    _max?: ShipmentStatusHistoryMaxOrderByAggregateInput
    _min?: ShipmentStatusHistoryMinOrderByAggregateInput
    _sum?: ShipmentStatusHistorySumOrderByAggregateInput
  }

  export type ShipmentStatusHistoryScalarWhereWithAggregatesInput = {
    AND?: ShipmentStatusHistoryScalarWhereWithAggregatesInput | ShipmentStatusHistoryScalarWhereWithAggregatesInput[]
    OR?: ShipmentStatusHistoryScalarWhereWithAggregatesInput[]
    NOT?: ShipmentStatusHistoryScalarWhereWithAggregatesInput | ShipmentStatusHistoryScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentStatusHistory"> | string
    ref_id?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    table_name?: EnumETablesWithAggregatesFilter<"ShipmentStatusHistory"> | $Enums.ETables
    from_state?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    to_state?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    changed_by?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    changed_at?: DateTimeWithAggregatesFilter<"ShipmentStatusHistory"> | Date | string
    status_id?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
    company_id?: IntWithAggregatesFilter<"ShipmentStatusHistory"> | number
  }

  export type PodStatusWhereInput = {
    AND?: PodStatusWhereInput | PodStatusWhereInput[]
    OR?: PodStatusWhereInput[]
    NOT?: PodStatusWhereInput | PodStatusWhereInput[]
    id?: IntFilter<"PodStatus"> | number
    uuid?: UuidFilter<"PodStatus"> | string
    slug?: StringFilter<"PodStatus"> | string
    name?: StringFilter<"PodStatus"> | string
    status_id?: IntFilter<"PodStatus"> | number
    company_id?: IntFilter<"PodStatus"> | number
    status_color_code?: StringFilter<"PodStatus"> | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipments_location?: ShipmentsLocationListRelationFilter
  }

  export type PodStatusOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
    status?: StatusOrderByWithRelationInput
    shipments_location?: ShipmentsLocationOrderByRelationAggregateInput
    _relevance?: PodStatusOrderByRelevanceInput
  }

  export type PodStatusWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    slug?: string
    AND?: PodStatusWhereInput | PodStatusWhereInput[]
    OR?: PodStatusWhereInput[]
    NOT?: PodStatusWhereInput | PodStatusWhereInput[]
    uuid?: UuidFilter<"PodStatus"> | string
    name?: StringFilter<"PodStatus"> | string
    status_id?: IntFilter<"PodStatus"> | number
    company_id?: IntFilter<"PodStatus"> | number
    status_color_code?: StringFilter<"PodStatus"> | string
    status?: XOR<StatusRelationFilter, StatusWhereInput>
    shipments_location?: ShipmentsLocationListRelationFilter
  }, "id" | "slug">

  export type PodStatusOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
    _count?: PodStatusCountOrderByAggregateInput
    _avg?: PodStatusAvgOrderByAggregateInput
    _max?: PodStatusMaxOrderByAggregateInput
    _min?: PodStatusMinOrderByAggregateInput
    _sum?: PodStatusSumOrderByAggregateInput
  }

  export type PodStatusScalarWhereWithAggregatesInput = {
    AND?: PodStatusScalarWhereWithAggregatesInput | PodStatusScalarWhereWithAggregatesInput[]
    OR?: PodStatusScalarWhereWithAggregatesInput[]
    NOT?: PodStatusScalarWhereWithAggregatesInput | PodStatusScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"PodStatus"> | number
    uuid?: UuidWithAggregatesFilter<"PodStatus"> | string
    slug?: StringWithAggregatesFilter<"PodStatus"> | string
    name?: StringWithAggregatesFilter<"PodStatus"> | string
    status_id?: IntWithAggregatesFilter<"PodStatus"> | number
    company_id?: IntWithAggregatesFilter<"PodStatus"> | number
    status_color_code?: StringWithAggregatesFilter<"PodStatus"> | string
  }

  export type ShipmentLocationContactInfoHistoryWhereInput = {
    AND?: ShipmentLocationContactInfoHistoryWhereInput | ShipmentLocationContactInfoHistoryWhereInput[]
    OR?: ShipmentLocationContactInfoHistoryWhereInput[]
    NOT?: ShipmentLocationContactInfoHistoryWhereInput | ShipmentLocationContactInfoHistoryWhereInput[]
    id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    uuid?: UuidFilter<"ShipmentLocationContactInfoHistory"> | string
    from_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    created_by?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    created_at?: DateTimeFilter<"ShipmentLocationContactInfoHistory"> | Date | string
    status_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    company_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    shipment_id?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }

  export type ShipmentLocationContactInfoHistoryOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    from_customer_delivery_contact_name?: SortOrderInput | SortOrder
    to_customer_delivery_contact_name?: SortOrderInput | SortOrder
    from_customer_delivery_contact_email?: SortOrderInput | SortOrder
    to_customer_delivery_contact_email?: SortOrderInput | SortOrder
    from_customer_delivery_contact_number?: SortOrderInput | SortOrder
    to_customer_delivery_contact_number?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: ShipmentLocationContactInfoHistoryOrderByRelevanceInput
  }

  export type ShipmentLocationContactInfoHistoryWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ShipmentLocationContactInfoHistoryWhereInput | ShipmentLocationContactInfoHistoryWhereInput[]
    OR?: ShipmentLocationContactInfoHistoryWhereInput[]
    NOT?: ShipmentLocationContactInfoHistoryWhereInput | ShipmentLocationContactInfoHistoryWhereInput[]
    uuid?: UuidFilter<"ShipmentLocationContactInfoHistory"> | string
    from_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    created_by?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    created_at?: DateTimeFilter<"ShipmentLocationContactInfoHistory"> | Date | string
    status_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    company_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    shipment_id?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    status?: XOR<StatusRelationFilter, StatusWhereInput>
  }, "id">

  export type ShipmentLocationContactInfoHistoryOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    from_customer_delivery_contact_name?: SortOrderInput | SortOrder
    to_customer_delivery_contact_name?: SortOrderInput | SortOrder
    from_customer_delivery_contact_email?: SortOrderInput | SortOrder
    to_customer_delivery_contact_email?: SortOrderInput | SortOrder
    from_customer_delivery_contact_number?: SortOrderInput | SortOrder
    to_customer_delivery_contact_number?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrderInput | SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    _count?: ShipmentLocationContactInfoHistoryCountOrderByAggregateInput
    _avg?: ShipmentLocationContactInfoHistoryAvgOrderByAggregateInput
    _max?: ShipmentLocationContactInfoHistoryMaxOrderByAggregateInput
    _min?: ShipmentLocationContactInfoHistoryMinOrderByAggregateInput
    _sum?: ShipmentLocationContactInfoHistorySumOrderByAggregateInput
  }

  export type ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput = {
    AND?: ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput | ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput[]
    OR?: ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput[]
    NOT?: ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput | ShipmentLocationContactInfoHistoryScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | number
    uuid?: UuidWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string
    from_customer_delivery_contact_name?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_name?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_email?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_email?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_number?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_number?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
    created_by?: IntNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | number | null
    created_at?: DateTimeWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | Date | string
    status_id?: IntWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | number
    company_id?: IntWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | number
    shipment_id?: IntNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | number | null
    shipment_location_uid?: StringNullableWithAggregatesFilter<"ShipmentLocationContactInfoHistory"> | string | null
  }

  export type ShipmentImagesWhereInput = {
    AND?: ShipmentImagesWhereInput | ShipmentImagesWhereInput[]
    OR?: ShipmentImagesWhereInput[]
    NOT?: ShipmentImagesWhereInput | ShipmentImagesWhereInput[]
    id?: IntFilter<"ShipmentImages"> | number
    uuid?: UuidNullableFilter<"ShipmentImages"> | string | null
    shipment_id?: IntNullableFilter<"ShipmentImages"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentImages"> | string | null
    image_name?: StringNullableFilter<"ShipmentImages"> | string | null
    image_format?: StringNullableFilter<"ShipmentImages"> | string | null
    image_path?: StringNullableFilter<"ShipmentImages"> | string | null
    image_type?: StringNullableFilter<"ShipmentImages"> | string | null
    created_by?: IntNullableFilter<"ShipmentImages"> | number | null
    created_at?: DateTimeNullableFilter<"ShipmentImages"> | Date | string | null
    status_id?: IntNullableFilter<"ShipmentImages"> | number | null
    company_id?: IntNullableFilter<"ShipmentImages"> | number | null
    status?: XOR<StatusNullableRelationFilter, StatusWhereInput> | null
  }

  export type ShipmentImagesOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrderInput | SortOrder
    shipment_id?: SortOrderInput | SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    image_name?: SortOrderInput | SortOrder
    image_format?: SortOrderInput | SortOrder
    image_path?: SortOrderInput | SortOrder
    image_type?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    status_id?: SortOrderInput | SortOrder
    company_id?: SortOrderInput | SortOrder
    status?: StatusOrderByWithRelationInput
    _relevance?: ShipmentImagesOrderByRelevanceInput
  }

  export type ShipmentImagesWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: ShipmentImagesWhereInput | ShipmentImagesWhereInput[]
    OR?: ShipmentImagesWhereInput[]
    NOT?: ShipmentImagesWhereInput | ShipmentImagesWhereInput[]
    uuid?: UuidNullableFilter<"ShipmentImages"> | string | null
    shipment_id?: IntNullableFilter<"ShipmentImages"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentImages"> | string | null
    image_name?: StringNullableFilter<"ShipmentImages"> | string | null
    image_format?: StringNullableFilter<"ShipmentImages"> | string | null
    image_path?: StringNullableFilter<"ShipmentImages"> | string | null
    image_type?: StringNullableFilter<"ShipmentImages"> | string | null
    created_by?: IntNullableFilter<"ShipmentImages"> | number | null
    created_at?: DateTimeNullableFilter<"ShipmentImages"> | Date | string | null
    status_id?: IntNullableFilter<"ShipmentImages"> | number | null
    company_id?: IntNullableFilter<"ShipmentImages"> | number | null
    status?: XOR<StatusNullableRelationFilter, StatusWhereInput> | null
  }, "id">

  export type ShipmentImagesOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrderInput | SortOrder
    shipment_id?: SortOrderInput | SortOrder
    shipment_location_uid?: SortOrderInput | SortOrder
    image_name?: SortOrderInput | SortOrder
    image_format?: SortOrderInput | SortOrder
    image_path?: SortOrderInput | SortOrder
    image_type?: SortOrderInput | SortOrder
    created_by?: SortOrderInput | SortOrder
    created_at?: SortOrderInput | SortOrder
    status_id?: SortOrderInput | SortOrder
    company_id?: SortOrderInput | SortOrder
    _count?: ShipmentImagesCountOrderByAggregateInput
    _avg?: ShipmentImagesAvgOrderByAggregateInput
    _max?: ShipmentImagesMaxOrderByAggregateInput
    _min?: ShipmentImagesMinOrderByAggregateInput
    _sum?: ShipmentImagesSumOrderByAggregateInput
  }

  export type ShipmentImagesScalarWhereWithAggregatesInput = {
    AND?: ShipmentImagesScalarWhereWithAggregatesInput | ShipmentImagesScalarWhereWithAggregatesInput[]
    OR?: ShipmentImagesScalarWhereWithAggregatesInput[]
    NOT?: ShipmentImagesScalarWhereWithAggregatesInput | ShipmentImagesScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"ShipmentImages"> | number
    uuid?: UuidNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    shipment_id?: IntNullableWithAggregatesFilter<"ShipmentImages"> | number | null
    shipment_location_uid?: StringNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    image_name?: StringNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    image_format?: StringNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    image_path?: StringNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    image_type?: StringNullableWithAggregatesFilter<"ShipmentImages"> | string | null
    created_by?: IntNullableWithAggregatesFilter<"ShipmentImages"> | number | null
    created_at?: DateTimeNullableWithAggregatesFilter<"ShipmentImages"> | Date | string | null
    status_id?: IntNullableWithAggregatesFilter<"ShipmentImages"> | number | null
    company_id?: IntNullableWithAggregatesFilter<"ShipmentImages"> | number | null
  }

  export type sms_test_requestsWhereInput = {
    AND?: sms_test_requestsWhereInput | sms_test_requestsWhereInput[]
    OR?: sms_test_requestsWhereInput[]
    NOT?: sms_test_requestsWhereInput | sms_test_requestsWhereInput[]
    id?: IntFilter<"sms_test_requests"> | number
    uuid?: UuidFilter<"sms_test_requests"> | string
    mobile_number?: StringNullableFilter<"sms_test_requests"> | string | null
    sms_content?: StringNullableFilter<"sms_test_requests"> | string | null
    request_object?: StringNullableFilter<"sms_test_requests"> | string | null
    response_object?: StringNullableFilter<"sms_test_requests"> | string | null
    created_at?: DateTimeFilter<"sms_test_requests"> | Date | string
    status_id?: IntFilter<"sms_test_requests"> | number
    company_id?: IntNullableFilter<"sms_test_requests"> | number | null
  }

  export type sms_test_requestsOrderByWithRelationInput = {
    id?: SortOrder
    uuid?: SortOrder
    mobile_number?: SortOrderInput | SortOrder
    sms_content?: SortOrderInput | SortOrder
    request_object?: SortOrderInput | SortOrder
    response_object?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrderInput | SortOrder
    _relevance?: sms_test_requestsOrderByRelevanceInput
  }

  export type sms_test_requestsWhereUniqueInput = Prisma.AtLeast<{
    id?: number
    AND?: sms_test_requestsWhereInput | sms_test_requestsWhereInput[]
    OR?: sms_test_requestsWhereInput[]
    NOT?: sms_test_requestsWhereInput | sms_test_requestsWhereInput[]
    uuid?: UuidFilter<"sms_test_requests"> | string
    mobile_number?: StringNullableFilter<"sms_test_requests"> | string | null
    sms_content?: StringNullableFilter<"sms_test_requests"> | string | null
    request_object?: StringNullableFilter<"sms_test_requests"> | string | null
    response_object?: StringNullableFilter<"sms_test_requests"> | string | null
    created_at?: DateTimeFilter<"sms_test_requests"> | Date | string
    status_id?: IntFilter<"sms_test_requests"> | number
    company_id?: IntNullableFilter<"sms_test_requests"> | number | null
  }, "id">

  export type sms_test_requestsOrderByWithAggregationInput = {
    id?: SortOrder
    uuid?: SortOrder
    mobile_number?: SortOrderInput | SortOrder
    sms_content?: SortOrderInput | SortOrder
    request_object?: SortOrderInput | SortOrder
    response_object?: SortOrderInput | SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrderInput | SortOrder
    _count?: sms_test_requestsCountOrderByAggregateInput
    _avg?: sms_test_requestsAvgOrderByAggregateInput
    _max?: sms_test_requestsMaxOrderByAggregateInput
    _min?: sms_test_requestsMinOrderByAggregateInput
    _sum?: sms_test_requestsSumOrderByAggregateInput
  }

  export type sms_test_requestsScalarWhereWithAggregatesInput = {
    AND?: sms_test_requestsScalarWhereWithAggregatesInput | sms_test_requestsScalarWhereWithAggregatesInput[]
    OR?: sms_test_requestsScalarWhereWithAggregatesInput[]
    NOT?: sms_test_requestsScalarWhereWithAggregatesInput | sms_test_requestsScalarWhereWithAggregatesInput[]
    id?: IntWithAggregatesFilter<"sms_test_requests"> | number
    uuid?: UuidWithAggregatesFilter<"sms_test_requests"> | string
    mobile_number?: StringNullableWithAggregatesFilter<"sms_test_requests"> | string | null
    sms_content?: StringNullableWithAggregatesFilter<"sms_test_requests"> | string | null
    request_object?: StringNullableWithAggregatesFilter<"sms_test_requests"> | string | null
    response_object?: StringNullableWithAggregatesFilter<"sms_test_requests"> | string | null
    created_at?: DateTimeWithAggregatesFilter<"sms_test_requests"> | Date | string
    status_id?: IntWithAggregatesFilter<"sms_test_requests"> | number
    company_id?: IntNullableWithAggregatesFilter<"sms_test_requests"> | number | null
  }

  export type UserCreateInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserCreateManyInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
  }

  export type UserUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type UserUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type UserDetailCreateInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    department?: DepartmentCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailUpdateInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailCreateManyInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailUpdateManyMutationInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DesignationCreateInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDesignationsInput
    users?: UserDetailCreateNestedManyWithoutDesignationInput
    created?: UserCreateNestedOneWithoutCreated_designationsInput
    updated?: UserCreateNestedOneWithoutUpdated_designationsInput
    deleted?: UserCreateNestedOneWithoutDeleted_designationsInput
  }

  export type DesignationUncheckedCreateInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDesignationInput
  }

  export type DesignationUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDesignationsNestedInput
    users?: UserDetailUpdateManyWithoutDesignationNestedInput
    created?: UserUpdateOneWithoutCreated_designationsNestedInput
    updated?: UserUpdateOneWithoutUpdated_designationsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_designationsNestedInput
  }

  export type DesignationUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDesignationNestedInput
  }

  export type DesignationCreateManyInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DesignationUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DesignationUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentCreateInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentCreateManyInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RequestLogCreateInput = {
    id?: bigint | number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRequest_logsInput
    user?: UserCreateNestedOneWithoutRequest_logsInput
  }

  export type RequestLogUncheckedCreateInput = {
    id?: bigint | number
    uuid?: string
    user_id?: number | null
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RequestLogUpdateInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRequest_logsNestedInput
    user?: UserUpdateOneWithoutRequest_logsNestedInput
  }

  export type RequestLogUncheckedUpdateInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RequestLogCreateManyInput = {
    id?: bigint | number
    uuid?: string
    user_id?: number | null
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RequestLogUpdateManyMutationInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RequestLogUncheckedUpdateManyInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FinancialYearCreateInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutFinancial_yearsInput
    document_sequence?: DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput
    created?: UserCreateNestedOneWithoutCreated_fin_yearsInput
    updated?: UserCreateNestedOneWithoutUpdated_fin_yearsInput
    deleted?: UserCreateNestedOneWithoutDeleted_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput
  }

  export type FinancialYearUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput
    document_sequence?: DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput
    created?: UserUpdateOneWithoutCreated_fin_yearsNestedInput
    updated?: UserUpdateOneWithoutUpdated_fin_yearsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput
  }

  export type FinancialYearCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type FinancialYearUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FinancialYearUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceCreateInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDocument_sequencesInput
    finanicial_year?: FinancialYearCreateNestedOneWithoutDocument_sequenceInput
    created?: UserCreateNestedOneWithoutCreated_doc_sequencesInput
    updated?: UserCreateNestedOneWithoutUpdated_doc_sequencesInput
    deleted?: UserCreateNestedOneWithoutDeleted_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput
    finanicial_year?: FinancialYearUpdateOneWithoutDocument_sequenceNestedInput
    created?: UserUpdateOneWithoutCreated_doc_sequencesNestedInput
    updated?: UserUpdateOneWithoutUpdated_doc_sequencesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceCreateManyInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AuditLogCreateInput = {
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    company_id?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutAudit_logsInput
    user?: UserCreateNestedOneWithoutAudit_logsInput
  }

  export type AuditLogUncheckedCreateInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    user_id?: number | null
    status_id?: number
    company_id?: number | null
    created_at?: Date | string
  }

  export type AuditLogUpdateInput = {
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutAudit_logsNestedInput
    user?: UserUpdateOneWithoutAudit_logsNestedInput
  }

  export type AuditLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type AuditLogCreateManyInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    user_id?: number | null
    status_id?: number
    company_id?: number | null
    created_at?: Date | string
  }

  export type AuditLogUpdateManyMutationInput = {
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type AuditLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type PermissionsCreateInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutPermissionsInput
    entity?: MasterEntityCreateNestedOneWithoutPermissionsInput
    roles?: RolePermissionsCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    roles?: RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutPermissionsNestedInput
    entity?: MasterEntityUpdateOneWithoutPermissionsNestedInput
    roles?: RolePermissionsUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    roles?: RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsCreateManyInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type PermissionsUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type PermissionsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type RoleCreateInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type RoleCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RoleUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RoleUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RolePermissionsCreateInput = {
    role: RoleCreateNestedOneWithoutPermissionsInput
    permission: PermissionsCreateNestedOneWithoutRolesInput
  }

  export type RolePermissionsUncheckedCreateInput = {
    role_id: number
    permission_id: number
    company_id: number
  }

  export type RolePermissionsUpdateInput = {
    role?: RoleUpdateOneRequiredWithoutPermissionsNestedInput
    permission?: PermissionsUpdateOneRequiredWithoutRolesNestedInput
  }

  export type RolePermissionsUncheckedUpdateInput = {
    role_id?: IntFieldUpdateOperationsInput | number
    permission_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePermissionsCreateManyInput = {
    role_id: number
    permission_id: number
    company_id: number
  }

  export type RolePermissionsUpdateManyMutationInput = {

  }

  export type RolePermissionsUncheckedUpdateManyInput = {
    role_id?: IntFieldUpdateOperationsInput | number
    permission_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserRolesCreateInput = {
    user: UserCreateNestedOneWithoutRolesInput
    role: RoleCreateNestedOneWithoutUsersInput
  }

  export type UserRolesUncheckedCreateInput = {
    user_id: number
    role_id: number
    company_id: number
  }

  export type UserRolesUpdateInput = {
    user?: UserUpdateOneRequiredWithoutRolesNestedInput
    role?: RoleUpdateOneRequiredWithoutUsersNestedInput
  }

  export type UserRolesUncheckedUpdateInput = {
    user_id?: IntFieldUpdateOperationsInput | number
    role_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserRolesCreateManyInput = {
    user_id: number
    role_id: number
    company_id: number
  }

  export type UserRolesUpdateManyMutationInput = {

  }

  export type UserRolesUncheckedUpdateManyInput = {
    user_id?: IntFieldUpdateOperationsInput | number
    role_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsCreateInput = {
    user: UserCreateNestedOneWithoutPermissionsInput
    permission: PermissionsCreateNestedOneWithoutUsersInput
  }

  export type UserPermissionsUncheckedCreateInput = {
    user_id: number
    permission_id: number
    company_id: number
  }

  export type UserPermissionsUpdateInput = {
    user?: UserUpdateOneRequiredWithoutPermissionsNestedInput
    permission?: PermissionsUpdateOneRequiredWithoutUsersNestedInput
  }

  export type UserPermissionsUncheckedUpdateInput = {
    user_id?: IntFieldUpdateOperationsInput | number
    permission_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsCreateManyInput = {
    user_id: number
    permission_id: number
    company_id: number
  }

  export type UserPermissionsUpdateManyMutationInput = {

  }

  export type UserPermissionsUncheckedUpdateManyInput = {
    user_id?: IntFieldUpdateOperationsInput | number
    permission_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type OtpCreateInput = {
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    created_at?: Date | string
    verified_at?: Date | string | null
    user: UserCreateNestedOneWithoutOtpsInput
  }

  export type OtpUncheckedCreateInput = {
    id?: number
    user_id: number
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    company_id: number
    created_at?: Date | string
    verified_at?: Date | string | null
  }

  export type OtpUpdateInput = {
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user?: UserUpdateOneRequiredWithoutOtpsNestedInput
  }

  export type OtpUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OtpCreateManyInput = {
    id?: number
    user_id: number
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    company_id: number
    created_at?: Date | string
    verified_at?: Date | string | null
  }

  export type OtpUpdateManyMutationInput = {
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OtpUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageCreateInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutLanguagesInput
    translations?: LanguageContentCreateNestedManyWithoutLanguageInput
    created?: UserCreateNestedOneWithoutCreated_languagesInput
    updated?: UserCreateNestedOneWithoutUpdated_languagesInput
    deleted?: UserCreateNestedOneWithoutDeleted_languagesInput
  }

  export type LanguageUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentUncheckedCreateNestedManyWithoutLanguageInput
  }

  export type LanguageUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutLanguagesNestedInput
    translations?: LanguageContentUpdateManyWithoutLanguageNestedInput
    created?: UserUpdateOneWithoutCreated_languagesNestedInput
    updated?: UserUpdateOneWithoutUpdated_languagesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_languagesNestedInput
  }

  export type LanguageUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput
  }

  export type LanguageCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageContentCreateInput = {
    key_content: string
    values: string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutLanguage_contentsInput
    language?: LanguageCreateNestedOneWithoutTranslationsInput
  }

  export type LanguageContentUncheckedCreateInput = {
    id?: number
    language_id?: number
    key_content: string
    values: string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type LanguageContentUpdateInput = {
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutLanguage_contentsNestedInput
    language?: LanguageUpdateOneWithoutTranslationsNestedInput
  }

  export type LanguageContentUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    language_id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type LanguageContentCreateManyInput = {
    id?: number
    language_id?: number
    key_content: string
    values: string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type LanguageContentUpdateManyMutationInput = {
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type LanguageContentUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    language_id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MenusCreateInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenusInput
    menuitems?: MenuItemsCreateNestedManyWithoutMenusInput
    created?: UserCreateNestedOneWithoutCreated_menusInput
    updated?: UserCreateNestedOneWithoutUpdated_menusInput
    deleted?: UserCreateNestedOneWithoutDeleted_menusInput
  }

  export type MenusUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutMenusInput
  }

  export type MenusUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutMenusNestedInput
    created?: UserUpdateOneWithoutCreated_menusNestedInput
    updated?: UserUpdateOneWithoutUpdated_menusNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menusNestedInput
  }

  export type MenusUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUncheckedUpdateManyWithoutMenusNestedInput
  }

  export type MenusCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenusUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsCreateInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsCreateManyInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ActionTypeCreateInput = {
    name: string
    description: string
    company_id: number
  }

  export type ActionTypeUncheckedCreateInput = {
    id?: number
    name: string
    description: string
    company_id: number
  }

  export type ActionTypeUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ActionTypeUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ActionTypeCreateManyInput = {
    id?: number
    name: string
    description: string
    company_id: number
  }

  export type ActionTypeUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ActionTypeUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type EntityTypeCreateInput = {
    name: string
    slug: string
    description: string
    company_id: number
  }

  export type EntityTypeUncheckedCreateInput = {
    id?: number
    name: string
    slug: string
    description: string
    company_id: number
  }

  export type EntityTypeUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type EntityTypeUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type EntityTypeCreateManyInput = {
    id?: number
    name: string
    slug: string
    description: string
    company_id: number
  }

  export type EntityTypeUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type EntityTypeUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardGroupCreateInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    status_id?: number
    created_at?: Date | string
    company_id: number
  }

  export type WizardGroupUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    status_id?: number
    created_at?: Date | string
    company_id: number
  }

  export type WizardGroupUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardGroupUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardGroupCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    status_id?: number
    created_at?: Date | string
    company_id: number
  }

  export type WizardGroupUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardGroupUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardTypeCreateInput = {
    uuid?: string
    name: string
    description?: string | null
    company_id: number
  }

  export type WizardTypeUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    company_id: number
  }

  export type WizardTypeUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardTypeUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardTypeCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    company_id: number
  }

  export type WizardTypeUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type WizardTypeUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type AboutLCPCreateInput = {
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutAbout_lcpInput
  }

  export type AboutLCPUncheckedCreateInput = {
    id?: number
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AboutLCPUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutAbout_lcpNestedInput
  }

  export type AboutLCPUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AboutLCPCreateManyInput = {
    id?: number
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AboutLCPUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AboutLCPUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationCreateInput = {
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutUser_search_configurationsInput
  }

  export type userSearchConfigurationUncheckedCreateInput = {
    id?: number
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type userSearchConfigurationUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutUser_search_configurationsNestedInput
  }

  export type userSearchConfigurationUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationCreateManyInput = {
    id?: number
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type userSearchConfigurationUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityCreateInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MasterEntityUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityLineItemCreateInput = {
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutMaster_grid_line_itemsInput
    master_grid: MasterEntityCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutMaster_grid_lineitemInput
  }

  export type MasterEntityLineItemUncheckedCreateInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemUpdateInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutMaster_grid_line_itemsNestedInput
    master_grid?: MasterEntityUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutMaster_grid_lineitemNestedInput
  }

  export type MasterEntityLineItemUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemCreateManyInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemUpdateManyMutationInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FieldTypeCreateInput = {
    field_type: string
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutField_typesInput
    master_grid_lineitem?: MasterEntityLineItemCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUncheckedCreateInput = {
    id?: number
    field_type: string
    company_id: number
    status_id?: number
    created_at?: Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUpdateInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutField_typesNestedInput
    master_grid_lineitem?: MasterEntityLineItemUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeCreateManyInput = {
    id?: number
    field_type: string
    company_id: number
    status_id?: number
    created_at?: Date | string
  }

  export type FieldTypeUpdateManyMutationInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FieldTypeUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeCreateInput = {
    name?: string | null
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutMenu_typesInput
  }

  export type menuTypeUncheckedCreateInput = {
    id?: number
    name?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type menuTypeUpdateInput = {
    name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutMenu_typesNestedInput
  }

  export type menuTypeUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeCreateManyInput = {
    id?: number
    name?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type menuTypeUpdateManyMutationInput = {
    name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationTemplateProcessCreateInput = {
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    status?: StatusCreateNestedOneWithoutNotification_template_processesInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    status_id?: number
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status?: StatusUpdateOneRequiredWithoutNotification_template_processesNestedInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    status_id?: number
    company_id: number
    notification_type?: $Enums.NotificationType
  }

  export type NotificationTemplateProcessUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
  }

  export type NotificationTemplateProcessUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
  }

  export type NotificationTemplateTagCreateInput = {
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    company_id: number
    status?: StatusCreateNestedOneWithoutNotification_template_tagsInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_tagInput
  }

  export type NotificationTemplateTagUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_tagInput
  }

  export type NotificationTemplateTagUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutNotification_template_tagsNestedInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_tagNestedInput
  }

  export type NotificationTemplateTagUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_tagNestedInput
  }

  export type NotificationTemplateTagCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    status_id?: number
    company_id: number
  }

  export type NotificationTemplateTagUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateTagUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagCreateInput = {
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    company_id: number
    status?: StatusCreateNestedOneWithoutNotification_template_receiver_tagsInput
  }

  export type NotificationTemplateRecipientTagUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    status_id?: number
    company_id: number
  }

  export type NotificationTemplateRecipientTagUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutNotification_template_receiver_tagsNestedInput
  }

  export type NotificationTemplateRecipientTagUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    status_id?: number
    company_id: number
  }

  export type NotificationTemplateRecipientTagUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateProcessTagsMappingCreateInput = {
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_groupsInput
    notification_template_tag: NotificationTemplateTagCreateNestedOneWithoutNotification_template_groupsInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedCreateInput = {
    notification_template_process_id: number
    notification_template_tag_id: number
    company_id: number
  }

  export type NotificationTemplateProcessTagsMappingUpdateInput = {
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_groupsNestedInput
    notification_template_tag?: NotificationTemplateTagUpdateOneRequiredWithoutNotification_template_groupsNestedInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateInput = {
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_template_tag_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateProcessTagsMappingCreateManyInput = {
    notification_template_process_id: number
    notification_template_tag_id: number
    company_id: number
  }

  export type NotificationTemplateProcessTagsMappingUpdateManyMutationInput = {

  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateManyInput = {
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_template_tag_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateCreateInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
  }

  export type NotificationTemplateUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationTemplateUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateAssignmentCreateInput = {
    uuid?: string
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_assignmentsInput
    notification_template: NotificationTemplateCreateNestedOneWithoutNotification_template_assignmentsInput
    created: UserCreateNestedOneWithoutCreated_notification_template_assignmentsInput
    email_template_cc_bcc?: EmailTemplateCcBccCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentUncheckedCreateInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    company_id: number
    created_at?: Date | string
    created_by: number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    notification_template?: NotificationTemplateUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    created?: UserUpdateOneRequiredWithoutCreated_notification_template_assignmentsNestedInput
    email_template_cc_bcc?: EmailTemplateCcBccUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentCreateManyInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    company_id: number
    created_at?: Date | string
    created_by: number
  }

  export type NotificationTemplateAssignmentUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type EmailTemplateCcBccCreateInput = {
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
    email_template_assignment: NotificationTemplateAssignmentCreateNestedOneWithoutEmail_template_cc_bccInput
  }

  export type EmailTemplateCcBccUncheckedCreateInput = {
    id?: number
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
    email_template_assignment_id: number
  }

  export type EmailTemplateCcBccUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_assignment?: NotificationTemplateAssignmentUpdateOneRequiredWithoutEmail_template_cc_bccNestedInput
  }

  export type EmailTemplateCcBccUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_assignment_id?: IntFieldUpdateOperationsInput | number
  }

  export type EmailTemplateCcBccCreateManyInput = {
    id?: number
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
    email_template_assignment_id: number
  }

  export type EmailTemplateCcBccUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type EmailTemplateCcBccUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_assignment_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationProcessJobCreateInput = {
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutNotification_process_jobsInput
    created?: UserCreateNestedOneWithoutCreated_notification_process_jobsInput
  }

  export type NotificationProcessJobUncheckedCreateInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    company_id: number
    status_id?: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
  }

  export type NotificationProcessJobUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutNotification_process_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_notification_process_jobsNestedInput
  }

  export type NotificationProcessJobUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationProcessJobCreateManyInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    company_id: number
    status_id?: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
  }

  export type NotificationProcessJobUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationProcessJobUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationJobCreateInput = {
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    sent_at?: Date | string | null
    read_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_jobInput
    created?: UserCreateNestedOneWithoutCreated_notification_jobInput
  }

  export type NotificationJobUncheckedCreateInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    company_id: number
    status_id?: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    created_by?: number | null
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type NotificationJobUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_jobNestedInput
    created?: UserUpdateOneWithoutCreated_notification_jobNestedInput
  }

  export type NotificationJobUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationJobCreateManyInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    company_id: number
    status_id?: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    created_by?: number | null
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type NotificationJobUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationJobUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateCreateInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutCarousel_templatesInput
    created?: UserCreateNestedOneWithoutCreated_carousel_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_carousel_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_carousel_templatesInput
    line_items?: CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_carousel_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_carousel_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_carousel_templatesNestedInput
    line_items?: CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateLineItemCreateInput = {
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutCarousel_template_line_itemsInput
    carousel_template: CarouselTemplateCreateNestedOneWithoutLine_itemsInput
  }

  export type CarouselTemplateLineItemUncheckedCreateInput = {
    id?: number
    carousel_template_id: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type CarouselTemplateLineItemUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutCarousel_template_line_itemsNestedInput
    carousel_template?: CarouselTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type CarouselTemplateLineItemUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    carousel_template_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CarouselTemplateLineItemCreateManyInput = {
    id?: number
    carousel_template_id: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type CarouselTemplateLineItemUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CarouselTemplateLineItemUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    carousel_template_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateCreateInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportTemplateUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateLineItemCreateInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutImport_template_line_itemsInput
    import_template: ImportTemplateCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutImportTemplateLineItemInput
  }

  export type ImportTemplateLineItemUncheckedCreateInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemUpdateInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutImport_template_line_itemsNestedInput
    import_template?: ImportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutImportTemplateLineItemNestedInput
  }

  export type ImportTemplateLineItemUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemCreateManyInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemUpdateManyMutationInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesCreateInput = {
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutImport_template_queriesInput
    import_template: ImportTemplateCreateNestedOneWithoutQueriesInput
  }

  export type ImportTemplateQueriesUncheckedCreateInput = {
    id?: number
    import_template_id: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesUpdateInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutImport_template_queriesNestedInput
    import_template?: ImportTemplateUpdateOneRequiredWithoutQueriesNestedInput
  }

  export type ImportTemplateQueriesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesCreateManyInput = {
    id?: number
    import_template_id: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesUpdateManyMutationInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type DirectImportDetailsCreateInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDirect_import_detailsInput
    import_template?: ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput
    created?: UserCreateNestedOneWithoutCreated_direct_import_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_direct_import_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput
    import_template?: ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput
    created?: UserUpdateOneWithoutCreated_direct_import_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsCreateManyInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobCreateInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobCreateManyInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemCreateInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_job_line_itemsInput
    import_job: ImportJobCreateNestedOneWithoutLine_itemsInput
  }

  export type ImportJobLineItemUncheckedCreateInput = {
    id?: number
    import_job_id: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type ImportJobLineItemUpdateInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_job_line_itemsNestedInput
    import_job?: ImportJobUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type ImportJobLineItemUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_job_id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemCreateManyInput = {
    id?: number
    import_job_id: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type ImportJobLineItemUpdateManyMutationInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_job_id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateCreateInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ExportTemplateUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateLineItemCreateInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutExport_template_line_itemsInput
    export_template: ExportTemplateCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutExportTemplateLineItemInput
  }

  export type ExportTemplateLineItemUncheckedCreateInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemUpdateInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutExport_template_line_itemsNestedInput
    export_template?: ExportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutExportTemplateLineItemNestedInput
  }

  export type ExportTemplateLineItemUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemCreateManyInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemUpdateManyMutationInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesCreateInput = {
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutExport_template_queriesInput
    export_template: ExportTemplateCreateNestedOneWithoutQueriesInput
  }

  export type ExportTemplateQueriesUncheckedCreateInput = {
    id?: number
    export_template_id: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesUpdateInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutExport_template_queriesNestedInput
    export_template?: ExportTemplateUpdateOneRequiredWithoutQueriesNestedInput
  }

  export type ExportTemplateQueriesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesCreateManyInput = {
    id?: number
    export_template_id: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesUpdateManyMutationInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type StatusCreateInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusUpdateInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateManyInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
  }

  export type StatusUpdateManyMutationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type StatusUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type CategoryTypesCreateInput = {
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_category_types?: UserCreateNestedOneWithoutCreated_category_typesInput
    updated_category_types?: UserCreateNestedOneWithoutUpdated_category_typesInput
    deleted_category_types?: UserCreateNestedOneWithoutDeleted_category_typesInput
    categories?: CategoriesCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesUncheckedCreateInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    categories?: CategoriesUncheckedCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_category_types?: UserUpdateOneWithoutCreated_category_typesNestedInput
    updated_category_types?: UserUpdateOneWithoutUpdated_category_typesNestedInput
    deleted_category_types?: UserUpdateOneWithoutDeleted_category_typesNestedInput
    categories?: CategoriesUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    categories?: CategoriesUncheckedUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesCreateManyInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoryTypesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoryTypesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesCreateInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesCreateManyInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoriesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsCreateInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutConfigurationsInput
    created_configurations?: UserCreateNestedOneWithoutCreated_configurationsInput
    updated_configurations?: UserCreateNestedOneWithoutUpdated_configurationsInput
    deleted_configurations?: UserCreateNestedOneWithoutDeleted_configurationsInput
  }

  export type ConfigurationsUncheckedCreateInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutConfigurationsNestedInput
    created_configurations?: UserUpdateOneWithoutCreated_configurationsNestedInput
    updated_configurations?: UserUpdateOneWithoutUpdated_configurationsNestedInput
    deleted_configurations?: UserUpdateOneWithoutDeleted_configurationsNestedInput
  }

  export type ConfigurationsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsCreateManyInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsCreateInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutUser_configurationsInput
    created_user_configurations?: UserCreateNestedOneWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserCreateNestedOneWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserCreateNestedOneWithoutDeleted_user_configurationsInput
  }

  export type UserConfigurationsUncheckedCreateInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutUser_configurationsNestedInput
    created_user_configurations?: UserUpdateOneWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserUpdateOneWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserUpdateOneWithoutDeleted_user_configurationsNestedInput
  }

  export type UserConfigurationsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsCreateManyInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FileUploadLogCreateInput = {
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutFile_upload_logsInput
  }

  export type FileUploadLogUncheckedCreateInput = {
    id?: number
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type FileUploadLogUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutFile_upload_logsNestedInput
  }

  export type FileUploadLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FileUploadLogCreateManyInput = {
    id?: number
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_at?: Date | string
  }

  export type FileUploadLogUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FileUploadLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type DataTransferQueriesCreateInput = {
    uuid?: string
    select_query: string
    insert_query: string
    transfer_type: string
    job_name: string
    destination_table: string
    clear_destination_table: boolean
    execution_order: number
    command_type: string
    status_id?: number
    created_by?: number | null
    created_at?: Date | string | null
    company_id: number
  }

  export type DataTransferQueriesUncheckedCreateInput = {
    id?: number
    uuid?: string
    select_query: string
    insert_query: string
    transfer_type: string
    job_name: string
    destination_table: string
    clear_destination_table: boolean
    execution_order: number
    command_type: string
    status_id?: number
    created_by?: number | null
    created_at?: Date | string | null
    company_id: number
  }

  export type DataTransferQueriesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    select_query?: StringFieldUpdateOperationsInput | string
    insert_query?: StringFieldUpdateOperationsInput | string
    transfer_type?: StringFieldUpdateOperationsInput | string
    job_name?: StringFieldUpdateOperationsInput | string
    destination_table?: StringFieldUpdateOperationsInput | string
    clear_destination_table?: BoolFieldUpdateOperationsInput | boolean
    execution_order?: IntFieldUpdateOperationsInput | number
    command_type?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DataTransferQueriesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    select_query?: StringFieldUpdateOperationsInput | string
    insert_query?: StringFieldUpdateOperationsInput | string
    transfer_type?: StringFieldUpdateOperationsInput | string
    job_name?: StringFieldUpdateOperationsInput | string
    destination_table?: StringFieldUpdateOperationsInput | string
    clear_destination_table?: BoolFieldUpdateOperationsInput | boolean
    execution_order?: IntFieldUpdateOperationsInput | number
    command_type?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DataTransferQueriesCreateManyInput = {
    id?: number
    uuid?: string
    select_query: string
    insert_query: string
    transfer_type: string
    job_name: string
    destination_table: string
    clear_destination_table: boolean
    execution_order: number
    command_type: string
    status_id?: number
    created_by?: number | null
    created_at?: Date | string | null
    company_id: number
  }

  export type DataTransferQueriesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    select_query?: StringFieldUpdateOperationsInput | string
    insert_query?: StringFieldUpdateOperationsInput | string
    transfer_type?: StringFieldUpdateOperationsInput | string
    job_name?: StringFieldUpdateOperationsInput | string
    destination_table?: StringFieldUpdateOperationsInput | string
    clear_destination_table?: BoolFieldUpdateOperationsInput | boolean
    execution_order?: IntFieldUpdateOperationsInput | number
    command_type?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DataTransferQueriesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    select_query?: StringFieldUpdateOperationsInput | string
    insert_query?: StringFieldUpdateOperationsInput | string
    transfer_type?: StringFieldUpdateOperationsInput | string
    job_name?: StringFieldUpdateOperationsInput | string
    destination_table?: StringFieldUpdateOperationsInput | string
    clear_destination_table?: BoolFieldUpdateOperationsInput | boolean
    execution_order?: IntFieldUpdateOperationsInput | number
    command_type?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DeviceRegistrationCreateInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDevice_registrationInput
    created_device_registration: UserCreateNestedOneWithoutCreated_device_registrationInput
    updated_device_registration?: UserCreateNestedOneWithoutUpdated_device_registrationInput
    deleted_device_registration?: UserCreateNestedOneWithoutDeleted_device_registrationInput
    user: UserCreateNestedOneWithoutDeviceRegistrationInput
  }

  export type DeviceRegistrationUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDevice_registrationNestedInput
    created_device_registration?: UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput
    updated_device_registration?: UserUpdateOneWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: UserUpdateOneWithoutDeleted_device_registrationNestedInput
    user?: UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PoliciesCreateInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type PoliciesCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type PoliciesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PoliciesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserPoliciesCreateInput = {
    policy: PoliciesCreateNestedOneWithoutUser_policyInput
    user: UserCreateNestedOneWithoutUser_policyInput
  }

  export type UserPoliciesUncheckedCreateInput = {
    company_id: number
    policy_id: number
    user_id: number
  }

  export type UserPoliciesUpdateInput = {
    policy?: PoliciesUpdateOneRequiredWithoutUser_policyNestedInput
    user?: UserUpdateOneRequiredWithoutUser_policyNestedInput
  }

  export type UserPoliciesUncheckedUpdateInput = {
    company_id?: IntFieldUpdateOperationsInput | number
    policy_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPoliciesCreateManyInput = {
    company_id: number
    policy_id: number
    user_id: number
  }

  export type UserPoliciesUpdateManyMutationInput = {

  }

  export type UserPoliciesUncheckedUpdateManyInput = {
    company_id?: IntFieldUpdateOperationsInput | number
    policy_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesCreateInput = {
    policy: PoliciesCreateNestedOneWithoutRole_policyInput
    role: RoleCreateNestedOneWithoutRole_policyInput
  }

  export type RolePoliciesUncheckedCreateInput = {
    company_id: number
    policy_id: number
    role_id: number
  }

  export type RolePoliciesUpdateInput = {
    policy?: PoliciesUpdateOneRequiredWithoutRole_policyNestedInput
    role?: RoleUpdateOneRequiredWithoutRole_policyNestedInput
  }

  export type RolePoliciesUncheckedUpdateInput = {
    company_id?: IntFieldUpdateOperationsInput | number
    policy_id?: IntFieldUpdateOperationsInput | number
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesCreateManyInput = {
    company_id: number
    policy_id: number
    role_id: number
  }

  export type RolePoliciesUpdateManyMutationInput = {

  }

  export type RolePoliciesUncheckedUpdateManyInput = {
    company_id?: IntFieldUpdateOperationsInput | number
    policy_id?: IntFieldUpdateOperationsInput | number
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type AppversionsCreateInput = {
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
    status?: StatusCreateNestedOneWithoutApp_versionsInput
    created_app_versions: UserCreateNestedOneWithoutCreated_app_versionsInput
    updated_app_versions?: UserCreateNestedOneWithoutUpdated_app_versionsInput
    deleted_app_versions?: UserCreateNestedOneWithoutDeleted_app_versionsInput
  }

  export type AppversionsUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApp_versionsNestedInput
    created_app_versions?: UserUpdateOneRequiredWithoutCreated_app_versionsNestedInput
    updated_app_versions?: UserUpdateOneWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: UserUpdateOneWithoutDeleted_app_versionsNestedInput
  }

  export type AppversionsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ScheduledJobCreateInput = {
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    status?: StatusCreateNestedOneWithoutScheduled_jobsInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutScheduled_jobInput
  }

  export type ScheduledJobUncheckedCreateInput = {
    id?: number
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutScheduled_jobInput
  }

  export type ScheduledJobUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutScheduled_jobsNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutScheduled_jobNestedInput
  }

  export type ScheduledJobUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutScheduled_jobNestedInput
  }

  export type ScheduledJobCreateManyInput = {
    id?: number
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsCreateInput = {
    uuid?: string
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status?: StatusCreateNestedOneWithoutScheduled_job_logsInput
    scheduled_job: ScheduledJobCreateNestedOneWithoutScheduled_job_logsInput
  }

  export type ScheduledJobLogsUncheckedCreateInput = {
    id?: number
    uuid?: string
    scheduled_job_id: number
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobLogsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutScheduled_job_logsNestedInput
    scheduled_job?: ScheduledJobUpdateOneRequiredWithoutScheduled_job_logsNestedInput
  }

  export type ScheduledJobLogsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    scheduled_job_id?: IntFieldUpdateOperationsInput | number
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsCreateManyInput = {
    id?: number
    uuid?: string
    scheduled_job_id: number
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobLogsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    scheduled_job_id?: IntFieldUpdateOperationsInput | number
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalWorkflowCreateInput = {
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApproval_workflowsInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApproval_workflowInput
  }

  export type ApprovalWorkflowUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    status_id?: number
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApproval_workflowInput
  }

  export type ApprovalWorkflowUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_workflowsNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutApproval_workflowNestedInput
  }

  export type ApprovalWorkflowUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApproval_workflowNestedInput
  }

  export type ApprovalWorkflowCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    status_id?: number
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowApproverTagCreateInput = {
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApproval_workflow_approver_tagsInput
  }

  export type ApprovalWorkflowApproverTagUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowApproverTagUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_approver_tagsNestedInput
  }

  export type ApprovalWorkflowApproverTagUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowApproverTagCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowApproverTagUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowApproverTagUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowAssignmentCreateInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentCreateManyInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalProcessJobCreateInput = {
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    company_id: number
    status?: StatusCreateNestedOneWithoutApproval_process_jobInput
  }

  export type ApprovalProcessJobUncheckedCreateInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    status_id?: number
    company_id: number
  }

  export type ApprovalProcessJobUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutApproval_process_jobNestedInput
  }

  export type ApprovalProcessJobUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobCreateManyInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    status_id?: number
    company_id: number
  }

  export type ApprovalProcessJobUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobWorkflowCreateInput = {
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
    status?: StatusCreateNestedOneWithoutApproval_process_job_workflowsInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutApproval_process_job_workflowInput
  }

  export type ApprovalProcessJobWorkflowUncheckedCreateInput = {
    id?: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    status_id?: number
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutApproval_process_job_workflowInput
  }

  export type ApprovalProcessJobWorkflowUpdateInput = {
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_process_job_workflowsNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutApproval_process_job_workflowNestedInput
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    status_id?: IntFieldUpdateOperationsInput | number
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutApproval_process_job_workflowNestedInput
  }

  export type ApprovalProcessJobWorkflowCreateManyInput = {
    id?: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    status_id?: number
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
  }

  export type ApprovalProcessJobWorkflowUpdateManyMutationInput = {
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    status_id?: IntFieldUpdateOperationsInput | number
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ApprovalProcessJobWorkflowUserCreateInput = {
    uuid?: string
    user_id?: number | null
    approval_process_job_workflow: ApprovalProcessJobWorkflowCreateNestedOneWithoutApproval_process_job_workflow_usersInput
    status?: StatusCreateNestedOneWithoutApproval_process_job_workflow_usersInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedCreateInput = {
    id?: number
    uuid?: string
    approval_process_job_workflow_id: number
    user_id?: number | null
    status_id?: number
    company_id: number
  }

  export type ApprovalProcessJobWorkflowUserUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    approval_process_job_workflow?: ApprovalProcessJobWorkflowUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_process_job_workflow_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobWorkflowUserCreateManyInput = {
    id?: number
    uuid?: string
    approval_process_job_workflow_id: number
    user_id?: number | null
    status_id?: number
    company_id: number
  }

  export type ApprovalProcessJobWorkflowUserUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_process_job_workflow_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DelegationCreateInput = {
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDelegationsInput
  }

  export type DelegationUncheckedCreateInput = {
    id?: number
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DelegationUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDelegationsNestedInput
  }

  export type DelegationUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DelegationCreateManyInput = {
    id?: number
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DelegationUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DelegationUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type SchemaChunkCreateInput = {
    uuid?: string
    table_name: string
    chunk: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
    status?: StatusCreateNestedOneWithoutSchema_chunksInput
  }

  export type SchemaChunkUncheckedCreateInput = {
    id?: number
    uuid?: string
    table_name: string
    chunk: string
    status_id?: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
  }

  export type SchemaChunkUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutSchema_chunksNestedInput
  }

  export type SchemaChunkUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type SchemaChunkCreateManyInput = {
    id?: number
    uuid?: string
    table_name: string
    chunk: string
    status_id?: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
  }

  export type SchemaChunkUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type SchemaChunkUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type EmbeddingVectorLogsCreateInput = {
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutEmbedding_vector_logsInput
  }

  export type EmbeddingVectorLogsUncheckedCreateInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    status_id?: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type EmbeddingVectorLogsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutEmbedding_vector_logsNestedInput
  }

  export type EmbeddingVectorLogsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type EmbeddingVectorLogsCreateManyInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    status_id?: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type EmbeddingVectorLogsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type EmbeddingVectorLogsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OpenaiUsageLogCreateInput = {
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutOpenai_usage_logsInput
  }

  export type OpenaiUsageLogUncheckedCreateInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type OpenaiUsageLogUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutOpenai_usage_logsNestedInput
  }

  export type OpenaiUsageLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OpenaiUsageLogCreateManyInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type OpenaiUsageLogUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OpenaiUsageLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogCreateInput = {
    uuid?: string
    company_id: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutQuery_execution_logInput
  }

  export type QueryExecutionLogUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type QueryExecutionLogUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutQuery_execution_logNestedInput
  }

  export type QueryExecutionLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type QueryExecutionLogUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessCreateInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutChild_processesInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutChild_processInput
  }

  export type ChildProcessUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutChild_processInput
  }

  export type ChildProcessUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutChild_processesNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutChild_processNestedInput
  }

  export type ChildProcessUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutChild_processNestedInput
  }

  export type ChildProcessCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogCreateInput = {
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutChild_process_logsInput
    child_process: ChildProcessCreateNestedOneWithoutChild_process_logsInput
    initiator: UserCreateNestedOneWithoutChildProcessLogInput
  }

  export type ChildProcessLogUncheckedCreateInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutChild_process_logsNestedInput
    child_process?: ChildProcessUpdateOneRequiredWithoutChild_process_logsNestedInput
    initiator?: UserUpdateOneRequiredWithoutChildProcessLogNestedInput
  }

  export type ChildProcessLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogCreateManyInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemesCreateInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutThemesInput
    theme_attributes?: ThemeLineItemsCreateNestedManyWithoutThemesInput
    CreatedTheme?: UserCreateNestedOneWithoutCreatedThemeInput
    UpdatedTheme?: UserCreateNestedOneWithoutUpdatedThemeInput
    DeletedTheme?: UserCreateNestedOneWithoutDeletedThemeInput
  }

  export type ThemesUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput
  }

  export type ThemesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutThemesNestedInput
    theme_attributes?: ThemeLineItemsUpdateManyWithoutThemesNestedInput
    CreatedTheme?: UserUpdateOneWithoutCreatedThemeNestedInput
    UpdatedTheme?: UserUpdateOneWithoutUpdatedThemeNestedInput
    DeletedTheme?: UserUpdateOneWithoutDeletedThemeNestedInput
  }

  export type ThemesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput
  }

  export type ThemesCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsCreateInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_line_itemsInput
    themes: ThemesCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeLineItems?: UserCreateNestedOneWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: UserCreateNestedOneWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: UserCreateNestedOneWithoutDeletedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput
    themes?: ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeLineItems?: UserUpdateOneWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: UserUpdateOneWithoutDeletedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsCreateManyInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesCreateInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeAttributes?: UserCreateNestedOneWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: UserCreateNestedOneWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: UserCreateNestedOneWithoutDeletedThemeAttributesInput
  }

  export type ThemeAttributesUncheckedCreateInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeAttributes?: UserUpdateOneWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: UserUpdateOneWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: UserUpdateOneWithoutDeletedThemeAttributesNestedInput
  }

  export type ThemeAttributesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesCreateManyInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesCreateInput = {
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutBarcodeTemplatesInput
    created_barcode_templates: UserCreateNestedOneWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: UserCreateNestedOneWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: UserCreateNestedOneWithoutDeleted_barcode_templatesInput
  }

  export type BarcodeTemplatesUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutBarcodeTemplatesNestedInput
    created_barcode_templates?: UserUpdateOneRequiredWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: UserUpdateOneWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: UserUpdateOneWithoutDeleted_barcode_templatesNestedInput
  }

  export type BarcodeTemplatesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserLoginHistoryCreateInput = {
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
    status?: StatusCreateNestedOneWithoutUser_login_historiesInput
    user: UserCreateNestedOneWithoutUser_login_historiesInput
  }

  export type UserLoginHistoryUncheckedCreateInput = {
    id?: number
    user_id: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    status_id?: number
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type UserLoginHistoryUpdateInput = {
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutUser_login_historiesNestedInput
    user?: UserUpdateOneRequiredWithoutUser_login_historiesNestedInput
  }

  export type UserLoginHistoryUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    status_id?: IntFieldUpdateOperationsInput | number
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserLoginHistoryCreateManyInput = {
    id?: number
    user_id: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    status_id?: number
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type UserLoginHistoryUpdateManyMutationInput = {
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserLoginHistoryUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    status_id?: IntFieldUpdateOperationsInput | number
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type PhoneCountryCodesCreateInput = {
    uuid?: string
    country_code: string
    iso_code: string
    country_name: string
    company_id: number
    status_id?: number
  }

  export type PhoneCountryCodesUncheckedCreateInput = {
    id?: number
    uuid?: string
    country_code: string
    iso_code: string
    country_name: string
    company_id: number
    status_id?: number
  }

  export type PhoneCountryCodesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    country_code?: StringFieldUpdateOperationsInput | string
    iso_code?: StringFieldUpdateOperationsInput | string
    country_name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type PhoneCountryCodesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    country_code?: StringFieldUpdateOperationsInput | string
    iso_code?: StringFieldUpdateOperationsInput | string
    country_name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type PhoneCountryCodesCreateManyInput = {
    id?: number
    uuid?: string
    country_code: string
    iso_code: string
    country_name: string
    company_id: number
    status_id?: number
  }

  export type PhoneCountryCodesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    country_code?: StringFieldUpdateOperationsInput | string
    iso_code?: StringFieldUpdateOperationsInput | string
    country_name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type PhoneCountryCodesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    country_code?: StringFieldUpdateOperationsInput | string
    iso_code?: StringFieldUpdateOperationsInput | string
    country_name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type TreeBuilderExampleCreateInput = {
    uuid?: string
    name: string
    code: string
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTree_builder_examplesInput
    parent?: TreeBuilderExampleCreateNestedOneWithoutChildrenInput
    children?: TreeBuilderExampleCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    status_id?: number
    parent_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: TreeBuilderExampleUncheckedCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTree_builder_examplesNestedInput
    parent?: TreeBuilderExampleUpdateOneWithoutChildrenNestedInput
    children?: TreeBuilderExampleUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: TreeBuilderExampleUncheckedUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    status_id?: number
    parent_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type TreeBuilderExampleUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type TreeBuilderExampleUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNotesCreateInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesCreateManyInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type DeliveryNotesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DeliveryNotesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DeliveryNoteStatusCreateInput = {
    uuid?: string
    name: string
    code: string
    company_id: number
    status?: StatusCreateNestedOneWithoutDelivery_note_statusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutDn_statusInput
  }

  export type DeliveryNoteStatusUncheckedCreateInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    status_id?: number
    company_id: number
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutDn_statusInput
  }

  export type DeliveryNoteStatusUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutDelivery_note_statusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutDn_statusNestedInput
  }

  export type DeliveryNoteStatusUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutDn_statusNestedInput
  }

  export type DeliveryNoteStatusCreateManyInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    status_id?: number
    company_id: number
  }

  export type DeliveryNoteStatusUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DeliveryNoteStatusUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DeliveryNoteLineItemsCreateInput = {
    uuid?: string
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutDelivery_note_line_itemsInput
    status?: StatusCreateNestedOneWithoutDelivery_note_line_itemsInput
  }

  export type DeliveryNoteLineItemsUncheckedCreateInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNoteLineItemsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput
  }

  export type DeliveryNoteLineItemsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNoteLineItemsCreateManyInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNoteLineItemsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNoteLineItemsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CustomerDeliveryAddressesCreateInput = {
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    status?: StatusCreateNestedOneWithoutCustomers_delivery_addressesInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomer_delivery_addressInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesUncheckedCreateInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    status_id?: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomer_delivery_addressInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutCustomers_delivery_addressesNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomer_delivery_addressNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutCustomer_addressNestedInput
  }

  export type CustomerDeliveryAddressesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressNestedInput
  }

  export type CustomerDeliveryAddressesCreateManyInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    status_id?: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
  }

  export type CustomerDeliveryAddressesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type CustomerDeliveryAddressesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentsCreateInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsCreateManyInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
  }

  export type ShipmentsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentCustomersCreateInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipments: ShipmentsCreateNestedOneWithoutShipment_customersInput
    status?: StatusCreateNestedOneWithoutShipment_customersInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_customersInput
    customer: UserCreateNestedOneWithoutShipment_customersInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput
    customer?: UserUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersCreateManyInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentCustomersUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentCustomersUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsLocationCreateInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationCreateManyInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentsLocationUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentsLocationUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentDeliveryNotesCreateInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput
    status?: StatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_location: ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_location?: ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesCreateManyInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesCreateInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type VehiclesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingCreateInput = {
    uuid?: string
    created_by?: number | null
    created_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehicle_user_mappingInput
    vehicle: VehiclesCreateNestedOneWithoutVehicle_user_mappingInput
    user: UserCreateNestedOneWithoutVehicle_user_mappingInput
  }

  export type VehicleUserMappingUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    vehicle_id: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleUserMappingUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
  }

  export type VehicleUserMappingUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    vehicle_id: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleUserMappingUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataCreateInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_gps_dataInput
    user?: UserCreateNestedOneWithoutVehicle_gps_dataInput
    status?: StatusCreateNestedOneWithoutVehicle_gps_dataInput
  }

  export type VehiclesGpsDataUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
    user?: UserUpdateOneWithoutVehicle_gps_dataNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
  }

  export type VehiclesGpsDataUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogCreateInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_gps_data_logInput
    user?: UserCreateNestedOneWithoutVehicle_gps_data_logInput
  }

  export type VehiclesGpsDataLogUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_gps_data_logNestedInput
    user?: UserUpdateOneWithoutVehicle_gps_data_logNestedInput
  }

  export type VehiclesGpsDataLogUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleTripHistoriesCreateInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_trip_historiesInput
    user?: UserCreateNestedOneWithoutVehicle_trip_historiesInput
    status?: StatusCreateNestedOneWithoutVehicle_trip_historiesInput
  }

  export type VehicleTripHistoriesUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehicleTripHistoriesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
    user?: UserUpdateOneWithoutVehicle_trip_historiesNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
  }

  export type VehicleTripHistoriesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type VehicleTripHistoriesCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehicleTripHistoriesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type VehicleTripHistoriesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type GeoFencesCreateInput = {
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutGeofencesInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUncheckedCreateInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutGeofencesNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesCreateManyInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type GeoFencesUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type GeoFencesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type GeoFenceTrackingCreateInput = {
    uuid?: string
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    vehicle: VehiclesCreateNestedOneWithoutGeo_fence_trackingInput
    geofence: GeoFencesCreateNestedOneWithoutGeofence_trackingInput
    status?: StatusCreateNestedOneWithoutGeofence_trackingInput
  }

  export type GeoFenceTrackingUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type GeoFenceTrackingUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    vehicle?: VehiclesUpdateOneRequiredWithoutGeo_fence_trackingNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutGeofence_trackingNestedInput
    status?: StatusUpdateOneRequiredWithoutGeofence_trackingNestedInput
  }

  export type GeoFenceTrackingUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type GeoFenceTrackingCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type GeoFenceTrackingUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type GeoFenceTrackingUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type VehicleGeofenceHistoryCreateInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryCreateManyInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingCreateInput = {
    uuid?: string
    company_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutCustomer_geofence_mappingInput
    geofence: GeoFencesCreateNestedOneWithoutCustomer_geofence_mappingInput
    user: UserCreateNestedOneWithoutCustomer_geofence_mappingInput
  }

  export type CustomerGeoFenceMappingUncheckedCreateInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    geofence_id: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type CustomerGeoFenceMappingUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
  }

  export type CustomerGeoFenceMappingUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingCreateManyInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    geofence_id: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type CustomerGeoFenceMappingUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ErpLogsCreateInput = {
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: $Enums.SyncData
    sync_number?: string | null
    status?: StatusCreateNestedOneWithoutErp_logsInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutErp_logsInput
  }

  export type ErpLogsUncheckedCreateInput = {
    id?: number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    sync_status?: $Enums.SyncData
    sync_number?: string | null
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutErp_logsInput
  }

  export type ErpLogsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutErp_logsNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutErp_logsNestedInput
  }

  export type ErpLogsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutErp_logsNestedInput
  }

  export type ErpLogsCreateManyInput = {
    id?: number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    sync_status?: $Enums.SyncData
    sync_number?: string | null
  }

  export type ErpLogsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ErpLogsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ErpLogsLineItemsCreateInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    erp_logs: ErpLogsCreateNestedOneWithoutErp_logs_line_itemsInput
    status?: StatusCreateNestedOneWithoutErp_logs_line_itemsInput
  }

  export type ErpLogsLineItemsUncheckedCreateInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    erp_logs_id: number
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ErpLogsLineItemsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    erp_logs?: ErpLogsUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput
    status?: StatusUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput
  }

  export type ErpLogsLineItemsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    erp_logs_id?: IntFieldUpdateOperationsInput | number
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ErpLogsLineItemsCreateManyInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    erp_logs_id: number
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ErpLogsLineItemsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ErpLogsLineItemsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    erp_logs_id?: IntFieldUpdateOperationsInput | number
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type TempSessionDataCreateInput = {
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutTemp_session_dataInput
  }

  export type TempSessionDataUncheckedCreateInput = {
    id?: number
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    status_id?: number
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
  }

  export type TempSessionDataUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutTemp_session_dataNestedInput
  }

  export type TempSessionDataUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type TempSessionDataCreateManyInput = {
    id?: number
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    status_id?: number
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
  }

  export type TempSessionDataUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type TempSessionDataUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ShipmentStatusCreateInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    status?: StatusCreateNestedOneWithoutShipment_statusInput
    shipments?: ShipmentsCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_statusNestedInput
    shipments?: ShipmentsUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
  }

  export type ShipmentStatusUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentStatusUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentStatusHistoryCreateInput = {
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    company_id: number
    status?: StatusCreateNestedOneWithoutShipment_status_historyInput
  }

  export type ShipmentStatusHistoryUncheckedCreateInput = {
    id?: number
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    status_id?: number
    company_id: number
  }

  export type ShipmentStatusHistoryUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutShipment_status_historyNestedInput
  }

  export type ShipmentStatusHistoryUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ShipmentStatusHistoryCreateManyInput = {
    id?: number
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    status_id?: number
    company_id: number
  }

  export type ShipmentStatusHistoryUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ShipmentStatusHistoryUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type PodStatusCreateInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code: string
    status?: StatusCreateNestedOneWithoutPod_statusInput
    shipments_location?: ShipmentsLocationCreateNestedManyWithoutPod_statusInput
  }

  export type PodStatusUncheckedCreateInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code: string
    shipments_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutPod_statusInput
  }

  export type PodStatusUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
    status?: StatusUpdateOneRequiredWithoutPod_statusNestedInput
    shipments_location?: ShipmentsLocationUpdateManyWithoutPod_statusNestedInput
  }

  export type PodStatusUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
    shipments_location?: ShipmentsLocationUncheckedUpdateManyWithoutPod_statusNestedInput
  }

  export type PodStatusCreateManyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code: string
  }

  export type PodStatusUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
  }

  export type PodStatusUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
  }

  export type ShipmentLocationContactInfoHistoryCreateInput = {
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
    status?: StatusCreateNestedOneWithoutShipment_location_contact_info_historiesInput
  }

  export type ShipmentLocationContactInfoHistoryUncheckedCreateInput = {
    id?: number
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    status_id?: number
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
  }

  export type ShipmentLocationContactInfoHistoryUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_location_contact_info_historiesNestedInput
  }

  export type ShipmentLocationContactInfoHistoryUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentLocationContactInfoHistoryCreateManyInput = {
    id?: number
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    status_id?: number
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
  }

  export type ShipmentLocationContactInfoHistoryUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentLocationContactInfoHistoryUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentImagesCreateInput = {
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    company_id?: number | null
    status?: StatusCreateNestedOneWithoutShipment_imagesInput
  }

  export type ShipmentImagesUncheckedCreateInput = {
    id?: number
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    status_id?: number | null
    company_id?: number | null
  }

  export type ShipmentImagesUpdateInput = {
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    status?: StatusUpdateOneWithoutShipment_imagesNestedInput
  }

  export type ShipmentImagesUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ShipmentImagesCreateManyInput = {
    id?: number
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    status_id?: number | null
    company_id?: number | null
  }

  export type ShipmentImagesUpdateManyMutationInput = {
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ShipmentImagesUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type sms_test_requestsCreateInput = {
    uuid?: string
    mobile_number?: string | null
    sms_content?: string | null
    request_object?: string | null
    response_object?: string | null
    created_at?: Date | string
    status_id?: number
    company_id?: number | null
  }

  export type sms_test_requestsUncheckedCreateInput = {
    id?: number
    uuid?: string
    mobile_number?: string | null
    sms_content?: string | null
    request_object?: string | null
    response_object?: string | null
    created_at?: Date | string
    status_id?: number
    company_id?: number | null
  }

  export type sms_test_requestsUpdateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    mobile_number?: NullableStringFieldUpdateOperationsInput | string | null
    sms_content?: NullableStringFieldUpdateOperationsInput | string | null
    request_object?: NullableStringFieldUpdateOperationsInput | string | null
    response_object?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type sms_test_requestsUncheckedUpdateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    mobile_number?: NullableStringFieldUpdateOperationsInput | string | null
    sms_content?: NullableStringFieldUpdateOperationsInput | string | null
    request_object?: NullableStringFieldUpdateOperationsInput | string | null
    response_object?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type sms_test_requestsCreateManyInput = {
    id?: number
    uuid?: string
    mobile_number?: string | null
    sms_content?: string | null
    request_object?: string | null
    response_object?: string | null
    created_at?: Date | string
    status_id?: number
    company_id?: number | null
  }

  export type sms_test_requestsUpdateManyMutationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    mobile_number?: NullableStringFieldUpdateOperationsInput | string | null
    sms_content?: NullableStringFieldUpdateOperationsInput | string | null
    request_object?: NullableStringFieldUpdateOperationsInput | string | null
    response_object?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type sms_test_requestsUncheckedUpdateManyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    mobile_number?: NullableStringFieldUpdateOperationsInput | string | null
    sms_content?: NullableStringFieldUpdateOperationsInput | string | null
    request_object?: NullableStringFieldUpdateOperationsInput | string | null
    response_object?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type IntFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel>
    in?: number[] | ListIntFieldRefInput<$PrismaModel>
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntFilter<$PrismaModel> | number
  }

  export type UuidFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedUuidFilter<$PrismaModel> | string
  }

  export type StringFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedStringFilter<$PrismaModel> | string
  }

  export type BoolFilter<$PrismaModel = never> = {
    equals?: boolean | BooleanFieldRefInput<$PrismaModel>
    not?: NestedBoolFilter<$PrismaModel> | boolean
  }

  export type StringNullableFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedStringNullableFilter<$PrismaModel> | string | null
  }

  export type EnumUserRoleFilter<$PrismaModel = never> = {
    equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel>
    in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole
  }

  export type EnumProcessStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.ProcessStatus | EnumProcessStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumProcessStatusFilter<$PrismaModel> | $Enums.ProcessStatus
  }

  export type IntNullableFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel> | null
    in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntNullableFilter<$PrismaModel> | number | null
  }

  export type DateTimeFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeFilter<$PrismaModel> | Date | string
  }

  export type DateTimeNullableFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
  }

  export type StatusRelationFilter = {
    is?: StatusWhereInput
    isNot?: StatusWhereInput
  }

  export type UserDetailNullableRelationFilter = {
    is?: UserDetailWhereInput | null
    isNot?: UserDetailWhereInput | null
  }

  export type RequestLogListRelationFilter = {
    every?: RequestLogWhereInput
    some?: RequestLogWhereInput
    none?: RequestLogWhereInput
  }

  export type UserRolesListRelationFilter = {
    every?: UserRolesWhereInput
    some?: UserRolesWhereInput
    none?: UserRolesWhereInput
  }

  export type UserPermissionsListRelationFilter = {
    every?: UserPermissionsWhereInput
    some?: UserPermissionsWhereInput
    none?: UserPermissionsWhereInput
  }

  export type OtpListRelationFilter = {
    every?: OtpWhereInput
    some?: OtpWhereInput
    none?: OtpWhereInput
  }

  export type UserNullableRelationFilter = {
    is?: UserWhereInput | null
    isNot?: UserWhereInput | null
  }

  export type UserListRelationFilter = {
    every?: UserWhereInput
    some?: UserWhereInput
    none?: UserWhereInput
  }

  export type UserDetailListRelationFilter = {
    every?: UserDetailWhereInput
    some?: UserDetailWhereInput
    none?: UserDetailWhereInput
  }

  export type RoleListRelationFilter = {
    every?: RoleWhereInput
    some?: RoleWhereInput
    none?: RoleWhereInput
  }

  export type LanguageListRelationFilter = {
    every?: LanguageWhereInput
    some?: LanguageWhereInput
    none?: LanguageWhereInput
  }

  export type MenusListRelationFilter = {
    every?: MenusWhereInput
    some?: MenusWhereInput
    none?: MenusWhereInput
  }

  export type MenuItemsListRelationFilter = {
    every?: MenuItemsWhereInput
    some?: MenuItemsWhereInput
    none?: MenuItemsWhereInput
  }

  export type NotificationTemplateListRelationFilter = {
    every?: NotificationTemplateWhereInput
    some?: NotificationTemplateWhereInput
    none?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateAssignmentListRelationFilter = {
    every?: NotificationTemplateAssignmentWhereInput
    some?: NotificationTemplateAssignmentWhereInput
    none?: NotificationTemplateAssignmentWhereInput
  }

  export type NotificationProcessJobListRelationFilter = {
    every?: NotificationProcessJobWhereInput
    some?: NotificationProcessJobWhereInput
    none?: NotificationProcessJobWhereInput
  }

  export type NotificationJobListRelationFilter = {
    every?: NotificationJobWhereInput
    some?: NotificationJobWhereInput
    none?: NotificationJobWhereInput
  }

  export type ImportTemplateListRelationFilter = {
    every?: ImportTemplateWhereInput
    some?: ImportTemplateWhereInput
    none?: ImportTemplateWhereInput
  }

  export type CarouselTemplateListRelationFilter = {
    every?: CarouselTemplateWhereInput
    some?: CarouselTemplateWhereInput
    none?: CarouselTemplateWhereInput
  }

  export type ExportTemplateListRelationFilter = {
    every?: ExportTemplateWhereInput
    some?: ExportTemplateWhereInput
    none?: ExportTemplateWhereInput
  }

  export type DepartmentListRelationFilter = {
    every?: DepartmentWhereInput
    some?: DepartmentWhereInput
    none?: DepartmentWhereInput
  }

  export type DesignationListRelationFilter = {
    every?: DesignationWhereInput
    some?: DesignationWhereInput
    none?: DesignationWhereInput
  }

  export type AuditLogListRelationFilter = {
    every?: AuditLogWhereInput
    some?: AuditLogWhereInput
    none?: AuditLogWhereInput
  }

  export type CategoryTypesListRelationFilter = {
    every?: CategoryTypesWhereInput
    some?: CategoryTypesWhereInput
    none?: CategoryTypesWhereInput
  }

  export type CategoriesListRelationFilter = {
    every?: CategoriesWhereInput
    some?: CategoriesWhereInput
    none?: CategoriesWhereInput
  }

  export type ConfigurationsListRelationFilter = {
    every?: ConfigurationsWhereInput
    some?: ConfigurationsWhereInput
    none?: ConfigurationsWhereInput
  }

  export type UserConfigurationsListRelationFilter = {
    every?: UserConfigurationsWhereInput
    some?: UserConfigurationsWhereInput
    none?: UserConfigurationsWhereInput
  }

  export type FinancialYearListRelationFilter = {
    every?: FinancialYearWhereInput
    some?: FinancialYearWhereInput
    none?: FinancialYearWhereInput
  }

  export type DocumentSequenceListRelationFilter = {
    every?: DocumentSequenceWhereInput
    some?: DocumentSequenceWhereInput
    none?: DocumentSequenceWhereInput
  }

  export type DeviceRegistrationListRelationFilter = {
    every?: DeviceRegistrationWhereInput
    some?: DeviceRegistrationWhereInput
    none?: DeviceRegistrationWhereInput
  }

  export type ImportJobListRelationFilter = {
    every?: ImportJobWhereInput
    some?: ImportJobWhereInput
    none?: ImportJobWhereInput
  }

  export type DirectImportDetailsListRelationFilter = {
    every?: DirectImportDetailsWhereInput
    some?: DirectImportDetailsWhereInput
    none?: DirectImportDetailsWhereInput
  }

  export type UserPoliciesListRelationFilter = {
    every?: UserPoliciesWhereInput
    some?: UserPoliciesWhereInput
    none?: UserPoliciesWhereInput
  }

  export type PoliciesListRelationFilter = {
    every?: PoliciesWhereInput
    some?: PoliciesWhereInput
    none?: PoliciesWhereInput
  }

  export type AppversionsListRelationFilter = {
    every?: AppversionsWhereInput
    some?: AppversionsWhereInput
    none?: AppversionsWhereInput
  }

  export type ThemesListRelationFilter = {
    every?: ThemesWhereInput
    some?: ThemesWhereInput
    none?: ThemesWhereInput
  }

  export type ThemeLineItemsListRelationFilter = {
    every?: ThemeLineItemsWhereInput
    some?: ThemeLineItemsWhereInput
    none?: ThemeLineItemsWhereInput
  }

  export type ThemeAttributesListRelationFilter = {
    every?: ThemeAttributesWhereInput
    some?: ThemeAttributesWhereInput
    none?: ThemeAttributesWhereInput
  }

  export type ChildProcessLogListRelationFilter = {
    every?: ChildProcessLogWhereInput
    some?: ChildProcessLogWhereInput
    none?: ChildProcessLogWhereInput
  }

  export type CustomerGeoFenceMappingListRelationFilter = {
    every?: CustomerGeoFenceMappingWhereInput
    some?: CustomerGeoFenceMappingWhereInput
    none?: CustomerGeoFenceMappingWhereInput
  }

  export type VehicleUserMappingListRelationFilter = {
    every?: VehicleUserMappingWhereInput
    some?: VehicleUserMappingWhereInput
    none?: VehicleUserMappingWhereInput
  }

  export type DeliveryNotesListRelationFilter = {
    every?: DeliveryNotesWhereInput
    some?: DeliveryNotesWhereInput
    none?: DeliveryNotesWhereInput
  }

  export type VehiclesGpsDataListRelationFilter = {
    every?: VehiclesGpsDataWhereInput
    some?: VehiclesGpsDataWhereInput
    none?: VehiclesGpsDataWhereInput
  }

  export type VehiclesGpsDataLogListRelationFilter = {
    every?: VehiclesGpsDataLogWhereInput
    some?: VehiclesGpsDataLogWhereInput
    none?: VehiclesGpsDataLogWhereInput
  }

  export type VehicleGeofenceHistoryListRelationFilter = {
    every?: VehicleGeofenceHistoryWhereInput
    some?: VehicleGeofenceHistoryWhereInput
    none?: VehicleGeofenceHistoryWhereInput
  }

  export type ShipmentCustomersListRelationFilter = {
    every?: ShipmentCustomersWhereInput
    some?: ShipmentCustomersWhereInput
    none?: ShipmentCustomersWhereInput
  }

  export type VehicleTripHistoriesListRelationFilter = {
    every?: VehicleTripHistoriesWhereInput
    some?: VehicleTripHistoriesWhereInput
    none?: VehicleTripHistoriesWhereInput
  }

  export type BarcodeTemplatesListRelationFilter = {
    every?: BarcodeTemplatesWhereInput
    some?: BarcodeTemplatesWhereInput
    none?: BarcodeTemplatesWhereInput
  }

  export type UserLoginHistoryListRelationFilter = {
    every?: UserLoginHistoryWhereInput
    some?: UserLoginHistoryWhereInput
    none?: UserLoginHistoryWhereInput
  }

  export type SortOrderInput = {
    sort: SortOrder
    nulls?: NullsOrder
  }

  export type RequestLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserRolesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserPermissionsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type OtpOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserDetailOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type RoleOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type LanguageOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type MenusOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type MenuItemsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateAssignmentOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationProcessJobOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationJobOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ImportTemplateOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CarouselTemplateOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ExportTemplateOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DepartmentOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DesignationOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type AuditLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CategoryTypesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CategoriesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ConfigurationsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserConfigurationsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type FinancialYearOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DocumentSequenceOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DeviceRegistrationOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ImportJobOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DirectImportDetailsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserPoliciesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type PoliciesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type AppversionsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ThemesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ThemeLineItemsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ThemeAttributesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ChildProcessLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CustomerGeoFenceMappingOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehicleUserMappingOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DeliveryNotesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehiclesGpsDataOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehiclesGpsDataLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehicleGeofenceHistoryOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentCustomersOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehicleTripHistoriesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type BarcodeTemplatesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserLoginHistoryOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type UserOrderByRelevanceInput = {
    fields: UserOrderByRelevanceFieldEnum | UserOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type UserCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type UserCompany_idEmailRoleCompoundUniqueInput = {
    company_id: number
    email: string
    role: $Enums.UserRole
  }

  export type UserCompany_idUsernameCompoundUniqueInput = {
    company_id: number
    username: string
  }

  export type UserCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type UserCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    username?: SortOrder
    email?: SortOrder
    email_verified?: SortOrder
    password?: SortOrder
    status_id?: SortOrder
    role?: SortOrder
    process_status?: SortOrder
    is_drafted?: SortOrder
    reason?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    last_login?: SortOrder
    last_login_device?: SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
  }

  export type UserAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
  }

  export type UserMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    username?: SortOrder
    email?: SortOrder
    email_verified?: SortOrder
    password?: SortOrder
    status_id?: SortOrder
    role?: SortOrder
    process_status?: SortOrder
    is_drafted?: SortOrder
    reason?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    last_login?: SortOrder
    last_login_device?: SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
  }

  export type UserMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    username?: SortOrder
    email?: SortOrder
    email_verified?: SortOrder
    password?: SortOrder
    status_id?: SortOrder
    role?: SortOrder
    process_status?: SortOrder
    is_drafted?: SortOrder
    reason?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    last_login?: SortOrder
    last_login_device?: SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
  }

  export type UserSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    allow_login_web?: SortOrder
    allow_login_mobile?: SortOrder
  }

  export type IntWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel>
    in?: number[] | ListIntFieldRefInput<$PrismaModel>
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedFloatFilter<$PrismaModel>
    _sum?: NestedIntFilter<$PrismaModel>
    _min?: NestedIntFilter<$PrismaModel>
    _max?: NestedIntFilter<$PrismaModel>
  }

  export type UuidWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedStringFilter<$PrismaModel>
    _max?: NestedStringFilter<$PrismaModel>
  }

  export type StringWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedStringFilter<$PrismaModel>
    _max?: NestedStringFilter<$PrismaModel>
  }

  export type BoolWithAggregatesFilter<$PrismaModel = never> = {
    equals?: boolean | BooleanFieldRefInput<$PrismaModel>
    not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedBoolFilter<$PrismaModel>
    _max?: NestedBoolFilter<$PrismaModel>
  }

  export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedStringNullableFilter<$PrismaModel>
    _max?: NestedStringNullableFilter<$PrismaModel>
  }

  export type EnumUserRoleWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel>
    in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumUserRoleFilter<$PrismaModel>
    _max?: NestedEnumUserRoleFilter<$PrismaModel>
  }

  export type EnumProcessStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ProcessStatus | EnumProcessStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumProcessStatusWithAggregatesFilter<$PrismaModel> | $Enums.ProcessStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumProcessStatusFilter<$PrismaModel>
    _max?: NestedEnumProcessStatusFilter<$PrismaModel>
  }

  export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel> | null
    in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedFloatNullableFilter<$PrismaModel>
    _sum?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedIntNullableFilter<$PrismaModel>
    _max?: NestedIntNullableFilter<$PrismaModel>
  }

  export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedDateTimeFilter<$PrismaModel>
    _max?: NestedDateTimeFilter<$PrismaModel>
  }

  export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedDateTimeNullableFilter<$PrismaModel>
    _max?: NestedDateTimeNullableFilter<$PrismaModel>
  }

  export type EnumGenderFilter<$PrismaModel = never> = {
    equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel>
    in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    not?: NestedEnumGenderFilter<$PrismaModel> | $Enums.Gender
  }

  export type DesignationNullableRelationFilter = {
    is?: DesignationWhereInput | null
    isNot?: DesignationWhereInput | null
  }

  export type DepartmentNullableRelationFilter = {
    is?: DepartmentWhereInput | null
    isNot?: DepartmentWhereInput | null
  }

  export type UserRelationFilter = {
    is?: UserWhereInput
    isNot?: UserWhereInput
  }

  export type UserDetailOrderByRelevanceInput = {
    fields: UserDetailOrderByRelevanceFieldEnum | UserDetailOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type UserDetailCompany_idUser_idCompoundUniqueInput = {
    company_id: number
    user_id: number
  }

  export type UserDetailCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type UserDetailCountOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    code?: SortOrder
    first_name?: SortOrder
    last_name?: SortOrder
    designation_id?: SortOrder
    department_id?: SortOrder
    profile_pic?: SortOrder
    dob?: SortOrder
    country_code?: SortOrder
    phone_number?: SortOrder
    gender?: SortOrder
    user_time_zone?: SortOrder
    address?: SortOrder
    culture?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    resident_id?: SortOrder
    passport_number?: SortOrder
  }

  export type UserDetailAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    designation_id?: SortOrder
    department_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type UserDetailMaxOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    code?: SortOrder
    first_name?: SortOrder
    last_name?: SortOrder
    designation_id?: SortOrder
    department_id?: SortOrder
    profile_pic?: SortOrder
    dob?: SortOrder
    country_code?: SortOrder
    phone_number?: SortOrder
    gender?: SortOrder
    user_time_zone?: SortOrder
    address?: SortOrder
    culture?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    resident_id?: SortOrder
    passport_number?: SortOrder
  }

  export type UserDetailMinOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    code?: SortOrder
    first_name?: SortOrder
    last_name?: SortOrder
    designation_id?: SortOrder
    department_id?: SortOrder
    profile_pic?: SortOrder
    dob?: SortOrder
    country_code?: SortOrder
    phone_number?: SortOrder
    gender?: SortOrder
    user_time_zone?: SortOrder
    address?: SortOrder
    culture?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    resident_id?: SortOrder
    passport_number?: SortOrder
  }

  export type UserDetailSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    designation_id?: SortOrder
    department_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumGenderWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel>
    in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    not?: NestedEnumGenderWithAggregatesFilter<$PrismaModel> | $Enums.Gender
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGenderFilter<$PrismaModel>
    _max?: NestedEnumGenderFilter<$PrismaModel>
  }

  export type DesignationOrderByRelevanceInput = {
    fields: DesignationOrderByRelevanceFieldEnum | DesignationOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DesignationCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DesignationCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DesignationCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type DesignationCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DesignationAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DesignationMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DesignationMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DesignationSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DepartmentOrderByRelevanceInput = {
    fields: DepartmentOrderByRelevanceFieldEnum | DepartmentOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DepartmentCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DepartmentCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DepartmentCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type DepartmentCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DepartmentAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DepartmentMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DepartmentMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    code?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DepartmentSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    department_head_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type BigIntFilter<$PrismaModel = never> = {
    equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    not?: NestedBigIntFilter<$PrismaModel> | bigint | number
  }

  export type RequestLogOrderByRelevanceInput = {
    fields: RequestLogOrderByRelevanceFieldEnum | RequestLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type RequestLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    req_body?: SortOrder
    res_status?: SortOrder
    res_code?: SortOrder
    res_message?: SortOrder
    req_response?: SortOrder
    req_headers?: SortOrder
    req_ip?: SortOrder
    req_device?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RequestLogAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    res_code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type RequestLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    req_body?: SortOrder
    res_status?: SortOrder
    res_code?: SortOrder
    res_message?: SortOrder
    req_response?: SortOrder
    req_headers?: SortOrder
    req_ip?: SortOrder
    req_device?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RequestLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    req_body?: SortOrder
    res_status?: SortOrder
    res_code?: SortOrder
    res_message?: SortOrder
    req_response?: SortOrder
    req_headers?: SortOrder
    req_ip?: SortOrder
    req_device?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RequestLogSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    res_code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
    equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedFloatFilter<$PrismaModel>
    _sum?: NestedBigIntFilter<$PrismaModel>
    _min?: NestedBigIntFilter<$PrismaModel>
    _max?: NestedBigIntFilter<$PrismaModel>
  }

  export type FinancialYearOrderByRelevanceInput = {
    fields: FinancialYearOrderByRelevanceFieldEnum | FinancialYearOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type FinancialYearCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type FinancialYearCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type FinancialYearCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type FinancialYearCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    is_freezed?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type FinancialYearAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type FinancialYearMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    is_freezed?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type FinancialYearMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    is_freezed?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type FinancialYearSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type FinancialYearNullableRelationFilter = {
    is?: FinancialYearWhereInput | null
    isNot?: FinancialYearWhereInput | null
  }

  export type DocumentSequenceOrderByRelevanceInput = {
    fields: DocumentSequenceOrderByRelevanceFieldEnum | DocumentSequenceOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DocumentSequenceCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DocumentSequenceCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DocumentSequenceCompany_idFinancial_year_idModule_nameCompoundUniqueInput = {
    company_id: number
    financial_year_id: number
    module_name: string
  }

  export type DocumentSequenceCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    module_name?: SortOrder
    financial_year_id?: SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    code_format?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DocumentSequenceAvgOrderByAggregateInput = {
    id?: SortOrder
    financial_year_id?: SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DocumentSequenceMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    module_name?: SortOrder
    financial_year_id?: SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    code_format?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DocumentSequenceMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    module_name?: SortOrder
    financial_year_id?: SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    code_format?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type DocumentSequenceSumOrderByAggregateInput = {
    id?: SortOrder
    financial_year_id?: SortOrder
    current_sequence_no?: SortOrder
    start_sequence_no?: SortOrder
    end_sequence_no?: SortOrder
    sequence_length?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type AuditLogOrderByRelevanceInput = {
    fields: AuditLogOrderByRelevanceFieldEnum | AuditLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type AuditLogCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type AuditLogCountOrderByAggregateInput = {
    id?: SortOrder
    operation_type?: SortOrder
    table_name?: SortOrder
    field_name?: SortOrder
    old_value?: SortOrder
    new_value?: SortOrder
    entity_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type AuditLogAvgOrderByAggregateInput = {
    id?: SortOrder
    entity_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type AuditLogMaxOrderByAggregateInput = {
    id?: SortOrder
    operation_type?: SortOrder
    table_name?: SortOrder
    field_name?: SortOrder
    old_value?: SortOrder
    new_value?: SortOrder
    entity_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type AuditLogMinOrderByAggregateInput = {
    id?: SortOrder
    operation_type?: SortOrder
    table_name?: SortOrder
    field_name?: SortOrder
    old_value?: SortOrder
    new_value?: SortOrder
    entity_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type AuditLogSumOrderByAggregateInput = {
    id?: SortOrder
    entity_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DecimalFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string
  }

  export type MasterEntityNullableRelationFilter = {
    is?: MasterEntityWhereInput | null
    isNot?: MasterEntityWhereInput | null
  }

  export type RolePermissionsListRelationFilter = {
    every?: RolePermissionsWhereInput
    some?: RolePermissionsWhereInput
    none?: RolePermissionsWhereInput
  }

  export type RolePermissionsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type PermissionsOrderByRelevanceInput = {
    fields: PermissionsOrderByRelevanceFieldEnum | PermissionsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type PermissionsCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type PermissionsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type PermissionsCountOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    entity_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type PermissionsAvgOrderByAggregateInput = {
    id?: SortOrder
    entity_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type PermissionsMaxOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    entity_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type PermissionsMinOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    entity_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type PermissionsSumOrderByAggregateInput = {
    id?: SortOrder
    entity_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedDecimalFilter<$PrismaModel>
    _sum?: NestedDecimalFilter<$PrismaModel>
    _min?: NestedDecimalFilter<$PrismaModel>
    _max?: NestedDecimalFilter<$PrismaModel>
  }

  export type RolePoliciesListRelationFilter = {
    every?: RolePoliciesWhereInput
    some?: RolePoliciesWhereInput
    none?: RolePoliciesWhereInput
  }

  export type RolePoliciesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type RoleOrderByRelevanceInput = {
    fields: RoleOrderByRelevanceFieldEnum | RoleOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type RoleCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type RoleCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type RoleCompany_idNameCompoundUniqueInput = {
    company_id: number
    name: string
  }

  export type RoleCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RoleAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type RoleMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RoleMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type RoleSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type RoleRelationFilter = {
    is?: RoleWhereInput
    isNot?: RoleWhereInput
  }

  export type PermissionsRelationFilter = {
    is?: PermissionsWhereInput
    isNot?: PermissionsWhereInput
  }

  export type RolePermissionsCompany_idRole_idPermission_idCompoundUniqueInput = {
    company_id: number
    role_id: number
    permission_id: number
  }

  export type RolePermissionsCountOrderByAggregateInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type RolePermissionsAvgOrderByAggregateInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type RolePermissionsMaxOrderByAggregateInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type RolePermissionsMinOrderByAggregateInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type RolePermissionsSumOrderByAggregateInput = {
    role_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserRolesCompany_idUser_idRole_idCompoundUniqueInput = {
    company_id: number
    user_id: number
    role_id: number
  }

  export type UserRolesCountOrderByAggregateInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserRolesAvgOrderByAggregateInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserRolesMaxOrderByAggregateInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserRolesMinOrderByAggregateInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserRolesSumOrderByAggregateInput = {
    user_id?: SortOrder
    role_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserPermissionsCompany_idUser_idPermission_idCompoundUniqueInput = {
    company_id: number
    user_id: number
    permission_id: number
  }

  export type UserPermissionsCountOrderByAggregateInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserPermissionsAvgOrderByAggregateInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserPermissionsMaxOrderByAggregateInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserPermissionsMinOrderByAggregateInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type UserPermissionsSumOrderByAggregateInput = {
    user_id?: SortOrder
    permission_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumOtpTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpType | EnumOtpTypeFieldRefInput<$PrismaModel>
    in?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumOtpTypeFilter<$PrismaModel> | $Enums.OtpType
  }

  export type OtpOrderByRelevanceInput = {
    fields: OtpOrderByRelevanceFieldEnum | OtpOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type OtpCountOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    otp?: SortOrder
    type?: SortOrder
    notification_template_process_slug?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    verified_at?: SortOrder
  }

  export type OtpAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
  }

  export type OtpMaxOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    otp?: SortOrder
    type?: SortOrder
    notification_template_process_slug?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    verified_at?: SortOrder
  }

  export type OtpMinOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    otp?: SortOrder
    type?: SortOrder
    notification_template_process_slug?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    verified_at?: SortOrder
  }

  export type OtpSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumOtpTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpType | EnumOtpTypeFieldRefInput<$PrismaModel>
    in?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel> | $Enums.OtpType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumOtpTypeFilter<$PrismaModel>
    _max?: NestedEnumOtpTypeFilter<$PrismaModel>
  }

  export type LanguageContentListRelationFilter = {
    every?: LanguageContentWhereInput
    some?: LanguageContentWhereInput
    none?: LanguageContentWhereInput
  }

  export type LanguageContentOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type LanguageOrderByRelevanceInput = {
    fields: LanguageOrderByRelevanceFieldEnum | LanguageOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type LanguageCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type LanguageCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type LanguageCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type LanguageCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    name_in_english?: SortOrder
    flag?: SortOrder
    code?: SortOrder
    rtl?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type LanguageAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type LanguageMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    name_in_english?: SortOrder
    flag?: SortOrder
    code?: SortOrder
    rtl?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type LanguageMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    name_in_english?: SortOrder
    flag?: SortOrder
    code?: SortOrder
    rtl?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type LanguageSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type LanguageNullableRelationFilter = {
    is?: LanguageWhereInput | null
    isNot?: LanguageWhereInput | null
  }

  export type LanguageContentOrderByRelevanceInput = {
    fields: LanguageContentOrderByRelevanceFieldEnum | LanguageContentOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type LanguageContentCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type LanguageContentCountOrderByAggregateInput = {
    id?: SortOrder
    language_id?: SortOrder
    key_content?: SortOrder
    values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type LanguageContentAvgOrderByAggregateInput = {
    id?: SortOrder
    language_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type LanguageContentMaxOrderByAggregateInput = {
    id?: SortOrder
    language_id?: SortOrder
    key_content?: SortOrder
    values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type LanguageContentMinOrderByAggregateInput = {
    id?: SortOrder
    language_id?: SortOrder
    key_content?: SortOrder
    values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type LanguageContentSumOrderByAggregateInput = {
    id?: SortOrder
    language_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type MenusOrderByRelevanceInput = {
    fields: MenusOrderByRelevanceFieldEnum | MenusOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type MenusCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type MenusCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type MenusCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenusAvgOrderByAggregateInput = {
    id?: SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type MenusMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenusMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenusSumOrderByAggregateInput = {
    id?: SortOrder
    menu_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type MenusNullableRelationFilter = {
    is?: MenusWhereInput | null
    isNot?: MenusWhereInput | null
  }

  export type PermissionsNullableRelationFilter = {
    is?: PermissionsWhereInput | null
    isNot?: PermissionsWhereInput | null
  }

  export type MenuItemsNullableRelationFilter = {
    is?: MenuItemsWhereInput | null
    isNot?: MenuItemsWhereInput | null
  }

  export type MenuItemsOrderByRelevanceInput = {
    fields: MenuItemsOrderByRelevanceFieldEnum | MenuItemsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type MenuItemsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type MenuItemsCompany_idMenu_idNameCompoundUniqueInput = {
    company_id: number
    menu_id: number
    name: string
  }

  export type MenuItemsCountOrderByAggregateInput = {
    id?: SortOrder
    menu_id?: SortOrder
    name?: SortOrder
    target?: SortOrder
    parent_id?: SortOrder
    permission_id?: SortOrder
    entity_id?: SortOrder
    link_type?: SortOrder
    order_no?: SortOrder
    menu_img?: SortOrder
    short_cut_keys?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenuItemsAvgOrderByAggregateInput = {
    id?: SortOrder
    menu_id?: SortOrder
    parent_id?: SortOrder
    permission_id?: SortOrder
    entity_id?: SortOrder
    link_type?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type MenuItemsMaxOrderByAggregateInput = {
    id?: SortOrder
    menu_id?: SortOrder
    name?: SortOrder
    target?: SortOrder
    parent_id?: SortOrder
    permission_id?: SortOrder
    entity_id?: SortOrder
    link_type?: SortOrder
    order_no?: SortOrder
    menu_img?: SortOrder
    short_cut_keys?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenuItemsMinOrderByAggregateInput = {
    id?: SortOrder
    menu_id?: SortOrder
    name?: SortOrder
    target?: SortOrder
    parent_id?: SortOrder
    permission_id?: SortOrder
    entity_id?: SortOrder
    link_type?: SortOrder
    order_no?: SortOrder
    menu_img?: SortOrder
    short_cut_keys?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MenuItemsSumOrderByAggregateInput = {
    id?: SortOrder
    menu_id?: SortOrder
    parent_id?: SortOrder
    permission_id?: SortOrder
    entity_id?: SortOrder
    link_type?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ActionTypeOrderByRelevanceInput = {
    fields: ActionTypeOrderByRelevanceFieldEnum | ActionTypeOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ActionTypeCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ActionTypeCountOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type ActionTypeAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type ActionTypeMaxOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type ActionTypeMinOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type ActionTypeSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type EntityTypeOrderByRelevanceInput = {
    fields: EntityTypeOrderByRelevanceFieldEnum | EntityTypeOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type EntityTypeCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type EntityTypeCountOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type EntityTypeAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type EntityTypeMaxOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type EntityTypeMinOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type EntityTypeSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type WizardGroupOrderByRelevanceInput = {
    fields: WizardGroupOrderByRelevanceFieldEnum | WizardGroupOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type WizardGroupCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type WizardGroupCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type WizardGroupCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type WizardGroupAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type WizardGroupMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type WizardGroupMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type WizardGroupSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type WizardTypeOrderByRelevanceInput = {
    fields: WizardTypeOrderByRelevanceFieldEnum | WizardTypeOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type WizardTypeCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type WizardTypeCompany_idNameCompoundUniqueInput = {
    company_id: number
    name: string
  }

  export type WizardTypeCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type WizardTypeAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type WizardTypeMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type WizardTypeMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
  }

  export type WizardTypeSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumaboutTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.aboutType | EnumaboutTypeFieldRefInput<$PrismaModel>
    in?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumaboutTypeFilter<$PrismaModel> | $Enums.aboutType
  }

  export type DecimalNullableFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null
  }

  export type AboutLCPOrderByRelevanceInput = {
    fields: AboutLCPOrderByRelevanceFieldEnum | AboutLCPOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type AboutLCPCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type AboutLCPCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    type?: SortOrder
    name?: SortOrder
    description?: SortOrder
    order_no?: SortOrder
    documentation_video_url?: SortOrder
    documentation_pdf?: SortOrder
    documentation_word?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type AboutLCPAvgOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type AboutLCPMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    type?: SortOrder
    name?: SortOrder
    description?: SortOrder
    order_no?: SortOrder
    documentation_video_url?: SortOrder
    documentation_pdf?: SortOrder
    documentation_word?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type AboutLCPMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    type?: SortOrder
    name?: SortOrder
    description?: SortOrder
    order_no?: SortOrder
    documentation_video_url?: SortOrder
    documentation_pdf?: SortOrder
    documentation_word?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type AboutLCPSumOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumaboutTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.aboutType | EnumaboutTypeFieldRefInput<$PrismaModel>
    in?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumaboutTypeWithAggregatesFilter<$PrismaModel> | $Enums.aboutType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumaboutTypeFilter<$PrismaModel>
    _max?: NestedEnumaboutTypeFilter<$PrismaModel>
  }

  export type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedDecimalNullableFilter<$PrismaModel>
    _sum?: NestedDecimalNullableFilter<$PrismaModel>
    _min?: NestedDecimalNullableFilter<$PrismaModel>
    _max?: NestedDecimalNullableFilter<$PrismaModel>
  }
  export type JsonNullableFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
        Required<JsonNullableFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>

  export type JsonNullableFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
  }

  export type userSearchConfigurationOrderByRelevanceInput = {
    fields: userSearchConfigurationOrderByRelevanceFieldEnum | userSearchConfigurationOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type userSearchConfigurationCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type userSearchConfigurationCompany_idUser_idEntity_slugView_nameCompoundUniqueInput = {
    company_id: number
    user_id: number
    entity_slug: string
    view_name: string
  }

  export type userSearchConfigurationCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    entity_slug?: SortOrder
    view_name?: SortOrder
    is_default?: SortOrder
    search_values?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type userSearchConfigurationAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type userSearchConfigurationMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    entity_slug?: SortOrder
    view_name?: SortOrder
    is_default?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type userSearchConfigurationMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    entity_slug?: SortOrder
    view_name?: SortOrder
    is_default?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type userSearchConfigurationSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }
  export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
        Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>

  export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedJsonNullableFilter<$PrismaModel>
    _max?: NestedJsonNullableFilter<$PrismaModel>
  }

  export type EnumReportTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType
  }

  export type MasterEntityListRelationFilter = {
    every?: MasterEntityWhereInput
    some?: MasterEntityWhereInput
    none?: MasterEntityWhereInput
  }

  export type PermissionsListRelationFilter = {
    every?: PermissionsWhereInput
    some?: PermissionsWhereInput
    none?: PermissionsWhereInput
  }

  export type MasterEntityLineItemListRelationFilter = {
    every?: MasterEntityLineItemWhereInput
    some?: MasterEntityLineItemWhereInput
    none?: MasterEntityLineItemWhereInput
  }

  export type MasterEntityOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type PermissionsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type MasterEntityLineItemOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type MasterEntityOrderByRelevanceInput = {
    fields: MasterEntityOrderByRelevanceFieldEnum | MasterEntityOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type MasterEntityCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type MasterEntityCompany_idEntity_nameCompoundUniqueInput = {
    company_id: number
    entity_name: string
  }

  export type MasterEntityCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    entity_name?: SortOrder
    entity_type?: SortOrder
    report_type?: SortOrder
    primary_table?: SortOrder
    is_admin_module?: SortOrder
    draft_mode?: SortOrder
    associated_tables?: SortOrder
    associated_entity_name?: SortOrder
    query_information?: SortOrder
    form_information?: SortOrder
    report_information?: SortOrder
    add_query_information?: SortOrder
    edit_query_information?: SortOrder
    preset_query_information?: SortOrder
    static_page_content?: SortOrder
    header_entity_id?: SortOrder
    footer_entity_id?: SortOrder
    export_template_id?: SortOrder
    export_template_file_name?: SortOrder
    dashboard_wizard_group_id?: SortOrder
    dashboard_wizard_type?: SortOrder
    dashboard_wizard_rows?: SortOrder
    dashboard_wizard_columns?: SortOrder
    dashboard_wizard_order_no?: SortOrder
    dashboard_wizard_options?: SortOrder
    dashboard_grid?: SortOrder
    reload_timeout?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MasterEntityAvgOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    dashboard_wizard_group_id?: SortOrder
    dashboard_wizard_rows?: SortOrder
    dashboard_wizard_columns?: SortOrder
    dashboard_wizard_order_no?: SortOrder
    reload_timeout?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type MasterEntityMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    entity_name?: SortOrder
    entity_type?: SortOrder
    report_type?: SortOrder
    primary_table?: SortOrder
    is_admin_module?: SortOrder
    draft_mode?: SortOrder
    associated_entity_name?: SortOrder
    static_page_content?: SortOrder
    header_entity_id?: SortOrder
    footer_entity_id?: SortOrder
    export_template_id?: SortOrder
    export_template_file_name?: SortOrder
    dashboard_wizard_group_id?: SortOrder
    dashboard_wizard_type?: SortOrder
    dashboard_wizard_rows?: SortOrder
    dashboard_wizard_columns?: SortOrder
    dashboard_wizard_order_no?: SortOrder
    dashboard_grid?: SortOrder
    reload_timeout?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MasterEntityMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    entity_name?: SortOrder
    entity_type?: SortOrder
    report_type?: SortOrder
    primary_table?: SortOrder
    is_admin_module?: SortOrder
    draft_mode?: SortOrder
    associated_entity_name?: SortOrder
    static_page_content?: SortOrder
    header_entity_id?: SortOrder
    footer_entity_id?: SortOrder
    export_template_id?: SortOrder
    export_template_file_name?: SortOrder
    dashboard_wizard_group_id?: SortOrder
    dashboard_wizard_type?: SortOrder
    dashboard_wizard_rows?: SortOrder
    dashboard_wizard_columns?: SortOrder
    dashboard_wizard_order_no?: SortOrder
    dashboard_grid?: SortOrder
    reload_timeout?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type MasterEntitySumOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    dashboard_wizard_group_id?: SortOrder
    dashboard_wizard_rows?: SortOrder
    dashboard_wizard_columns?: SortOrder
    dashboard_wizard_order_no?: SortOrder
    reload_timeout?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumReportTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumReportTypeFilter<$PrismaModel>
    _max?: NestedEnumReportTypeFilter<$PrismaModel>
  }

  export type EnumClauseTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ClauseType | EnumClauseTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumClauseTypeFilter<$PrismaModel> | $Enums.ClauseType
  }

  export type MasterEntityRelationFilter = {
    is?: MasterEntityWhereInput
    isNot?: MasterEntityWhereInput
  }

  export type FieldTypeNullableRelationFilter = {
    is?: FieldTypeWhereInput | null
    isNot?: FieldTypeWhereInput | null
  }

  export type MasterEntityLineItemOrderByRelevanceInput = {
    fields: MasterEntityLineItemOrderByRelevanceFieldEnum | MasterEntityLineItemOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type MasterEntityLineItemCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type MasterEntityLineItemCompany_idMaster_grid_idField_nameDisplay_nameCompoundUniqueInput = {
    company_id: number
    master_grid_id: number
    field_name: string
    display_name: string
  }

  export type MasterEntityLineItemCountOrderByAggregateInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_html_content?: SortOrder
    enum_values?: SortOrder
    order_no?: SortOrder
    is_grid_column?: SortOrder
    is_searchable?: SortOrder
    clause_type?: SortOrder
    is_sortable?: SortOrder
    field_type_id?: SortOrder
    link_type?: SortOrder
    link_action?: SortOrder
    link_mode?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type MasterEntityLineItemAvgOrderByAggregateInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    order_no?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type MasterEntityLineItemMaxOrderByAggregateInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_html_content?: SortOrder
    order_no?: SortOrder
    is_grid_column?: SortOrder
    is_searchable?: SortOrder
    clause_type?: SortOrder
    is_sortable?: SortOrder
    field_type_id?: SortOrder
    link_type?: SortOrder
    link_action?: SortOrder
    link_mode?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type MasterEntityLineItemMinOrderByAggregateInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_html_content?: SortOrder
    order_no?: SortOrder
    is_grid_column?: SortOrder
    is_searchable?: SortOrder
    clause_type?: SortOrder
    is_sortable?: SortOrder
    field_type_id?: SortOrder
    link_type?: SortOrder
    link_action?: SortOrder
    link_mode?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type MasterEntityLineItemSumOrderByAggregateInput = {
    id?: SortOrder
    master_grid_id?: SortOrder
    order_no?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumClauseTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ClauseType | EnumClauseTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumClauseTypeWithAggregatesFilter<$PrismaModel> | $Enums.ClauseType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumClauseTypeFilter<$PrismaModel>
    _max?: NestedEnumClauseTypeFilter<$PrismaModel>
  }

  export type ImportTemplateLineItemListRelationFilter = {
    every?: ImportTemplateLineItemWhereInput
    some?: ImportTemplateLineItemWhereInput
    none?: ImportTemplateLineItemWhereInput
  }

  export type ExportTemplateLineItemListRelationFilter = {
    every?: ExportTemplateLineItemWhereInput
    some?: ExportTemplateLineItemWhereInput
    none?: ExportTemplateLineItemWhereInput
  }

  export type ImportTemplateLineItemOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ExportTemplateLineItemOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type FieldTypeOrderByRelevanceInput = {
    fields: FieldTypeOrderByRelevanceFieldEnum | FieldTypeOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type FieldTypeCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type FieldTypeCountOrderByAggregateInput = {
    id?: SortOrder
    field_type?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
  }

  export type FieldTypeAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type FieldTypeMaxOrderByAggregateInput = {
    id?: SortOrder
    field_type?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
  }

  export type FieldTypeMinOrderByAggregateInput = {
    id?: SortOrder
    field_type?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
  }

  export type FieldTypeSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type menuTypeOrderByRelevanceInput = {
    fields: menuTypeOrderByRelevanceFieldEnum | menuTypeOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type menuTypeCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type menuTypeCountOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type menuTypeAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type menuTypeMaxOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type menuTypeMinOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type menuTypeSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumNotificationTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.NotificationType | EnumNotificationTypeFieldRefInput<$PrismaModel>
    in?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumNotificationTypeFilter<$PrismaModel> | $Enums.NotificationType
  }

  export type NotificationTemplateProcessTagsMappingListRelationFilter = {
    every?: NotificationTemplateProcessTagsMappingWhereInput
    some?: NotificationTemplateProcessTagsMappingWhereInput
    none?: NotificationTemplateProcessTagsMappingWhereInput
  }

  export type NotificationTemplateProcessTagsMappingOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateProcessOrderByRelevanceInput = {
    fields: NotificationTemplateProcessOrderByRelevanceFieldEnum | NotificationTemplateProcessOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationTemplateProcessCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type NotificationTemplateProcessCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type NotificationTemplateProcessCompany_idSlugNotification_typeCompoundUniqueInput = {
    company_id: number
    slug: string
    notification_type: $Enums.NotificationType
  }

  export type NotificationTemplateProcessCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    notification_type?: SortOrder
  }

  export type NotificationTemplateProcessAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    notification_type?: SortOrder
  }

  export type NotificationTemplateProcessMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    notification_type?: SortOrder
  }

  export type NotificationTemplateProcessSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumNotificationTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.NotificationType | EnumNotificationTypeFieldRefInput<$PrismaModel>
    in?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumNotificationTypeFilter<$PrismaModel>
    _max?: NestedEnumNotificationTypeFilter<$PrismaModel>
  }

  export type NotificationTemplateTagOrderByRelevanceInput = {
    fields: NotificationTemplateTagOrderByRelevanceFieldEnum | NotificationTemplateTagOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationTemplateTagCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type NotificationTemplateTagCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type NotificationTemplateTagCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateTagAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateTagMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateTagMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateTagSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateRecipientTagOrderByRelevanceInput = {
    fields: NotificationTemplateRecipientTagOrderByRelevanceFieldEnum | NotificationTemplateRecipientTagOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationTemplateRecipientTagCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type NotificationTemplateRecipientTagCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type NotificationTemplateRecipientTagCompany_idSlugNotification_typeCompoundUniqueInput = {
    company_id: number
    slug: string
    notification_type: $Enums.NotificationType
  }

  export type NotificationTemplateRecipientTagCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    notification_type?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateRecipientTagAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateRecipientTagMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    notification_type?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateRecipientTagMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    notification_type?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateRecipientTagSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessRelationFilter = {
    is?: NotificationTemplateProcessWhereInput
    isNot?: NotificationTemplateProcessWhereInput
  }

  export type NotificationTemplateTagRelationFilter = {
    is?: NotificationTemplateTagWhereInput
    isNot?: NotificationTemplateTagWhereInput
  }

  export type NotificationTemplateProcessTagsMappingNotification_template_process_idNotification_template_tag_idCompany_idCompoundUniqueInput = {
    notification_template_process_id: number
    notification_template_tag_id: number
    company_id: number
  }

  export type NotificationTemplateProcessTagsMappingCountOrderByAggregateInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessTagsMappingAvgOrderByAggregateInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessTagsMappingMaxOrderByAggregateInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessTagsMappingMinOrderByAggregateInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateProcessTagsMappingSumOrderByAggregateInput = {
    notification_template_process_id?: SortOrder
    notification_template_tag_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalWorkflowAssignmentListRelationFilter = {
    every?: ApprovalWorkflowAssignmentWhereInput
    some?: ApprovalWorkflowAssignmentWhereInput
    none?: ApprovalWorkflowAssignmentWhereInput
  }

  export type ApprovalWorkflowAssignmentOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateOrderByRelevanceInput = {
    fields: NotificationTemplateOrderByRelevanceFieldEnum | NotificationTemplateOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationTemplateCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type NotificationTemplateCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type NotificationTemplateCompany_idSlugNotification_typeCompoundUniqueInput = {
    company_id: number
    slug: string
    notification_type: $Enums.NotificationType
  }

  export type NotificationTemplateCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    email_subject?: SortOrder
    message?: SortOrder
    components?: SortOrder
    parameter_format?: SortOrder
    category?: SortOrder
    language?: SortOrder
    email_body?: SortOrder
    notification_template_process_id?: SortOrder
    notification_type?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_at?: SortOrder
    updated_by?: SortOrder
    deleted_at?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateAvgOrderByAggregateInput = {
    id?: SortOrder
    notification_template_process_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    email_subject?: SortOrder
    message?: SortOrder
    parameter_format?: SortOrder
    category?: SortOrder
    language?: SortOrder
    email_body?: SortOrder
    notification_template_process_id?: SortOrder
    notification_type?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_at?: SortOrder
    updated_by?: SortOrder
    deleted_at?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    email_subject?: SortOrder
    message?: SortOrder
    parameter_format?: SortOrder
    category?: SortOrder
    language?: SortOrder
    email_body?: SortOrder
    notification_template_process_id?: SortOrder
    notification_type?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_at?: SortOrder
    updated_by?: SortOrder
    deleted_at?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type NotificationTemplateSumOrderByAggregateInput = {
    id?: SortOrder
    notification_template_process_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type EnumRecipientTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.RecipientType | EnumRecipientTypeFieldRefInput<$PrismaModel>
    in?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumRecipientTypeFilter<$PrismaModel> | $Enums.RecipientType
  }

  export type NotificationTemplateRelationFilter = {
    is?: NotificationTemplateWhereInput
    isNot?: NotificationTemplateWhereInput
  }

  export type EmailTemplateCcBccListRelationFilter = {
    every?: EmailTemplateCcBccWhereInput
    some?: EmailTemplateCcBccWhereInput
    none?: EmailTemplateCcBccWhereInput
  }

  export type EmailTemplateCcBccOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateAssignmentOrderByRelevanceInput = {
    fields: NotificationTemplateAssignmentOrderByRelevanceFieldEnum | NotificationTemplateAssignmentOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationTemplateAssignmentCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    recipient_type?: SortOrder
    notification_to?: SortOrder
    notification_type?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationTemplateAssignmentAvgOrderByAggregateInput = {
    id?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationTemplateAssignmentMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    recipient_type?: SortOrder
    notification_to?: SortOrder
    notification_type?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationTemplateAssignmentMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    recipient_type?: SortOrder
    notification_to?: SortOrder
    notification_type?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationTemplateAssignmentSumOrderByAggregateInput = {
    id?: SortOrder
    notification_template_process_id?: SortOrder
    template_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
  }

  export type EnumRecipientTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.RecipientType | EnumRecipientTypeFieldRefInput<$PrismaModel>
    in?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumRecipientTypeWithAggregatesFilter<$PrismaModel> | $Enums.RecipientType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumRecipientTypeFilter<$PrismaModel>
    _max?: NestedEnumRecipientTypeFilter<$PrismaModel>
  }

  export type EnumsendMailTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.sendMailType | EnumsendMailTypeFieldRefInput<$PrismaModel>
    in?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumsendMailTypeFilter<$PrismaModel> | $Enums.sendMailType
  }

  export type NotificationTemplateAssignmentRelationFilter = {
    is?: NotificationTemplateAssignmentWhereInput
    isNot?: NotificationTemplateAssignmentWhereInput
  }

  export type EmailTemplateCcBccOrderByRelevanceInput = {
    fields: EmailTemplateCcBccOrderByRelevanceFieldEnum | EmailTemplateCcBccOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type EmailTemplateCcBccEmail_template_assignment_idSend_typeRecipient_typeEmail_toCompoundUniqueInput = {
    email_template_assignment_id: number
    send_type: $Enums.sendMailType
    recipient_type: $Enums.RecipientType
    email_to: string
  }

  export type EmailTemplateCcBccCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    send_type?: SortOrder
    recipient_type?: SortOrder
    email_to?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
  }

  export type EmailTemplateCcBccAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
  }

  export type EmailTemplateCcBccMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    send_type?: SortOrder
    recipient_type?: SortOrder
    email_to?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
  }

  export type EmailTemplateCcBccMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    send_type?: SortOrder
    recipient_type?: SortOrder
    email_to?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
  }

  export type EmailTemplateCcBccSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    email_template_assignment_id?: SortOrder
  }

  export type EnumsendMailTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.sendMailType | EnumsendMailTypeFieldRefInput<$PrismaModel>
    in?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumsendMailTypeWithAggregatesFilter<$PrismaModel> | $Enums.sendMailType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumsendMailTypeFilter<$PrismaModel>
    _max?: NestedEnumsendMailTypeFilter<$PrismaModel>
  }

  export type NotificationProcessJobOrderByRelevanceInput = {
    fields: NotificationProcessJobOrderByRelevanceFieldEnum | NotificationProcessJobOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationProcessJobCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_slug?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    notification_type?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationProcessJobAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationProcessJobMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_slug?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    notification_type?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationProcessJobMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    notification_template_process_slug?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    notification_type?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationProcessJobSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationJobOrderByRelevanceInput = {
    fields: NotificationJobOrderByRelevanceFieldEnum | NotificationJobOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type NotificationJobCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    process_slug?: SortOrder
    notification_to?: SortOrder
    notification_subject?: SortOrder
    notification_content?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    notification_cc?: SortOrder
    notification_bcc?: SortOrder
    notification_type_id?: SortOrder
    notification_status_id?: SortOrder
    notification_type?: SortOrder
    whatsapp_notification_data?: SortOrder
    last_attempt_message?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    created_by?: SortOrder
    sent_at?: SortOrder
    read_at?: SortOrder
  }

  export type NotificationJobAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_by?: SortOrder
  }

  export type NotificationJobMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    process_slug?: SortOrder
    notification_to?: SortOrder
    notification_subject?: SortOrder
    notification_content?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    notification_cc?: SortOrder
    notification_bcc?: SortOrder
    notification_type_id?: SortOrder
    notification_status_id?: SortOrder
    notification_type?: SortOrder
    last_attempt_message?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    created_by?: SortOrder
    sent_at?: SortOrder
    read_at?: SortOrder
  }

  export type NotificationJobMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    process_slug?: SortOrder
    notification_to?: SortOrder
    notification_subject?: SortOrder
    notification_content?: SortOrder
    attachments_path?: SortOrder
    attachments_name?: SortOrder
    notification_cc?: SortOrder
    notification_bcc?: SortOrder
    notification_type_id?: SortOrder
    notification_status_id?: SortOrder
    notification_type?: SortOrder
    last_attempt_message?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    created_by?: SortOrder
    sent_at?: SortOrder
    read_at?: SortOrder
  }

  export type NotificationJobSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    no_of_attempts?: SortOrder
    created_by?: SortOrder
  }

  export type CarouselTemplateLineItemListRelationFilter = {
    every?: CarouselTemplateLineItemWhereInput
    some?: CarouselTemplateLineItemWhereInput
    none?: CarouselTemplateLineItemWhereInput
  }

  export type CarouselTemplateLineItemOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CarouselTemplateOrderByRelevanceInput = {
    fields: CarouselTemplateOrderByRelevanceFieldEnum | CarouselTemplateOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CarouselTemplateCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CarouselTemplateCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type CarouselTemplateCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type CarouselTemplateAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CarouselTemplateMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type CarouselTemplateMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type CarouselTemplateSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CarouselTemplateRelationFilter = {
    is?: CarouselTemplateWhereInput
    isNot?: CarouselTemplateWhereInput
  }

  export type CarouselTemplateLineItemOrderByRelevanceInput = {
    fields: CarouselTemplateLineItemOrderByRelevanceFieldEnum | CarouselTemplateLineItemOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CarouselTemplateLineItemCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CarouselTemplateLineItemCompany_idCarousel_template_idSlugCompoundUniqueInput = {
    company_id: number
    carousel_template_id: number
    slug: string
  }

  export type CarouselTemplateLineItemCountOrderByAggregateInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    image_url?: SortOrder
    video_url?: SortOrder
    clickable_link?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type CarouselTemplateLineItemAvgOrderByAggregateInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type CarouselTemplateLineItemMaxOrderByAggregateInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    image_url?: SortOrder
    video_url?: SortOrder
    clickable_link?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type CarouselTemplateLineItemMinOrderByAggregateInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    image_url?: SortOrder
    video_url?: SortOrder
    clickable_link?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type CarouselTemplateLineItemSumOrderByAggregateInput = {
    id?: SortOrder
    carousel_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportTemplateQueriesListRelationFilter = {
    every?: ImportTemplateQueriesWhereInput
    some?: ImportTemplateQueriesWhereInput
    none?: ImportTemplateQueriesWhereInput
  }

  export type ImportTemplateQueriesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ImportTemplateOrderByRelevanceInput = {
    fields: ImportTemplateOrderByRelevanceFieldEnum | ImportTemplateOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ImportTemplateCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ImportTemplateCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type ImportTemplateCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    ignore_error_rows?: SortOrder
    is_admin_module?: SortOrder
    is_send_mail?: SortOrder
    email_process_slug?: SortOrder
    job_type?: SortOrder
    batch_process_count?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportTemplateAvgOrderByAggregateInput = {
    id?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    batch_process_count?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ImportTemplateMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    ignore_error_rows?: SortOrder
    is_admin_module?: SortOrder
    is_send_mail?: SortOrder
    email_process_slug?: SortOrder
    job_type?: SortOrder
    batch_process_count?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportTemplateMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    ignore_error_rows?: SortOrder
    is_admin_module?: SortOrder
    is_send_mail?: SortOrder
    email_process_slug?: SortOrder
    job_type?: SortOrder
    batch_process_count?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportTemplateSumOrderByAggregateInput = {
    id?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    batch_process_count?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ImportTemplateRelationFilter = {
    is?: ImportTemplateWhereInput
    isNot?: ImportTemplateWhereInput
  }

  export type ImportTemplateLineItemOrderByRelevanceInput = {
    fields: ImportTemplateLineItemOrderByRelevanceFieldEnum | ImportTemplateLineItemOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ImportTemplateLineItemCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ImportTemplateLineItemCompany_idImport_template_idField_tableField_nameCompoundUniqueInput = {
    company_id: number
    import_template_id: number
    field_table: string
    field_name: string
  }

  export type ImportTemplateLineItemCompany_idImport_template_idDisplay_nameCompoundUniqueInput = {
    company_id: number
    import_template_id: number
    display_name: string
  }

  export type ImportTemplateLineItemCountOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    width?: SortOrder
    default_value?: SortOrder
    check_reg_exp?: SortOrder
    is_nullable?: SortOrder
    is_unique?: SortOrder
    is_foreign?: SortOrder
    unique_query?: SortOrder
    foreign_query?: SortOrder
    is_enum?: SortOrder
    is_multiple?: SortOrder
    enum_values?: SortOrder
    expression_rules?: SortOrder
    query_rules?: SortOrder
    foreign_table?: SortOrder
    foreign_column?: SortOrder
    foreign_can_create?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateLineItemAvgOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    order_no?: SortOrder
    width?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportTemplateLineItemMaxOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    width?: SortOrder
    default_value?: SortOrder
    check_reg_exp?: SortOrder
    is_nullable?: SortOrder
    is_unique?: SortOrder
    is_foreign?: SortOrder
    unique_query?: SortOrder
    foreign_query?: SortOrder
    is_enum?: SortOrder
    is_multiple?: SortOrder
    enum_values?: SortOrder
    foreign_table?: SortOrder
    foreign_column?: SortOrder
    foreign_can_create?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateLineItemMinOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    width?: SortOrder
    default_value?: SortOrder
    check_reg_exp?: SortOrder
    is_nullable?: SortOrder
    is_unique?: SortOrder
    is_foreign?: SortOrder
    unique_query?: SortOrder
    foreign_query?: SortOrder
    is_enum?: SortOrder
    is_multiple?: SortOrder
    enum_values?: SortOrder
    foreign_table?: SortOrder
    foreign_column?: SortOrder
    foreign_can_create?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateLineItemSumOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    order_no?: SortOrder
    width?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportTemplateQueriesOrderByRelevanceInput = {
    fields: ImportTemplateQueriesOrderByRelevanceFieldEnum | ImportTemplateQueriesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ImportTemplateQueriesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ImportTemplateQueriesCountOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    allow_multiple?: SortOrder
    is_individual?: SortOrder
    before_lineitems?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateQueriesAvgOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportTemplateQueriesMaxOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    allow_multiple?: SortOrder
    is_individual?: SortOrder
    before_lineitems?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateQueriesMinOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    allow_multiple?: SortOrder
    is_individual?: SortOrder
    before_lineitems?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ImportTemplateQueriesSumOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportTemplateNullableRelationFilter = {
    is?: ImportTemplateWhereInput | null
    isNot?: ImportTemplateWhereInput | null
  }

  export type DirectImportDetailsOrderByRelevanceInput = {
    fields: DirectImportDetailsOrderByRelevanceFieldEnum | DirectImportDetailsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DirectImportDetailsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DirectImportDetailsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DirectImportDetailsAvgOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DirectImportDetailsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DirectImportDetailsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DirectImportDetailsSumOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ImportJobLineItemListRelationFilter = {
    every?: ImportJobLineItemWhereInput
    some?: ImportJobLineItemWhereInput
    none?: ImportJobLineItemWhereInput
  }

  export type ImportJobLineItemOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ImportJobOrderByRelevanceInput = {
    fields: ImportJobOrderByRelevanceFieldEnum | ImportJobOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ImportJobCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ImportJobCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    sequence_number?: SortOrder
    ignore_error_rows?: SortOrder
    header_details?: SortOrder
    table_config?: SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrder
    job_status?: SortOrder
    last_processed_row_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    validation_started_at?: SortOrder
    validation_completed_at?: SortOrder
    processing_started_at?: SortOrder
    processing_completed_at?: SortOrder
    expected_completion_time?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportJobAvgOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrder
    last_processed_row_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ImportJobMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    sequence_number?: SortOrder
    ignore_error_rows?: SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrder
    job_status?: SortOrder
    last_processed_row_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    validation_started_at?: SortOrder
    validation_completed_at?: SortOrder
    processing_started_at?: SortOrder
    processing_completed_at?: SortOrder
    expected_completion_time?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportJobMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    import_template_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    sequence_number?: SortOrder
    ignore_error_rows?: SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrder
    job_status?: SortOrder
    last_processed_row_id?: SortOrder
    file_path?: SortOrder
    file_name?: SortOrder
    validation_started_at?: SortOrder
    validation_completed_at?: SortOrder
    processing_started_at?: SortOrder
    processing_completed_at?: SortOrder
    expected_completion_time?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ImportJobSumOrderByAggregateInput = {
    id?: SortOrder
    import_template_id?: SortOrder
    total_rows?: SortOrder
    completed_rows?: SortOrder
    error_rows?: SortOrder
    batch_process_count?: SortOrder
    last_processed_row_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ImportJobRelationFilter = {
    is?: ImportJobWhereInput
    isNot?: ImportJobWhereInput
  }

  export type ImportJobLineItemOrderByRelevanceInput = {
    fields: ImportJobLineItemOrderByRelevanceFieldEnum | ImportJobLineItemOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ImportJobLineItemCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ImportJobLineItemCountOrderByAggregateInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    row_object?: SortOrder
    job_status?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    validated_at?: SortOrder
    processed_at?: SortOrder
  }

  export type ImportJobLineItemAvgOrderByAggregateInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ImportJobLineItemMaxOrderByAggregateInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    job_status?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    validated_at?: SortOrder
    processed_at?: SortOrder
  }

  export type ImportJobLineItemMinOrderByAggregateInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    job_status?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    validated_at?: SortOrder
    processed_at?: SortOrder
  }

  export type ImportJobLineItemSumOrderByAggregateInput = {
    id?: SortOrder
    import_job_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumTemplateTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.TemplateType | EnumTemplateTypeFieldRefInput<$PrismaModel>
    in?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumTemplateTypeFilter<$PrismaModel> | $Enums.TemplateType
  }

  export type ExportTemplateQueriesListRelationFilter = {
    every?: ExportTemplateQueriesWhereInput
    some?: ExportTemplateQueriesWhereInput
    none?: ExportTemplateQueriesWhereInput
  }

  export type ExportTemplateQueriesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ExportTemplateOrderByRelevanceInput = {
    fields: ExportTemplateOrderByRelevanceFieldEnum | ExportTemplateOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ExportTemplateCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ExportTemplateCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type ExportTemplateCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    data_filepath?: SortOrder
    template_type?: SortOrder
    pdf_configurations?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ExportTemplateAvgOrderByAggregateInput = {
    id?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ExportTemplateMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    data_filepath?: SortOrder
    template_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ExportTemplateMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    data_filepath?: SortOrder
    template_type?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ExportTemplateSumOrderByAggregateInput = {
    id?: SortOrder
    max_row_count?: SortOrder
    header_row?: SortOrder
    data_start_row?: SortOrder
    data_end_row?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumTemplateTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.TemplateType | EnumTemplateTypeFieldRefInput<$PrismaModel>
    in?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumTemplateTypeWithAggregatesFilter<$PrismaModel> | $Enums.TemplateType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumTemplateTypeFilter<$PrismaModel>
    _max?: NestedEnumTemplateTypeFilter<$PrismaModel>
  }

  export type ExportTemplateRelationFilter = {
    is?: ExportTemplateWhereInput
    isNot?: ExportTemplateWhereInput
  }

  export type ExportTemplateLineItemOrderByRelevanceInput = {
    fields: ExportTemplateLineItemOrderByRelevanceFieldEnum | ExportTemplateLineItemOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ExportTemplateLineItemCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ExportTemplateLineItemCompany_idExport_template_idField_tableField_nameCompoundUniqueInput = {
    company_id: number
    export_template_id: number
    field_table: string
    field_name: string
  }

  export type ExportTemplateLineItemCompany_idExport_template_idDisplay_nameCompoundUniqueInput = {
    company_id: number
    export_template_id: number
    display_name: string
  }

  export type ExportTemplateLineItemCountOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    default_value?: SortOrder
    column_name?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateLineItemAvgOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    order_no?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ExportTemplateLineItemMaxOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    default_value?: SortOrder
    column_name?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateLineItemMinOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    field_name?: SortOrder
    display_name?: SortOrder
    field_table?: SortOrder
    order_no?: SortOrder
    default_value?: SortOrder
    column_name?: SortOrder
    is_individual?: SortOrder
    individual_column?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateLineItemSumOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    order_no?: SortOrder
    field_type_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ExportTemplateQueriesOrderByRelevanceInput = {
    fields: ExportTemplateQueriesOrderByRelevanceFieldEnum | ExportTemplateQueriesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ExportTemplateQueriesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ExportTemplateQueriesCountOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    query_procedure?: SortOrder
    is_individual?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateQueriesAvgOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ExportTemplateQueriesMaxOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    query_procedure?: SortOrder
    is_individual?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateQueriesMinOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    query_string?: SortOrder
    query_name?: SortOrder
    query_procedure?: SortOrder
    is_individual?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type ExportTemplateQueriesSumOrderByAggregateInput = {
    id?: SortOrder
    export_template_id?: SortOrder
    order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type StatusNullableRelationFilter = {
    is?: StatusWhereInput | null
    isNot?: StatusWhereInput | null
  }

  export type StatusListRelationFilter = {
    every?: StatusWhereInput
    some?: StatusWhereInput
    none?: StatusWhereInput
  }

  export type ShipmentImagesListRelationFilter = {
    every?: ShipmentImagesWhereInput
    some?: ShipmentImagesWhereInput
    none?: ShipmentImagesWhereInput
  }

  export type FieldTypeListRelationFilter = {
    every?: FieldTypeWhereInput
    some?: FieldTypeWhereInput
    none?: FieldTypeWhereInput
  }

  export type MenuTypeListRelationFilter = {
    every?: menuTypeWhereInput
    some?: menuTypeWhereInput
    none?: menuTypeWhereInput
  }

  export type NotificationTemplateProcessListRelationFilter = {
    every?: NotificationTemplateProcessWhereInput
    some?: NotificationTemplateProcessWhereInput
    none?: NotificationTemplateProcessWhereInput
  }

  export type NotificationTemplateTagListRelationFilter = {
    every?: NotificationTemplateTagWhereInput
    some?: NotificationTemplateTagWhereInput
    none?: NotificationTemplateTagWhereInput
  }

  export type NotificationTemplateRecipientTagListRelationFilter = {
    every?: NotificationTemplateRecipientTagWhereInput
    some?: NotificationTemplateRecipientTagWhereInput
    none?: NotificationTemplateRecipientTagWhereInput
  }

  export type FileUploadLogListRelationFilter = {
    every?: FileUploadLogWhereInput
    some?: FileUploadLogWhereInput
    none?: FileUploadLogWhereInput
  }

  export type ApprovalWorkflowListRelationFilter = {
    every?: ApprovalWorkflowWhereInput
    some?: ApprovalWorkflowWhereInput
    none?: ApprovalWorkflowWhereInput
  }

  export type ApprovalProcessJobWorkflowListRelationFilter = {
    every?: ApprovalProcessJobWorkflowWhereInput
    some?: ApprovalProcessJobWorkflowWhereInput
    none?: ApprovalProcessJobWorkflowWhereInput
  }

  export type ApprovalWorkflowApproverTagListRelationFilter = {
    every?: ApprovalWorkflowApproverTagWhereInput
    some?: ApprovalWorkflowApproverTagWhereInput
    none?: ApprovalWorkflowApproverTagWhereInput
  }

  export type ApprovalProcessJobListRelationFilter = {
    every?: ApprovalProcessJobWhereInput
    some?: ApprovalProcessJobWhereInput
    none?: ApprovalProcessJobWhereInput
  }

  export type ApprovalProcessJobWorkflowUserListRelationFilter = {
    every?: ApprovalProcessJobWorkflowUserWhereInput
    some?: ApprovalProcessJobWorkflowUserWhereInput
    none?: ApprovalProcessJobWorkflowUserWhereInput
  }

  export type DelegationListRelationFilter = {
    every?: DelegationWhereInput
    some?: DelegationWhereInput
    none?: DelegationWhereInput
  }

  export type AboutLCPListRelationFilter = {
    every?: AboutLCPWhereInput
    some?: AboutLCPWhereInput
    none?: AboutLCPWhereInput
  }

  export type SchemaChunkListRelationFilter = {
    every?: SchemaChunkWhereInput
    some?: SchemaChunkWhereInput
    none?: SchemaChunkWhereInput
  }

  export type OpenaiUsageLogListRelationFilter = {
    every?: OpenaiUsageLogWhereInput
    some?: OpenaiUsageLogWhereInput
    none?: OpenaiUsageLogWhereInput
  }

  export type EmbeddingVectorLogsListRelationFilter = {
    every?: EmbeddingVectorLogsWhereInput
    some?: EmbeddingVectorLogsWhereInput
    none?: EmbeddingVectorLogsWhereInput
  }

  export type QueryExecutionLogListRelationFilter = {
    every?: QueryExecutionLogWhereInput
    some?: QueryExecutionLogWhereInput
    none?: QueryExecutionLogWhereInput
  }

  export type ChildProcessListRelationFilter = {
    every?: ChildProcessWhereInput
    some?: ChildProcessWhereInput
    none?: ChildProcessWhereInput
  }

  export type ScheduledJobLogsListRelationFilter = {
    every?: ScheduledJobLogsWhereInput
    some?: ScheduledJobLogsWhereInput
    none?: ScheduledJobLogsWhereInput
  }

  export type ScheduledJobListRelationFilter = {
    every?: ScheduledJobWhereInput
    some?: ScheduledJobWhereInput
    none?: ScheduledJobWhereInput
  }

  export type DeliveryNoteLineItemsListRelationFilter = {
    every?: DeliveryNoteLineItemsWhereInput
    some?: DeliveryNoteLineItemsWhereInput
    none?: DeliveryNoteLineItemsWhereInput
  }

  export type CustomerDeliveryAddressesListRelationFilter = {
    every?: CustomerDeliveryAddressesWhereInput
    some?: CustomerDeliveryAddressesWhereInput
    none?: CustomerDeliveryAddressesWhereInput
  }

  export type ShipmentsListRelationFilter = {
    every?: ShipmentsWhereInput
    some?: ShipmentsWhereInput
    none?: ShipmentsWhereInput
  }

  export type ShipmentsLocationListRelationFilter = {
    every?: ShipmentsLocationWhereInput
    some?: ShipmentsLocationWhereInput
    none?: ShipmentsLocationWhereInput
  }

  export type ShipmentDeliveryNotesListRelationFilter = {
    every?: ShipmentDeliveryNotesWhereInput
    some?: ShipmentDeliveryNotesWhereInput
    none?: ShipmentDeliveryNotesWhereInput
  }

  export type VehiclesListRelationFilter = {
    every?: VehiclesWhereInput
    some?: VehiclesWhereInput
    none?: VehiclesWhereInput
  }

  export type GeoFencesListRelationFilter = {
    every?: GeoFencesWhereInput
    some?: GeoFencesWhereInput
    none?: GeoFencesWhereInput
  }

  export type GeoFenceTrackingListRelationFilter = {
    every?: GeoFenceTrackingWhereInput
    some?: GeoFenceTrackingWhereInput
    none?: GeoFenceTrackingWhereInput
  }

  export type DeliveryNoteStatusListRelationFilter = {
    every?: DeliveryNoteStatusWhereInput
    some?: DeliveryNoteStatusWhereInput
    none?: DeliveryNoteStatusWhereInput
  }

  export type ErpLogsListRelationFilter = {
    every?: ErpLogsWhereInput
    some?: ErpLogsWhereInput
    none?: ErpLogsWhereInput
  }

  export type ErpLogsLineItemsListRelationFilter = {
    every?: ErpLogsLineItemsWhereInput
    some?: ErpLogsLineItemsWhereInput
    none?: ErpLogsLineItemsWhereInput
  }

  export type TempSessionDataListRelationFilter = {
    every?: TempSessionDataWhereInput
    some?: TempSessionDataWhereInput
    none?: TempSessionDataWhereInput
  }

  export type ShipmentStatusListRelationFilter = {
    every?: ShipmentStatusWhereInput
    some?: ShipmentStatusWhereInput
    none?: ShipmentStatusWhereInput
  }

  export type ShipmentStatusHistoryListRelationFilter = {
    every?: ShipmentStatusHistoryWhereInput
    some?: ShipmentStatusHistoryWhereInput
    none?: ShipmentStatusHistoryWhereInput
  }

  export type PodStatusListRelationFilter = {
    every?: PodStatusWhereInput
    some?: PodStatusWhereInput
    none?: PodStatusWhereInput
  }

  export type ShipmentLocationContactInfoHistoryListRelationFilter = {
    every?: ShipmentLocationContactInfoHistoryWhereInput
    some?: ShipmentLocationContactInfoHistoryWhereInput
    none?: ShipmentLocationContactInfoHistoryWhereInput
  }

  export type TreeBuilderExampleListRelationFilter = {
    every?: TreeBuilderExampleWhereInput
    some?: TreeBuilderExampleWhereInput
    none?: TreeBuilderExampleWhereInput
  }

  export type UserSearchConfigurationListRelationFilter = {
    every?: userSearchConfigurationWhereInput
    some?: userSearchConfigurationWhereInput
    none?: userSearchConfigurationWhereInput
  }

  export type StatusOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentImagesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type FieldTypeOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type menuTypeOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateProcessOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateTagOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type NotificationTemplateRecipientTagOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type FileUploadLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ApprovalWorkflowOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ApprovalProcessJobWorkflowOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ApprovalWorkflowApproverTagOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ApprovalProcessJobOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ApprovalProcessJobWorkflowUserOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DelegationOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type AboutLCPOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type SchemaChunkOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type OpenaiUsageLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type EmbeddingVectorLogsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type QueryExecutionLogOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ChildProcessOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ScheduledJobLogsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ScheduledJobOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DeliveryNoteLineItemsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type CustomerDeliveryAddressesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentsLocationOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentDeliveryNotesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type VehiclesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type GeoFencesOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type GeoFenceTrackingOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type DeliveryNoteStatusOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ErpLogsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ErpLogsLineItemsOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type TempSessionDataOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentStatusOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentStatusHistoryOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type PodStatusOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type ShipmentLocationContactInfoHistoryOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type TreeBuilderExampleOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type userSearchConfigurationOrderByRelationAggregateInput = {
    _count?: SortOrder
  }

  export type StatusOrderByRelevanceInput = {
    fields: StatusOrderByRelevanceFieldEnum | StatusOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type StatusCountOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
  }

  export type StatusAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
  }

  export type StatusMaxOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
  }

  export type StatusMinOrderByAggregateInput = {
    id?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
  }

  export type StatusSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
  }

  export type CategoryTypesOrderByRelevanceInput = {
    fields: CategoryTypesOrderByRelevanceFieldEnum | CategoryTypesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CategoryTypesCompany_idCategory_type_idCompoundUniqueInput = {
    company_id: number
    category_type_id: string
  }

  export type CategoryTypesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CategoryTypesCompany_idNameCompoundUniqueInput = {
    company_id: number
    name: string
  }

  export type CategoryTypesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoryTypesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CategoryTypesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoryTypesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoryTypesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CategoryTypesRelationFilter = {
    is?: CategoryTypesWhereInput
    isNot?: CategoryTypesWhereInput
  }

  export type CategoriesOrderByRelevanceInput = {
    fields: CategoriesOrderByRelevanceFieldEnum | CategoriesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CategoriesCompany_idCategory_type_idCategory_idCompoundUniqueInput = {
    company_id: number
    category_type_id: string
    category_id: string
  }

  export type CategoriesCompany_idCategory_type_idCategory_idNameCompoundUniqueInput = {
    company_id: number
    category_type_id: string
    category_id: string
    name: string
  }

  export type CategoriesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CategoriesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    category_id?: SortOrder
    parent_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoriesAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CategoriesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    category_id?: SortOrder
    parent_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoriesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    category_type_id?: SortOrder
    category_id?: SortOrder
    parent_id?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type CategoriesSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CategoriesNullableRelationFilter = {
    is?: CategoriesWhereInput | null
    isNot?: CategoriesWhereInput | null
  }

  export type ConfigurationsOrderByRelevanceInput = {
    fields: ConfigurationsOrderByRelevanceFieldEnum | ConfigurationsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ConfigurationsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ConfigurationsCompany_idConfig_keyCompoundUniqueInput = {
    company_id: number
    config_key: string
  }

  export type ConfigurationsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_select_json?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ConfigurationsAvgOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ConfigurationsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ConfigurationsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ConfigurationsSumOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type UserConfigurationsOrderByRelevanceInput = {
    fields: UserConfigurationsOrderByRelevanceFieldEnum | UserConfigurationsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type UserConfigurationsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type UserConfigurationsCompany_idConfig_keyUser_idCompoundUniqueInput = {
    company_id: number
    config_key: string
    user_id: number
  }

  export type UserConfigurationsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_select_json?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type UserConfigurationsAvgOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type UserConfigurationsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type UserConfigurationsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    order_no?: SortOrder
    config_key?: SortOrder
    category_id?: SortOrder
    category_type_id?: SortOrder
    config_file_value?: SortOrder
    config_value_type?: SortOrder
    config_field_type?: SortOrder
    display_config?: SortOrder
    config_value?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type UserConfigurationsSumOrderByAggregateInput = {
    id?: SortOrder
    order_no?: SortOrder
    user_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type FileUploadLogOrderByRelevanceInput = {
    fields: FileUploadLogOrderByRelevanceFieldEnum | FileUploadLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type FileUploadLogCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type FileUploadLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    doc_name?: SortOrder
    org_name?: SortOrder
    extension?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type FileUploadLogAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type FileUploadLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    doc_name?: SortOrder
    org_name?: SortOrder
    extension?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type FileUploadLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    doc_name?: SortOrder
    org_name?: SortOrder
    extension?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
  }

  export type FileUploadLogSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DataTransferQueriesOrderByRelevanceInput = {
    fields: DataTransferQueriesOrderByRelevanceFieldEnum | DataTransferQueriesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DataTransferQueriesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DataTransferQueriesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    select_query?: SortOrder
    insert_query?: SortOrder
    transfer_type?: SortOrder
    job_name?: SortOrder
    destination_table?: SortOrder
    clear_destination_table?: SortOrder
    execution_order?: SortOrder
    command_type?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type DataTransferQueriesAvgOrderByAggregateInput = {
    id?: SortOrder
    execution_order?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    company_id?: SortOrder
  }

  export type DataTransferQueriesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    select_query?: SortOrder
    insert_query?: SortOrder
    transfer_type?: SortOrder
    job_name?: SortOrder
    destination_table?: SortOrder
    clear_destination_table?: SortOrder
    execution_order?: SortOrder
    command_type?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type DataTransferQueriesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    select_query?: SortOrder
    insert_query?: SortOrder
    transfer_type?: SortOrder
    job_name?: SortOrder
    destination_table?: SortOrder
    clear_destination_table?: SortOrder
    execution_order?: SortOrder
    command_type?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
  }

  export type DataTransferQueriesSumOrderByAggregateInput = {
    id?: SortOrder
    execution_order?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    company_id?: SortOrder
  }

  export type DeviceRegistrationOrderByRelevanceInput = {
    fields: DeviceRegistrationOrderByRelevanceFieldEnum | DeviceRegistrationOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DeviceRegistrationCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DeviceRegistrationCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DeviceRegistrationCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    device_name?: SortOrder
    device_unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeviceRegistrationAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DeviceRegistrationMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    device_name?: SortOrder
    device_unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeviceRegistrationMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    device_name?: SortOrder
    device_unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeviceRegistrationSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type PoliciesOrderByRelevanceInput = {
    fields: PoliciesOrderByRelevanceFieldEnum | PoliciesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type PoliciesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type PoliciesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type PoliciesCompany_idNameCompoundUniqueInput = {
    company_id: number
    name: string
  }

  export type PoliciesCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type PoliciesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type PoliciesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type PoliciesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type PoliciesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type PoliciesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type PoliciesRelationFilter = {
    is?: PoliciesWhereInput
    isNot?: PoliciesWhereInput
  }

  export type UserPoliciesCompany_idPolicy_idUser_idCompoundUniqueInput = {
    company_id: number
    policy_id: number
    user_id: number
  }

  export type UserPoliciesCountOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
  }

  export type UserPoliciesAvgOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
  }

  export type UserPoliciesMaxOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
  }

  export type UserPoliciesMinOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
  }

  export type UserPoliciesSumOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    user_id?: SortOrder
  }

  export type RolePoliciesCompany_idPolicy_idRole_idCompoundUniqueInput = {
    company_id: number
    policy_id: number
    role_id: number
  }

  export type RolePoliciesCountOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
  }

  export type RolePoliciesAvgOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
  }

  export type RolePoliciesMaxOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
  }

  export type RolePoliciesMinOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
  }

  export type RolePoliciesSumOrderByAggregateInput = {
    company_id?: SortOrder
    policy_id?: SortOrder
    role_id?: SortOrder
  }

  export type AppversionsOrderByRelevanceInput = {
    fields: AppversionsOrderByRelevanceFieldEnum | AppversionsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type AppversionsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type AppversionsCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type AppversionsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    type?: SortOrder
    version_type?: SortOrder
    version?: SortOrder
    description?: SortOrder
    is_frontend_changed?: SortOrder
    is_backend_changed?: SortOrder
    is_database_changed?: SortOrder
    developed_by?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    app_url?: SortOrder
  }

  export type AppversionsAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type AppversionsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    type?: SortOrder
    version_type?: SortOrder
    version?: SortOrder
    description?: SortOrder
    is_frontend_changed?: SortOrder
    is_backend_changed?: SortOrder
    is_database_changed?: SortOrder
    developed_by?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    app_url?: SortOrder
  }

  export type AppversionsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    type?: SortOrder
    version_type?: SortOrder
    version?: SortOrder
    description?: SortOrder
    is_frontend_changed?: SortOrder
    is_backend_changed?: SortOrder
    is_database_changed?: SortOrder
    developed_by?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    app_url?: SortOrder
  }

  export type AppversionsSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ScheduledJobOrderByRelevanceInput = {
    fields: ScheduledJobOrderByRelevanceFieldEnum | ScheduledJobOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ScheduledJobCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    timing?: SortOrder
    cron_url?: SortOrder
    concat_base_url?: SortOrder
    downloadables?: SortOrder
    description?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    timing?: SortOrder
    cron_url?: SortOrder
    concat_base_url?: SortOrder
    downloadables?: SortOrder
    description?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    timing?: SortOrder
    cron_url?: SortOrder
    concat_base_url?: SortOrder
    downloadables?: SortOrder
    description?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobRelationFilter = {
    is?: ScheduledJobWhereInput
    isNot?: ScheduledJobWhereInput
  }

  export type ScheduledJobLogsOrderByRelevanceInput = {
    fields: ScheduledJobLogsOrderByRelevanceFieldEnum | ScheduledJobLogsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ScheduledJobLogsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ScheduledJobLogsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    scheduled_job_id?: SortOrder
    executed_statement?: SortOrder
    schedule_status?: SortOrder
    downloadables?: SortOrder
    response?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobLogsAvgOrderByAggregateInput = {
    id?: SortOrder
    scheduled_job_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobLogsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    scheduled_job_id?: SortOrder
    executed_statement?: SortOrder
    schedule_status?: SortOrder
    downloadables?: SortOrder
    response?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobLogsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    scheduled_job_id?: SortOrder
    executed_statement?: SortOrder
    schedule_status?: SortOrder
    downloadables?: SortOrder
    response?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ScheduledJobLogsSumOrderByAggregateInput = {
    id?: SortOrder
    scheduled_job_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ApprovalWorkflowOrderByRelevanceInput = {
    fields: ApprovalWorkflowOrderByRelevanceFieldEnum | ApprovalWorkflowOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalWorkflowCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalWorkflowCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type ApprovalWorkflowCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    url?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ApprovalWorkflowMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    url?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    slug?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    url?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ApprovalWorkflowApproverTagOrderByRelevanceInput = {
    fields: ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum | ApprovalWorkflowApproverTagOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalWorkflowApproverTagCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalWorkflowApproverTagCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type ApprovalWorkflowApproverTagCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowApproverTagAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ApprovalWorkflowApproverTagMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowApproverTagMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    description?: SortOrder
    query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ApprovalWorkflowApproverTagSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumApproverTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ApproverType | EnumApproverTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumApproverTypeFilter<$PrismaModel> | $Enums.ApproverType
  }

  export type StringNullableListFilter<$PrismaModel = never> = {
    equals?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    has?: string | StringFieldRefInput<$PrismaModel> | null
    hasEvery?: string[] | ListStringFieldRefInput<$PrismaModel>
    hasSome?: string[] | ListStringFieldRefInput<$PrismaModel>
    isEmpty?: boolean
  }

  export type ApprovalWorkflowRelationFilter = {
    is?: ApprovalWorkflowWhereInput
    isNot?: ApprovalWorkflowWhereInput
  }

  export type NotificationTemplateNullableRelationFilter = {
    is?: NotificationTemplateWhereInput | null
    isNot?: NotificationTemplateWhereInput | null
  }

  export type ApprovalWorkflowAssignmentOrderByRelevanceInput = {
    fields: ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum | ApprovalWorkflowAssignmentOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalWorkflowAssignmentCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalWorkflowAssignmentCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ApprovalWorkflowAssignmentCompany_idApproval_workflow_slugApprover_order_noCompoundUniqueInput = {
    company_id: number
    approval_workflow_slug: string
    approver_order_no: Decimal | DecimalJsLike | number | string
  }

  export type ApprovalWorkflowAssignmentCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
  }

  export type ApprovalWorkflowAssignmentAvgOrderByAggregateInput = {
    id?: SortOrder
    approver_order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
  }

  export type ApprovalWorkflowAssignmentMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
  }

  export type ApprovalWorkflowAssignmentMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
  }

  export type ApprovalWorkflowAssignmentSumOrderByAggregateInput = {
    id?: SortOrder
    approver_order_no?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
  }

  export type EnumApproverTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ApproverType | EnumApproverTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumApproverTypeWithAggregatesFilter<$PrismaModel> | $Enums.ApproverType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumApproverTypeFilter<$PrismaModel>
    _max?: NestedEnumApproverTypeFilter<$PrismaModel>
  }

  export type ApprovalProcessJobOrderByRelevanceInput = {
    fields: ApprovalProcessJobOrderByRelevanceFieldEnum | ApprovalProcessJobOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalProcessJobCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ApprovalProcessJobCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalProcessJobCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    sequence_no?: SortOrder
    description?: SortOrder
    primary_table?: SortOrder
    unique_id?: SortOrder
    screen_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    details?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobAvgOrderByAggregateInput = {
    id?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    sequence_no?: SortOrder
    description?: SortOrder
    primary_table?: SortOrder
    unique_id?: SortOrder
    screen_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    details?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_workflow_slug?: SortOrder
    sequence_no?: SortOrder
    description?: SortOrder
    primary_table?: SortOrder
    unique_id?: SortOrder
    screen_id?: SortOrder
    user_id?: SortOrder
    prefill_data?: SortOrder
    details?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobSumOrderByAggregateInput = {
    id?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumApprovalStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumApprovalStatusFilter<$PrismaModel> | $Enums.ApprovalStatus
  }

  export type ApprovalProcessJobWorkflowOrderByRelevanceInput = {
    fields: ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum | ApprovalProcessJobWorkflowOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalProcessJobWorkflowCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalProcessJobWorkflowCountOrderByAggregateInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    approval_process_job_id?: SortOrder
    approval_workflow_slug?: SortOrder
    approval_process_job_name?: SortOrder
    approval_process_job_description?: SortOrder
    approve_query_information?: SortOrder
    reject_query_information?: SortOrder
    primary_table?: SortOrder
    sequence_no?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    screen_id?: SortOrder
    prefill_data?: SortOrder
    url?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    review_status?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrder
    reason?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    assigned_at?: SortOrder
    processed_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    details?: SortOrder
  }

  export type ApprovalProcessJobWorkflowAvgOrderByAggregateInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    approver_order_no?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
    company_id?: SortOrder
    deleted_by?: SortOrder
  }

  export type ApprovalProcessJobWorkflowMaxOrderByAggregateInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    approval_process_job_id?: SortOrder
    approval_workflow_slug?: SortOrder
    approval_process_job_name?: SortOrder
    approval_process_job_description?: SortOrder
    primary_table?: SortOrder
    sequence_no?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    screen_id?: SortOrder
    prefill_data?: SortOrder
    url?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    review_status?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrder
    reason?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    assigned_at?: SortOrder
    processed_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    details?: SortOrder
  }

  export type ApprovalProcessJobWorkflowMinOrderByAggregateInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    approval_process_job_id?: SortOrder
    approval_workflow_slug?: SortOrder
    approval_process_job_name?: SortOrder
    approval_process_job_description?: SortOrder
    primary_table?: SortOrder
    sequence_no?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    screen_id?: SortOrder
    prefill_data?: SortOrder
    url?: SortOrder
    approver_order_no?: SortOrder
    approver_type?: SortOrder
    approver?: SortOrder
    review_status?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrder
    reason?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    assigned_at?: SortOrder
    processed_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    details?: SortOrder
  }

  export type ApprovalProcessJobWorkflowSumOrderByAggregateInput = {
    id?: SortOrder
    approval_workflow_assignment_id?: SortOrder
    unique_id?: SortOrder
    user_id?: SortOrder
    approver_order_no?: SortOrder
    status_id?: SortOrder
    reviewed_by?: SortOrder
    approve_mail_id?: SortOrder
    reject_mail_id?: SortOrder
    approve_whatsapp_id?: SortOrder
    reject_whatsapp_id?: SortOrder
    company_id?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumApprovalStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumApprovalStatusWithAggregatesFilter<$PrismaModel> | $Enums.ApprovalStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumApprovalStatusFilter<$PrismaModel>
    _max?: NestedEnumApprovalStatusFilter<$PrismaModel>
  }

  export type ApprovalProcessJobWorkflowRelationFilter = {
    is?: ApprovalProcessJobWorkflowWhereInput
    isNot?: ApprovalProcessJobWorkflowWhereInput
  }

  export type ApprovalProcessJobWorkflowUserOrderByRelevanceInput = {
    fields: ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum | ApprovalProcessJobWorkflowUserOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ApprovalProcessJobWorkflowUserCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ApprovalProcessJobWorkflowUserCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ApprovalProcessJobWorkflowUserCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobWorkflowUserAvgOrderByAggregateInput = {
    id?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobWorkflowUserMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobWorkflowUserMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ApprovalProcessJobWorkflowUserSumOrderByAggregateInput = {
    id?: SortOrder
    approval_process_job_workflow_id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DelegationOrderByRelevanceInput = {
    fields: DelegationOrderByRelevanceFieldEnum | DelegationOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DelegationCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DelegationCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DelegationCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    reason?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DelegationAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DelegationMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    reason?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DelegationMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    reason?: SortOrder
    start_date?: SortOrder
    end_date?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DelegationSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    delegated_user_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type SchemaChunkOrderByRelevanceInput = {
    fields: SchemaChunkOrderByRelevanceFieldEnum | SchemaChunkOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type SchemaChunkCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    table_name?: SortOrder
    chunk?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
  }

  export type SchemaChunkAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type SchemaChunkMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    table_name?: SortOrder
    chunk?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
  }

  export type SchemaChunkMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    table_name?: SortOrder
    chunk?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
  }

  export type SchemaChunkSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type EmbeddingVectorLogsOrderByRelevanceInput = {
    fields: EmbeddingVectorLogsOrderByRelevanceFieldEnum | EmbeddingVectorLogsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type EmbeddingVectorLogsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    table_name?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type EmbeddingVectorLogsAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EmbeddingVectorLogsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    table_name?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type EmbeddingVectorLogsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    table_name?: SortOrder
    status_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type EmbeddingVectorLogsSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    cost?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type OpenaiUsageLogOrderByRelevanceInput = {
    fields: OpenaiUsageLogOrderByRelevanceFieldEnum | OpenaiUsageLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type OpenaiUsageLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    prompt?: SortOrder
    generated_sql?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type OpenaiUsageLogAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type OpenaiUsageLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    prompt?: SortOrder
    generated_sql?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type OpenaiUsageLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    user_id?: SortOrder
    prompt?: SortOrder
    generated_sql?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type OpenaiUsageLogSumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    prompt_tokens?: SortOrder
    completion_tokens?: SortOrder
    total_tokens?: SortOrder
    cost?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type QueryExecutionLogOrderByRelevanceInput = {
    fields: QueryExecutionLogOrderByRelevanceFieldEnum | QueryExecutionLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type QueryExecutionLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    query?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type QueryExecutionLogAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type QueryExecutionLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    query?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type QueryExecutionLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    query?: SortOrder
    created_at?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type QueryExecutionLogSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ChildProcessOrderByRelevanceInput = {
    fields: ChildProcessOrderByRelevanceFieldEnum | ChildProcessOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ChildProcessCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ChildProcessCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ChildProcessCompany_idSlugCompoundUniqueInput = {
    company_id: number
    slug: string
  }

  export type ChildProcessCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    downloadables?: SortOrder
    command?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ChildProcessMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    downloadables?: SortOrder
    command?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    slug?: SortOrder
    description?: SortOrder
    downloadables?: SortOrder
    command?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ChildProcessRelationFilter = {
    is?: ChildProcessWhereInput
    isNot?: ChildProcessWhereInput
  }

  export type ChildProcessLogOrderByRelevanceInput = {
    fields: ChildProcessLogOrderByRelevanceFieldEnum | ChildProcessLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ChildProcessLogCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ChildProcessLogCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ChildProcessLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    child_process_id?: SortOrder
    process_status?: SortOrder
    downloadables?: SortOrder
    output?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessLogAvgOrderByAggregateInput = {
    id?: SortOrder
    child_process_id?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ChildProcessLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    child_process_id?: SortOrder
    process_status?: SortOrder
    downloadables?: SortOrder
    output?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    child_process_id?: SortOrder
    process_status?: SortOrder
    downloadables?: SortOrder
    output?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ChildProcessLogSumOrderByAggregateInput = {
    id?: SortOrder
    child_process_id?: SortOrder
    initiated_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemesOrderByRelevanceInput = {
    fields: ThemesOrderByRelevanceFieldEnum | ThemesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ThemesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ThemesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ThemesCompany_idNameCompoundUniqueInput = {
    company_id: number
    name: string
  }

  export type ThemesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    reference_images?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemesAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    reference_images?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    description?: SortOrder
    reference_images?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemesSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemesRelationFilter = {
    is?: ThemesWhereInput
    isNot?: ThemesWhereInput
  }

  export type ThemeLineItemsOrderByRelevanceInput = {
    fields: ThemeLineItemsOrderByRelevanceFieldEnum | ThemeLineItemsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ThemeLineItemsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ThemeLineItemsCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ThemeLineItemsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    theme_id?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeLineItemsAvgOrderByAggregateInput = {
    id?: SortOrder
    theme_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemeLineItemsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    theme_id?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeLineItemsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    theme_id?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeLineItemsSumOrderByAggregateInput = {
    id?: SortOrder
    theme_id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemeAttributesOrderByRelevanceInput = {
    fields: ThemeAttributesOrderByRelevanceFieldEnum | ThemeAttributesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ThemeAttributesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ThemeAttributesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ThemeAttributesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeAttributesAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ThemeAttributesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeAttributesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    attribute?: SortOrder
    value?: SortOrder
    description?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ThemeAttributesSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type BarcodeTemplatesOrderByRelevanceInput = {
    fields: BarcodeTemplatesOrderByRelevanceFieldEnum | BarcodeTemplatesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type BarcodeTemplatesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type BarcodeTemplatesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type BarcodeTemplatesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    prefix?: SortOrder
    label_start?: SortOrder
    label_end?: SortOrder
    name?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    zpl_code?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type BarcodeTemplatesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type BarcodeTemplatesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    prefix?: SortOrder
    label_start?: SortOrder
    label_end?: SortOrder
    name?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    zpl_code?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type BarcodeTemplatesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    prefix?: SortOrder
    label_start?: SortOrder
    label_end?: SortOrder
    name?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    zpl_code?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type BarcodeTemplatesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    page_width?: SortOrder
    page_height?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumLoginStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.LoginStatus | EnumLoginStatusFieldRefInput<$PrismaModel>
    in?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumLoginStatusFilter<$PrismaModel> | $Enums.LoginStatus
  }

  export type UserLoginHistoryOrderByRelevanceInput = {
    fields: UserLoginHistoryOrderByRelevanceFieldEnum | UserLoginHistoryOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type UserLoginHistoryCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type UserLoginHistoryUser_idLogin_timeCompoundUniqueInput = {
    user_id: number
    login_time: Date | string
  }

  export type UserLoginHistoryCountOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    session_id?: SortOrder
    login_time?: SortOrder
    logout_time?: SortOrder
    ip_address?: SortOrder
    user_agent?: SortOrder
    login_status?: SortOrder
    status_id?: SortOrder
    failure_reason?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
    device_id?: SortOrder
  }

  export type UserLoginHistoryAvgOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type UserLoginHistoryMaxOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    session_id?: SortOrder
    login_time?: SortOrder
    logout_time?: SortOrder
    ip_address?: SortOrder
    user_agent?: SortOrder
    login_status?: SortOrder
    status_id?: SortOrder
    failure_reason?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
    device_id?: SortOrder
  }

  export type UserLoginHistoryMinOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    session_id?: SortOrder
    login_time?: SortOrder
    logout_time?: SortOrder
    ip_address?: SortOrder
    user_agent?: SortOrder
    login_status?: SortOrder
    status_id?: SortOrder
    failure_reason?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    company_id?: SortOrder
    device_id?: SortOrder
  }

  export type UserLoginHistorySumOrderByAggregateInput = {
    id?: SortOrder
    user_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    company_id?: SortOrder
  }

  export type EnumLoginStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.LoginStatus | EnumLoginStatusFieldRefInput<$PrismaModel>
    in?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumLoginStatusWithAggregatesFilter<$PrismaModel> | $Enums.LoginStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumLoginStatusFilter<$PrismaModel>
    _max?: NestedEnumLoginStatusFilter<$PrismaModel>
  }

  export type PhoneCountryCodesOrderByRelevanceInput = {
    fields: PhoneCountryCodesOrderByRelevanceFieldEnum | PhoneCountryCodesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type PhoneCountryCodesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    country_code?: SortOrder
    iso_code?: SortOrder
    country_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type PhoneCountryCodesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type PhoneCountryCodesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    country_code?: SortOrder
    iso_code?: SortOrder
    country_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type PhoneCountryCodesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    country_code?: SortOrder
    iso_code?: SortOrder
    country_name?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type PhoneCountryCodesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type TreeBuilderExampleNullableRelationFilter = {
    is?: TreeBuilderExampleWhereInput | null
    isNot?: TreeBuilderExampleWhereInput | null
  }

  export type TreeBuilderExampleOrderByRelevanceInput = {
    fields: TreeBuilderExampleOrderByRelevanceFieldEnum | TreeBuilderExampleOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type TreeBuilderExampleCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type TreeBuilderExampleCompany_idCodeCompoundUniqueInput = {
    company_id: number
    code: string
  }

  export type TreeBuilderExampleCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type TreeBuilderExampleAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type TreeBuilderExampleMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type TreeBuilderExampleMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    created_at?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type TreeBuilderExampleSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    parent_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CustomerDeliveryAddressesRelationFilter = {
    is?: CustomerDeliveryAddressesWhereInput
    isNot?: CustomerDeliveryAddressesWhereInput
  }

  export type DeliveryNoteStatusRelationFilter = {
    is?: DeliveryNoteStatusWhereInput
    isNot?: DeliveryNoteStatusWhereInput
  }

  export type DeliveryNotesOrderByRelevanceInput = {
    fields: DeliveryNotesOrderByRelevanceFieldEnum | DeliveryNotesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DeliveryNotesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DeliveryNotesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DeliveryNotesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_info?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type DeliveryNotesAvgOrderByAggregateInput = {
    id?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DeliveryNotesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_info?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type DeliveryNotesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_info?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type DeliveryNotesSumOrderByAggregateInput = {
    id?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    customer_delivery_address_id?: SortOrder
    customer_id?: SortOrder
    status_id?: SortOrder
    dn_status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DeliveryNoteStatusOrderByRelevanceInput = {
    fields: DeliveryNoteStatusOrderByRelevanceFieldEnum | DeliveryNoteStatusOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DeliveryNoteStatusCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DeliveryNoteStatusCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DeliveryNoteStatusCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DeliveryNoteStatusAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DeliveryNoteStatusMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DeliveryNoteStatusMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    name?: SortOrder
    code?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DeliveryNoteStatusSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type DeliveryNotesRelationFilter = {
    is?: DeliveryNotesWhereInput
    isNot?: DeliveryNotesWhereInput
  }

  export type DeliveryNoteLineItemsOrderByRelevanceInput = {
    fields: DeliveryNoteLineItemsOrderByRelevanceFieldEnum | DeliveryNoteLineItemsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type DeliveryNoteLineItemsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type DeliveryNoteLineItemsCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type DeliveryNoteLineItemsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    item_description?: SortOrder
    slip_no?: SortOrder
    section_number?: SortOrder
    item_code?: SortOrder
    remarks?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeliveryNoteLineItemsAvgOrderByAggregateInput = {
    id?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type DeliveryNoteLineItemsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    item_description?: SortOrder
    slip_no?: SortOrder
    section_number?: SortOrder
    item_code?: SortOrder
    remarks?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeliveryNoteLineItemsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    item_description?: SortOrder
    slip_no?: SortOrder
    section_number?: SortOrder
    item_code?: SortOrder
    remarks?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type DeliveryNoteLineItemsSumOrderByAggregateInput = {
    id?: SortOrder
    delivery_note_id?: SortOrder
    length?: SortOrder
    quantity?: SortOrder
    weight?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type CustomerDeliveryAddressesOrderByRelevanceInput = {
    fields: CustomerDeliveryAddressesOrderByRelevanceFieldEnum | CustomerDeliveryAddressesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CustomerDeliveryAddressesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CustomerDeliveryAddressesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type CustomerDeliveryAddressesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_address_code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    billing_address?: SortOrder
    shipping_address?: SortOrder
    delivery_location?: SortOrder
    customer_contact_no?: SortOrder
    delivery_address_lat_long?: SortOrder
  }

  export type CustomerDeliveryAddressesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type CustomerDeliveryAddressesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_address_code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    billing_address?: SortOrder
    shipping_address?: SortOrder
    delivery_location?: SortOrder
    customer_contact_no?: SortOrder
    delivery_address_lat_long?: SortOrder
  }

  export type CustomerDeliveryAddressesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_address_code?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    billing_address?: SortOrder
    shipping_address?: SortOrder
    delivery_location?: SortOrder
    customer_contact_no?: SortOrder
    delivery_address_lat_long?: SortOrder
  }

  export type CustomerDeliveryAddressesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type ShipmentStatusRelationFilter = {
    is?: ShipmentStatusWhereInput
    isNot?: ShipmentStatusWhereInput
  }

  export type VehiclesRelationFilter = {
    is?: VehiclesWhereInput
    isNot?: VehiclesWhereInput
  }

  export type ShipmentsOrderByRelevanceInput = {
    fields: ShipmentsOrderByRelevanceFieldEnum | ShipmentsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentsCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ShipmentsCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ShipmentsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    reason?: SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    driver_id?: SortOrder
    mobile_build_version?: SortOrder
    shipment_delivered_at?: SortOrder
  }

  export type ShipmentsAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    driver_id?: SortOrder
  }

  export type ShipmentsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    reason?: SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    driver_id?: SortOrder
    mobile_build_version?: SortOrder
    shipment_delivered_at?: SortOrder
  }

  export type ShipmentsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    reason?: SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    driver_id?: SortOrder
    mobile_build_version?: SortOrder
    shipment_delivered_at?: SortOrder
  }

  export type ShipmentsSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    vehicle_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    driver_id?: SortOrder
  }

  export type ShipmentsRelationFilter = {
    is?: ShipmentsWhereInput
    isNot?: ShipmentsWhereInput
  }

  export type ShipmentCustomersOrderByRelevanceInput = {
    fields: ShipmentCustomersOrderByRelevanceFieldEnum | ShipmentCustomersOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentCustomersCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ShipmentCustomersCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ShipmentCustomersCompany_idShipment_customer_uidCompoundUniqueInput = {
    company_id: number
    shipment_customer_uid: string
  }

  export type ShipmentCustomersCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_customer_uid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentCustomersAvgOrderByAggregateInput = {
    id?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ShipmentCustomersMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_customer_uid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentCustomersMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_customer_uid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentCustomersSumOrderByAggregateInput = {
    id?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumOtpStatusNullableFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpStatus | EnumOtpStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumOtpStatusNullableFilter<$PrismaModel> | $Enums.OtpStatus | null
  }

  export type PodStatusNullableRelationFilter = {
    is?: PodStatusWhereInput | null
    isNot?: PodStatusWhereInput | null
  }

  export type ShipmentCustomersRelationFilter = {
    is?: ShipmentCustomersWhereInput
    isNot?: ShipmentCustomersWhereInput
  }

  export type ShipmentsLocationOrderByRelevanceInput = {
    fields: ShipmentsLocationOrderByRelevanceFieldEnum | ShipmentsLocationOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentsLocationCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ShipmentsLocationCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ShipmentsLocationCompany_idShipment_location_uidCompoundUniqueInput = {
    company_id: number
    shipment_location_uid: string
  }

  export type ShipmentsLocationCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    customer_address_id?: SortOrder
    otp_status?: SortOrder
    pod_status_id?: SortOrder
    otp_number?: SortOrder
    pod_images?: SortOrder
    customer_signature?: SortOrder
    loaded_images?: SortOrder
    shipment_location_lat_long?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_customer_uid?: SortOrder
    shipment_id?: SortOrder
    pod_at?: SortOrder
    loaded_at?: SortOrder
    latest_otp_generated_at?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type ShipmentsLocationAvgOrderByAggregateInput = {
    id?: SortOrder
    customer_address_id?: SortOrder
    pod_status_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ShipmentsLocationMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    customer_address_id?: SortOrder
    otp_status?: SortOrder
    pod_status_id?: SortOrder
    otp_number?: SortOrder
    pod_images?: SortOrder
    customer_signature?: SortOrder
    loaded_images?: SortOrder
    shipment_location_lat_long?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_customer_uid?: SortOrder
    shipment_id?: SortOrder
    pod_at?: SortOrder
    loaded_at?: SortOrder
    latest_otp_generated_at?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type ShipmentsLocationMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    customer_address_id?: SortOrder
    otp_status?: SortOrder
    pod_status_id?: SortOrder
    otp_number?: SortOrder
    pod_images?: SortOrder
    customer_signature?: SortOrder
    loaded_images?: SortOrder
    shipment_location_lat_long?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_customer_uid?: SortOrder
    shipment_id?: SortOrder
    pod_at?: SortOrder
    loaded_at?: SortOrder
    latest_otp_generated_at?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
    customer_delivery_contact_name?: SortOrder
    customer_delivery_contact_email?: SortOrder
    customer_delivery_contact_number?: SortOrder
  }

  export type ShipmentsLocationSumOrderByAggregateInput = {
    id?: SortOrder
    customer_address_id?: SortOrder
    pod_status_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumOtpStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpStatus | EnumOtpStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumOtpStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.OtpStatus | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedEnumOtpStatusNullableFilter<$PrismaModel>
    _max?: NestedEnumOtpStatusNullableFilter<$PrismaModel>
  }

  export type ShipmentsLocationRelationFilter = {
    is?: ShipmentsLocationWhereInput
    isNot?: ShipmentsLocationWhereInput
  }

  export type ShipmentDeliveryNotesOrderByRelevanceInput = {
    fields: ShipmentDeliveryNotesOrderByRelevanceFieldEnum | ShipmentDeliveryNotesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentDeliveryNotesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type ShipmentDeliveryNotesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type ShipmentDeliveryNotesCompany_idDelivery_note_idShipment_idCompoundUniqueInput = {
    company_id: number
    delivery_note_id: number
    shipment_id: number
  }

  export type ShipmentDeliveryNotesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentDeliveryNotesAvgOrderByAggregateInput = {
    id?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ShipmentDeliveryNotesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentDeliveryNotesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_location_uid?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type ShipmentDeliveryNotesSumOrderByAggregateInput = {
    id?: SortOrder
    delivery_note_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_status_id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type VehiclesOrderByRelevanceInput = {
    fields: VehiclesOrderByRelevanceFieldEnum | VehiclesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehiclesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehiclesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehiclesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_plate_number?: SortOrder
    vehicle_register_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    is_assigned?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type VehiclesAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type VehiclesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_plate_number?: SortOrder
    vehicle_register_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    is_assigned?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type VehiclesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_plate_number?: SortOrder
    vehicle_register_number?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    is_assigned?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type VehiclesSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type VehicleUserMappingOrderByRelevanceInput = {
    fields: VehicleUserMappingOrderByRelevanceFieldEnum | VehicleUserMappingOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehicleUserMappingCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehicleUserMappingCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehicleUserMappingCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleUserMappingAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrder
  }

  export type VehicleUserMappingMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleUserMappingMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleUserMappingSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    vehicle_id?: SortOrder
    user_id?: SortOrder
    created_by?: SortOrder
  }

  export type FloatNullableFilter<$PrismaModel = never> = {
    equals?: number | FloatFieldRefInput<$PrismaModel> | null
    in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    lt?: number | FloatFieldRefInput<$PrismaModel>
    lte?: number | FloatFieldRefInput<$PrismaModel>
    gt?: number | FloatFieldRefInput<$PrismaModel>
    gte?: number | FloatFieldRefInput<$PrismaModel>
    not?: NestedFloatNullableFilter<$PrismaModel> | number | null
  }

  export type VehiclesGpsDataOrderByRelevanceInput = {
    fields: VehiclesGpsDataOrderByRelevanceFieldEnum | VehiclesGpsDataOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehiclesGpsDataCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehiclesGpsDataCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehiclesGpsDataCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataAvgOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
  }

  export type VehiclesGpsDataMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataSumOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
  }

  export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | FloatFieldRefInput<$PrismaModel> | null
    in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    lt?: number | FloatFieldRefInput<$PrismaModel>
    lte?: number | FloatFieldRefInput<$PrismaModel>
    gt?: number | FloatFieldRefInput<$PrismaModel>
    gte?: number | FloatFieldRefInput<$PrismaModel>
    not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedFloatNullableFilter<$PrismaModel>
    _sum?: NestedFloatNullableFilter<$PrismaModel>
    _min?: NestedFloatNullableFilter<$PrismaModel>
    _max?: NestedFloatNullableFilter<$PrismaModel>
  }

  export type VehiclesGpsDataLogOrderByRelevanceInput = {
    fields: VehiclesGpsDataLogOrderByRelevanceFieldEnum | VehiclesGpsDataLogOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehiclesGpsDataLogCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehiclesGpsDataLogCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehiclesGpsDataLogLatitudeLongitudeDriver_idShipment_idCompoundUniqueInput = {
    latitude: number
    longitude: number
    driver_id: number
    shipment_id: number
  }

  export type VehiclesGpsDataLogCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataLogAvgOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
  }

  export type VehiclesGpsDataLogMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataLogMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
    processed_at?: SortOrder
  }

  export type VehiclesGpsDataLogSumOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
    process_status_id?: SortOrder
  }

  export type VehicleTripHistoriesOrderByRelevanceInput = {
    fields: VehicleTripHistoriesOrderByRelevanceFieldEnum | VehicleTripHistoriesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehicleTripHistoriesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehicleTripHistoriesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehicleTripHistoriesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_location_uid?: SortOrder
    trip_type?: SortOrder
    shipment_id?: SortOrder
  }

  export type VehicleTripHistoriesAvgOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
  }

  export type VehicleTripHistoriesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_location_uid?: SortOrder
    trip_type?: SortOrder
    shipment_id?: SortOrder
  }

  export type VehicleTripHistoriesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    gps_timestamp?: SortOrder
    unique_gps_data_id?: SortOrder
    driver_id?: SortOrder
    created_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_location_uid?: SortOrder
    trip_type?: SortOrder
    shipment_id?: SortOrder
  }

  export type VehicleTripHistoriesSumOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    driver_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    shipment_id?: SortOrder
  }

  export type EnumZoneTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ZoneType | EnumZoneTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumZoneTypeFilter<$PrismaModel> | $Enums.ZoneType
  }

  export type EnumGeoCategoryFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoCategory | EnumGeoCategoryFieldRefInput<$PrismaModel>
    in?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoCategoryFilter<$PrismaModel> | $Enums.GeoCategory
  }

  export type GeoFencesOrderByRelevanceInput = {
    fields: GeoFencesOrderByRelevanceFieldEnum | GeoFencesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type GeoFencesCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type GeoFencesCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type GeoFencesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    zone_name?: SortOrder
    zone_type?: SortOrder
    radius?: SortOrder
    category?: SortOrder
    latitude_coords?: SortOrder
    longitude_coords?: SortOrder
    paths?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type GeoFencesAvgOrderByAggregateInput = {
    id?: SortOrder
    latitude_coords?: SortOrder
    longitude_coords?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type GeoFencesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    zone_name?: SortOrder
    zone_type?: SortOrder
    radius?: SortOrder
    category?: SortOrder
    latitude_coords?: SortOrder
    longitude_coords?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type GeoFencesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    zone_name?: SortOrder
    zone_type?: SortOrder
    radius?: SortOrder
    category?: SortOrder
    latitude_coords?: SortOrder
    longitude_coords?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    updated_at?: SortOrder
    deleted_by?: SortOrder
    deleted_at?: SortOrder
  }

  export type GeoFencesSumOrderByAggregateInput = {
    id?: SortOrder
    latitude_coords?: SortOrder
    longitude_coords?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumZoneTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ZoneType | EnumZoneTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumZoneTypeWithAggregatesFilter<$PrismaModel> | $Enums.ZoneType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumZoneTypeFilter<$PrismaModel>
    _max?: NestedEnumZoneTypeFilter<$PrismaModel>
  }

  export type EnumGeoCategoryWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoCategory | EnumGeoCategoryFieldRefInput<$PrismaModel>
    in?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoCategoryWithAggregatesFilter<$PrismaModel> | $Enums.GeoCategory
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoCategoryFilter<$PrismaModel>
    _max?: NestedEnumGeoCategoryFilter<$PrismaModel>
  }

  export type EnumGeoTracActivityFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoTracActivity | EnumGeoTracActivityFieldRefInput<$PrismaModel>
    in?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoTracActivityFilter<$PrismaModel> | $Enums.GeoTracActivity
  }

  export type GeoFencesRelationFilter = {
    is?: GeoFencesWhereInput
    isNot?: GeoFencesWhereInput
  }

  export type GeoFenceTrackingOrderByRelevanceInput = {
    fields: GeoFenceTrackingOrderByRelevanceFieldEnum | GeoFenceTrackingOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type GeoFenceTrackingCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type GeoFenceTrackingCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type GeoFenceTrackingCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    activity_type?: SortOrder
    activity_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type GeoFenceTrackingAvgOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type GeoFenceTrackingMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    activity_type?: SortOrder
    activity_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type GeoFenceTrackingMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    activity_type?: SortOrder
    activity_at?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type GeoFenceTrackingSumOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    geofence_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
  }

  export type EnumGeoTracActivityWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoTracActivity | EnumGeoTracActivityFieldRefInput<$PrismaModel>
    in?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoTracActivityWithAggregatesFilter<$PrismaModel> | $Enums.GeoTracActivity
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoTracActivityFilter<$PrismaModel>
    _max?: NestedEnumGeoTracActivityFilter<$PrismaModel>
  }

  export type EnumGeoFenceEventTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoFenceEventType | EnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    in?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel> | $Enums.GeoFenceEventType
  }

  export type VehicleGeofenceHistoryOrderByRelevanceInput = {
    fields: VehicleGeofenceHistoryOrderByRelevanceFieldEnum | VehicleGeofenceHistoryOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type VehicleGeofenceHistoryCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type VehicleGeofenceHistoryCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type VehicleGeofenceHistoryCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    event_type?: SortOrder
    event_timestamp?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleGeofenceHistoryAvgOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
  }

  export type VehicleGeofenceHistoryMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    event_type?: SortOrder
    event_timestamp?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleGeofenceHistoryMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    event_type?: SortOrder
    event_timestamp?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
    created_at?: SortOrder
  }

  export type VehicleGeofenceHistorySumOrderByAggregateInput = {
    id?: SortOrder
    vehicle_id?: SortOrder
    driver_id?: SortOrder
    customer_id?: SortOrder
    geofence_id?: SortOrder
    shipment_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    latitude?: SortOrder
    longitude?: SortOrder
  }

  export type EnumGeoFenceEventTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoFenceEventType | EnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    in?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoFenceEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.GeoFenceEventType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel>
    _max?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel>
  }

  export type CustomerGeoFenceMappingOrderByRelevanceInput = {
    fields: CustomerGeoFenceMappingOrderByRelevanceFieldEnum | CustomerGeoFenceMappingOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type CustomerGeoFenceMappingCompany_idIdCompoundUniqueInput = {
    company_id: number
    id: number
  }

  export type CustomerGeoFenceMappingCompany_idUuidCompoundUniqueInput = {
    company_id: number
    uuid: string
  }

  export type CustomerGeoFenceMappingCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    description?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type CustomerGeoFenceMappingAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
  }

  export type CustomerGeoFenceMappingMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    description?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type CustomerGeoFenceMappingMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    description?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type CustomerGeoFenceMappingSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    geofence_id?: SortOrder
    order_no?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
  }
  export type JsonFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
        Required<JsonFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>

  export type JsonFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
  }

  export type EnumSyncDataFilter<$PrismaModel = never> = {
    equals?: $Enums.SyncData | EnumSyncDataFieldRefInput<$PrismaModel>
    in?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    notIn?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    not?: NestedEnumSyncDataFilter<$PrismaModel> | $Enums.SyncData
  }

  export type ErpLogsOrderByRelevanceInput = {
    fields: ErpLogsOrderByRelevanceFieldEnum | ErpLogsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ErpLogsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    req_body?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    response_object?: SortOrder
    status_id?: SortOrder
    sync_status?: SortOrder
    sync_number?: SortOrder
  }

  export type ErpLogsAvgOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    status_id?: SortOrder
  }

  export type ErpLogsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    status_id?: SortOrder
    sync_status?: SortOrder
    sync_number?: SortOrder
  }

  export type ErpLogsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    req_method?: SortOrder
    req_url?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
    status_id?: SortOrder
    sync_status?: SortOrder
    sync_number?: SortOrder
  }

  export type ErpLogsSumOrderByAggregateInput = {
    id?: SortOrder
    company_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    status_id?: SortOrder
  }
  export type JsonWithAggregatesFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
        Required<JsonWithAggregatesFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>

  export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedJsonFilter<$PrismaModel>
    _max?: NestedJsonFilter<$PrismaModel>
  }

  export type EnumSyncDataWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.SyncData | EnumSyncDataFieldRefInput<$PrismaModel>
    in?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    notIn?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    not?: NestedEnumSyncDataWithAggregatesFilter<$PrismaModel> | $Enums.SyncData
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumSyncDataFilter<$PrismaModel>
    _max?: NestedEnumSyncDataFilter<$PrismaModel>
  }

  export type EnumLineItemSyncStatusNullableFilter<$PrismaModel = never> = {
    equals?: $Enums.LineItemSyncStatus | EnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel> | $Enums.LineItemSyncStatus | null
  }

  export type ErpLogsRelationFilter = {
    is?: ErpLogsWhereInput
    isNot?: ErpLogsWhereInput
  }

  export type ErpLogsLineItemsOrderByRelevanceInput = {
    fields: ErpLogsLineItemsOrderByRelevanceFieldEnum | ErpLogsLineItemsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ErpLogsLineItemsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    line_item_sync_status?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    erp_logs_id?: SortOrder
    line_item?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ErpLogsLineItemsAvgOrderByAggregateInput = {
    id?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    erp_logs_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type ErpLogsLineItemsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    line_item_sync_status?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    erp_logs_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ErpLogsLineItemsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    delivery_note_number?: SortOrder
    date_of_issue?: SortOrder
    customer_order_number?: SortOrder
    reference_number?: SortOrder
    shipment_type?: SortOrder
    line_item_sync_status?: SortOrder
    supply_agreement?: SortOrder
    purchase_reference?: SortOrder
    alloy?: SortOrder
    temper?: SortOrder
    color?: SortOrder
    aluminium_profiles?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    erp_logs_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
    updated_at?: SortOrder
    deleted_at?: SortOrder
  }

  export type ErpLogsLineItemsSumOrderByAggregateInput = {
    id?: SortOrder
    number_of_boxes?: SortOrder
    number_of_bundles?: SortOrder
    erp_logs_id?: SortOrder
    company_id?: SortOrder
    status_id?: SortOrder
    created_by?: SortOrder
    updated_by?: SortOrder
    deleted_by?: SortOrder
  }

  export type EnumLineItemSyncStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.LineItemSyncStatus | EnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumLineItemSyncStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.LineItemSyncStatus | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel>
    _max?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel>
  }

  export type TempSessionDataOrderByRelevanceInput = {
    fields: TempSessionDataOrderByRelevanceFieldEnum | TempSessionDataOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type TempSessionDataCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    session_id?: SortOrder
    delivery_note_number?: SortOrder
    first_name?: SortOrder
    delivery_location?: SortOrder
    reference_number?: SortOrder
    date_of_issue?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type TempSessionDataAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
  }

  export type TempSessionDataMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    session_id?: SortOrder
    delivery_note_number?: SortOrder
    first_name?: SortOrder
    delivery_location?: SortOrder
    reference_number?: SortOrder
    date_of_issue?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type TempSessionDataMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    session_id?: SortOrder
    delivery_note_number?: SortOrder
    first_name?: SortOrder
    delivery_location?: SortOrder
    reference_number?: SortOrder
    date_of_issue?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
  }

  export type TempSessionDataSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    customer_delivery_id?: SortOrder
    delivery_note_id?: SortOrder
    customer_id?: SortOrder
    created_by?: SortOrder
  }

  export type ShipmentStatusOrderByRelevanceInput = {
    fields: ShipmentStatusOrderByRelevanceFieldEnum | ShipmentStatusOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentStatusCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type ShipmentStatusAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentStatusMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type ShipmentStatusMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type ShipmentStatusSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumETablesFilter<$PrismaModel = never> = {
    equals?: $Enums.ETables | EnumETablesFieldRefInput<$PrismaModel>
    in?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    notIn?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    not?: NestedEnumETablesFilter<$PrismaModel> | $Enums.ETables
  }

  export type ShipmentStatusHistoryOrderByRelevanceInput = {
    fields: ShipmentStatusHistoryOrderByRelevanceFieldEnum | ShipmentStatusHistoryOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentStatusHistoryCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    ref_id?: SortOrder
    table_name?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    changed_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentStatusHistoryAvgOrderByAggregateInput = {
    id?: SortOrder
    ref_id?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentStatusHistoryMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    ref_id?: SortOrder
    table_name?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    changed_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentStatusHistoryMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    ref_id?: SortOrder
    table_name?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    changed_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentStatusHistorySumOrderByAggregateInput = {
    id?: SortOrder
    ref_id?: SortOrder
    from_state?: SortOrder
    to_state?: SortOrder
    changed_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type EnumETablesWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ETables | EnumETablesFieldRefInput<$PrismaModel>
    in?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    notIn?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    not?: NestedEnumETablesWithAggregatesFilter<$PrismaModel> | $Enums.ETables
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumETablesFilter<$PrismaModel>
    _max?: NestedEnumETablesFilter<$PrismaModel>
  }

  export type PodStatusOrderByRelevanceInput = {
    fields: PodStatusOrderByRelevanceFieldEnum | PodStatusOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type PodStatusCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type PodStatusAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type PodStatusMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type PodStatusMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    slug?: SortOrder
    name?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    status_color_code?: SortOrder
  }

  export type PodStatusSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentLocationContactInfoHistoryOrderByRelevanceInput = {
    fields: ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum | ShipmentLocationContactInfoHistoryOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentLocationContactInfoHistoryCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    from_customer_delivery_contact_name?: SortOrder
    to_customer_delivery_contact_name?: SortOrder
    from_customer_delivery_contact_email?: SortOrder
    to_customer_delivery_contact_email?: SortOrder
    from_customer_delivery_contact_number?: SortOrder
    to_customer_delivery_contact_number?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
  }

  export type ShipmentLocationContactInfoHistoryAvgOrderByAggregateInput = {
    id?: SortOrder
    created_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrder
  }

  export type ShipmentLocationContactInfoHistoryMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    from_customer_delivery_contact_name?: SortOrder
    to_customer_delivery_contact_name?: SortOrder
    from_customer_delivery_contact_email?: SortOrder
    to_customer_delivery_contact_email?: SortOrder
    from_customer_delivery_contact_number?: SortOrder
    to_customer_delivery_contact_number?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
  }

  export type ShipmentLocationContactInfoHistoryMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    from_customer_delivery_contact_name?: SortOrder
    to_customer_delivery_contact_name?: SortOrder
    from_customer_delivery_contact_email?: SortOrder
    to_customer_delivery_contact_email?: SortOrder
    from_customer_delivery_contact_number?: SortOrder
    to_customer_delivery_contact_number?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
  }

  export type ShipmentLocationContactInfoHistorySumOrderByAggregateInput = {
    id?: SortOrder
    created_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
    shipment_id?: SortOrder
  }

  export type UuidNullableFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedUuidNullableFilter<$PrismaModel> | string | null
  }

  export type ShipmentImagesOrderByRelevanceInput = {
    fields: ShipmentImagesOrderByRelevanceFieldEnum | ShipmentImagesOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type ShipmentImagesCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
    image_name?: SortOrder
    image_format?: SortOrder
    image_path?: SortOrder
    image_type?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentImagesAvgOrderByAggregateInput = {
    id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentImagesMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
    image_name?: SortOrder
    image_format?: SortOrder
    image_path?: SortOrder
    image_type?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentImagesMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    shipment_id?: SortOrder
    shipment_location_uid?: SortOrder
    image_name?: SortOrder
    image_format?: SortOrder
    image_path?: SortOrder
    image_type?: SortOrder
    created_by?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type ShipmentImagesSumOrderByAggregateInput = {
    id?: SortOrder
    shipment_id?: SortOrder
    created_by?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type UuidNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    mode?: QueryMode
    not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedStringNullableFilter<$PrismaModel>
    _max?: NestedStringNullableFilter<$PrismaModel>
  }

  export type sms_test_requestsOrderByRelevanceInput = {
    fields: sms_test_requestsOrderByRelevanceFieldEnum | sms_test_requestsOrderByRelevanceFieldEnum[]
    sort: SortOrder
    search: string
  }

  export type sms_test_requestsCountOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    mobile_number?: SortOrder
    sms_content?: SortOrder
    request_object?: SortOrder
    response_object?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type sms_test_requestsAvgOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type sms_test_requestsMaxOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    mobile_number?: SortOrder
    sms_content?: SortOrder
    request_object?: SortOrder
    response_object?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type sms_test_requestsMinOrderByAggregateInput = {
    id?: SortOrder
    uuid?: SortOrder
    mobile_number?: SortOrder
    sms_content?: SortOrder
    request_object?: SortOrder
    response_object?: SortOrder
    created_at?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type sms_test_requestsSumOrderByAggregateInput = {
    id?: SortOrder
    status_id?: SortOrder
    company_id?: SortOrder
  }

  export type StatusCreateNestedOneWithoutUsersInput = {
    create?: XOR<StatusCreateWithoutUsersInput, StatusUncheckedCreateWithoutUsersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUsersInput
    connect?: StatusWhereUniqueInput
  }

  export type UserDetailCreateNestedOneWithoutUserInput = {
    create?: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
    connectOrCreate?: UserDetailCreateOrConnectWithoutUserInput
    connect?: UserDetailWhereUniqueInput
  }

  export type RequestLogCreateNestedManyWithoutUserInput = {
    create?: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput> | RequestLogCreateWithoutUserInput[] | RequestLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutUserInput | RequestLogCreateOrConnectWithoutUserInput[]
    createMany?: RequestLogCreateManyUserInputEnvelope
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
  }

  export type UserRolesCreateNestedManyWithoutUserInput = {
    create?: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput> | UserRolesCreateWithoutUserInput[] | UserRolesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutUserInput | UserRolesCreateOrConnectWithoutUserInput[]
    createMany?: UserRolesCreateManyUserInputEnvelope
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
  }

  export type UserPermissionsCreateNestedManyWithoutUserInput = {
    create?: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput> | UserPermissionsCreateWithoutUserInput[] | UserPermissionsUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutUserInput | UserPermissionsCreateOrConnectWithoutUserInput[]
    createMany?: UserPermissionsCreateManyUserInputEnvelope
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
  }

  export type OtpCreateNestedManyWithoutUserInput = {
    create?: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput> | OtpCreateWithoutUserInput[] | OtpUncheckedCreateWithoutUserInput[]
    connectOrCreate?: OtpCreateOrConnectWithoutUserInput | OtpCreateOrConnectWithoutUserInput[]
    createMany?: OtpCreateManyUserInputEnvelope
    connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_usersInput = {
    create?: XOR<UserCreateWithoutCreated_usersInput, UserUncheckedCreateWithoutCreated_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_usersInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_usersInput = {
    create?: XOR<UserCreateWithoutUpdated_usersInput, UserUncheckedCreateWithoutUpdated_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_usersInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_usersInput = {
    create?: XOR<UserCreateWithoutDeleted_usersInput, UserUncheckedCreateWithoutDeleted_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_usersInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedManyWithoutCreatedInput = {
    create?: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput> | UserCreateWithoutCreatedInput[] | UserUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutCreatedInput | UserCreateOrConnectWithoutCreatedInput[]
    createMany?: UserCreateManyCreatedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput> | UserCreateWithoutUpdatedInput[] | UserUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedInput | UserCreateOrConnectWithoutUpdatedInput[]
    createMany?: UserCreateManyUpdatedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserCreateNestedManyWithoutDeletedInput = {
    create?: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput> | UserCreateWithoutDeletedInput[] | UserUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutDeletedInput | UserCreateOrConnectWithoutDeletedInput[]
    createMany?: UserCreateManyDeletedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserDetailCreateNestedManyWithoutCreatedInput = {
    create?: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput> | UserDetailCreateWithoutCreatedInput[] | UserDetailUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutCreatedInput | UserDetailCreateOrConnectWithoutCreatedInput[]
    createMany?: UserDetailCreateManyCreatedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserDetailCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput> | UserDetailCreateWithoutUpdatedInput[] | UserDetailUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutUpdatedInput | UserDetailCreateOrConnectWithoutUpdatedInput[]
    createMany?: UserDetailCreateManyUpdatedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserDetailCreateNestedManyWithoutDeletedInput = {
    create?: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput> | UserDetailCreateWithoutDeletedInput[] | UserDetailUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDeletedInput | UserDetailCreateOrConnectWithoutDeletedInput[]
    createMany?: UserDetailCreateManyDeletedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type RoleCreateNestedManyWithoutCreatedInput = {
    create?: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput> | RoleCreateWithoutCreatedInput[] | RoleUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutCreatedInput | RoleCreateOrConnectWithoutCreatedInput[]
    createMany?: RoleCreateManyCreatedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type RoleCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput> | RoleCreateWithoutUpdatedInput[] | RoleUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutUpdatedInput | RoleCreateOrConnectWithoutUpdatedInput[]
    createMany?: RoleCreateManyUpdatedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type RoleCreateNestedManyWithoutDeletedInput = {
    create?: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput> | RoleCreateWithoutDeletedInput[] | RoleUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutDeletedInput | RoleCreateOrConnectWithoutDeletedInput[]
    createMany?: RoleCreateManyDeletedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type LanguageCreateNestedManyWithoutCreatedInput = {
    create?: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput> | LanguageCreateWithoutCreatedInput[] | LanguageUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutCreatedInput | LanguageCreateOrConnectWithoutCreatedInput[]
    createMany?: LanguageCreateManyCreatedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput> | LanguageCreateWithoutUpdatedInput[] | LanguageUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutUpdatedInput | LanguageCreateOrConnectWithoutUpdatedInput[]
    createMany?: LanguageCreateManyUpdatedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageCreateNestedManyWithoutDeletedInput = {
    create?: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput> | LanguageCreateWithoutDeletedInput[] | LanguageUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutDeletedInput | LanguageCreateOrConnectWithoutDeletedInput[]
    createMany?: LanguageCreateManyDeletedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type MenusCreateNestedManyWithoutCreatedInput = {
    create?: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput> | MenusCreateWithoutCreatedInput[] | MenusUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutCreatedInput | MenusCreateOrConnectWithoutCreatedInput[]
    createMany?: MenusCreateManyCreatedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenusCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput> | MenusCreateWithoutUpdatedInput[] | MenusUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutUpdatedInput | MenusCreateOrConnectWithoutUpdatedInput[]
    createMany?: MenusCreateManyUpdatedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenusCreateNestedManyWithoutDeletedInput = {
    create?: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput> | MenusCreateWithoutDeletedInput[] | MenusUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutDeletedInput | MenusCreateOrConnectWithoutDeletedInput[]
    createMany?: MenusCreateManyDeletedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutCreatedInput = {
    create?: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput> | MenuItemsCreateWithoutCreatedInput[] | MenuItemsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutCreatedInput | MenuItemsCreateOrConnectWithoutCreatedInput[]
    createMany?: MenuItemsCreateManyCreatedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput> | MenuItemsCreateWithoutUpdatedInput[] | MenuItemsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutUpdatedInput | MenuItemsCreateOrConnectWithoutUpdatedInput[]
    createMany?: MenuItemsCreateManyUpdatedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutDeletedInput = {
    create?: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput> | MenuItemsCreateWithoutDeletedInput[] | MenuItemsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutDeletedInput | MenuItemsCreateOrConnectWithoutDeletedInput[]
    createMany?: MenuItemsCreateManyDeletedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type NotificationTemplateCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput> | NotificationTemplateCreateWithoutCreatedInput[] | NotificationTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutCreatedInput | NotificationTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationTemplateCreateManyCreatedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput> | NotificationTemplateCreateWithoutUpdatedInput[] | NotificationTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutUpdatedInput | NotificationTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: NotificationTemplateCreateManyUpdatedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateCreateNestedManyWithoutDeletedInput = {
    create?: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput> | NotificationTemplateCreateWithoutDeletedInput[] | NotificationTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutDeletedInput | NotificationTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: NotificationTemplateCreateManyDeletedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput> | NotificationTemplateAssignmentCreateWithoutCreatedInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput | NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationTemplateAssignmentCreateManyCreatedInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type NotificationProcessJobCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput> | NotificationProcessJobCreateWithoutCreatedInput[] | NotificationProcessJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutCreatedInput | NotificationProcessJobCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationProcessJobCreateManyCreatedInputEnvelope
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
  }

  export type NotificationJobCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput> | NotificationJobCreateWithoutCreatedInput[] | NotificationJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutCreatedInput | NotificationJobCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationJobCreateManyCreatedInputEnvelope
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
  }

  export type ImportTemplateCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput> | ImportTemplateCreateWithoutCreatedInput[] | ImportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutCreatedInput | ImportTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: ImportTemplateCreateManyCreatedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput> | ImportTemplateCreateWithoutUpdatedInput[] | ImportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutUpdatedInput | ImportTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: ImportTemplateCreateManyUpdatedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput> | ImportTemplateCreateWithoutDeletedInput[] | ImportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDeletedInput | ImportTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: ImportTemplateCreateManyDeletedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateCreateNestedManyWithoutCreatedInput = {
    create?: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput> | CarouselTemplateCreateWithoutCreatedInput[] | CarouselTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutCreatedInput | CarouselTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: CarouselTemplateCreateManyCreatedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput> | CarouselTemplateCreateWithoutUpdatedInput[] | CarouselTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutUpdatedInput | CarouselTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: CarouselTemplateCreateManyUpdatedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateCreateNestedManyWithoutDeletedInput = {
    create?: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput> | CarouselTemplateCreateWithoutDeletedInput[] | CarouselTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutDeletedInput | CarouselTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: CarouselTemplateCreateManyDeletedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type ExportTemplateCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput> | ExportTemplateCreateWithoutCreatedInput[] | ExportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutCreatedInput | ExportTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: ExportTemplateCreateManyCreatedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput> | ExportTemplateCreateWithoutUpdatedInput[] | ExportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutUpdatedInput | ExportTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: ExportTemplateCreateManyUpdatedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput> | ExportTemplateCreateWithoutDeletedInput[] | ExportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutDeletedInput | ExportTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: ExportTemplateCreateManyDeletedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type DepartmentCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput> | DepartmentCreateWithoutCreatedInput[] | DepartmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutCreatedInput | DepartmentCreateOrConnectWithoutCreatedInput[]
    createMany?: DepartmentCreateManyCreatedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentCreateNestedManyWithoutDepartment_headInput = {
    create?: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput> | DepartmentCreateWithoutDepartment_headInput[] | DepartmentUncheckedCreateWithoutDepartment_headInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDepartment_headInput | DepartmentCreateOrConnectWithoutDepartment_headInput[]
    createMany?: DepartmentCreateManyDepartment_headInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput> | DepartmentCreateWithoutUpdatedInput[] | DepartmentUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutUpdatedInput | DepartmentCreateOrConnectWithoutUpdatedInput[]
    createMany?: DepartmentCreateManyUpdatedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput> | DepartmentCreateWithoutDeletedInput[] | DepartmentUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDeletedInput | DepartmentCreateOrConnectWithoutDeletedInput[]
    createMany?: DepartmentCreateManyDeletedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DesignationCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput> | DesignationCreateWithoutCreatedInput[] | DesignationUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutCreatedInput | DesignationCreateOrConnectWithoutCreatedInput[]
    createMany?: DesignationCreateManyCreatedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DesignationCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput> | DesignationCreateWithoutUpdatedInput[] | DesignationUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutUpdatedInput | DesignationCreateOrConnectWithoutUpdatedInput[]
    createMany?: DesignationCreateManyUpdatedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DesignationCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput> | DesignationCreateWithoutDeletedInput[] | DesignationUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutDeletedInput | DesignationCreateOrConnectWithoutDeletedInput[]
    createMany?: DesignationCreateManyDeletedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type AuditLogCreateNestedManyWithoutUserInput = {
    create?: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput> | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[]
    createMany?: AuditLogCreateManyUserInputEnvelope
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
  }

  export type CategoryTypesCreateNestedManyWithoutCreated_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput> | CategoryTypesCreateWithoutCreated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutCreated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCreated_category_typesInput | CategoryTypesCreateOrConnectWithoutCreated_category_typesInput[]
    createMany?: CategoryTypesCreateManyCreated_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput> | CategoryTypesCreateWithoutUpdated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput | CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput[]
    createMany?: CategoryTypesCreateManyUpdated_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput> | CategoryTypesCreateWithoutDeleted_category_typesInput[] | CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput | CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput[]
    createMany?: CategoryTypesCreateManyDeleted_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoriesCreateNestedManyWithoutCreated_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput> | CategoriesCreateWithoutCreated_categoriesInput[] | CategoriesUncheckedCreateWithoutCreated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCreated_categoriesInput | CategoriesCreateOrConnectWithoutCreated_categoriesInput[]
    createMany?: CategoriesCreateManyCreated_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type CategoriesCreateNestedManyWithoutUpdated_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput> | CategoriesCreateWithoutUpdated_categoriesInput[] | CategoriesUncheckedCreateWithoutUpdated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutUpdated_categoriesInput | CategoriesCreateOrConnectWithoutUpdated_categoriesInput[]
    createMany?: CategoriesCreateManyUpdated_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type CategoriesCreateNestedManyWithoutDeleted_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput> | CategoriesCreateWithoutDeleted_categoriesInput[] | CategoriesUncheckedCreateWithoutDeleted_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutDeleted_categoriesInput | CategoriesCreateOrConnectWithoutDeleted_categoriesInput[]
    createMany?: CategoriesCreateManyDeleted_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type ConfigurationsCreateNestedManyWithoutCreated_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput> | ConfigurationsCreateWithoutCreated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutCreated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCreated_configurationsInput | ConfigurationsCreateOrConnectWithoutCreated_configurationsInput[]
    createMany?: ConfigurationsCreateManyCreated_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput> | ConfigurationsCreateWithoutUpdated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput | ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput[]
    createMany?: ConfigurationsCreateManyUpdated_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput> | ConfigurationsCreateWithoutDeleted_configurationsInput[] | ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput | ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput[]
    createMany?: ConfigurationsCreateManyDeleted_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput> | UserConfigurationsCreateWithoutCreated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyCreated_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput> | UserConfigurationsCreateWithoutUpdated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyUpdated_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput> | UserConfigurationsCreateWithoutDeleted_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyDeleted_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type FinancialYearCreateNestedManyWithoutCreatedInput = {
    create?: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput> | FinancialYearCreateWithoutCreatedInput[] | FinancialYearUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutCreatedInput | FinancialYearCreateOrConnectWithoutCreatedInput[]
    createMany?: FinancialYearCreateManyCreatedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type FinancialYearCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput> | FinancialYearCreateWithoutUpdatedInput[] | FinancialYearUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutUpdatedInput | FinancialYearCreateOrConnectWithoutUpdatedInput[]
    createMany?: FinancialYearCreateManyUpdatedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type FinancialYearCreateNestedManyWithoutDeletedInput = {
    create?: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput> | FinancialYearCreateWithoutDeletedInput[] | FinancialYearUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDeletedInput | FinancialYearCreateOrConnectWithoutDeletedInput[]
    createMany?: FinancialYearCreateManyDeletedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type DocumentSequenceCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput> | DocumentSequenceCreateWithoutCreatedInput[] | DocumentSequenceUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutCreatedInput | DocumentSequenceCreateOrConnectWithoutCreatedInput[]
    createMany?: DocumentSequenceCreateManyCreatedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DocumentSequenceCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput> | DocumentSequenceCreateWithoutUpdatedInput[] | DocumentSequenceUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutUpdatedInput | DocumentSequenceCreateOrConnectWithoutUpdatedInput[]
    createMany?: DocumentSequenceCreateManyUpdatedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DocumentSequenceCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput> | DocumentSequenceCreateWithoutDeletedInput[] | DocumentSequenceUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutDeletedInput | DocumentSequenceCreateOrConnectWithoutDeletedInput[]
    createMany?: DocumentSequenceCreateManyDeletedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput> | DeviceRegistrationCreateWithoutCreated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyCreated_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput> | DeviceRegistrationCreateWithoutUpdated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyUpdated_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput> | DeviceRegistrationCreateWithoutDeleted_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyDeleted_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationCreateNestedManyWithoutUserInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput> | DeviceRegistrationCreateWithoutUserInput[] | DeviceRegistrationUncheckedCreateWithoutUserInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUserInput | DeviceRegistrationCreateOrConnectWithoutUserInput[]
    createMany?: DeviceRegistrationCreateManyUserInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type ImportJobCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput> | ImportJobCreateWithoutCreatedInput[] | ImportJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutCreatedInput | ImportJobCreateOrConnectWithoutCreatedInput[]
    createMany?: ImportJobCreateManyCreatedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput> | ImportJobCreateWithoutUpdatedInput[] | ImportJobUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutUpdatedInput | ImportJobCreateOrConnectWithoutUpdatedInput[]
    createMany?: ImportJobCreateManyUpdatedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput> | ImportJobCreateWithoutDeletedInput[] | ImportJobUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutDeletedInput | ImportJobCreateOrConnectWithoutDeletedInput[]
    createMany?: ImportJobCreateManyDeletedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type DirectImportDetailsCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput> | DirectImportDetailsCreateWithoutCreatedInput[] | DirectImportDetailsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutCreatedInput | DirectImportDetailsCreateOrConnectWithoutCreatedInput[]
    createMany?: DirectImportDetailsCreateManyCreatedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DirectImportDetailsCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput> | DirectImportDetailsCreateWithoutUpdatedInput[] | DirectImportDetailsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutUpdatedInput | DirectImportDetailsCreateOrConnectWithoutUpdatedInput[]
    createMany?: DirectImportDetailsCreateManyUpdatedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DirectImportDetailsCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput> | DirectImportDetailsCreateWithoutDeletedInput[] | DirectImportDetailsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutDeletedInput | DirectImportDetailsCreateOrConnectWithoutDeletedInput[]
    createMany?: DirectImportDetailsCreateManyDeletedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type UserPoliciesCreateNestedManyWithoutUserInput = {
    create?: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput> | UserPoliciesCreateWithoutUserInput[] | UserPoliciesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutUserInput | UserPoliciesCreateOrConnectWithoutUserInput[]
    createMany?: UserPoliciesCreateManyUserInputEnvelope
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
  }

  export type PoliciesCreateNestedManyWithoutCreated_policyInput = {
    create?: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput> | PoliciesCreateWithoutCreated_policyInput[] | PoliciesUncheckedCreateWithoutCreated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutCreated_policyInput | PoliciesCreateOrConnectWithoutCreated_policyInput[]
    createMany?: PoliciesCreateManyCreated_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type PoliciesCreateNestedManyWithoutUpdated_policyInput = {
    create?: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput> | PoliciesCreateWithoutUpdated_policyInput[] | PoliciesUncheckedCreateWithoutUpdated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutUpdated_policyInput | PoliciesCreateOrConnectWithoutUpdated_policyInput[]
    createMany?: PoliciesCreateManyUpdated_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type PoliciesCreateNestedManyWithoutDeleted_policyInput = {
    create?: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput> | PoliciesCreateWithoutDeleted_policyInput[] | PoliciesUncheckedCreateWithoutDeleted_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutDeleted_policyInput | PoliciesCreateOrConnectWithoutDeleted_policyInput[]
    createMany?: PoliciesCreateManyDeleted_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type AppversionsCreateNestedManyWithoutCreated_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput> | AppversionsCreateWithoutCreated_app_versionsInput[] | AppversionsUncheckedCreateWithoutCreated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutCreated_app_versionsInput | AppversionsCreateOrConnectWithoutCreated_app_versionsInput[]
    createMany?: AppversionsCreateManyCreated_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type AppversionsCreateNestedManyWithoutUpdated_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput> | AppversionsCreateWithoutUpdated_app_versionsInput[] | AppversionsUncheckedCreateWithoutUpdated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutUpdated_app_versionsInput | AppversionsCreateOrConnectWithoutUpdated_app_versionsInput[]
    createMany?: AppversionsCreateManyUpdated_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type AppversionsCreateNestedManyWithoutDeleted_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput> | AppversionsCreateWithoutDeleted_app_versionsInput[] | AppversionsUncheckedCreateWithoutDeleted_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutDeleted_app_versionsInput | AppversionsCreateOrConnectWithoutDeleted_app_versionsInput[]
    createMany?: AppversionsCreateManyDeleted_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type ThemesCreateNestedManyWithoutCreatedThemeInput = {
    create?: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput> | ThemesCreateWithoutCreatedThemeInput[] | ThemesUncheckedCreateWithoutCreatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutCreatedThemeInput | ThemesCreateOrConnectWithoutCreatedThemeInput[]
    createMany?: ThemesCreateManyCreatedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemesCreateNestedManyWithoutUpdatedThemeInput = {
    create?: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput> | ThemesCreateWithoutUpdatedThemeInput[] | ThemesUncheckedCreateWithoutUpdatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutUpdatedThemeInput | ThemesCreateOrConnectWithoutUpdatedThemeInput[]
    createMany?: ThemesCreateManyUpdatedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemesCreateNestedManyWithoutDeletedThemeInput = {
    create?: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput> | ThemesCreateWithoutDeletedThemeInput[] | ThemesUncheckedCreateWithoutDeletedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutDeletedThemeInput | ThemesCreateOrConnectWithoutDeletedThemeInput[]
    createMany?: ThemesCreateManyDeletedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyCreatedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyUpdatedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput> | ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyDeletedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput> | ThemeAttributesCreateWithoutCreatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyCreatedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput> | ThemeAttributesCreateWithoutUpdatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyUpdatedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput> | ThemeAttributesCreateWithoutDeletedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyDeletedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ChildProcessLogCreateNestedManyWithoutInitiatorInput = {
    create?: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput> | ChildProcessLogCreateWithoutInitiatorInput[] | ChildProcessLogUncheckedCreateWithoutInitiatorInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutInitiatorInput | ChildProcessLogCreateOrConnectWithoutInitiatorInput[]
    createMany?: ChildProcessLogCreateManyInitiatorInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingCreateNestedManyWithoutUserInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput> | CustomerGeoFenceMappingCreateWithoutUserInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutUserInput | CustomerGeoFenceMappingCreateOrConnectWithoutUserInput[]
    createMany?: CustomerGeoFenceMappingCreateManyUserInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type VehicleUserMappingCreateNestedManyWithoutUserInput = {
    create?: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput> | VehicleUserMappingCreateWithoutUserInput[] | VehicleUserMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutUserInput | VehicleUserMappingCreateOrConnectWithoutUserInput[]
    createMany?: VehicleUserMappingCreateManyUserInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type DeliveryNotesCreateNestedManyWithoutCustomerInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput> | DeliveryNotesCreateWithoutCustomerInput[] | DeliveryNotesUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomerInput | DeliveryNotesCreateOrConnectWithoutCustomerInput[]
    createMany?: DeliveryNotesCreateManyCustomerInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type VehiclesGpsDataCreateNestedManyWithoutUserInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput> | VehiclesGpsDataCreateWithoutUserInput[] | VehiclesGpsDataUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutUserInput | VehiclesGpsDataCreateOrConnectWithoutUserInput[]
    createMany?: VehiclesGpsDataCreateManyUserInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type VehiclesGpsDataLogCreateNestedManyWithoutUserInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput> | VehiclesGpsDataLogCreateWithoutUserInput[] | VehiclesGpsDataLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutUserInput | VehiclesGpsDataLogCreateOrConnectWithoutUserInput[]
    createMany?: VehiclesGpsDataLogCreateManyUserInputEnvelope
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput> | VehicleGeofenceHistoryCreateWithoutDriverInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput | VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput[]
    createMany?: VehicleGeofenceHistoryCreateManyDriverInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput> | VehicleGeofenceHistoryCreateWithoutCustomerInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput | VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput[]
    createMany?: VehicleGeofenceHistoryCreateManyCustomerInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type ShipmentCustomersCreateNestedManyWithoutCustomerInput = {
    create?: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput> | ShipmentCustomersCreateWithoutCustomerInput[] | ShipmentCustomersUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutCustomerInput | ShipmentCustomersCreateOrConnectWithoutCustomerInput[]
    createMany?: ShipmentCustomersCreateManyCustomerInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type VehicleTripHistoriesCreateNestedManyWithoutUserInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput> | VehicleTripHistoriesCreateWithoutUserInput[] | VehicleTripHistoriesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutUserInput | VehicleTripHistoriesCreateOrConnectWithoutUserInput[]
    createMany?: VehicleTripHistoriesCreateManyUserInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyCreated_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyUpdated_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput> | BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyDeleted_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type UserLoginHistoryCreateNestedManyWithoutUserInput = {
    create?: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput> | UserLoginHistoryCreateWithoutUserInput[] | UserLoginHistoryUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutUserInput | UserLoginHistoryCreateOrConnectWithoutUserInput[]
    createMany?: UserLoginHistoryCreateManyUserInputEnvelope
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
  }

  export type UserDetailUncheckedCreateNestedOneWithoutUserInput = {
    create?: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
    connectOrCreate?: UserDetailCreateOrConnectWithoutUserInput
    connect?: UserDetailWhereUniqueInput
  }

  export type RequestLogUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput> | RequestLogCreateWithoutUserInput[] | RequestLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutUserInput | RequestLogCreateOrConnectWithoutUserInput[]
    createMany?: RequestLogCreateManyUserInputEnvelope
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
  }

  export type UserRolesUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput> | UserRolesCreateWithoutUserInput[] | UserRolesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutUserInput | UserRolesCreateOrConnectWithoutUserInput[]
    createMany?: UserRolesCreateManyUserInputEnvelope
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
  }

  export type UserPermissionsUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput> | UserPermissionsCreateWithoutUserInput[] | UserPermissionsUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutUserInput | UserPermissionsCreateOrConnectWithoutUserInput[]
    createMany?: UserPermissionsCreateManyUserInputEnvelope
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
  }

  export type OtpUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput> | OtpCreateWithoutUserInput[] | OtpUncheckedCreateWithoutUserInput[]
    connectOrCreate?: OtpCreateOrConnectWithoutUserInput | OtpCreateOrConnectWithoutUserInput[]
    createMany?: OtpCreateManyUserInputEnvelope
    connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
  }

  export type UserUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput> | UserCreateWithoutCreatedInput[] | UserUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutCreatedInput | UserCreateOrConnectWithoutCreatedInput[]
    createMany?: UserCreateManyCreatedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput> | UserCreateWithoutUpdatedInput[] | UserUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedInput | UserCreateOrConnectWithoutUpdatedInput[]
    createMany?: UserCreateManyUpdatedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput> | UserCreateWithoutDeletedInput[] | UserUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutDeletedInput | UserCreateOrConnectWithoutDeletedInput[]
    createMany?: UserCreateManyDeletedInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type UserDetailUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput> | UserDetailCreateWithoutCreatedInput[] | UserDetailUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutCreatedInput | UserDetailCreateOrConnectWithoutCreatedInput[]
    createMany?: UserDetailCreateManyCreatedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserDetailUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput> | UserDetailCreateWithoutUpdatedInput[] | UserDetailUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutUpdatedInput | UserDetailCreateOrConnectWithoutUpdatedInput[]
    createMany?: UserDetailCreateManyUpdatedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserDetailUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput> | UserDetailCreateWithoutDeletedInput[] | UserDetailUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDeletedInput | UserDetailCreateOrConnectWithoutDeletedInput[]
    createMany?: UserDetailCreateManyDeletedInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type RoleUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput> | RoleCreateWithoutCreatedInput[] | RoleUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutCreatedInput | RoleCreateOrConnectWithoutCreatedInput[]
    createMany?: RoleCreateManyCreatedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type RoleUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput> | RoleCreateWithoutUpdatedInput[] | RoleUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutUpdatedInput | RoleCreateOrConnectWithoutUpdatedInput[]
    createMany?: RoleCreateManyUpdatedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type RoleUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput> | RoleCreateWithoutDeletedInput[] | RoleUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutDeletedInput | RoleCreateOrConnectWithoutDeletedInput[]
    createMany?: RoleCreateManyDeletedInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type LanguageUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput> | LanguageCreateWithoutCreatedInput[] | LanguageUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutCreatedInput | LanguageCreateOrConnectWithoutCreatedInput[]
    createMany?: LanguageCreateManyCreatedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput> | LanguageCreateWithoutUpdatedInput[] | LanguageUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutUpdatedInput | LanguageCreateOrConnectWithoutUpdatedInput[]
    createMany?: LanguageCreateManyUpdatedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput> | LanguageCreateWithoutDeletedInput[] | LanguageUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutDeletedInput | LanguageCreateOrConnectWithoutDeletedInput[]
    createMany?: LanguageCreateManyDeletedInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type MenusUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput> | MenusCreateWithoutCreatedInput[] | MenusUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutCreatedInput | MenusCreateOrConnectWithoutCreatedInput[]
    createMany?: MenusCreateManyCreatedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenusUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput> | MenusCreateWithoutUpdatedInput[] | MenusUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutUpdatedInput | MenusCreateOrConnectWithoutUpdatedInput[]
    createMany?: MenusCreateManyUpdatedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenusUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput> | MenusCreateWithoutDeletedInput[] | MenusUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutDeletedInput | MenusCreateOrConnectWithoutDeletedInput[]
    createMany?: MenusCreateManyDeletedInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput> | MenuItemsCreateWithoutCreatedInput[] | MenuItemsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutCreatedInput | MenuItemsCreateOrConnectWithoutCreatedInput[]
    createMany?: MenuItemsCreateManyCreatedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput> | MenuItemsCreateWithoutUpdatedInput[] | MenuItemsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutUpdatedInput | MenuItemsCreateOrConnectWithoutUpdatedInput[]
    createMany?: MenuItemsCreateManyUpdatedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput> | MenuItemsCreateWithoutDeletedInput[] | MenuItemsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutDeletedInput | MenuItemsCreateOrConnectWithoutDeletedInput[]
    createMany?: MenuItemsCreateManyDeletedInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput> | NotificationTemplateCreateWithoutCreatedInput[] | NotificationTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutCreatedInput | NotificationTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationTemplateCreateManyCreatedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput> | NotificationTemplateCreateWithoutUpdatedInput[] | NotificationTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutUpdatedInput | NotificationTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: NotificationTemplateCreateManyUpdatedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput> | NotificationTemplateCreateWithoutDeletedInput[] | NotificationTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutDeletedInput | NotificationTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: NotificationTemplateCreateManyDeletedInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput> | NotificationTemplateAssignmentCreateWithoutCreatedInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput | NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationTemplateAssignmentCreateManyCreatedInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput> | NotificationProcessJobCreateWithoutCreatedInput[] | NotificationProcessJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutCreatedInput | NotificationProcessJobCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationProcessJobCreateManyCreatedInputEnvelope
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
  }

  export type NotificationJobUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput> | NotificationJobCreateWithoutCreatedInput[] | NotificationJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutCreatedInput | NotificationJobCreateOrConnectWithoutCreatedInput[]
    createMany?: NotificationJobCreateManyCreatedInputEnvelope
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
  }

  export type ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput> | ImportTemplateCreateWithoutCreatedInput[] | ImportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutCreatedInput | ImportTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: ImportTemplateCreateManyCreatedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput> | ImportTemplateCreateWithoutUpdatedInput[] | ImportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutUpdatedInput | ImportTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: ImportTemplateCreateManyUpdatedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput> | ImportTemplateCreateWithoutDeletedInput[] | ImportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDeletedInput | ImportTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: ImportTemplateCreateManyDeletedInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput> | CarouselTemplateCreateWithoutCreatedInput[] | CarouselTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutCreatedInput | CarouselTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: CarouselTemplateCreateManyCreatedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput> | CarouselTemplateCreateWithoutUpdatedInput[] | CarouselTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutUpdatedInput | CarouselTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: CarouselTemplateCreateManyUpdatedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput> | CarouselTemplateCreateWithoutDeletedInput[] | CarouselTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutDeletedInput | CarouselTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: CarouselTemplateCreateManyDeletedInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput> | ExportTemplateCreateWithoutCreatedInput[] | ExportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutCreatedInput | ExportTemplateCreateOrConnectWithoutCreatedInput[]
    createMany?: ExportTemplateCreateManyCreatedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput> | ExportTemplateCreateWithoutUpdatedInput[] | ExportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutUpdatedInput | ExportTemplateCreateOrConnectWithoutUpdatedInput[]
    createMany?: ExportTemplateCreateManyUpdatedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput> | ExportTemplateCreateWithoutDeletedInput[] | ExportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutDeletedInput | ExportTemplateCreateOrConnectWithoutDeletedInput[]
    createMany?: ExportTemplateCreateManyDeletedInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type DepartmentUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput> | DepartmentCreateWithoutCreatedInput[] | DepartmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutCreatedInput | DepartmentCreateOrConnectWithoutCreatedInput[]
    createMany?: DepartmentCreateManyCreatedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput = {
    create?: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput> | DepartmentCreateWithoutDepartment_headInput[] | DepartmentUncheckedCreateWithoutDepartment_headInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDepartment_headInput | DepartmentCreateOrConnectWithoutDepartment_headInput[]
    createMany?: DepartmentCreateManyDepartment_headInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput> | DepartmentCreateWithoutUpdatedInput[] | DepartmentUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutUpdatedInput | DepartmentCreateOrConnectWithoutUpdatedInput[]
    createMany?: DepartmentCreateManyUpdatedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DepartmentUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput> | DepartmentCreateWithoutDeletedInput[] | DepartmentUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDeletedInput | DepartmentCreateOrConnectWithoutDeletedInput[]
    createMany?: DepartmentCreateManyDeletedInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type DesignationUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput> | DesignationCreateWithoutCreatedInput[] | DesignationUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutCreatedInput | DesignationCreateOrConnectWithoutCreatedInput[]
    createMany?: DesignationCreateManyCreatedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DesignationUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput> | DesignationCreateWithoutUpdatedInput[] | DesignationUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutUpdatedInput | DesignationCreateOrConnectWithoutUpdatedInput[]
    createMany?: DesignationCreateManyUpdatedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DesignationUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput> | DesignationCreateWithoutDeletedInput[] | DesignationUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutDeletedInput | DesignationCreateOrConnectWithoutDeletedInput[]
    createMany?: DesignationCreateManyDeletedInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type AuditLogUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput> | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[]
    createMany?: AuditLogCreateManyUserInputEnvelope
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
  }

  export type CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput> | CategoryTypesCreateWithoutCreated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutCreated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCreated_category_typesInput | CategoryTypesCreateOrConnectWithoutCreated_category_typesInput[]
    createMany?: CategoryTypesCreateManyCreated_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput> | CategoryTypesCreateWithoutUpdated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput | CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput[]
    createMany?: CategoryTypesCreateManyUpdated_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput = {
    create?: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput> | CategoryTypesCreateWithoutDeleted_category_typesInput[] | CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput | CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput[]
    createMany?: CategoryTypesCreateManyDeleted_category_typesInputEnvelope
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
  }

  export type CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput> | CategoriesCreateWithoutCreated_categoriesInput[] | CategoriesUncheckedCreateWithoutCreated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCreated_categoriesInput | CategoriesCreateOrConnectWithoutCreated_categoriesInput[]
    createMany?: CategoriesCreateManyCreated_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput> | CategoriesCreateWithoutUpdated_categoriesInput[] | CategoriesUncheckedCreateWithoutUpdated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutUpdated_categoriesInput | CategoriesCreateOrConnectWithoutUpdated_categoriesInput[]
    createMany?: CategoriesCreateManyUpdated_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput = {
    create?: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput> | CategoriesCreateWithoutDeleted_categoriesInput[] | CategoriesUncheckedCreateWithoutDeleted_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutDeleted_categoriesInput | CategoriesCreateOrConnectWithoutDeleted_categoriesInput[]
    createMany?: CategoriesCreateManyDeleted_categoriesInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput> | ConfigurationsCreateWithoutCreated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutCreated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCreated_configurationsInput | ConfigurationsCreateOrConnectWithoutCreated_configurationsInput[]
    createMany?: ConfigurationsCreateManyCreated_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput> | ConfigurationsCreateWithoutUpdated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput | ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput[]
    createMany?: ConfigurationsCreateManyUpdated_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput = {
    create?: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput> | ConfigurationsCreateWithoutDeleted_configurationsInput[] | ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput | ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput[]
    createMany?: ConfigurationsCreateManyDeleted_configurationsInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput> | UserConfigurationsCreateWithoutCreated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyCreated_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput> | UserConfigurationsCreateWithoutUpdated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyUpdated_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput = {
    create?: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput> | UserConfigurationsCreateWithoutDeleted_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyDeleted_user_configurationsInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type FinancialYearUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput> | FinancialYearCreateWithoutCreatedInput[] | FinancialYearUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutCreatedInput | FinancialYearCreateOrConnectWithoutCreatedInput[]
    createMany?: FinancialYearCreateManyCreatedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput> | FinancialYearCreateWithoutUpdatedInput[] | FinancialYearUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutUpdatedInput | FinancialYearCreateOrConnectWithoutUpdatedInput[]
    createMany?: FinancialYearCreateManyUpdatedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type FinancialYearUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput> | FinancialYearCreateWithoutDeletedInput[] | FinancialYearUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDeletedInput | FinancialYearCreateOrConnectWithoutDeletedInput[]
    createMany?: FinancialYearCreateManyDeletedInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput> | DocumentSequenceCreateWithoutCreatedInput[] | DocumentSequenceUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutCreatedInput | DocumentSequenceCreateOrConnectWithoutCreatedInput[]
    createMany?: DocumentSequenceCreateManyCreatedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput> | DocumentSequenceCreateWithoutUpdatedInput[] | DocumentSequenceUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutUpdatedInput | DocumentSequenceCreateOrConnectWithoutUpdatedInput[]
    createMany?: DocumentSequenceCreateManyUpdatedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput> | DocumentSequenceCreateWithoutDeletedInput[] | DocumentSequenceUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutDeletedInput | DocumentSequenceCreateOrConnectWithoutDeletedInput[]
    createMany?: DocumentSequenceCreateManyDeletedInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput> | DeviceRegistrationCreateWithoutCreated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyCreated_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput> | DeviceRegistrationCreateWithoutUpdated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyUpdated_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput = {
    create?: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput> | DeviceRegistrationCreateWithoutDeleted_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyDeleted_device_registrationInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput> | DeviceRegistrationCreateWithoutUserInput[] | DeviceRegistrationUncheckedCreateWithoutUserInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUserInput | DeviceRegistrationCreateOrConnectWithoutUserInput[]
    createMany?: DeviceRegistrationCreateManyUserInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type ImportJobUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput> | ImportJobCreateWithoutCreatedInput[] | ImportJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutCreatedInput | ImportJobCreateOrConnectWithoutCreatedInput[]
    createMany?: ImportJobCreateManyCreatedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput> | ImportJobCreateWithoutUpdatedInput[] | ImportJobUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutUpdatedInput | ImportJobCreateOrConnectWithoutUpdatedInput[]
    createMany?: ImportJobCreateManyUpdatedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput> | ImportJobCreateWithoutDeletedInput[] | ImportJobUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutDeletedInput | ImportJobCreateOrConnectWithoutDeletedInput[]
    createMany?: ImportJobCreateManyDeletedInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput> | DirectImportDetailsCreateWithoutCreatedInput[] | DirectImportDetailsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutCreatedInput | DirectImportDetailsCreateOrConnectWithoutCreatedInput[]
    createMany?: DirectImportDetailsCreateManyCreatedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput> | DirectImportDetailsCreateWithoutUpdatedInput[] | DirectImportDetailsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutUpdatedInput | DirectImportDetailsCreateOrConnectWithoutUpdatedInput[]
    createMany?: DirectImportDetailsCreateManyUpdatedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput> | DirectImportDetailsCreateWithoutDeletedInput[] | DirectImportDetailsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutDeletedInput | DirectImportDetailsCreateOrConnectWithoutDeletedInput[]
    createMany?: DirectImportDetailsCreateManyDeletedInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type UserPoliciesUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput> | UserPoliciesCreateWithoutUserInput[] | UserPoliciesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutUserInput | UserPoliciesCreateOrConnectWithoutUserInput[]
    createMany?: UserPoliciesCreateManyUserInputEnvelope
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
  }

  export type PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput = {
    create?: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput> | PoliciesCreateWithoutCreated_policyInput[] | PoliciesUncheckedCreateWithoutCreated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutCreated_policyInput | PoliciesCreateOrConnectWithoutCreated_policyInput[]
    createMany?: PoliciesCreateManyCreated_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput = {
    create?: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput> | PoliciesCreateWithoutUpdated_policyInput[] | PoliciesUncheckedCreateWithoutUpdated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutUpdated_policyInput | PoliciesCreateOrConnectWithoutUpdated_policyInput[]
    createMany?: PoliciesCreateManyUpdated_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput = {
    create?: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput> | PoliciesCreateWithoutDeleted_policyInput[] | PoliciesUncheckedCreateWithoutDeleted_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutDeleted_policyInput | PoliciesCreateOrConnectWithoutDeleted_policyInput[]
    createMany?: PoliciesCreateManyDeleted_policyInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput> | AppversionsCreateWithoutCreated_app_versionsInput[] | AppversionsUncheckedCreateWithoutCreated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutCreated_app_versionsInput | AppversionsCreateOrConnectWithoutCreated_app_versionsInput[]
    createMany?: AppversionsCreateManyCreated_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput> | AppversionsCreateWithoutUpdated_app_versionsInput[] | AppversionsUncheckedCreateWithoutUpdated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutUpdated_app_versionsInput | AppversionsCreateOrConnectWithoutUpdated_app_versionsInput[]
    createMany?: AppversionsCreateManyUpdated_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput = {
    create?: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput> | AppversionsCreateWithoutDeleted_app_versionsInput[] | AppversionsUncheckedCreateWithoutDeleted_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutDeleted_app_versionsInput | AppversionsCreateOrConnectWithoutDeleted_app_versionsInput[]
    createMany?: AppversionsCreateManyDeleted_app_versionsInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput = {
    create?: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput> | ThemesCreateWithoutCreatedThemeInput[] | ThemesUncheckedCreateWithoutCreatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutCreatedThemeInput | ThemesCreateOrConnectWithoutCreatedThemeInput[]
    createMany?: ThemesCreateManyCreatedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput = {
    create?: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput> | ThemesCreateWithoutUpdatedThemeInput[] | ThemesUncheckedCreateWithoutUpdatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutUpdatedThemeInput | ThemesCreateOrConnectWithoutUpdatedThemeInput[]
    createMany?: ThemesCreateManyUpdatedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput = {
    create?: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput> | ThemesCreateWithoutDeletedThemeInput[] | ThemesUncheckedCreateWithoutDeletedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutDeletedThemeInput | ThemesCreateOrConnectWithoutDeletedThemeInput[]
    createMany?: ThemesCreateManyDeletedThemeInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyCreatedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyUpdatedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput = {
    create?: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput> | ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyDeletedThemeLineItemsInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput> | ThemeAttributesCreateWithoutCreatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyCreatedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput> | ThemeAttributesCreateWithoutUpdatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyUpdatedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput = {
    create?: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput> | ThemeAttributesCreateWithoutDeletedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyDeletedThemeAttributesInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput = {
    create?: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput> | ChildProcessLogCreateWithoutInitiatorInput[] | ChildProcessLogUncheckedCreateWithoutInitiatorInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutInitiatorInput | ChildProcessLogCreateOrConnectWithoutInitiatorInput[]
    createMany?: ChildProcessLogCreateManyInitiatorInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput> | CustomerGeoFenceMappingCreateWithoutUserInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutUserInput | CustomerGeoFenceMappingCreateOrConnectWithoutUserInput[]
    createMany?: CustomerGeoFenceMappingCreateManyUserInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput> | VehicleUserMappingCreateWithoutUserInput[] | VehicleUserMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutUserInput | VehicleUserMappingCreateOrConnectWithoutUserInput[]
    createMany?: VehicleUserMappingCreateManyUserInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput> | DeliveryNotesCreateWithoutCustomerInput[] | DeliveryNotesUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomerInput | DeliveryNotesCreateOrConnectWithoutCustomerInput[]
    createMany?: DeliveryNotesCreateManyCustomerInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput> | VehiclesGpsDataCreateWithoutUserInput[] | VehiclesGpsDataUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutUserInput | VehiclesGpsDataCreateOrConnectWithoutUserInput[]
    createMany?: VehiclesGpsDataCreateManyUserInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput> | VehiclesGpsDataLogCreateWithoutUserInput[] | VehiclesGpsDataLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutUserInput | VehiclesGpsDataLogCreateOrConnectWithoutUserInput[]
    createMany?: VehiclesGpsDataLogCreateManyUserInputEnvelope
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput> | VehicleGeofenceHistoryCreateWithoutDriverInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput | VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput[]
    createMany?: VehicleGeofenceHistoryCreateManyDriverInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput> | VehicleGeofenceHistoryCreateWithoutCustomerInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput | VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput[]
    createMany?: VehicleGeofenceHistoryCreateManyCustomerInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput = {
    create?: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput> | ShipmentCustomersCreateWithoutCustomerInput[] | ShipmentCustomersUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutCustomerInput | ShipmentCustomersCreateOrConnectWithoutCustomerInput[]
    createMany?: ShipmentCustomersCreateManyCustomerInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput> | VehicleTripHistoriesCreateWithoutUserInput[] | VehicleTripHistoriesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutUserInput | VehicleTripHistoriesCreateOrConnectWithoutUserInput[]
    createMany?: VehicleTripHistoriesCreateManyUserInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyCreated_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyUpdated_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput> | BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyDeleted_barcode_templatesInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput = {
    create?: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput> | UserLoginHistoryCreateWithoutUserInput[] | UserLoginHistoryUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutUserInput | UserLoginHistoryCreateOrConnectWithoutUserInput[]
    createMany?: UserLoginHistoryCreateManyUserInputEnvelope
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
  }

  export type StringFieldUpdateOperationsInput = {
    set?: string
  }

  export type BoolFieldUpdateOperationsInput = {
    set?: boolean
  }

  export type NullableStringFieldUpdateOperationsInput = {
    set?: string | null
  }

  export type EnumUserRoleFieldUpdateOperationsInput = {
    set?: $Enums.UserRole
  }

  export type EnumProcessStatusFieldUpdateOperationsInput = {
    set?: $Enums.ProcessStatus
  }

  export type DateTimeFieldUpdateOperationsInput = {
    set?: Date | string
  }

  export type NullableDateTimeFieldUpdateOperationsInput = {
    set?: Date | string | null
  }

  export type IntFieldUpdateOperationsInput = {
    set?: number
    increment?: number
    decrement?: number
    multiply?: number
    divide?: number
  }

  export type StatusUpdateOneRequiredWithoutUsersNestedInput = {
    create?: XOR<StatusCreateWithoutUsersInput, StatusUncheckedCreateWithoutUsersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUsersInput
    upsert?: StatusUpsertWithoutUsersInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutUsersInput, StatusUpdateWithoutUsersInput>, StatusUncheckedUpdateWithoutUsersInput>
  }

  export type UserDetailUpdateOneWithoutUserNestedInput = {
    create?: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
    connectOrCreate?: UserDetailCreateOrConnectWithoutUserInput
    upsert?: UserDetailUpsertWithoutUserInput
    disconnect?: UserDetailWhereInput | boolean
    delete?: UserDetailWhereInput | boolean
    connect?: UserDetailWhereUniqueInput
    update?: XOR<XOR<UserDetailUpdateToOneWithWhereWithoutUserInput, UserDetailUpdateWithoutUserInput>, UserDetailUncheckedUpdateWithoutUserInput>
  }

  export type RequestLogUpdateManyWithoutUserNestedInput = {
    create?: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput> | RequestLogCreateWithoutUserInput[] | RequestLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutUserInput | RequestLogCreateOrConnectWithoutUserInput[]
    upsert?: RequestLogUpsertWithWhereUniqueWithoutUserInput | RequestLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: RequestLogCreateManyUserInputEnvelope
    set?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    disconnect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    delete?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    update?: RequestLogUpdateWithWhereUniqueWithoutUserInput | RequestLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: RequestLogUpdateManyWithWhereWithoutUserInput | RequestLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
  }

  export type UserRolesUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput> | UserRolesCreateWithoutUserInput[] | UserRolesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutUserInput | UserRolesCreateOrConnectWithoutUserInput[]
    upsert?: UserRolesUpsertWithWhereUniqueWithoutUserInput | UserRolesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserRolesCreateManyUserInputEnvelope
    set?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    disconnect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    delete?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    update?: UserRolesUpdateWithWhereUniqueWithoutUserInput | UserRolesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserRolesUpdateManyWithWhereWithoutUserInput | UserRolesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
  }

  export type UserPermissionsUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput> | UserPermissionsCreateWithoutUserInput[] | UserPermissionsUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutUserInput | UserPermissionsCreateOrConnectWithoutUserInput[]
    upsert?: UserPermissionsUpsertWithWhereUniqueWithoutUserInput | UserPermissionsUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserPermissionsCreateManyUserInputEnvelope
    set?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    disconnect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    delete?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    update?: UserPermissionsUpdateWithWhereUniqueWithoutUserInput | UserPermissionsUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserPermissionsUpdateManyWithWhereWithoutUserInput | UserPermissionsUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
  }

  export type OtpUpdateManyWithoutUserNestedInput = {
    create?: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput> | OtpCreateWithoutUserInput[] | OtpUncheckedCreateWithoutUserInput[]
    connectOrCreate?: OtpCreateOrConnectWithoutUserInput | OtpCreateOrConnectWithoutUserInput[]
    upsert?: OtpUpsertWithWhereUniqueWithoutUserInput | OtpUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: OtpCreateManyUserInputEnvelope
    set?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    disconnect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    delete?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    update?: OtpUpdateWithWhereUniqueWithoutUserInput | OtpUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: OtpUpdateManyWithWhereWithoutUserInput | OtpUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: OtpScalarWhereInput | OtpScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_usersNestedInput = {
    create?: XOR<UserCreateWithoutCreated_usersInput, UserUncheckedCreateWithoutCreated_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_usersInput
    upsert?: UserUpsertWithoutCreated_usersInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_usersInput, UserUpdateWithoutCreated_usersInput>, UserUncheckedUpdateWithoutCreated_usersInput>
  }

  export type UserUpdateOneWithoutUpdated_usersNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_usersInput, UserUncheckedCreateWithoutUpdated_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_usersInput
    upsert?: UserUpsertWithoutUpdated_usersInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_usersInput, UserUpdateWithoutUpdated_usersInput>, UserUncheckedUpdateWithoutUpdated_usersInput>
  }

  export type UserUpdateOneWithoutDeleted_usersNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_usersInput, UserUncheckedCreateWithoutDeleted_usersInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_usersInput
    upsert?: UserUpsertWithoutDeleted_usersInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_usersInput, UserUpdateWithoutDeleted_usersInput>, UserUncheckedUpdateWithoutDeleted_usersInput>
  }

  export type UserUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput> | UserCreateWithoutCreatedInput[] | UserUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutCreatedInput | UserCreateOrConnectWithoutCreatedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutCreatedInput | UserUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: UserCreateManyCreatedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutCreatedInput | UserUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutCreatedInput | UserUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput> | UserCreateWithoutUpdatedInput[] | UserUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedInput | UserCreateOrConnectWithoutUpdatedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutUpdatedInput | UserUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: UserCreateManyUpdatedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutUpdatedInput | UserUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutUpdatedInput | UserUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput> | UserCreateWithoutDeletedInput[] | UserUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutDeletedInput | UserCreateOrConnectWithoutDeletedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutDeletedInput | UserUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: UserCreateManyDeletedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutDeletedInput | UserUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutDeletedInput | UserUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserDetailUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput> | UserDetailCreateWithoutCreatedInput[] | UserDetailUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutCreatedInput | UserDetailCreateOrConnectWithoutCreatedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutCreatedInput | UserDetailUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: UserDetailCreateManyCreatedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutCreatedInput | UserDetailUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutCreatedInput | UserDetailUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserDetailUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput> | UserDetailCreateWithoutUpdatedInput[] | UserDetailUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutUpdatedInput | UserDetailCreateOrConnectWithoutUpdatedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutUpdatedInput | UserDetailUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: UserDetailCreateManyUpdatedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutUpdatedInput | UserDetailUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutUpdatedInput | UserDetailUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserDetailUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput> | UserDetailCreateWithoutDeletedInput[] | UserDetailUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDeletedInput | UserDetailCreateOrConnectWithoutDeletedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDeletedInput | UserDetailUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: UserDetailCreateManyDeletedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDeletedInput | UserDetailUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDeletedInput | UserDetailUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type RoleUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput> | RoleCreateWithoutCreatedInput[] | RoleUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutCreatedInput | RoleCreateOrConnectWithoutCreatedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutCreatedInput | RoleUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: RoleCreateManyCreatedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutCreatedInput | RoleUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutCreatedInput | RoleUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type RoleUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput> | RoleCreateWithoutUpdatedInput[] | RoleUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutUpdatedInput | RoleCreateOrConnectWithoutUpdatedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutUpdatedInput | RoleUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: RoleCreateManyUpdatedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutUpdatedInput | RoleUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutUpdatedInput | RoleUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type RoleUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput> | RoleCreateWithoutDeletedInput[] | RoleUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutDeletedInput | RoleCreateOrConnectWithoutDeletedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutDeletedInput | RoleUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: RoleCreateManyDeletedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutDeletedInput | RoleUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutDeletedInput | RoleUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type LanguageUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput> | LanguageCreateWithoutCreatedInput[] | LanguageUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutCreatedInput | LanguageCreateOrConnectWithoutCreatedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutCreatedInput | LanguageUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: LanguageCreateManyCreatedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutCreatedInput | LanguageUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutCreatedInput | LanguageUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput> | LanguageCreateWithoutUpdatedInput[] | LanguageUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutUpdatedInput | LanguageCreateOrConnectWithoutUpdatedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutUpdatedInput | LanguageUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: LanguageCreateManyUpdatedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutUpdatedInput | LanguageUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutUpdatedInput | LanguageUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput> | LanguageCreateWithoutDeletedInput[] | LanguageUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutDeletedInput | LanguageCreateOrConnectWithoutDeletedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutDeletedInput | LanguageUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: LanguageCreateManyDeletedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutDeletedInput | LanguageUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutDeletedInput | LanguageUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type MenusUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput> | MenusCreateWithoutCreatedInput[] | MenusUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutCreatedInput | MenusCreateOrConnectWithoutCreatedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutCreatedInput | MenusUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: MenusCreateManyCreatedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutCreatedInput | MenusUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutCreatedInput | MenusUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenusUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput> | MenusCreateWithoutUpdatedInput[] | MenusUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutUpdatedInput | MenusCreateOrConnectWithoutUpdatedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutUpdatedInput | MenusUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: MenusCreateManyUpdatedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutUpdatedInput | MenusUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutUpdatedInput | MenusUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenusUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput> | MenusCreateWithoutDeletedInput[] | MenusUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutDeletedInput | MenusCreateOrConnectWithoutDeletedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutDeletedInput | MenusUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: MenusCreateManyDeletedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutDeletedInput | MenusUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutDeletedInput | MenusUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput> | MenuItemsCreateWithoutCreatedInput[] | MenuItemsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutCreatedInput | MenuItemsCreateOrConnectWithoutCreatedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutCreatedInput | MenuItemsUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: MenuItemsCreateManyCreatedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutCreatedInput | MenuItemsUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutCreatedInput | MenuItemsUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput> | MenuItemsCreateWithoutUpdatedInput[] | MenuItemsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutUpdatedInput | MenuItemsCreateOrConnectWithoutUpdatedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutUpdatedInput | MenuItemsUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: MenuItemsCreateManyUpdatedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutUpdatedInput | MenuItemsUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutUpdatedInput | MenuItemsUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput> | MenuItemsCreateWithoutDeletedInput[] | MenuItemsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutDeletedInput | MenuItemsCreateOrConnectWithoutDeletedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutDeletedInput | MenuItemsUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: MenuItemsCreateManyDeletedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutDeletedInput | MenuItemsUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutDeletedInput | MenuItemsUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type NotificationTemplateUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput> | NotificationTemplateCreateWithoutCreatedInput[] | NotificationTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutCreatedInput | NotificationTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutCreatedInput | NotificationTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationTemplateCreateManyCreatedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutCreatedInput | NotificationTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutCreatedInput | NotificationTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput> | NotificationTemplateCreateWithoutUpdatedInput[] | NotificationTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutUpdatedInput | NotificationTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutUpdatedInput | NotificationTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: NotificationTemplateCreateManyUpdatedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutUpdatedInput | NotificationTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutUpdatedInput | NotificationTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput> | NotificationTemplateCreateWithoutDeletedInput[] | NotificationTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutDeletedInput | NotificationTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutDeletedInput | NotificationTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: NotificationTemplateCreateManyDeletedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutDeletedInput | NotificationTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutDeletedInput | NotificationTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput> | NotificationTemplateAssignmentCreateWithoutCreatedInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput | NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutCreatedInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationTemplateAssignmentCreateManyCreatedInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutCreatedInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutCreatedInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type NotificationProcessJobUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput> | NotificationProcessJobCreateWithoutCreatedInput[] | NotificationProcessJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutCreatedInput | NotificationProcessJobCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationProcessJobUpsertWithWhereUniqueWithoutCreatedInput | NotificationProcessJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationProcessJobCreateManyCreatedInputEnvelope
    set?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    disconnect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    delete?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    update?: NotificationProcessJobUpdateWithWhereUniqueWithoutCreatedInput | NotificationProcessJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationProcessJobUpdateManyWithWhereWithoutCreatedInput | NotificationProcessJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
  }

  export type NotificationJobUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput> | NotificationJobCreateWithoutCreatedInput[] | NotificationJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutCreatedInput | NotificationJobCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationJobUpsertWithWhereUniqueWithoutCreatedInput | NotificationJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationJobCreateManyCreatedInputEnvelope
    set?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    disconnect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    delete?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    update?: NotificationJobUpdateWithWhereUniqueWithoutCreatedInput | NotificationJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationJobUpdateManyWithWhereWithoutCreatedInput | NotificationJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
  }

  export type ImportTemplateUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput> | ImportTemplateCreateWithoutCreatedInput[] | ImportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutCreatedInput | ImportTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutCreatedInput | ImportTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ImportTemplateCreateManyCreatedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutCreatedInput | ImportTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutCreatedInput | ImportTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput> | ImportTemplateCreateWithoutUpdatedInput[] | ImportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutUpdatedInput | ImportTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutUpdatedInput | ImportTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ImportTemplateCreateManyUpdatedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutUpdatedInput | ImportTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutUpdatedInput | ImportTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput> | ImportTemplateCreateWithoutDeletedInput[] | ImportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDeletedInput | ImportTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutDeletedInput | ImportTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ImportTemplateCreateManyDeletedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutDeletedInput | ImportTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutDeletedInput | ImportTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput> | CarouselTemplateCreateWithoutCreatedInput[] | CarouselTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutCreatedInput | CarouselTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutCreatedInput | CarouselTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: CarouselTemplateCreateManyCreatedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutCreatedInput | CarouselTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutCreatedInput | CarouselTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput> | CarouselTemplateCreateWithoutUpdatedInput[] | CarouselTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutUpdatedInput | CarouselTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutUpdatedInput | CarouselTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: CarouselTemplateCreateManyUpdatedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutUpdatedInput | CarouselTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutUpdatedInput | CarouselTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput> | CarouselTemplateCreateWithoutDeletedInput[] | CarouselTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutDeletedInput | CarouselTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutDeletedInput | CarouselTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: CarouselTemplateCreateManyDeletedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutDeletedInput | CarouselTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutDeletedInput | CarouselTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type ExportTemplateUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput> | ExportTemplateCreateWithoutCreatedInput[] | ExportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutCreatedInput | ExportTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutCreatedInput | ExportTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ExportTemplateCreateManyCreatedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutCreatedInput | ExportTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutCreatedInput | ExportTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput> | ExportTemplateCreateWithoutUpdatedInput[] | ExportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutUpdatedInput | ExportTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutUpdatedInput | ExportTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ExportTemplateCreateManyUpdatedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutUpdatedInput | ExportTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutUpdatedInput | ExportTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput> | ExportTemplateCreateWithoutDeletedInput[] | ExportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutDeletedInput | ExportTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutDeletedInput | ExportTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ExportTemplateCreateManyDeletedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutDeletedInput | ExportTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutDeletedInput | ExportTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type DepartmentUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput> | DepartmentCreateWithoutCreatedInput[] | DepartmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutCreatedInput | DepartmentCreateOrConnectWithoutCreatedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutCreatedInput | DepartmentUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DepartmentCreateManyCreatedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutCreatedInput | DepartmentUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutCreatedInput | DepartmentUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUpdateManyWithoutDepartment_headNestedInput = {
    create?: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput> | DepartmentCreateWithoutDepartment_headInput[] | DepartmentUncheckedCreateWithoutDepartment_headInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDepartment_headInput | DepartmentCreateOrConnectWithoutDepartment_headInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutDepartment_headInput | DepartmentUpsertWithWhereUniqueWithoutDepartment_headInput[]
    createMany?: DepartmentCreateManyDepartment_headInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutDepartment_headInput | DepartmentUpdateWithWhereUniqueWithoutDepartment_headInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutDepartment_headInput | DepartmentUpdateManyWithWhereWithoutDepartment_headInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput> | DepartmentCreateWithoutUpdatedInput[] | DepartmentUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutUpdatedInput | DepartmentCreateOrConnectWithoutUpdatedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutUpdatedInput | DepartmentUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DepartmentCreateManyUpdatedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutUpdatedInput | DepartmentUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutUpdatedInput | DepartmentUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput> | DepartmentCreateWithoutDeletedInput[] | DepartmentUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDeletedInput | DepartmentCreateOrConnectWithoutDeletedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutDeletedInput | DepartmentUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DepartmentCreateManyDeletedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutDeletedInput | DepartmentUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutDeletedInput | DepartmentUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DesignationUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput> | DesignationCreateWithoutCreatedInput[] | DesignationUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutCreatedInput | DesignationCreateOrConnectWithoutCreatedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutCreatedInput | DesignationUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DesignationCreateManyCreatedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutCreatedInput | DesignationUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutCreatedInput | DesignationUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DesignationUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput> | DesignationCreateWithoutUpdatedInput[] | DesignationUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutUpdatedInput | DesignationCreateOrConnectWithoutUpdatedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutUpdatedInput | DesignationUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DesignationCreateManyUpdatedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutUpdatedInput | DesignationUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutUpdatedInput | DesignationUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DesignationUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput> | DesignationCreateWithoutDeletedInput[] | DesignationUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutDeletedInput | DesignationCreateOrConnectWithoutDeletedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutDeletedInput | DesignationUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DesignationCreateManyDeletedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutDeletedInput | DesignationUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutDeletedInput | DesignationUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type AuditLogUpdateManyWithoutUserNestedInput = {
    create?: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput> | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[]
    upsert?: AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: AuditLogCreateManyUserInputEnvelope
    set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    update?: AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
  }

  export type CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput> | CategoryTypesCreateWithoutCreated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutCreated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCreated_category_typesInput | CategoryTypesCreateOrConnectWithoutCreated_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutCreated_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutCreated_category_typesInput[]
    createMany?: CategoryTypesCreateManyCreated_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutCreated_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutCreated_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutCreated_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutCreated_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput> | CategoryTypesCreateWithoutUpdated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput | CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutUpdated_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutUpdated_category_typesInput[]
    createMany?: CategoryTypesCreateManyUpdated_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutUpdated_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutUpdated_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutUpdated_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutUpdated_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput> | CategoryTypesCreateWithoutDeleted_category_typesInput[] | CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput | CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutDeleted_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutDeleted_category_typesInput[]
    createMany?: CategoryTypesCreateManyDeleted_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutDeleted_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutDeleted_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutDeleted_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutDeleted_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoriesUpdateManyWithoutCreated_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput> | CategoriesCreateWithoutCreated_categoriesInput[] | CategoriesUncheckedCreateWithoutCreated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCreated_categoriesInput | CategoriesCreateOrConnectWithoutCreated_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutCreated_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutCreated_categoriesInput[]
    createMany?: CategoriesCreateManyCreated_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutCreated_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutCreated_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutCreated_categoriesInput | CategoriesUpdateManyWithWhereWithoutCreated_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type CategoriesUpdateManyWithoutUpdated_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput> | CategoriesCreateWithoutUpdated_categoriesInput[] | CategoriesUncheckedCreateWithoutUpdated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutUpdated_categoriesInput | CategoriesCreateOrConnectWithoutUpdated_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutUpdated_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutUpdated_categoriesInput[]
    createMany?: CategoriesCreateManyUpdated_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutUpdated_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutUpdated_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutUpdated_categoriesInput | CategoriesUpdateManyWithWhereWithoutUpdated_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type CategoriesUpdateManyWithoutDeleted_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput> | CategoriesCreateWithoutDeleted_categoriesInput[] | CategoriesUncheckedCreateWithoutDeleted_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutDeleted_categoriesInput | CategoriesCreateOrConnectWithoutDeleted_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutDeleted_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutDeleted_categoriesInput[]
    createMany?: CategoriesCreateManyDeleted_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutDeleted_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutDeleted_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutDeleted_categoriesInput | CategoriesUpdateManyWithWhereWithoutDeleted_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput> | ConfigurationsCreateWithoutCreated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutCreated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCreated_configurationsInput | ConfigurationsCreateOrConnectWithoutCreated_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutCreated_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutCreated_configurationsInput[]
    createMany?: ConfigurationsCreateManyCreated_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutCreated_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutCreated_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutCreated_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutCreated_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput> | ConfigurationsCreateWithoutUpdated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput | ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutUpdated_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutUpdated_configurationsInput[]
    createMany?: ConfigurationsCreateManyUpdated_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutUpdated_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutUpdated_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutUpdated_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutUpdated_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput> | ConfigurationsCreateWithoutDeleted_configurationsInput[] | ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput | ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutDeleted_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutDeleted_configurationsInput[]
    createMany?: ConfigurationsCreateManyDeleted_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutDeleted_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutDeleted_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutDeleted_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutDeleted_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput> | UserConfigurationsCreateWithoutCreated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutCreated_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutCreated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyCreated_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutCreated_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutCreated_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutCreated_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutCreated_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput> | UserConfigurationsCreateWithoutUpdated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutUpdated_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutUpdated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyUpdated_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutUpdated_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutUpdated_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutUpdated_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutUpdated_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput> | UserConfigurationsCreateWithoutDeleted_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutDeleted_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutDeleted_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyDeleted_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutDeleted_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutDeleted_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutDeleted_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutDeleted_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type FinancialYearUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput> | FinancialYearCreateWithoutCreatedInput[] | FinancialYearUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutCreatedInput | FinancialYearCreateOrConnectWithoutCreatedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutCreatedInput | FinancialYearUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: FinancialYearCreateManyCreatedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutCreatedInput | FinancialYearUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutCreatedInput | FinancialYearUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type FinancialYearUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput> | FinancialYearCreateWithoutUpdatedInput[] | FinancialYearUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutUpdatedInput | FinancialYearCreateOrConnectWithoutUpdatedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutUpdatedInput | FinancialYearUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: FinancialYearCreateManyUpdatedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutUpdatedInput | FinancialYearUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutUpdatedInput | FinancialYearUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type FinancialYearUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput> | FinancialYearCreateWithoutDeletedInput[] | FinancialYearUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDeletedInput | FinancialYearCreateOrConnectWithoutDeletedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutDeletedInput | FinancialYearUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: FinancialYearCreateManyDeletedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutDeletedInput | FinancialYearUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutDeletedInput | FinancialYearUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type DocumentSequenceUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput> | DocumentSequenceCreateWithoutCreatedInput[] | DocumentSequenceUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutCreatedInput | DocumentSequenceCreateOrConnectWithoutCreatedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutCreatedInput | DocumentSequenceUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DocumentSequenceCreateManyCreatedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutCreatedInput | DocumentSequenceUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutCreatedInput | DocumentSequenceUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DocumentSequenceUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput> | DocumentSequenceCreateWithoutUpdatedInput[] | DocumentSequenceUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutUpdatedInput | DocumentSequenceCreateOrConnectWithoutUpdatedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutUpdatedInput | DocumentSequenceUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DocumentSequenceCreateManyUpdatedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutUpdatedInput | DocumentSequenceUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutUpdatedInput | DocumentSequenceUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DocumentSequenceUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput> | DocumentSequenceCreateWithoutDeletedInput[] | DocumentSequenceUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutDeletedInput | DocumentSequenceCreateOrConnectWithoutDeletedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutDeletedInput | DocumentSequenceUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DocumentSequenceCreateManyDeletedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutDeletedInput | DocumentSequenceUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutDeletedInput | DocumentSequenceUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput> | DeviceRegistrationCreateWithoutCreated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutCreated_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutCreated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyCreated_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutCreated_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutCreated_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutCreated_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutCreated_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput> | DeviceRegistrationCreateWithoutUpdated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutUpdated_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutUpdated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyUpdated_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutUpdated_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutUpdated_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutUpdated_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutUpdated_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput> | DeviceRegistrationCreateWithoutDeleted_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutDeleted_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutDeleted_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyDeleted_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutDeleted_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutDeleted_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutDeleted_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutDeleted_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUpdateManyWithoutUserNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput> | DeviceRegistrationCreateWithoutUserInput[] | DeviceRegistrationUncheckedCreateWithoutUserInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUserInput | DeviceRegistrationCreateOrConnectWithoutUserInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutUserInput | DeviceRegistrationUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: DeviceRegistrationCreateManyUserInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutUserInput | DeviceRegistrationUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutUserInput | DeviceRegistrationUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type ImportJobUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput> | ImportJobCreateWithoutCreatedInput[] | ImportJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutCreatedInput | ImportJobCreateOrConnectWithoutCreatedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutCreatedInput | ImportJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ImportJobCreateManyCreatedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutCreatedInput | ImportJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutCreatedInput | ImportJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput> | ImportJobCreateWithoutUpdatedInput[] | ImportJobUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutUpdatedInput | ImportJobCreateOrConnectWithoutUpdatedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutUpdatedInput | ImportJobUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ImportJobCreateManyUpdatedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutUpdatedInput | ImportJobUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutUpdatedInput | ImportJobUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput> | ImportJobCreateWithoutDeletedInput[] | ImportJobUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutDeletedInput | ImportJobCreateOrConnectWithoutDeletedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutDeletedInput | ImportJobUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ImportJobCreateManyDeletedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutDeletedInput | ImportJobUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutDeletedInput | ImportJobUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type DirectImportDetailsUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput> | DirectImportDetailsCreateWithoutCreatedInput[] | DirectImportDetailsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutCreatedInput | DirectImportDetailsCreateOrConnectWithoutCreatedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutCreatedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DirectImportDetailsCreateManyCreatedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutCreatedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutCreatedInput | DirectImportDetailsUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DirectImportDetailsUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput> | DirectImportDetailsCreateWithoutUpdatedInput[] | DirectImportDetailsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutUpdatedInput | DirectImportDetailsCreateOrConnectWithoutUpdatedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutUpdatedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DirectImportDetailsCreateManyUpdatedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutUpdatedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutUpdatedInput | DirectImportDetailsUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DirectImportDetailsUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput> | DirectImportDetailsCreateWithoutDeletedInput[] | DirectImportDetailsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutDeletedInput | DirectImportDetailsCreateOrConnectWithoutDeletedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutDeletedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DirectImportDetailsCreateManyDeletedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutDeletedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutDeletedInput | DirectImportDetailsUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type UserPoliciesUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput> | UserPoliciesCreateWithoutUserInput[] | UserPoliciesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutUserInput | UserPoliciesCreateOrConnectWithoutUserInput[]
    upsert?: UserPoliciesUpsertWithWhereUniqueWithoutUserInput | UserPoliciesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserPoliciesCreateManyUserInputEnvelope
    set?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    disconnect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    delete?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    update?: UserPoliciesUpdateWithWhereUniqueWithoutUserInput | UserPoliciesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserPoliciesUpdateManyWithWhereWithoutUserInput | UserPoliciesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
  }

  export type PoliciesUpdateManyWithoutCreated_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput> | PoliciesCreateWithoutCreated_policyInput[] | PoliciesUncheckedCreateWithoutCreated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutCreated_policyInput | PoliciesCreateOrConnectWithoutCreated_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutCreated_policyInput | PoliciesUpsertWithWhereUniqueWithoutCreated_policyInput[]
    createMany?: PoliciesCreateManyCreated_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutCreated_policyInput | PoliciesUpdateWithWhereUniqueWithoutCreated_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutCreated_policyInput | PoliciesUpdateManyWithWhereWithoutCreated_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type PoliciesUpdateManyWithoutUpdated_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput> | PoliciesCreateWithoutUpdated_policyInput[] | PoliciesUncheckedCreateWithoutUpdated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutUpdated_policyInput | PoliciesCreateOrConnectWithoutUpdated_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutUpdated_policyInput | PoliciesUpsertWithWhereUniqueWithoutUpdated_policyInput[]
    createMany?: PoliciesCreateManyUpdated_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutUpdated_policyInput | PoliciesUpdateWithWhereUniqueWithoutUpdated_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutUpdated_policyInput | PoliciesUpdateManyWithWhereWithoutUpdated_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type PoliciesUpdateManyWithoutDeleted_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput> | PoliciesCreateWithoutDeleted_policyInput[] | PoliciesUncheckedCreateWithoutDeleted_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutDeleted_policyInput | PoliciesCreateOrConnectWithoutDeleted_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutDeleted_policyInput | PoliciesUpsertWithWhereUniqueWithoutDeleted_policyInput[]
    createMany?: PoliciesCreateManyDeleted_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutDeleted_policyInput | PoliciesUpdateWithWhereUniqueWithoutDeleted_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutDeleted_policyInput | PoliciesUpdateManyWithWhereWithoutDeleted_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type AppversionsUpdateManyWithoutCreated_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput> | AppversionsCreateWithoutCreated_app_versionsInput[] | AppversionsUncheckedCreateWithoutCreated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutCreated_app_versionsInput | AppversionsCreateOrConnectWithoutCreated_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutCreated_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutCreated_app_versionsInput[]
    createMany?: AppversionsCreateManyCreated_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutCreated_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutCreated_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutCreated_app_versionsInput | AppversionsUpdateManyWithWhereWithoutCreated_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput> | AppversionsCreateWithoutUpdated_app_versionsInput[] | AppversionsUncheckedCreateWithoutUpdated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutUpdated_app_versionsInput | AppversionsCreateOrConnectWithoutUpdated_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutUpdated_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutUpdated_app_versionsInput[]
    createMany?: AppversionsCreateManyUpdated_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutUpdated_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutUpdated_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutUpdated_app_versionsInput | AppversionsUpdateManyWithWhereWithoutUpdated_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput> | AppversionsCreateWithoutDeleted_app_versionsInput[] | AppversionsUncheckedCreateWithoutDeleted_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutDeleted_app_versionsInput | AppversionsCreateOrConnectWithoutDeleted_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutDeleted_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutDeleted_app_versionsInput[]
    createMany?: AppversionsCreateManyDeleted_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutDeleted_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutDeleted_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutDeleted_app_versionsInput | AppversionsUpdateManyWithWhereWithoutDeleted_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type ThemesUpdateManyWithoutCreatedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput> | ThemesCreateWithoutCreatedThemeInput[] | ThemesUncheckedCreateWithoutCreatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutCreatedThemeInput | ThemesCreateOrConnectWithoutCreatedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutCreatedThemeInput | ThemesUpsertWithWhereUniqueWithoutCreatedThemeInput[]
    createMany?: ThemesCreateManyCreatedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutCreatedThemeInput | ThemesUpdateWithWhereUniqueWithoutCreatedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutCreatedThemeInput | ThemesUpdateManyWithWhereWithoutCreatedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemesUpdateManyWithoutUpdatedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput> | ThemesCreateWithoutUpdatedThemeInput[] | ThemesUncheckedCreateWithoutUpdatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutUpdatedThemeInput | ThemesCreateOrConnectWithoutUpdatedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutUpdatedThemeInput | ThemesUpsertWithWhereUniqueWithoutUpdatedThemeInput[]
    createMany?: ThemesCreateManyUpdatedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutUpdatedThemeInput | ThemesUpdateWithWhereUniqueWithoutUpdatedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutUpdatedThemeInput | ThemesUpdateManyWithWhereWithoutUpdatedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemesUpdateManyWithoutDeletedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput> | ThemesCreateWithoutDeletedThemeInput[] | ThemesUncheckedCreateWithoutDeletedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutDeletedThemeInput | ThemesCreateOrConnectWithoutDeletedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutDeletedThemeInput | ThemesUpsertWithWhereUniqueWithoutDeletedThemeInput[]
    createMany?: ThemesCreateManyDeletedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutDeletedThemeInput | ThemesUpdateWithWhereUniqueWithoutDeletedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutDeletedThemeInput | ThemesUpdateManyWithWhereWithoutDeletedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutCreatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyCreatedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutCreatedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutCreatedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutUpdatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyUpdatedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutUpdatedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutUpdatedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput> | ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutDeletedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyDeletedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutDeletedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutDeletedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput> | ThemeAttributesCreateWithoutCreatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutCreatedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutCreatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyCreatedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutCreatedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutCreatedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutCreatedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutCreatedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput> | ThemeAttributesCreateWithoutUpdatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutUpdatedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutUpdatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyUpdatedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutUpdatedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutUpdatedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutUpdatedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutUpdatedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput> | ThemeAttributesCreateWithoutDeletedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutDeletedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutDeletedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyDeletedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutDeletedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutDeletedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutDeletedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutDeletedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ChildProcessLogUpdateManyWithoutInitiatorNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput> | ChildProcessLogCreateWithoutInitiatorInput[] | ChildProcessLogUncheckedCreateWithoutInitiatorInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutInitiatorInput | ChildProcessLogCreateOrConnectWithoutInitiatorInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutInitiatorInput | ChildProcessLogUpsertWithWhereUniqueWithoutInitiatorInput[]
    createMany?: ChildProcessLogCreateManyInitiatorInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutInitiatorInput | ChildProcessLogUpdateWithWhereUniqueWithoutInitiatorInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutInitiatorInput | ChildProcessLogUpdateManyWithWhereWithoutInitiatorInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput> | CustomerGeoFenceMappingCreateWithoutUserInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutUserInput | CustomerGeoFenceMappingCreateOrConnectWithoutUserInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutUserInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: CustomerGeoFenceMappingCreateManyUserInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutUserInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutUserInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type VehicleUserMappingUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput> | VehicleUserMappingCreateWithoutUserInput[] | VehicleUserMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutUserInput | VehicleUserMappingCreateOrConnectWithoutUserInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutUserInput | VehicleUserMappingUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehicleUserMappingCreateManyUserInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutUserInput | VehicleUserMappingUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutUserInput | VehicleUserMappingUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type DeliveryNotesUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput> | DeliveryNotesCreateWithoutCustomerInput[] | DeliveryNotesUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomerInput | DeliveryNotesCreateOrConnectWithoutCustomerInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutCustomerInput | DeliveryNotesUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: DeliveryNotesCreateManyCustomerInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutCustomerInput | DeliveryNotesUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutCustomerInput | DeliveryNotesUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type VehiclesGpsDataUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput> | VehiclesGpsDataCreateWithoutUserInput[] | VehiclesGpsDataUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutUserInput | VehiclesGpsDataCreateOrConnectWithoutUserInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutUserInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehiclesGpsDataCreateManyUserInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutUserInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutUserInput | VehiclesGpsDataUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type VehiclesGpsDataLogUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput> | VehiclesGpsDataLogCreateWithoutUserInput[] | VehiclesGpsDataLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutUserInput | VehiclesGpsDataLogCreateOrConnectWithoutUserInput[]
    upsert?: VehiclesGpsDataLogUpsertWithWhereUniqueWithoutUserInput | VehiclesGpsDataLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehiclesGpsDataLogCreateManyUserInputEnvelope
    set?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    disconnect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    delete?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    update?: VehiclesGpsDataLogUpdateWithWhereUniqueWithoutUserInput | VehiclesGpsDataLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehiclesGpsDataLogUpdateManyWithWhereWithoutUserInput | VehiclesGpsDataLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput> | VehicleGeofenceHistoryCreateWithoutDriverInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput | VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutDriverInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutDriverInput[]
    createMany?: VehicleGeofenceHistoryCreateManyDriverInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutDriverInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutDriverInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutDriverInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutDriverInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput> | VehicleGeofenceHistoryCreateWithoutCustomerInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput | VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutCustomerInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: VehicleGeofenceHistoryCreateManyCustomerInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutCustomerInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutCustomerInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentCustomersUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput> | ShipmentCustomersCreateWithoutCustomerInput[] | ShipmentCustomersUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutCustomerInput | ShipmentCustomersCreateOrConnectWithoutCustomerInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutCustomerInput | ShipmentCustomersUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: ShipmentCustomersCreateManyCustomerInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutCustomerInput | ShipmentCustomersUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutCustomerInput | ShipmentCustomersUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type VehicleTripHistoriesUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput> | VehicleTripHistoriesCreateWithoutUserInput[] | VehicleTripHistoriesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutUserInput | VehicleTripHistoriesCreateOrConnectWithoutUserInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutUserInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehicleTripHistoriesCreateManyUserInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutUserInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutUserInput | VehicleTripHistoriesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutCreated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyCreated_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutCreated_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutCreated_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutUpdated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyUpdated_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutUpdated_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutUpdated_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput> | BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutDeleted_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyDeleted_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutDeleted_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutDeleted_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type UserLoginHistoryUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput> | UserLoginHistoryCreateWithoutUserInput[] | UserLoginHistoryUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutUserInput | UserLoginHistoryCreateOrConnectWithoutUserInput[]
    upsert?: UserLoginHistoryUpsertWithWhereUniqueWithoutUserInput | UserLoginHistoryUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserLoginHistoryCreateManyUserInputEnvelope
    set?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    disconnect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    delete?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    update?: UserLoginHistoryUpdateWithWhereUniqueWithoutUserInput | UserLoginHistoryUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserLoginHistoryUpdateManyWithWhereWithoutUserInput | UserLoginHistoryUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
  }

  export type NullableIntFieldUpdateOperationsInput = {
    set?: number | null
    increment?: number
    decrement?: number
    multiply?: number
    divide?: number
  }

  export type UserDetailUncheckedUpdateOneWithoutUserNestedInput = {
    create?: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
    connectOrCreate?: UserDetailCreateOrConnectWithoutUserInput
    upsert?: UserDetailUpsertWithoutUserInput
    disconnect?: UserDetailWhereInput | boolean
    delete?: UserDetailWhereInput | boolean
    connect?: UserDetailWhereUniqueInput
    update?: XOR<XOR<UserDetailUpdateToOneWithWhereWithoutUserInput, UserDetailUpdateWithoutUserInput>, UserDetailUncheckedUpdateWithoutUserInput>
  }

  export type RequestLogUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput> | RequestLogCreateWithoutUserInput[] | RequestLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutUserInput | RequestLogCreateOrConnectWithoutUserInput[]
    upsert?: RequestLogUpsertWithWhereUniqueWithoutUserInput | RequestLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: RequestLogCreateManyUserInputEnvelope
    set?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    disconnect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    delete?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    update?: RequestLogUpdateWithWhereUniqueWithoutUserInput | RequestLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: RequestLogUpdateManyWithWhereWithoutUserInput | RequestLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
  }

  export type UserRolesUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput> | UserRolesCreateWithoutUserInput[] | UserRolesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutUserInput | UserRolesCreateOrConnectWithoutUserInput[]
    upsert?: UserRolesUpsertWithWhereUniqueWithoutUserInput | UserRolesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserRolesCreateManyUserInputEnvelope
    set?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    disconnect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    delete?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    update?: UserRolesUpdateWithWhereUniqueWithoutUserInput | UserRolesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserRolesUpdateManyWithWhereWithoutUserInput | UserRolesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
  }

  export type UserPermissionsUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput> | UserPermissionsCreateWithoutUserInput[] | UserPermissionsUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutUserInput | UserPermissionsCreateOrConnectWithoutUserInput[]
    upsert?: UserPermissionsUpsertWithWhereUniqueWithoutUserInput | UserPermissionsUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserPermissionsCreateManyUserInputEnvelope
    set?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    disconnect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    delete?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    update?: UserPermissionsUpdateWithWhereUniqueWithoutUserInput | UserPermissionsUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserPermissionsUpdateManyWithWhereWithoutUserInput | UserPermissionsUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
  }

  export type OtpUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput> | OtpCreateWithoutUserInput[] | OtpUncheckedCreateWithoutUserInput[]
    connectOrCreate?: OtpCreateOrConnectWithoutUserInput | OtpCreateOrConnectWithoutUserInput[]
    upsert?: OtpUpsertWithWhereUniqueWithoutUserInput | OtpUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: OtpCreateManyUserInputEnvelope
    set?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    disconnect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    delete?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    connect?: OtpWhereUniqueInput | OtpWhereUniqueInput[]
    update?: OtpUpdateWithWhereUniqueWithoutUserInput | OtpUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: OtpUpdateManyWithWhereWithoutUserInput | OtpUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: OtpScalarWhereInput | OtpScalarWhereInput[]
  }

  export type UserUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput> | UserCreateWithoutCreatedInput[] | UserUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutCreatedInput | UserCreateOrConnectWithoutCreatedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutCreatedInput | UserUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: UserCreateManyCreatedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutCreatedInput | UserUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutCreatedInput | UserUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput> | UserCreateWithoutUpdatedInput[] | UserUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedInput | UserCreateOrConnectWithoutUpdatedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutUpdatedInput | UserUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: UserCreateManyUpdatedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutUpdatedInput | UserUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutUpdatedInput | UserUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput> | UserCreateWithoutDeletedInput[] | UserUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserCreateOrConnectWithoutDeletedInput | UserCreateOrConnectWithoutDeletedInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutDeletedInput | UserUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: UserCreateManyDeletedInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutDeletedInput | UserUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: UserUpdateManyWithWhereWithoutDeletedInput | UserUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type UserDetailUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput> | UserDetailCreateWithoutCreatedInput[] | UserDetailUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutCreatedInput | UserDetailCreateOrConnectWithoutCreatedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutCreatedInput | UserDetailUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: UserDetailCreateManyCreatedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutCreatedInput | UserDetailUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutCreatedInput | UserDetailUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput> | UserDetailCreateWithoutUpdatedInput[] | UserDetailUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutUpdatedInput | UserDetailCreateOrConnectWithoutUpdatedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutUpdatedInput | UserDetailUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: UserDetailCreateManyUpdatedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutUpdatedInput | UserDetailUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutUpdatedInput | UserDetailUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserDetailUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput> | UserDetailCreateWithoutDeletedInput[] | UserDetailUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDeletedInput | UserDetailCreateOrConnectWithoutDeletedInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDeletedInput | UserDetailUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: UserDetailCreateManyDeletedInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDeletedInput | UserDetailUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDeletedInput | UserDetailUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type RoleUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput> | RoleCreateWithoutCreatedInput[] | RoleUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutCreatedInput | RoleCreateOrConnectWithoutCreatedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutCreatedInput | RoleUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: RoleCreateManyCreatedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutCreatedInput | RoleUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutCreatedInput | RoleUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type RoleUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput> | RoleCreateWithoutUpdatedInput[] | RoleUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutUpdatedInput | RoleCreateOrConnectWithoutUpdatedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutUpdatedInput | RoleUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: RoleCreateManyUpdatedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutUpdatedInput | RoleUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutUpdatedInput | RoleUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type RoleUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput> | RoleCreateWithoutDeletedInput[] | RoleUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutDeletedInput | RoleCreateOrConnectWithoutDeletedInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutDeletedInput | RoleUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: RoleCreateManyDeletedInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutDeletedInput | RoleUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutDeletedInput | RoleUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type LanguageUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput> | LanguageCreateWithoutCreatedInput[] | LanguageUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutCreatedInput | LanguageCreateOrConnectWithoutCreatedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutCreatedInput | LanguageUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: LanguageCreateManyCreatedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutCreatedInput | LanguageUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutCreatedInput | LanguageUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput> | LanguageCreateWithoutUpdatedInput[] | LanguageUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutUpdatedInput | LanguageCreateOrConnectWithoutUpdatedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutUpdatedInput | LanguageUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: LanguageCreateManyUpdatedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutUpdatedInput | LanguageUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutUpdatedInput | LanguageUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput> | LanguageCreateWithoutDeletedInput[] | LanguageUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutDeletedInput | LanguageCreateOrConnectWithoutDeletedInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutDeletedInput | LanguageUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: LanguageCreateManyDeletedInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutDeletedInput | LanguageUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutDeletedInput | LanguageUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type MenusUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput> | MenusCreateWithoutCreatedInput[] | MenusUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutCreatedInput | MenusCreateOrConnectWithoutCreatedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutCreatedInput | MenusUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: MenusCreateManyCreatedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutCreatedInput | MenusUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutCreatedInput | MenusUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenusUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput> | MenusCreateWithoutUpdatedInput[] | MenusUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutUpdatedInput | MenusCreateOrConnectWithoutUpdatedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutUpdatedInput | MenusUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: MenusCreateManyUpdatedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutUpdatedInput | MenusUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutUpdatedInput | MenusUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenusUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput> | MenusCreateWithoutDeletedInput[] | MenusUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutDeletedInput | MenusCreateOrConnectWithoutDeletedInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutDeletedInput | MenusUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: MenusCreateManyDeletedInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutDeletedInput | MenusUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutDeletedInput | MenusUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput> | MenuItemsCreateWithoutCreatedInput[] | MenuItemsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutCreatedInput | MenuItemsCreateOrConnectWithoutCreatedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutCreatedInput | MenuItemsUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: MenuItemsCreateManyCreatedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutCreatedInput | MenuItemsUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutCreatedInput | MenuItemsUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput> | MenuItemsCreateWithoutUpdatedInput[] | MenuItemsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutUpdatedInput | MenuItemsCreateOrConnectWithoutUpdatedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutUpdatedInput | MenuItemsUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: MenuItemsCreateManyUpdatedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutUpdatedInput | MenuItemsUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutUpdatedInput | MenuItemsUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput> | MenuItemsCreateWithoutDeletedInput[] | MenuItemsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutDeletedInput | MenuItemsCreateOrConnectWithoutDeletedInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutDeletedInput | MenuItemsUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: MenuItemsCreateManyDeletedInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutDeletedInput | MenuItemsUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutDeletedInput | MenuItemsUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput> | NotificationTemplateCreateWithoutCreatedInput[] | NotificationTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutCreatedInput | NotificationTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutCreatedInput | NotificationTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationTemplateCreateManyCreatedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutCreatedInput | NotificationTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutCreatedInput | NotificationTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput> | NotificationTemplateCreateWithoutUpdatedInput[] | NotificationTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutUpdatedInput | NotificationTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutUpdatedInput | NotificationTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: NotificationTemplateCreateManyUpdatedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutUpdatedInput | NotificationTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutUpdatedInput | NotificationTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput> | NotificationTemplateCreateWithoutDeletedInput[] | NotificationTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutDeletedInput | NotificationTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutDeletedInput | NotificationTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: NotificationTemplateCreateManyDeletedInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutDeletedInput | NotificationTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutDeletedInput | NotificationTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput> | NotificationTemplateAssignmentCreateWithoutCreatedInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput | NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutCreatedInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationTemplateAssignmentCreateManyCreatedInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutCreatedInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutCreatedInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput> | NotificationProcessJobCreateWithoutCreatedInput[] | NotificationProcessJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutCreatedInput | NotificationProcessJobCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationProcessJobUpsertWithWhereUniqueWithoutCreatedInput | NotificationProcessJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationProcessJobCreateManyCreatedInputEnvelope
    set?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    disconnect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    delete?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    update?: NotificationProcessJobUpdateWithWhereUniqueWithoutCreatedInput | NotificationProcessJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationProcessJobUpdateManyWithWhereWithoutCreatedInput | NotificationProcessJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
  }

  export type NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput> | NotificationJobCreateWithoutCreatedInput[] | NotificationJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutCreatedInput | NotificationJobCreateOrConnectWithoutCreatedInput[]
    upsert?: NotificationJobUpsertWithWhereUniqueWithoutCreatedInput | NotificationJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: NotificationJobCreateManyCreatedInputEnvelope
    set?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    disconnect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    delete?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    update?: NotificationJobUpdateWithWhereUniqueWithoutCreatedInput | NotificationJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: NotificationJobUpdateManyWithWhereWithoutCreatedInput | NotificationJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
  }

  export type ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput> | ImportTemplateCreateWithoutCreatedInput[] | ImportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutCreatedInput | ImportTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutCreatedInput | ImportTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ImportTemplateCreateManyCreatedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutCreatedInput | ImportTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutCreatedInput | ImportTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput> | ImportTemplateCreateWithoutUpdatedInput[] | ImportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutUpdatedInput | ImportTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutUpdatedInput | ImportTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ImportTemplateCreateManyUpdatedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutUpdatedInput | ImportTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutUpdatedInput | ImportTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput> | ImportTemplateCreateWithoutDeletedInput[] | ImportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDeletedInput | ImportTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutDeletedInput | ImportTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ImportTemplateCreateManyDeletedInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutDeletedInput | ImportTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutDeletedInput | ImportTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput> | CarouselTemplateCreateWithoutCreatedInput[] | CarouselTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutCreatedInput | CarouselTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutCreatedInput | CarouselTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: CarouselTemplateCreateManyCreatedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutCreatedInput | CarouselTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutCreatedInput | CarouselTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput> | CarouselTemplateCreateWithoutUpdatedInput[] | CarouselTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutUpdatedInput | CarouselTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutUpdatedInput | CarouselTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: CarouselTemplateCreateManyUpdatedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutUpdatedInput | CarouselTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutUpdatedInput | CarouselTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput> | CarouselTemplateCreateWithoutDeletedInput[] | CarouselTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutDeletedInput | CarouselTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutDeletedInput | CarouselTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: CarouselTemplateCreateManyDeletedInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutDeletedInput | CarouselTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutDeletedInput | CarouselTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput> | ExportTemplateCreateWithoutCreatedInput[] | ExportTemplateUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutCreatedInput | ExportTemplateCreateOrConnectWithoutCreatedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutCreatedInput | ExportTemplateUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ExportTemplateCreateManyCreatedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutCreatedInput | ExportTemplateUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutCreatedInput | ExportTemplateUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput> | ExportTemplateCreateWithoutUpdatedInput[] | ExportTemplateUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutUpdatedInput | ExportTemplateCreateOrConnectWithoutUpdatedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutUpdatedInput | ExportTemplateUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ExportTemplateCreateManyUpdatedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutUpdatedInput | ExportTemplateUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutUpdatedInput | ExportTemplateUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput> | ExportTemplateCreateWithoutDeletedInput[] | ExportTemplateUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutDeletedInput | ExportTemplateCreateOrConnectWithoutDeletedInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutDeletedInput | ExportTemplateUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ExportTemplateCreateManyDeletedInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutDeletedInput | ExportTemplateUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutDeletedInput | ExportTemplateUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type DepartmentUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput> | DepartmentCreateWithoutCreatedInput[] | DepartmentUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutCreatedInput | DepartmentCreateOrConnectWithoutCreatedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutCreatedInput | DepartmentUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DepartmentCreateManyCreatedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutCreatedInput | DepartmentUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutCreatedInput | DepartmentUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput = {
    create?: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput> | DepartmentCreateWithoutDepartment_headInput[] | DepartmentUncheckedCreateWithoutDepartment_headInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDepartment_headInput | DepartmentCreateOrConnectWithoutDepartment_headInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutDepartment_headInput | DepartmentUpsertWithWhereUniqueWithoutDepartment_headInput[]
    createMany?: DepartmentCreateManyDepartment_headInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutDepartment_headInput | DepartmentUpdateWithWhereUniqueWithoutDepartment_headInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutDepartment_headInput | DepartmentUpdateManyWithWhereWithoutDepartment_headInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput> | DepartmentCreateWithoutUpdatedInput[] | DepartmentUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutUpdatedInput | DepartmentCreateOrConnectWithoutUpdatedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutUpdatedInput | DepartmentUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DepartmentCreateManyUpdatedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutUpdatedInput | DepartmentUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutUpdatedInput | DepartmentUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DepartmentUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput> | DepartmentCreateWithoutDeletedInput[] | DepartmentUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutDeletedInput | DepartmentCreateOrConnectWithoutDeletedInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutDeletedInput | DepartmentUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DepartmentCreateManyDeletedInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutDeletedInput | DepartmentUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutDeletedInput | DepartmentUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type DesignationUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput> | DesignationCreateWithoutCreatedInput[] | DesignationUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutCreatedInput | DesignationCreateOrConnectWithoutCreatedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutCreatedInput | DesignationUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DesignationCreateManyCreatedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutCreatedInput | DesignationUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutCreatedInput | DesignationUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DesignationUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput> | DesignationCreateWithoutUpdatedInput[] | DesignationUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutUpdatedInput | DesignationCreateOrConnectWithoutUpdatedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutUpdatedInput | DesignationUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DesignationCreateManyUpdatedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutUpdatedInput | DesignationUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutUpdatedInput | DesignationUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DesignationUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput> | DesignationCreateWithoutDeletedInput[] | DesignationUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutDeletedInput | DesignationCreateOrConnectWithoutDeletedInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutDeletedInput | DesignationUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DesignationCreateManyDeletedInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutDeletedInput | DesignationUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutDeletedInput | DesignationUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type AuditLogUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput> | AuditLogCreateWithoutUserInput[] | AuditLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutUserInput | AuditLogCreateOrConnectWithoutUserInput[]
    upsert?: AuditLogUpsertWithWhereUniqueWithoutUserInput | AuditLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: AuditLogCreateManyUserInputEnvelope
    set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    update?: AuditLogUpdateWithWhereUniqueWithoutUserInput | AuditLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: AuditLogUpdateManyWithWhereWithoutUserInput | AuditLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
  }

  export type CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput> | CategoryTypesCreateWithoutCreated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutCreated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCreated_category_typesInput | CategoryTypesCreateOrConnectWithoutCreated_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutCreated_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutCreated_category_typesInput[]
    createMany?: CategoryTypesCreateManyCreated_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutCreated_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutCreated_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutCreated_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutCreated_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput> | CategoryTypesCreateWithoutUpdated_category_typesInput[] | CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput | CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutUpdated_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutUpdated_category_typesInput[]
    createMany?: CategoryTypesCreateManyUpdated_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutUpdated_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutUpdated_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutUpdated_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutUpdated_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput> | CategoryTypesCreateWithoutDeleted_category_typesInput[] | CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput[]
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput | CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput[]
    upsert?: CategoryTypesUpsertWithWhereUniqueWithoutDeleted_category_typesInput | CategoryTypesUpsertWithWhereUniqueWithoutDeleted_category_typesInput[]
    createMany?: CategoryTypesCreateManyDeleted_category_typesInputEnvelope
    set?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    disconnect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    delete?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    connect?: CategoryTypesWhereUniqueInput | CategoryTypesWhereUniqueInput[]
    update?: CategoryTypesUpdateWithWhereUniqueWithoutDeleted_category_typesInput | CategoryTypesUpdateWithWhereUniqueWithoutDeleted_category_typesInput[]
    updateMany?: CategoryTypesUpdateManyWithWhereWithoutDeleted_category_typesInput | CategoryTypesUpdateManyWithWhereWithoutDeleted_category_typesInput[]
    deleteMany?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
  }

  export type CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput> | CategoriesCreateWithoutCreated_categoriesInput[] | CategoriesUncheckedCreateWithoutCreated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCreated_categoriesInput | CategoriesCreateOrConnectWithoutCreated_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutCreated_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutCreated_categoriesInput[]
    createMany?: CategoriesCreateManyCreated_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutCreated_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutCreated_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutCreated_categoriesInput | CategoriesUpdateManyWithWhereWithoutCreated_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput> | CategoriesCreateWithoutUpdated_categoriesInput[] | CategoriesUncheckedCreateWithoutUpdated_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutUpdated_categoriesInput | CategoriesCreateOrConnectWithoutUpdated_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutUpdated_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutUpdated_categoriesInput[]
    createMany?: CategoriesCreateManyUpdated_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutUpdated_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutUpdated_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutUpdated_categoriesInput | CategoriesUpdateManyWithWhereWithoutUpdated_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput = {
    create?: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput> | CategoriesCreateWithoutDeleted_categoriesInput[] | CategoriesUncheckedCreateWithoutDeleted_categoriesInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutDeleted_categoriesInput | CategoriesCreateOrConnectWithoutDeleted_categoriesInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutDeleted_categoriesInput | CategoriesUpsertWithWhereUniqueWithoutDeleted_categoriesInput[]
    createMany?: CategoriesCreateManyDeleted_categoriesInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutDeleted_categoriesInput | CategoriesUpdateWithWhereUniqueWithoutDeleted_categoriesInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutDeleted_categoriesInput | CategoriesUpdateManyWithWhereWithoutDeleted_categoriesInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput> | ConfigurationsCreateWithoutCreated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutCreated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCreated_configurationsInput | ConfigurationsCreateOrConnectWithoutCreated_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutCreated_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutCreated_configurationsInput[]
    createMany?: ConfigurationsCreateManyCreated_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutCreated_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutCreated_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutCreated_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutCreated_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput> | ConfigurationsCreateWithoutUpdated_configurationsInput[] | ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput | ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutUpdated_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutUpdated_configurationsInput[]
    createMany?: ConfigurationsCreateManyUpdated_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutUpdated_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutUpdated_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutUpdated_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutUpdated_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput> | ConfigurationsCreateWithoutDeleted_configurationsInput[] | ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput | ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutDeleted_configurationsInput | ConfigurationsUpsertWithWhereUniqueWithoutDeleted_configurationsInput[]
    createMany?: ConfigurationsCreateManyDeleted_configurationsInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutDeleted_configurationsInput | ConfigurationsUpdateWithWhereUniqueWithoutDeleted_configurationsInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutDeleted_configurationsInput | ConfigurationsUpdateManyWithWhereWithoutDeleted_configurationsInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput> | UserConfigurationsCreateWithoutCreated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutCreated_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutCreated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyCreated_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutCreated_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutCreated_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutCreated_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutCreated_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput> | UserConfigurationsCreateWithoutUpdated_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutUpdated_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutUpdated_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyUpdated_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutUpdated_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutUpdated_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutUpdated_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutUpdated_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput> | UserConfigurationsCreateWithoutDeleted_user_configurationsInput[] | UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput | UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutDeleted_user_configurationsInput | UserConfigurationsUpsertWithWhereUniqueWithoutDeleted_user_configurationsInput[]
    createMany?: UserConfigurationsCreateManyDeleted_user_configurationsInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutDeleted_user_configurationsInput | UserConfigurationsUpdateWithWhereUniqueWithoutDeleted_user_configurationsInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutDeleted_user_configurationsInput | UserConfigurationsUpdateManyWithWhereWithoutDeleted_user_configurationsInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput> | FinancialYearCreateWithoutCreatedInput[] | FinancialYearUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutCreatedInput | FinancialYearCreateOrConnectWithoutCreatedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutCreatedInput | FinancialYearUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: FinancialYearCreateManyCreatedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutCreatedInput | FinancialYearUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutCreatedInput | FinancialYearUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput> | FinancialYearCreateWithoutUpdatedInput[] | FinancialYearUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutUpdatedInput | FinancialYearCreateOrConnectWithoutUpdatedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutUpdatedInput | FinancialYearUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: FinancialYearCreateManyUpdatedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutUpdatedInput | FinancialYearUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutUpdatedInput | FinancialYearUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput> | FinancialYearCreateWithoutDeletedInput[] | FinancialYearUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDeletedInput | FinancialYearCreateOrConnectWithoutDeletedInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutDeletedInput | FinancialYearUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: FinancialYearCreateManyDeletedInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutDeletedInput | FinancialYearUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutDeletedInput | FinancialYearUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput> | DocumentSequenceCreateWithoutCreatedInput[] | DocumentSequenceUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutCreatedInput | DocumentSequenceCreateOrConnectWithoutCreatedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutCreatedInput | DocumentSequenceUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DocumentSequenceCreateManyCreatedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutCreatedInput | DocumentSequenceUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutCreatedInput | DocumentSequenceUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput> | DocumentSequenceCreateWithoutUpdatedInput[] | DocumentSequenceUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutUpdatedInput | DocumentSequenceCreateOrConnectWithoutUpdatedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutUpdatedInput | DocumentSequenceUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DocumentSequenceCreateManyUpdatedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutUpdatedInput | DocumentSequenceUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutUpdatedInput | DocumentSequenceUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput> | DocumentSequenceCreateWithoutDeletedInput[] | DocumentSequenceUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutDeletedInput | DocumentSequenceCreateOrConnectWithoutDeletedInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutDeletedInput | DocumentSequenceUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DocumentSequenceCreateManyDeletedInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutDeletedInput | DocumentSequenceUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutDeletedInput | DocumentSequenceUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput> | DeviceRegistrationCreateWithoutCreated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutCreated_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutCreated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyCreated_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutCreated_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutCreated_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutCreated_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutCreated_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput> | DeviceRegistrationCreateWithoutUpdated_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutUpdated_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutUpdated_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyUpdated_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutUpdated_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutUpdated_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutUpdated_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutUpdated_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput> | DeviceRegistrationCreateWithoutDeleted_device_registrationInput[] | DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput | DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutDeleted_device_registrationInput | DeviceRegistrationUpsertWithWhereUniqueWithoutDeleted_device_registrationInput[]
    createMany?: DeviceRegistrationCreateManyDeleted_device_registrationInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutDeleted_device_registrationInput | DeviceRegistrationUpdateWithWhereUniqueWithoutDeleted_device_registrationInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutDeleted_device_registrationInput | DeviceRegistrationUpdateManyWithWhereWithoutDeleted_device_registrationInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput> | DeviceRegistrationCreateWithoutUserInput[] | DeviceRegistrationUncheckedCreateWithoutUserInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutUserInput | DeviceRegistrationCreateOrConnectWithoutUserInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutUserInput | DeviceRegistrationUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: DeviceRegistrationCreateManyUserInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutUserInput | DeviceRegistrationUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutUserInput | DeviceRegistrationUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type ImportJobUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput> | ImportJobCreateWithoutCreatedInput[] | ImportJobUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutCreatedInput | ImportJobCreateOrConnectWithoutCreatedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutCreatedInput | ImportJobUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: ImportJobCreateManyCreatedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutCreatedInput | ImportJobUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutCreatedInput | ImportJobUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput> | ImportJobCreateWithoutUpdatedInput[] | ImportJobUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutUpdatedInput | ImportJobCreateOrConnectWithoutUpdatedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutUpdatedInput | ImportJobUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: ImportJobCreateManyUpdatedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutUpdatedInput | ImportJobUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutUpdatedInput | ImportJobUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput> | ImportJobCreateWithoutDeletedInput[] | ImportJobUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutDeletedInput | ImportJobCreateOrConnectWithoutDeletedInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutDeletedInput | ImportJobUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: ImportJobCreateManyDeletedInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutDeletedInput | ImportJobUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutDeletedInput | ImportJobUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput> | DirectImportDetailsCreateWithoutCreatedInput[] | DirectImportDetailsUncheckedCreateWithoutCreatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutCreatedInput | DirectImportDetailsCreateOrConnectWithoutCreatedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutCreatedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutCreatedInput[]
    createMany?: DirectImportDetailsCreateManyCreatedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutCreatedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutCreatedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutCreatedInput | DirectImportDetailsUpdateManyWithWhereWithoutCreatedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput> | DirectImportDetailsCreateWithoutUpdatedInput[] | DirectImportDetailsUncheckedCreateWithoutUpdatedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutUpdatedInput | DirectImportDetailsCreateOrConnectWithoutUpdatedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutUpdatedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutUpdatedInput[]
    createMany?: DirectImportDetailsCreateManyUpdatedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutUpdatedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutUpdatedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutUpdatedInput | DirectImportDetailsUpdateManyWithWhereWithoutUpdatedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput> | DirectImportDetailsCreateWithoutDeletedInput[] | DirectImportDetailsUncheckedCreateWithoutDeletedInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutDeletedInput | DirectImportDetailsCreateOrConnectWithoutDeletedInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutDeletedInput | DirectImportDetailsUpsertWithWhereUniqueWithoutDeletedInput[]
    createMany?: DirectImportDetailsCreateManyDeletedInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutDeletedInput | DirectImportDetailsUpdateWithWhereUniqueWithoutDeletedInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutDeletedInput | DirectImportDetailsUpdateManyWithWhereWithoutDeletedInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type UserPoliciesUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput> | UserPoliciesCreateWithoutUserInput[] | UserPoliciesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutUserInput | UserPoliciesCreateOrConnectWithoutUserInput[]
    upsert?: UserPoliciesUpsertWithWhereUniqueWithoutUserInput | UserPoliciesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserPoliciesCreateManyUserInputEnvelope
    set?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    disconnect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    delete?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    update?: UserPoliciesUpdateWithWhereUniqueWithoutUserInput | UserPoliciesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserPoliciesUpdateManyWithWhereWithoutUserInput | UserPoliciesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
  }

  export type PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput> | PoliciesCreateWithoutCreated_policyInput[] | PoliciesUncheckedCreateWithoutCreated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutCreated_policyInput | PoliciesCreateOrConnectWithoutCreated_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutCreated_policyInput | PoliciesUpsertWithWhereUniqueWithoutCreated_policyInput[]
    createMany?: PoliciesCreateManyCreated_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutCreated_policyInput | PoliciesUpdateWithWhereUniqueWithoutCreated_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutCreated_policyInput | PoliciesUpdateManyWithWhereWithoutCreated_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput> | PoliciesCreateWithoutUpdated_policyInput[] | PoliciesUncheckedCreateWithoutUpdated_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutUpdated_policyInput | PoliciesCreateOrConnectWithoutUpdated_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutUpdated_policyInput | PoliciesUpsertWithWhereUniqueWithoutUpdated_policyInput[]
    createMany?: PoliciesCreateManyUpdated_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutUpdated_policyInput | PoliciesUpdateWithWhereUniqueWithoutUpdated_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutUpdated_policyInput | PoliciesUpdateManyWithWhereWithoutUpdated_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput> | PoliciesCreateWithoutDeleted_policyInput[] | PoliciesUncheckedCreateWithoutDeleted_policyInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutDeleted_policyInput | PoliciesCreateOrConnectWithoutDeleted_policyInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutDeleted_policyInput | PoliciesUpsertWithWhereUniqueWithoutDeleted_policyInput[]
    createMany?: PoliciesCreateManyDeleted_policyInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutDeleted_policyInput | PoliciesUpdateWithWhereUniqueWithoutDeleted_policyInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutDeleted_policyInput | PoliciesUpdateManyWithWhereWithoutDeleted_policyInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput> | AppversionsCreateWithoutCreated_app_versionsInput[] | AppversionsUncheckedCreateWithoutCreated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutCreated_app_versionsInput | AppversionsCreateOrConnectWithoutCreated_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutCreated_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutCreated_app_versionsInput[]
    createMany?: AppversionsCreateManyCreated_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutCreated_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutCreated_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutCreated_app_versionsInput | AppversionsUpdateManyWithWhereWithoutCreated_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput> | AppversionsCreateWithoutUpdated_app_versionsInput[] | AppversionsUncheckedCreateWithoutUpdated_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutUpdated_app_versionsInput | AppversionsCreateOrConnectWithoutUpdated_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutUpdated_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutUpdated_app_versionsInput[]
    createMany?: AppversionsCreateManyUpdated_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutUpdated_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutUpdated_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutUpdated_app_versionsInput | AppversionsUpdateManyWithWhereWithoutUpdated_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput = {
    create?: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput> | AppversionsCreateWithoutDeleted_app_versionsInput[] | AppversionsUncheckedCreateWithoutDeleted_app_versionsInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutDeleted_app_versionsInput | AppversionsCreateOrConnectWithoutDeleted_app_versionsInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutDeleted_app_versionsInput | AppversionsUpsertWithWhereUniqueWithoutDeleted_app_versionsInput[]
    createMany?: AppversionsCreateManyDeleted_app_versionsInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutDeleted_app_versionsInput | AppversionsUpdateWithWhereUniqueWithoutDeleted_app_versionsInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutDeleted_app_versionsInput | AppversionsUpdateManyWithWhereWithoutDeleted_app_versionsInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput> | ThemesCreateWithoutCreatedThemeInput[] | ThemesUncheckedCreateWithoutCreatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutCreatedThemeInput | ThemesCreateOrConnectWithoutCreatedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutCreatedThemeInput | ThemesUpsertWithWhereUniqueWithoutCreatedThemeInput[]
    createMany?: ThemesCreateManyCreatedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutCreatedThemeInput | ThemesUpdateWithWhereUniqueWithoutCreatedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutCreatedThemeInput | ThemesUpdateManyWithWhereWithoutCreatedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput> | ThemesCreateWithoutUpdatedThemeInput[] | ThemesUncheckedCreateWithoutUpdatedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutUpdatedThemeInput | ThemesCreateOrConnectWithoutUpdatedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutUpdatedThemeInput | ThemesUpsertWithWhereUniqueWithoutUpdatedThemeInput[]
    createMany?: ThemesCreateManyUpdatedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutUpdatedThemeInput | ThemesUpdateWithWhereUniqueWithoutUpdatedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutUpdatedThemeInput | ThemesUpdateManyWithWhereWithoutUpdatedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput = {
    create?: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput> | ThemesCreateWithoutDeletedThemeInput[] | ThemesUncheckedCreateWithoutDeletedThemeInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutDeletedThemeInput | ThemesCreateOrConnectWithoutDeletedThemeInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutDeletedThemeInput | ThemesUpsertWithWhereUniqueWithoutDeletedThemeInput[]
    createMany?: ThemesCreateManyDeletedThemeInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutDeletedThemeInput | ThemesUpdateWithWhereUniqueWithoutDeletedThemeInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutDeletedThemeInput | ThemesUpdateManyWithWhereWithoutDeletedThemeInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutCreatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyCreatedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutCreatedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutCreatedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutCreatedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput> | ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutUpdatedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyUpdatedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutUpdatedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutUpdatedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutUpdatedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput> | ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput[] | ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput | ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpsertWithWhereUniqueWithoutDeletedThemeLineItemsInput[]
    createMany?: ThemeLineItemsCreateManyDeletedThemeLineItemsInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpdateWithWhereUniqueWithoutDeletedThemeLineItemsInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutDeletedThemeLineItemsInput | ThemeLineItemsUpdateManyWithWhereWithoutDeletedThemeLineItemsInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput> | ThemeAttributesCreateWithoutCreatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutCreatedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutCreatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyCreatedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutCreatedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutCreatedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutCreatedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutCreatedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput> | ThemeAttributesCreateWithoutUpdatedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutUpdatedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutUpdatedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyUpdatedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutUpdatedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutUpdatedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutUpdatedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutUpdatedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput> | ThemeAttributesCreateWithoutDeletedThemeAttributesInput[] | ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput | ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutDeletedThemeAttributesInput | ThemeAttributesUpsertWithWhereUniqueWithoutDeletedThemeAttributesInput[]
    createMany?: ThemeAttributesCreateManyDeletedThemeAttributesInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutDeletedThemeAttributesInput | ThemeAttributesUpdateWithWhereUniqueWithoutDeletedThemeAttributesInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutDeletedThemeAttributesInput | ThemeAttributesUpdateManyWithWhereWithoutDeletedThemeAttributesInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput> | ChildProcessLogCreateWithoutInitiatorInput[] | ChildProcessLogUncheckedCreateWithoutInitiatorInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutInitiatorInput | ChildProcessLogCreateOrConnectWithoutInitiatorInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutInitiatorInput | ChildProcessLogUpsertWithWhereUniqueWithoutInitiatorInput[]
    createMany?: ChildProcessLogCreateManyInitiatorInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutInitiatorInput | ChildProcessLogUpdateWithWhereUniqueWithoutInitiatorInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutInitiatorInput | ChildProcessLogUpdateManyWithWhereWithoutInitiatorInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput> | CustomerGeoFenceMappingCreateWithoutUserInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutUserInput | CustomerGeoFenceMappingCreateOrConnectWithoutUserInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutUserInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: CustomerGeoFenceMappingCreateManyUserInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutUserInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutUserInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput> | VehicleUserMappingCreateWithoutUserInput[] | VehicleUserMappingUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutUserInput | VehicleUserMappingCreateOrConnectWithoutUserInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutUserInput | VehicleUserMappingUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehicleUserMappingCreateManyUserInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutUserInput | VehicleUserMappingUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutUserInput | VehicleUserMappingUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput> | DeliveryNotesCreateWithoutCustomerInput[] | DeliveryNotesUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomerInput | DeliveryNotesCreateOrConnectWithoutCustomerInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutCustomerInput | DeliveryNotesUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: DeliveryNotesCreateManyCustomerInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutCustomerInput | DeliveryNotesUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutCustomerInput | DeliveryNotesUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput> | VehiclesGpsDataCreateWithoutUserInput[] | VehiclesGpsDataUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutUserInput | VehiclesGpsDataCreateOrConnectWithoutUserInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutUserInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehiclesGpsDataCreateManyUserInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutUserInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutUserInput | VehiclesGpsDataUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput> | VehiclesGpsDataLogCreateWithoutUserInput[] | VehiclesGpsDataLogUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutUserInput | VehiclesGpsDataLogCreateOrConnectWithoutUserInput[]
    upsert?: VehiclesGpsDataLogUpsertWithWhereUniqueWithoutUserInput | VehiclesGpsDataLogUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehiclesGpsDataLogCreateManyUserInputEnvelope
    set?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    disconnect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    delete?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    update?: VehiclesGpsDataLogUpdateWithWhereUniqueWithoutUserInput | VehiclesGpsDataLogUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehiclesGpsDataLogUpdateManyWithWhereWithoutUserInput | VehiclesGpsDataLogUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput> | VehicleGeofenceHistoryCreateWithoutDriverInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput | VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutDriverInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutDriverInput[]
    createMany?: VehicleGeofenceHistoryCreateManyDriverInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutDriverInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutDriverInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutDriverInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutDriverInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput> | VehicleGeofenceHistoryCreateWithoutCustomerInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput | VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutCustomerInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: VehicleGeofenceHistoryCreateManyCustomerInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutCustomerInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutCustomerInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput> | ShipmentCustomersCreateWithoutCustomerInput[] | ShipmentCustomersUncheckedCreateWithoutCustomerInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutCustomerInput | ShipmentCustomersCreateOrConnectWithoutCustomerInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutCustomerInput | ShipmentCustomersUpsertWithWhereUniqueWithoutCustomerInput[]
    createMany?: ShipmentCustomersCreateManyCustomerInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutCustomerInput | ShipmentCustomersUpdateWithWhereUniqueWithoutCustomerInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutCustomerInput | ShipmentCustomersUpdateManyWithWhereWithoutCustomerInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput> | VehicleTripHistoriesCreateWithoutUserInput[] | VehicleTripHistoriesUncheckedCreateWithoutUserInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutUserInput | VehicleTripHistoriesCreateOrConnectWithoutUserInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutUserInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: VehicleTripHistoriesCreateManyUserInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutUserInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutUserInput | VehicleTripHistoriesUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutCreated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyCreated_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutCreated_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutCreated_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutCreated_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput> | BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutUpdated_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyUpdated_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutUpdated_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutUpdated_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutUpdated_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput> | BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput[] | BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput | BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutDeleted_barcode_templatesInput[]
    createMany?: BarcodeTemplatesCreateManyDeleted_barcode_templatesInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutDeleted_barcode_templatesInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutDeleted_barcode_templatesInput | BarcodeTemplatesUpdateManyWithWhereWithoutDeleted_barcode_templatesInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput = {
    create?: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput> | UserLoginHistoryCreateWithoutUserInput[] | UserLoginHistoryUncheckedCreateWithoutUserInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutUserInput | UserLoginHistoryCreateOrConnectWithoutUserInput[]
    upsert?: UserLoginHistoryUpsertWithWhereUniqueWithoutUserInput | UserLoginHistoryUpsertWithWhereUniqueWithoutUserInput[]
    createMany?: UserLoginHistoryCreateManyUserInputEnvelope
    set?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    disconnect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    delete?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    update?: UserLoginHistoryUpdateWithWhereUniqueWithoutUserInput | UserLoginHistoryUpdateWithWhereUniqueWithoutUserInput[]
    updateMany?: UserLoginHistoryUpdateManyWithWhereWithoutUserInput | UserLoginHistoryUpdateManyWithWhereWithoutUserInput[]
    deleteMany?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
  }

  export type DesignationCreateNestedOneWithoutUsersInput = {
    create?: XOR<DesignationCreateWithoutUsersInput, DesignationUncheckedCreateWithoutUsersInput>
    connectOrCreate?: DesignationCreateOrConnectWithoutUsersInput
    connect?: DesignationWhereUniqueInput
  }

  export type DepartmentCreateNestedOneWithoutUsersInput = {
    create?: XOR<DepartmentCreateWithoutUsersInput, DepartmentUncheckedCreateWithoutUsersInput>
    connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput
    connect?: DepartmentWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUser_detailInput = {
    create?: XOR<UserCreateWithoutUser_detailInput, UserUncheckedCreateWithoutUser_detailInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_detailInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_user_detailsInput = {
    create?: XOR<UserCreateWithoutCreated_user_detailsInput, UserUncheckedCreateWithoutCreated_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_user_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_user_detailsInput = {
    create?: XOR<UserCreateWithoutUpdated_user_detailsInput, UserUncheckedCreateWithoutUpdated_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_user_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_user_detailsInput = {
    create?: XOR<UserCreateWithoutDeleted_user_detailsInput, UserUncheckedCreateWithoutDeleted_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_user_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type EnumGenderFieldUpdateOperationsInput = {
    set?: $Enums.Gender
  }

  export type DesignationUpdateOneWithoutUsersNestedInput = {
    create?: XOR<DesignationCreateWithoutUsersInput, DesignationUncheckedCreateWithoutUsersInput>
    connectOrCreate?: DesignationCreateOrConnectWithoutUsersInput
    upsert?: DesignationUpsertWithoutUsersInput
    disconnect?: DesignationWhereInput | boolean
    delete?: DesignationWhereInput | boolean
    connect?: DesignationWhereUniqueInput
    update?: XOR<XOR<DesignationUpdateToOneWithWhereWithoutUsersInput, DesignationUpdateWithoutUsersInput>, DesignationUncheckedUpdateWithoutUsersInput>
  }

  export type DepartmentUpdateOneWithoutUsersNestedInput = {
    create?: XOR<DepartmentCreateWithoutUsersInput, DepartmentUncheckedCreateWithoutUsersInput>
    connectOrCreate?: DepartmentCreateOrConnectWithoutUsersInput
    upsert?: DepartmentUpsertWithoutUsersInput
    disconnect?: DepartmentWhereInput | boolean
    delete?: DepartmentWhereInput | boolean
    connect?: DepartmentWhereUniqueInput
    update?: XOR<XOR<DepartmentUpdateToOneWithWhereWithoutUsersInput, DepartmentUpdateWithoutUsersInput>, DepartmentUncheckedUpdateWithoutUsersInput>
  }

  export type UserUpdateOneRequiredWithoutUser_detailNestedInput = {
    create?: XOR<UserCreateWithoutUser_detailInput, UserUncheckedCreateWithoutUser_detailInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_detailInput
    upsert?: UserUpsertWithoutUser_detailInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUser_detailInput, UserUpdateWithoutUser_detailInput>, UserUncheckedUpdateWithoutUser_detailInput>
  }

  export type UserUpdateOneWithoutCreated_user_detailsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_user_detailsInput, UserUncheckedCreateWithoutCreated_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_user_detailsInput
    upsert?: UserUpsertWithoutCreated_user_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_user_detailsInput, UserUpdateWithoutCreated_user_detailsInput>, UserUncheckedUpdateWithoutCreated_user_detailsInput>
  }

  export type UserUpdateOneWithoutUpdated_user_detailsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_user_detailsInput, UserUncheckedCreateWithoutUpdated_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_user_detailsInput
    upsert?: UserUpsertWithoutUpdated_user_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_user_detailsInput, UserUpdateWithoutUpdated_user_detailsInput>, UserUncheckedUpdateWithoutUpdated_user_detailsInput>
  }

  export type UserUpdateOneWithoutDeleted_user_detailsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_user_detailsInput, UserUncheckedCreateWithoutDeleted_user_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_user_detailsInput
    upsert?: UserUpsertWithoutDeleted_user_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_user_detailsInput, UserUpdateWithoutDeleted_user_detailsInput>, UserUncheckedUpdateWithoutDeleted_user_detailsInput>
  }

  export type StatusCreateNestedOneWithoutDesignationsInput = {
    create?: XOR<StatusCreateWithoutDesignationsInput, StatusUncheckedCreateWithoutDesignationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDesignationsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserDetailCreateNestedManyWithoutDesignationInput = {
    create?: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput> | UserDetailCreateWithoutDesignationInput[] | UserDetailUncheckedCreateWithoutDesignationInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDesignationInput | UserDetailCreateOrConnectWithoutDesignationInput[]
    createMany?: UserDetailCreateManyDesignationInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_designationsInput = {
    create?: XOR<UserCreateWithoutCreated_designationsInput, UserUncheckedCreateWithoutCreated_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_designationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_designationsInput = {
    create?: XOR<UserCreateWithoutUpdated_designationsInput, UserUncheckedCreateWithoutUpdated_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_designationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_designationsInput = {
    create?: XOR<UserCreateWithoutDeleted_designationsInput, UserUncheckedCreateWithoutDeleted_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_designationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserDetailUncheckedCreateNestedManyWithoutDesignationInput = {
    create?: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput> | UserDetailCreateWithoutDesignationInput[] | UserDetailUncheckedCreateWithoutDesignationInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDesignationInput | UserDetailCreateOrConnectWithoutDesignationInput[]
    createMany?: UserDetailCreateManyDesignationInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutDesignationsNestedInput = {
    create?: XOR<StatusCreateWithoutDesignationsInput, StatusUncheckedCreateWithoutDesignationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDesignationsInput
    upsert?: StatusUpsertWithoutDesignationsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDesignationsInput, StatusUpdateWithoutDesignationsInput>, StatusUncheckedUpdateWithoutDesignationsInput>
  }

  export type UserDetailUpdateManyWithoutDesignationNestedInput = {
    create?: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput> | UserDetailCreateWithoutDesignationInput[] | UserDetailUncheckedCreateWithoutDesignationInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDesignationInput | UserDetailCreateOrConnectWithoutDesignationInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDesignationInput | UserDetailUpsertWithWhereUniqueWithoutDesignationInput[]
    createMany?: UserDetailCreateManyDesignationInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDesignationInput | UserDetailUpdateWithWhereUniqueWithoutDesignationInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDesignationInput | UserDetailUpdateManyWithWhereWithoutDesignationInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_designationsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_designationsInput, UserUncheckedCreateWithoutCreated_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_designationsInput
    upsert?: UserUpsertWithoutCreated_designationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_designationsInput, UserUpdateWithoutCreated_designationsInput>, UserUncheckedUpdateWithoutCreated_designationsInput>
  }

  export type UserUpdateOneWithoutUpdated_designationsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_designationsInput, UserUncheckedCreateWithoutUpdated_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_designationsInput
    upsert?: UserUpsertWithoutUpdated_designationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_designationsInput, UserUpdateWithoutUpdated_designationsInput>, UserUncheckedUpdateWithoutUpdated_designationsInput>
  }

  export type UserUpdateOneWithoutDeleted_designationsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_designationsInput, UserUncheckedCreateWithoutDeleted_designationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_designationsInput
    upsert?: UserUpsertWithoutDeleted_designationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_designationsInput, UserUpdateWithoutDeleted_designationsInput>, UserUncheckedUpdateWithoutDeleted_designationsInput>
  }

  export type UserDetailUncheckedUpdateManyWithoutDesignationNestedInput = {
    create?: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput> | UserDetailCreateWithoutDesignationInput[] | UserDetailUncheckedCreateWithoutDesignationInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDesignationInput | UserDetailCreateOrConnectWithoutDesignationInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDesignationInput | UserDetailUpsertWithWhereUniqueWithoutDesignationInput[]
    createMany?: UserDetailCreateManyDesignationInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDesignationInput | UserDetailUpdateWithWhereUniqueWithoutDesignationInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDesignationInput | UserDetailUpdateManyWithWhereWithoutDesignationInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutDepartmentsInput = {
    create?: XOR<StatusCreateWithoutDepartmentsInput, StatusUncheckedCreateWithoutDepartmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDepartmentsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserDetailCreateNestedManyWithoutDepartmentInput = {
    create?: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput> | UserDetailCreateWithoutDepartmentInput[] | UserDetailUncheckedCreateWithoutDepartmentInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDepartmentInput | UserDetailCreateOrConnectWithoutDepartmentInput[]
    createMany?: UserDetailCreateManyDepartmentInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutHead_departmentsInput = {
    create?: XOR<UserCreateWithoutHead_departmentsInput, UserUncheckedCreateWithoutHead_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutHead_departmentsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_departmentsInput = {
    create?: XOR<UserCreateWithoutCreated_departmentsInput, UserUncheckedCreateWithoutCreated_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_departmentsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_departmentsInput = {
    create?: XOR<UserCreateWithoutUpdated_departmentsInput, UserUncheckedCreateWithoutUpdated_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_departmentsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_departmentsInput = {
    create?: XOR<UserCreateWithoutDeleted_departmentsInput, UserUncheckedCreateWithoutDeleted_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_departmentsInput
    connect?: UserWhereUniqueInput
  }

  export type UserDetailUncheckedCreateNestedManyWithoutDepartmentInput = {
    create?: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput> | UserDetailCreateWithoutDepartmentInput[] | UserDetailUncheckedCreateWithoutDepartmentInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDepartmentInput | UserDetailCreateOrConnectWithoutDepartmentInput[]
    createMany?: UserDetailCreateManyDepartmentInputEnvelope
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutDepartmentsNestedInput = {
    create?: XOR<StatusCreateWithoutDepartmentsInput, StatusUncheckedCreateWithoutDepartmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDepartmentsInput
    upsert?: StatusUpsertWithoutDepartmentsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDepartmentsInput, StatusUpdateWithoutDepartmentsInput>, StatusUncheckedUpdateWithoutDepartmentsInput>
  }

  export type UserDetailUpdateManyWithoutDepartmentNestedInput = {
    create?: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput> | UserDetailCreateWithoutDepartmentInput[] | UserDetailUncheckedCreateWithoutDepartmentInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDepartmentInput | UserDetailCreateOrConnectWithoutDepartmentInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDepartmentInput | UserDetailUpsertWithWhereUniqueWithoutDepartmentInput[]
    createMany?: UserDetailCreateManyDepartmentInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDepartmentInput | UserDetailUpdateWithWhereUniqueWithoutDepartmentInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDepartmentInput | UserDetailUpdateManyWithWhereWithoutDepartmentInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type UserUpdateOneWithoutHead_departmentsNestedInput = {
    create?: XOR<UserCreateWithoutHead_departmentsInput, UserUncheckedCreateWithoutHead_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutHead_departmentsInput
    upsert?: UserUpsertWithoutHead_departmentsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutHead_departmentsInput, UserUpdateWithoutHead_departmentsInput>, UserUncheckedUpdateWithoutHead_departmentsInput>
  }

  export type UserUpdateOneWithoutCreated_departmentsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_departmentsInput, UserUncheckedCreateWithoutCreated_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_departmentsInput
    upsert?: UserUpsertWithoutCreated_departmentsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_departmentsInput, UserUpdateWithoutCreated_departmentsInput>, UserUncheckedUpdateWithoutCreated_departmentsInput>
  }

  export type UserUpdateOneWithoutUpdated_departmentsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_departmentsInput, UserUncheckedCreateWithoutUpdated_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_departmentsInput
    upsert?: UserUpsertWithoutUpdated_departmentsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_departmentsInput, UserUpdateWithoutUpdated_departmentsInput>, UserUncheckedUpdateWithoutUpdated_departmentsInput>
  }

  export type UserUpdateOneWithoutDeleted_departmentsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_departmentsInput, UserUncheckedCreateWithoutDeleted_departmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_departmentsInput
    upsert?: UserUpsertWithoutDeleted_departmentsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_departmentsInput, UserUpdateWithoutDeleted_departmentsInput>, UserUncheckedUpdateWithoutDeleted_departmentsInput>
  }

  export type UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput = {
    create?: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput> | UserDetailCreateWithoutDepartmentInput[] | UserDetailUncheckedCreateWithoutDepartmentInput[]
    connectOrCreate?: UserDetailCreateOrConnectWithoutDepartmentInput | UserDetailCreateOrConnectWithoutDepartmentInput[]
    upsert?: UserDetailUpsertWithWhereUniqueWithoutDepartmentInput | UserDetailUpsertWithWhereUniqueWithoutDepartmentInput[]
    createMany?: UserDetailCreateManyDepartmentInputEnvelope
    set?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    disconnect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    delete?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    connect?: UserDetailWhereUniqueInput | UserDetailWhereUniqueInput[]
    update?: UserDetailUpdateWithWhereUniqueWithoutDepartmentInput | UserDetailUpdateWithWhereUniqueWithoutDepartmentInput[]
    updateMany?: UserDetailUpdateManyWithWhereWithoutDepartmentInput | UserDetailUpdateManyWithWhereWithoutDepartmentInput[]
    deleteMany?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutRequest_logsInput = {
    create?: XOR<StatusCreateWithoutRequest_logsInput, StatusUncheckedCreateWithoutRequest_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutRequest_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutRequest_logsInput = {
    create?: XOR<UserCreateWithoutRequest_logsInput, UserUncheckedCreateWithoutRequest_logsInput>
    connectOrCreate?: UserCreateOrConnectWithoutRequest_logsInput
    connect?: UserWhereUniqueInput
  }

  export type BigIntFieldUpdateOperationsInput = {
    set?: bigint | number
    increment?: bigint | number
    decrement?: bigint | number
    multiply?: bigint | number
    divide?: bigint | number
  }

  export type StatusUpdateOneRequiredWithoutRequest_logsNestedInput = {
    create?: XOR<StatusCreateWithoutRequest_logsInput, StatusUncheckedCreateWithoutRequest_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutRequest_logsInput
    upsert?: StatusUpsertWithoutRequest_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutRequest_logsInput, StatusUpdateWithoutRequest_logsInput>, StatusUncheckedUpdateWithoutRequest_logsInput>
  }

  export type UserUpdateOneWithoutRequest_logsNestedInput = {
    create?: XOR<UserCreateWithoutRequest_logsInput, UserUncheckedCreateWithoutRequest_logsInput>
    connectOrCreate?: UserCreateOrConnectWithoutRequest_logsInput
    upsert?: UserUpsertWithoutRequest_logsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutRequest_logsInput, UserUpdateWithoutRequest_logsInput>, UserUncheckedUpdateWithoutRequest_logsInput>
  }

  export type StatusCreateNestedOneWithoutFinancial_yearsInput = {
    create?: XOR<StatusCreateWithoutFinancial_yearsInput, StatusUncheckedCreateWithoutFinancial_yearsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutFinancial_yearsInput
    connect?: StatusWhereUniqueInput
  }

  export type DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput = {
    create?: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput> | DocumentSequenceCreateWithoutFinanicial_yearInput[] | DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput | DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput[]
    createMany?: DocumentSequenceCreateManyFinanicial_yearInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_fin_yearsInput = {
    create?: XOR<UserCreateWithoutCreated_fin_yearsInput, UserUncheckedCreateWithoutCreated_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_fin_yearsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_fin_yearsInput = {
    create?: XOR<UserCreateWithoutUpdated_fin_yearsInput, UserUncheckedCreateWithoutUpdated_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_fin_yearsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_fin_yearsInput = {
    create?: XOR<UserCreateWithoutDeleted_fin_yearsInput, UserUncheckedCreateWithoutDeleted_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_fin_yearsInput
    connect?: UserWhereUniqueInput
  }

  export type DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput = {
    create?: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput> | DocumentSequenceCreateWithoutFinanicial_yearInput[] | DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput | DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput[]
    createMany?: DocumentSequenceCreateManyFinanicial_yearInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput = {
    create?: XOR<StatusCreateWithoutFinancial_yearsInput, StatusUncheckedCreateWithoutFinancial_yearsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutFinancial_yearsInput
    upsert?: StatusUpsertWithoutFinancial_yearsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutFinancial_yearsInput, StatusUpdateWithoutFinancial_yearsInput>, StatusUncheckedUpdateWithoutFinancial_yearsInput>
  }

  export type DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput> | DocumentSequenceCreateWithoutFinanicial_yearInput[] | DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput | DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutFinanicial_yearInput | DocumentSequenceUpsertWithWhereUniqueWithoutFinanicial_yearInput[]
    createMany?: DocumentSequenceCreateManyFinanicial_yearInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutFinanicial_yearInput | DocumentSequenceUpdateWithWhereUniqueWithoutFinanicial_yearInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutFinanicial_yearInput | DocumentSequenceUpdateManyWithWhereWithoutFinanicial_yearInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_fin_yearsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_fin_yearsInput, UserUncheckedCreateWithoutCreated_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_fin_yearsInput
    upsert?: UserUpsertWithoutCreated_fin_yearsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_fin_yearsInput, UserUpdateWithoutCreated_fin_yearsInput>, UserUncheckedUpdateWithoutCreated_fin_yearsInput>
  }

  export type UserUpdateOneWithoutUpdated_fin_yearsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_fin_yearsInput, UserUncheckedCreateWithoutUpdated_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_fin_yearsInput
    upsert?: UserUpsertWithoutUpdated_fin_yearsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_fin_yearsInput, UserUpdateWithoutUpdated_fin_yearsInput>, UserUncheckedUpdateWithoutUpdated_fin_yearsInput>
  }

  export type UserUpdateOneWithoutDeleted_fin_yearsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_fin_yearsInput, UserUncheckedCreateWithoutDeleted_fin_yearsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_fin_yearsInput
    upsert?: UserUpsertWithoutDeleted_fin_yearsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_fin_yearsInput, UserUpdateWithoutDeleted_fin_yearsInput>, UserUncheckedUpdateWithoutDeleted_fin_yearsInput>
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput> | DocumentSequenceCreateWithoutFinanicial_yearInput[] | DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput | DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutFinanicial_yearInput | DocumentSequenceUpsertWithWhereUniqueWithoutFinanicial_yearInput[]
    createMany?: DocumentSequenceCreateManyFinanicial_yearInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutFinanicial_yearInput | DocumentSequenceUpdateWithWhereUniqueWithoutFinanicial_yearInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutFinanicial_yearInput | DocumentSequenceUpdateManyWithWhereWithoutFinanicial_yearInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutDocument_sequencesInput = {
    create?: XOR<StatusCreateWithoutDocument_sequencesInput, StatusUncheckedCreateWithoutDocument_sequencesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDocument_sequencesInput
    connect?: StatusWhereUniqueInput
  }

  export type FinancialYearCreateNestedOneWithoutDocument_sequenceInput = {
    create?: XOR<FinancialYearCreateWithoutDocument_sequenceInput, FinancialYearUncheckedCreateWithoutDocument_sequenceInput>
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDocument_sequenceInput
    connect?: FinancialYearWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_doc_sequencesInput = {
    create?: XOR<UserCreateWithoutCreated_doc_sequencesInput, UserUncheckedCreateWithoutCreated_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_doc_sequencesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_doc_sequencesInput = {
    create?: XOR<UserCreateWithoutUpdated_doc_sequencesInput, UserUncheckedCreateWithoutUpdated_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_doc_sequencesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_doc_sequencesInput = {
    create?: XOR<UserCreateWithoutDeleted_doc_sequencesInput, UserUncheckedCreateWithoutDeleted_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_doc_sequencesInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput = {
    create?: XOR<StatusCreateWithoutDocument_sequencesInput, StatusUncheckedCreateWithoutDocument_sequencesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDocument_sequencesInput
    upsert?: StatusUpsertWithoutDocument_sequencesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDocument_sequencesInput, StatusUpdateWithoutDocument_sequencesInput>, StatusUncheckedUpdateWithoutDocument_sequencesInput>
  }

  export type FinancialYearUpdateOneWithoutDocument_sequenceNestedInput = {
    create?: XOR<FinancialYearCreateWithoutDocument_sequenceInput, FinancialYearUncheckedCreateWithoutDocument_sequenceInput>
    connectOrCreate?: FinancialYearCreateOrConnectWithoutDocument_sequenceInput
    upsert?: FinancialYearUpsertWithoutDocument_sequenceInput
    disconnect?: FinancialYearWhereInput | boolean
    delete?: FinancialYearWhereInput | boolean
    connect?: FinancialYearWhereUniqueInput
    update?: XOR<XOR<FinancialYearUpdateToOneWithWhereWithoutDocument_sequenceInput, FinancialYearUpdateWithoutDocument_sequenceInput>, FinancialYearUncheckedUpdateWithoutDocument_sequenceInput>
  }

  export type UserUpdateOneWithoutCreated_doc_sequencesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_doc_sequencesInput, UserUncheckedCreateWithoutCreated_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_doc_sequencesInput
    upsert?: UserUpsertWithoutCreated_doc_sequencesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_doc_sequencesInput, UserUpdateWithoutCreated_doc_sequencesInput>, UserUncheckedUpdateWithoutCreated_doc_sequencesInput>
  }

  export type UserUpdateOneWithoutUpdated_doc_sequencesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_doc_sequencesInput, UserUncheckedCreateWithoutUpdated_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_doc_sequencesInput
    upsert?: UserUpsertWithoutUpdated_doc_sequencesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_doc_sequencesInput, UserUpdateWithoutUpdated_doc_sequencesInput>, UserUncheckedUpdateWithoutUpdated_doc_sequencesInput>
  }

  export type UserUpdateOneWithoutDeleted_doc_sequencesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_doc_sequencesInput, UserUncheckedCreateWithoutDeleted_doc_sequencesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_doc_sequencesInput
    upsert?: UserUpsertWithoutDeleted_doc_sequencesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_doc_sequencesInput, UserUpdateWithoutDeleted_doc_sequencesInput>, UserUncheckedUpdateWithoutDeleted_doc_sequencesInput>
  }

  export type StatusCreateNestedOneWithoutAudit_logsInput = {
    create?: XOR<StatusCreateWithoutAudit_logsInput, StatusUncheckedCreateWithoutAudit_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutAudit_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutAudit_logsInput = {
    create?: XOR<UserCreateWithoutAudit_logsInput, UserUncheckedCreateWithoutAudit_logsInput>
    connectOrCreate?: UserCreateOrConnectWithoutAudit_logsInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutAudit_logsNestedInput = {
    create?: XOR<StatusCreateWithoutAudit_logsInput, StatusUncheckedCreateWithoutAudit_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutAudit_logsInput
    upsert?: StatusUpsertWithoutAudit_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutAudit_logsInput, StatusUpdateWithoutAudit_logsInput>, StatusUncheckedUpdateWithoutAudit_logsInput>
  }

  export type UserUpdateOneWithoutAudit_logsNestedInput = {
    create?: XOR<UserCreateWithoutAudit_logsInput, UserUncheckedCreateWithoutAudit_logsInput>
    connectOrCreate?: UserCreateOrConnectWithoutAudit_logsInput
    upsert?: UserUpsertWithoutAudit_logsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutAudit_logsInput, UserUpdateWithoutAudit_logsInput>, UserUncheckedUpdateWithoutAudit_logsInput>
  }

  export type StatusCreateNestedOneWithoutPermissionsInput = {
    create?: XOR<StatusCreateWithoutPermissionsInput, StatusUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPermissionsInput
    connect?: StatusWhereUniqueInput
  }

  export type MasterEntityCreateNestedOneWithoutPermissionsInput = {
    create?: XOR<MasterEntityCreateWithoutPermissionsInput, MasterEntityUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutPermissionsInput
    connect?: MasterEntityWhereUniqueInput
  }

  export type RolePermissionsCreateNestedManyWithoutPermissionInput = {
    create?: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput> | RolePermissionsCreateWithoutPermissionInput[] | RolePermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutPermissionInput | RolePermissionsCreateOrConnectWithoutPermissionInput[]
    createMany?: RolePermissionsCreateManyPermissionInputEnvelope
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
  }

  export type UserPermissionsCreateNestedManyWithoutPermissionInput = {
    create?: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput> | UserPermissionsCreateWithoutPermissionInput[] | UserPermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutPermissionInput | UserPermissionsCreateOrConnectWithoutPermissionInput[]
    createMany?: UserPermissionsCreateManyPermissionInputEnvelope
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutPermissionInput = {
    create?: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput> | MenuItemsCreateWithoutPermissionInput[] | MenuItemsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutPermissionInput | MenuItemsCreateOrConnectWithoutPermissionInput[]
    createMany?: MenuItemsCreateManyPermissionInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput = {
    create?: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput> | RolePermissionsCreateWithoutPermissionInput[] | RolePermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutPermissionInput | RolePermissionsCreateOrConnectWithoutPermissionInput[]
    createMany?: RolePermissionsCreateManyPermissionInputEnvelope
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
  }

  export type UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput = {
    create?: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput> | UserPermissionsCreateWithoutPermissionInput[] | UserPermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutPermissionInput | UserPermissionsCreateOrConnectWithoutPermissionInput[]
    createMany?: UserPermissionsCreateManyPermissionInputEnvelope
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutPermissionInput = {
    create?: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput> | MenuItemsCreateWithoutPermissionInput[] | MenuItemsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutPermissionInput | MenuItemsCreateOrConnectWithoutPermissionInput[]
    createMany?: MenuItemsCreateManyPermissionInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type DecimalFieldUpdateOperationsInput = {
    set?: Decimal | DecimalJsLike | number | string
    increment?: Decimal | DecimalJsLike | number | string
    decrement?: Decimal | DecimalJsLike | number | string
    multiply?: Decimal | DecimalJsLike | number | string
    divide?: Decimal | DecimalJsLike | number | string
  }

  export type StatusUpdateOneRequiredWithoutPermissionsNestedInput = {
    create?: XOR<StatusCreateWithoutPermissionsInput, StatusUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPermissionsInput
    upsert?: StatusUpsertWithoutPermissionsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutPermissionsInput, StatusUpdateWithoutPermissionsInput>, StatusUncheckedUpdateWithoutPermissionsInput>
  }

  export type MasterEntityUpdateOneWithoutPermissionsNestedInput = {
    create?: XOR<MasterEntityCreateWithoutPermissionsInput, MasterEntityUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutPermissionsInput
    upsert?: MasterEntityUpsertWithoutPermissionsInput
    disconnect?: MasterEntityWhereInput | boolean
    delete?: MasterEntityWhereInput | boolean
    connect?: MasterEntityWhereUniqueInput
    update?: XOR<XOR<MasterEntityUpdateToOneWithWhereWithoutPermissionsInput, MasterEntityUpdateWithoutPermissionsInput>, MasterEntityUncheckedUpdateWithoutPermissionsInput>
  }

  export type RolePermissionsUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput> | RolePermissionsCreateWithoutPermissionInput[] | RolePermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutPermissionInput | RolePermissionsCreateOrConnectWithoutPermissionInput[]
    upsert?: RolePermissionsUpsertWithWhereUniqueWithoutPermissionInput | RolePermissionsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: RolePermissionsCreateManyPermissionInputEnvelope
    set?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    disconnect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    delete?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    update?: RolePermissionsUpdateWithWhereUniqueWithoutPermissionInput | RolePermissionsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: RolePermissionsUpdateManyWithWhereWithoutPermissionInput | RolePermissionsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
  }

  export type UserPermissionsUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput> | UserPermissionsCreateWithoutPermissionInput[] | UserPermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutPermissionInput | UserPermissionsCreateOrConnectWithoutPermissionInput[]
    upsert?: UserPermissionsUpsertWithWhereUniqueWithoutPermissionInput | UserPermissionsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: UserPermissionsCreateManyPermissionInputEnvelope
    set?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    disconnect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    delete?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    update?: UserPermissionsUpdateWithWhereUniqueWithoutPermissionInput | UserPermissionsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: UserPermissionsUpdateManyWithWhereWithoutPermissionInput | UserPermissionsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput> | MenuItemsCreateWithoutPermissionInput[] | MenuItemsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutPermissionInput | MenuItemsCreateOrConnectWithoutPermissionInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutPermissionInput | MenuItemsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: MenuItemsCreateManyPermissionInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutPermissionInput | MenuItemsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutPermissionInput | MenuItemsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput> | RolePermissionsCreateWithoutPermissionInput[] | RolePermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutPermissionInput | RolePermissionsCreateOrConnectWithoutPermissionInput[]
    upsert?: RolePermissionsUpsertWithWhereUniqueWithoutPermissionInput | RolePermissionsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: RolePermissionsCreateManyPermissionInputEnvelope
    set?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    disconnect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    delete?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    update?: RolePermissionsUpdateWithWhereUniqueWithoutPermissionInput | RolePermissionsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: RolePermissionsUpdateManyWithWhereWithoutPermissionInput | RolePermissionsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
  }

  export type UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput> | UserPermissionsCreateWithoutPermissionInput[] | UserPermissionsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: UserPermissionsCreateOrConnectWithoutPermissionInput | UserPermissionsCreateOrConnectWithoutPermissionInput[]
    upsert?: UserPermissionsUpsertWithWhereUniqueWithoutPermissionInput | UserPermissionsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: UserPermissionsCreateManyPermissionInputEnvelope
    set?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    disconnect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    delete?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    connect?: UserPermissionsWhereUniqueInput | UserPermissionsWhereUniqueInput[]
    update?: UserPermissionsUpdateWithWhereUniqueWithoutPermissionInput | UserPermissionsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: UserPermissionsUpdateManyWithWhereWithoutPermissionInput | UserPermissionsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput = {
    create?: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput> | MenuItemsCreateWithoutPermissionInput[] | MenuItemsUncheckedCreateWithoutPermissionInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutPermissionInput | MenuItemsCreateOrConnectWithoutPermissionInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutPermissionInput | MenuItemsUpsertWithWhereUniqueWithoutPermissionInput[]
    createMany?: MenuItemsCreateManyPermissionInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutPermissionInput | MenuItemsUpdateWithWhereUniqueWithoutPermissionInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutPermissionInput | MenuItemsUpdateManyWithWhereWithoutPermissionInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutRolesInput = {
    create?: XOR<StatusCreateWithoutRolesInput, StatusUncheckedCreateWithoutRolesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutRolesInput
    connect?: StatusWhereUniqueInput
  }

  export type RolePermissionsCreateNestedManyWithoutRoleInput = {
    create?: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput> | RolePermissionsCreateWithoutRoleInput[] | RolePermissionsUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutRoleInput | RolePermissionsCreateOrConnectWithoutRoleInput[]
    createMany?: RolePermissionsCreateManyRoleInputEnvelope
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
  }

  export type UserRolesCreateNestedManyWithoutRoleInput = {
    create?: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput> | UserRolesCreateWithoutRoleInput[] | UserRolesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutRoleInput | UserRolesCreateOrConnectWithoutRoleInput[]
    createMany?: UserRolesCreateManyRoleInputEnvelope
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
  }

  export type RolePoliciesCreateNestedManyWithoutRoleInput = {
    create?: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput> | RolePoliciesCreateWithoutRoleInput[] | RolePoliciesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutRoleInput | RolePoliciesCreateOrConnectWithoutRoleInput[]
    createMany?: RolePoliciesCreateManyRoleInputEnvelope
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_rolesInput = {
    create?: XOR<UserCreateWithoutCreated_rolesInput, UserUncheckedCreateWithoutCreated_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_rolesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_rolesInput = {
    create?: XOR<UserCreateWithoutUpdated_rolesInput, UserUncheckedCreateWithoutUpdated_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_rolesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_rolesInput = {
    create?: XOR<UserCreateWithoutDeleted_rolesInput, UserUncheckedCreateWithoutDeleted_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_rolesInput
    connect?: UserWhereUniqueInput
  }

  export type RolePermissionsUncheckedCreateNestedManyWithoutRoleInput = {
    create?: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput> | RolePermissionsCreateWithoutRoleInput[] | RolePermissionsUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutRoleInput | RolePermissionsCreateOrConnectWithoutRoleInput[]
    createMany?: RolePermissionsCreateManyRoleInputEnvelope
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
  }

  export type UserRolesUncheckedCreateNestedManyWithoutRoleInput = {
    create?: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput> | UserRolesCreateWithoutRoleInput[] | UserRolesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutRoleInput | UserRolesCreateOrConnectWithoutRoleInput[]
    createMany?: UserRolesCreateManyRoleInputEnvelope
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
  }

  export type RolePoliciesUncheckedCreateNestedManyWithoutRoleInput = {
    create?: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput> | RolePoliciesCreateWithoutRoleInput[] | RolePoliciesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutRoleInput | RolePoliciesCreateOrConnectWithoutRoleInput[]
    createMany?: RolePoliciesCreateManyRoleInputEnvelope
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutRolesNestedInput = {
    create?: XOR<StatusCreateWithoutRolesInput, StatusUncheckedCreateWithoutRolesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutRolesInput
    upsert?: StatusUpsertWithoutRolesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutRolesInput, StatusUpdateWithoutRolesInput>, StatusUncheckedUpdateWithoutRolesInput>
  }

  export type RolePermissionsUpdateManyWithoutRoleNestedInput = {
    create?: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput> | RolePermissionsCreateWithoutRoleInput[] | RolePermissionsUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutRoleInput | RolePermissionsCreateOrConnectWithoutRoleInput[]
    upsert?: RolePermissionsUpsertWithWhereUniqueWithoutRoleInput | RolePermissionsUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: RolePermissionsCreateManyRoleInputEnvelope
    set?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    disconnect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    delete?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    update?: RolePermissionsUpdateWithWhereUniqueWithoutRoleInput | RolePermissionsUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: RolePermissionsUpdateManyWithWhereWithoutRoleInput | RolePermissionsUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
  }

  export type UserRolesUpdateManyWithoutRoleNestedInput = {
    create?: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput> | UserRolesCreateWithoutRoleInput[] | UserRolesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutRoleInput | UserRolesCreateOrConnectWithoutRoleInput[]
    upsert?: UserRolesUpsertWithWhereUniqueWithoutRoleInput | UserRolesUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: UserRolesCreateManyRoleInputEnvelope
    set?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    disconnect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    delete?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    update?: UserRolesUpdateWithWhereUniqueWithoutRoleInput | UserRolesUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: UserRolesUpdateManyWithWhereWithoutRoleInput | UserRolesUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
  }

  export type RolePoliciesUpdateManyWithoutRoleNestedInput = {
    create?: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput> | RolePoliciesCreateWithoutRoleInput[] | RolePoliciesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutRoleInput | RolePoliciesCreateOrConnectWithoutRoleInput[]
    upsert?: RolePoliciesUpsertWithWhereUniqueWithoutRoleInput | RolePoliciesUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: RolePoliciesCreateManyRoleInputEnvelope
    set?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    disconnect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    delete?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    update?: RolePoliciesUpdateWithWhereUniqueWithoutRoleInput | RolePoliciesUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: RolePoliciesUpdateManyWithWhereWithoutRoleInput | RolePoliciesUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_rolesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_rolesInput, UserUncheckedCreateWithoutCreated_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_rolesInput
    upsert?: UserUpsertWithoutCreated_rolesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_rolesInput, UserUpdateWithoutCreated_rolesInput>, UserUncheckedUpdateWithoutCreated_rolesInput>
  }

  export type UserUpdateOneWithoutUpdated_rolesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_rolesInput, UserUncheckedCreateWithoutUpdated_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_rolesInput
    upsert?: UserUpsertWithoutUpdated_rolesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_rolesInput, UserUpdateWithoutUpdated_rolesInput>, UserUncheckedUpdateWithoutUpdated_rolesInput>
  }

  export type UserUpdateOneWithoutDeleted_rolesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_rolesInput, UserUncheckedCreateWithoutDeleted_rolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_rolesInput
    upsert?: UserUpsertWithoutDeleted_rolesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_rolesInput, UserUpdateWithoutDeleted_rolesInput>, UserUncheckedUpdateWithoutDeleted_rolesInput>
  }

  export type RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput = {
    create?: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput> | RolePermissionsCreateWithoutRoleInput[] | RolePermissionsUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePermissionsCreateOrConnectWithoutRoleInput | RolePermissionsCreateOrConnectWithoutRoleInput[]
    upsert?: RolePermissionsUpsertWithWhereUniqueWithoutRoleInput | RolePermissionsUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: RolePermissionsCreateManyRoleInputEnvelope
    set?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    disconnect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    delete?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    connect?: RolePermissionsWhereUniqueInput | RolePermissionsWhereUniqueInput[]
    update?: RolePermissionsUpdateWithWhereUniqueWithoutRoleInput | RolePermissionsUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: RolePermissionsUpdateManyWithWhereWithoutRoleInput | RolePermissionsUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
  }

  export type UserRolesUncheckedUpdateManyWithoutRoleNestedInput = {
    create?: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput> | UserRolesCreateWithoutRoleInput[] | UserRolesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: UserRolesCreateOrConnectWithoutRoleInput | UserRolesCreateOrConnectWithoutRoleInput[]
    upsert?: UserRolesUpsertWithWhereUniqueWithoutRoleInput | UserRolesUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: UserRolesCreateManyRoleInputEnvelope
    set?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    disconnect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    delete?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    connect?: UserRolesWhereUniqueInput | UserRolesWhereUniqueInput[]
    update?: UserRolesUpdateWithWhereUniqueWithoutRoleInput | UserRolesUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: UserRolesUpdateManyWithWhereWithoutRoleInput | UserRolesUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
  }

  export type RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput = {
    create?: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput> | RolePoliciesCreateWithoutRoleInput[] | RolePoliciesUncheckedCreateWithoutRoleInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutRoleInput | RolePoliciesCreateOrConnectWithoutRoleInput[]
    upsert?: RolePoliciesUpsertWithWhereUniqueWithoutRoleInput | RolePoliciesUpsertWithWhereUniqueWithoutRoleInput[]
    createMany?: RolePoliciesCreateManyRoleInputEnvelope
    set?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    disconnect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    delete?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    update?: RolePoliciesUpdateWithWhereUniqueWithoutRoleInput | RolePoliciesUpdateWithWhereUniqueWithoutRoleInput[]
    updateMany?: RolePoliciesUpdateManyWithWhereWithoutRoleInput | RolePoliciesUpdateManyWithWhereWithoutRoleInput[]
    deleteMany?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
  }

  export type RoleCreateNestedOneWithoutPermissionsInput = {
    create?: XOR<RoleCreateWithoutPermissionsInput, RoleUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: RoleCreateOrConnectWithoutPermissionsInput
    connect?: RoleWhereUniqueInput
  }

  export type PermissionsCreateNestedOneWithoutRolesInput = {
    create?: XOR<PermissionsCreateWithoutRolesInput, PermissionsUncheckedCreateWithoutRolesInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutRolesInput
    connect?: PermissionsWhereUniqueInput
  }

  export type RoleUpdateOneRequiredWithoutPermissionsNestedInput = {
    create?: XOR<RoleCreateWithoutPermissionsInput, RoleUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: RoleCreateOrConnectWithoutPermissionsInput
    upsert?: RoleUpsertWithoutPermissionsInput
    connect?: RoleWhereUniqueInput
    update?: XOR<XOR<RoleUpdateToOneWithWhereWithoutPermissionsInput, RoleUpdateWithoutPermissionsInput>, RoleUncheckedUpdateWithoutPermissionsInput>
  }

  export type PermissionsUpdateOneRequiredWithoutRolesNestedInput = {
    create?: XOR<PermissionsCreateWithoutRolesInput, PermissionsUncheckedCreateWithoutRolesInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutRolesInput
    upsert?: PermissionsUpsertWithoutRolesInput
    connect?: PermissionsWhereUniqueInput
    update?: XOR<XOR<PermissionsUpdateToOneWithWhereWithoutRolesInput, PermissionsUpdateWithoutRolesInput>, PermissionsUncheckedUpdateWithoutRolesInput>
  }

  export type UserCreateNestedOneWithoutRolesInput = {
    create?: XOR<UserCreateWithoutRolesInput, UserUncheckedCreateWithoutRolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutRolesInput
    connect?: UserWhereUniqueInput
  }

  export type RoleCreateNestedOneWithoutUsersInput = {
    create?: XOR<RoleCreateWithoutUsersInput, RoleUncheckedCreateWithoutUsersInput>
    connectOrCreate?: RoleCreateOrConnectWithoutUsersInput
    connect?: RoleWhereUniqueInput
  }

  export type UserUpdateOneRequiredWithoutRolesNestedInput = {
    create?: XOR<UserCreateWithoutRolesInput, UserUncheckedCreateWithoutRolesInput>
    connectOrCreate?: UserCreateOrConnectWithoutRolesInput
    upsert?: UserUpsertWithoutRolesInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutRolesInput, UserUpdateWithoutRolesInput>, UserUncheckedUpdateWithoutRolesInput>
  }

  export type RoleUpdateOneRequiredWithoutUsersNestedInput = {
    create?: XOR<RoleCreateWithoutUsersInput, RoleUncheckedCreateWithoutUsersInput>
    connectOrCreate?: RoleCreateOrConnectWithoutUsersInput
    upsert?: RoleUpsertWithoutUsersInput
    connect?: RoleWhereUniqueInput
    update?: XOR<XOR<RoleUpdateToOneWithWhereWithoutUsersInput, RoleUpdateWithoutUsersInput>, RoleUncheckedUpdateWithoutUsersInput>
  }

  export type UserCreateNestedOneWithoutPermissionsInput = {
    create?: XOR<UserCreateWithoutPermissionsInput, UserUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput
    connect?: UserWhereUniqueInput
  }

  export type PermissionsCreateNestedOneWithoutUsersInput = {
    create?: XOR<PermissionsCreateWithoutUsersInput, PermissionsUncheckedCreateWithoutUsersInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutUsersInput
    connect?: PermissionsWhereUniqueInput
  }

  export type UserUpdateOneRequiredWithoutPermissionsNestedInput = {
    create?: XOR<UserCreateWithoutPermissionsInput, UserUncheckedCreateWithoutPermissionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutPermissionsInput
    upsert?: UserUpsertWithoutPermissionsInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutPermissionsInput, UserUpdateWithoutPermissionsInput>, UserUncheckedUpdateWithoutPermissionsInput>
  }

  export type PermissionsUpdateOneRequiredWithoutUsersNestedInput = {
    create?: XOR<PermissionsCreateWithoutUsersInput, PermissionsUncheckedCreateWithoutUsersInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutUsersInput
    upsert?: PermissionsUpsertWithoutUsersInput
    connect?: PermissionsWhereUniqueInput
    update?: XOR<XOR<PermissionsUpdateToOneWithWhereWithoutUsersInput, PermissionsUpdateWithoutUsersInput>, PermissionsUncheckedUpdateWithoutUsersInput>
  }

  export type UserCreateNestedOneWithoutOtpsInput = {
    create?: XOR<UserCreateWithoutOtpsInput, UserUncheckedCreateWithoutOtpsInput>
    connectOrCreate?: UserCreateOrConnectWithoutOtpsInput
    connect?: UserWhereUniqueInput
  }

  export type EnumOtpTypeFieldUpdateOperationsInput = {
    set?: $Enums.OtpType
  }

  export type UserUpdateOneRequiredWithoutOtpsNestedInput = {
    create?: XOR<UserCreateWithoutOtpsInput, UserUncheckedCreateWithoutOtpsInput>
    connectOrCreate?: UserCreateOrConnectWithoutOtpsInput
    upsert?: UserUpsertWithoutOtpsInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutOtpsInput, UserUpdateWithoutOtpsInput>, UserUncheckedUpdateWithoutOtpsInput>
  }

  export type StatusCreateNestedOneWithoutLanguagesInput = {
    create?: XOR<StatusCreateWithoutLanguagesInput, StatusUncheckedCreateWithoutLanguagesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutLanguagesInput
    connect?: StatusWhereUniqueInput
  }

  export type LanguageContentCreateNestedManyWithoutLanguageInput = {
    create?: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput> | LanguageContentCreateWithoutLanguageInput[] | LanguageContentUncheckedCreateWithoutLanguageInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutLanguageInput | LanguageContentCreateOrConnectWithoutLanguageInput[]
    createMany?: LanguageContentCreateManyLanguageInputEnvelope
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_languagesInput = {
    create?: XOR<UserCreateWithoutCreated_languagesInput, UserUncheckedCreateWithoutCreated_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_languagesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_languagesInput = {
    create?: XOR<UserCreateWithoutUpdated_languagesInput, UserUncheckedCreateWithoutUpdated_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_languagesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_languagesInput = {
    create?: XOR<UserCreateWithoutDeleted_languagesInput, UserUncheckedCreateWithoutDeleted_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_languagesInput
    connect?: UserWhereUniqueInput
  }

  export type LanguageContentUncheckedCreateNestedManyWithoutLanguageInput = {
    create?: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput> | LanguageContentCreateWithoutLanguageInput[] | LanguageContentUncheckedCreateWithoutLanguageInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutLanguageInput | LanguageContentCreateOrConnectWithoutLanguageInput[]
    createMany?: LanguageContentCreateManyLanguageInputEnvelope
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutLanguagesNestedInput = {
    create?: XOR<StatusCreateWithoutLanguagesInput, StatusUncheckedCreateWithoutLanguagesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutLanguagesInput
    upsert?: StatusUpsertWithoutLanguagesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutLanguagesInput, StatusUpdateWithoutLanguagesInput>, StatusUncheckedUpdateWithoutLanguagesInput>
  }

  export type LanguageContentUpdateManyWithoutLanguageNestedInput = {
    create?: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput> | LanguageContentCreateWithoutLanguageInput[] | LanguageContentUncheckedCreateWithoutLanguageInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutLanguageInput | LanguageContentCreateOrConnectWithoutLanguageInput[]
    upsert?: LanguageContentUpsertWithWhereUniqueWithoutLanguageInput | LanguageContentUpsertWithWhereUniqueWithoutLanguageInput[]
    createMany?: LanguageContentCreateManyLanguageInputEnvelope
    set?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    disconnect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    delete?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    update?: LanguageContentUpdateWithWhereUniqueWithoutLanguageInput | LanguageContentUpdateWithWhereUniqueWithoutLanguageInput[]
    updateMany?: LanguageContentUpdateManyWithWhereWithoutLanguageInput | LanguageContentUpdateManyWithWhereWithoutLanguageInput[]
    deleteMany?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_languagesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_languagesInput, UserUncheckedCreateWithoutCreated_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_languagesInput
    upsert?: UserUpsertWithoutCreated_languagesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_languagesInput, UserUpdateWithoutCreated_languagesInput>, UserUncheckedUpdateWithoutCreated_languagesInput>
  }

  export type UserUpdateOneWithoutUpdated_languagesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_languagesInput, UserUncheckedCreateWithoutUpdated_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_languagesInput
    upsert?: UserUpsertWithoutUpdated_languagesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_languagesInput, UserUpdateWithoutUpdated_languagesInput>, UserUncheckedUpdateWithoutUpdated_languagesInput>
  }

  export type UserUpdateOneWithoutDeleted_languagesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_languagesInput, UserUncheckedCreateWithoutDeleted_languagesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_languagesInput
    upsert?: UserUpsertWithoutDeleted_languagesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_languagesInput, UserUpdateWithoutDeleted_languagesInput>, UserUncheckedUpdateWithoutDeleted_languagesInput>
  }

  export type LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput = {
    create?: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput> | LanguageContentCreateWithoutLanguageInput[] | LanguageContentUncheckedCreateWithoutLanguageInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutLanguageInput | LanguageContentCreateOrConnectWithoutLanguageInput[]
    upsert?: LanguageContentUpsertWithWhereUniqueWithoutLanguageInput | LanguageContentUpsertWithWhereUniqueWithoutLanguageInput[]
    createMany?: LanguageContentCreateManyLanguageInputEnvelope
    set?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    disconnect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    delete?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    update?: LanguageContentUpdateWithWhereUniqueWithoutLanguageInput | LanguageContentUpdateWithWhereUniqueWithoutLanguageInput[]
    updateMany?: LanguageContentUpdateManyWithWhereWithoutLanguageInput | LanguageContentUpdateManyWithWhereWithoutLanguageInput[]
    deleteMany?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutLanguage_contentsInput = {
    create?: XOR<StatusCreateWithoutLanguage_contentsInput, StatusUncheckedCreateWithoutLanguage_contentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutLanguage_contentsInput
    connect?: StatusWhereUniqueInput
  }

  export type LanguageCreateNestedOneWithoutTranslationsInput = {
    create?: XOR<LanguageCreateWithoutTranslationsInput, LanguageUncheckedCreateWithoutTranslationsInput>
    connectOrCreate?: LanguageCreateOrConnectWithoutTranslationsInput
    connect?: LanguageWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutLanguage_contentsNestedInput = {
    create?: XOR<StatusCreateWithoutLanguage_contentsInput, StatusUncheckedCreateWithoutLanguage_contentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutLanguage_contentsInput
    upsert?: StatusUpsertWithoutLanguage_contentsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutLanguage_contentsInput, StatusUpdateWithoutLanguage_contentsInput>, StatusUncheckedUpdateWithoutLanguage_contentsInput>
  }

  export type LanguageUpdateOneWithoutTranslationsNestedInput = {
    create?: XOR<LanguageCreateWithoutTranslationsInput, LanguageUncheckedCreateWithoutTranslationsInput>
    connectOrCreate?: LanguageCreateOrConnectWithoutTranslationsInput
    upsert?: LanguageUpsertWithoutTranslationsInput
    disconnect?: LanguageWhereInput | boolean
    delete?: LanguageWhereInput | boolean
    connect?: LanguageWhereUniqueInput
    update?: XOR<XOR<LanguageUpdateToOneWithWhereWithoutTranslationsInput, LanguageUpdateWithoutTranslationsInput>, LanguageUncheckedUpdateWithoutTranslationsInput>
  }

  export type StatusCreateNestedOneWithoutMenusInput = {
    create?: XOR<StatusCreateWithoutMenusInput, StatusUncheckedCreateWithoutMenusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenusInput
    connect?: StatusWhereUniqueInput
  }

  export type MenuItemsCreateNestedManyWithoutMenusInput = {
    create?: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput> | MenuItemsCreateWithoutMenusInput[] | MenuItemsUncheckedCreateWithoutMenusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutMenusInput | MenuItemsCreateOrConnectWithoutMenusInput[]
    createMany?: MenuItemsCreateManyMenusInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_menusInput = {
    create?: XOR<UserCreateWithoutCreated_menusInput, UserUncheckedCreateWithoutCreated_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_menusInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_menusInput = {
    create?: XOR<UserCreateWithoutUpdated_menusInput, UserUncheckedCreateWithoutUpdated_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_menusInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_menusInput = {
    create?: XOR<UserCreateWithoutDeleted_menusInput, UserUncheckedCreateWithoutDeleted_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_menusInput
    connect?: UserWhereUniqueInput
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutMenusInput = {
    create?: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput> | MenuItemsCreateWithoutMenusInput[] | MenuItemsUncheckedCreateWithoutMenusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutMenusInput | MenuItemsCreateOrConnectWithoutMenusInput[]
    createMany?: MenuItemsCreateManyMenusInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutMenusNestedInput = {
    create?: XOR<StatusCreateWithoutMenusInput, StatusUncheckedCreateWithoutMenusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenusInput
    upsert?: StatusUpsertWithoutMenusInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutMenusInput, StatusUpdateWithoutMenusInput>, StatusUncheckedUpdateWithoutMenusInput>
  }

  export type MenuItemsUpdateManyWithoutMenusNestedInput = {
    create?: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput> | MenuItemsCreateWithoutMenusInput[] | MenuItemsUncheckedCreateWithoutMenusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutMenusInput | MenuItemsCreateOrConnectWithoutMenusInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutMenusInput | MenuItemsUpsertWithWhereUniqueWithoutMenusInput[]
    createMany?: MenuItemsCreateManyMenusInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutMenusInput | MenuItemsUpdateWithWhereUniqueWithoutMenusInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutMenusInput | MenuItemsUpdateManyWithWhereWithoutMenusInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_menusNestedInput = {
    create?: XOR<UserCreateWithoutCreated_menusInput, UserUncheckedCreateWithoutCreated_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_menusInput
    upsert?: UserUpsertWithoutCreated_menusInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_menusInput, UserUpdateWithoutCreated_menusInput>, UserUncheckedUpdateWithoutCreated_menusInput>
  }

  export type UserUpdateOneWithoutUpdated_menusNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_menusInput, UserUncheckedCreateWithoutUpdated_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_menusInput
    upsert?: UserUpsertWithoutUpdated_menusInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_menusInput, UserUpdateWithoutUpdated_menusInput>, UserUncheckedUpdateWithoutUpdated_menusInput>
  }

  export type UserUpdateOneWithoutDeleted_menusNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_menusInput, UserUncheckedCreateWithoutDeleted_menusInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_menusInput
    upsert?: UserUpsertWithoutDeleted_menusInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_menusInput, UserUpdateWithoutDeleted_menusInput>, UserUncheckedUpdateWithoutDeleted_menusInput>
  }

  export type MenuItemsUncheckedUpdateManyWithoutMenusNestedInput = {
    create?: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput> | MenuItemsCreateWithoutMenusInput[] | MenuItemsUncheckedCreateWithoutMenusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutMenusInput | MenuItemsCreateOrConnectWithoutMenusInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutMenusInput | MenuItemsUpsertWithWhereUniqueWithoutMenusInput[]
    createMany?: MenuItemsCreateManyMenusInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutMenusInput | MenuItemsUpdateWithWhereUniqueWithoutMenusInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutMenusInput | MenuItemsUpdateManyWithWhereWithoutMenusInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutMenuitemsInput = {
    create?: XOR<StatusCreateWithoutMenuitemsInput, StatusUncheckedCreateWithoutMenuitemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenuitemsInput
    connect?: StatusWhereUniqueInput
  }

  export type MenusCreateNestedOneWithoutMenuitemsInput = {
    create?: XOR<MenusCreateWithoutMenuitemsInput, MenusUncheckedCreateWithoutMenuitemsInput>
    connectOrCreate?: MenusCreateOrConnectWithoutMenuitemsInput
    connect?: MenusWhereUniqueInput
  }

  export type MasterEntityCreateNestedOneWithoutMenusInput = {
    create?: XOR<MasterEntityCreateWithoutMenusInput, MasterEntityUncheckedCreateWithoutMenusInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutMenusInput
    connect?: MasterEntityWhereUniqueInput
  }

  export type PermissionsCreateNestedOneWithoutMenusInput = {
    create?: XOR<PermissionsCreateWithoutMenusInput, PermissionsUncheckedCreateWithoutMenusInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutMenusInput
    connect?: PermissionsWhereUniqueInput
  }

  export type MenuItemsCreateNestedOneWithoutChildrenInput = {
    create?: XOR<MenuItemsCreateWithoutChildrenInput, MenuItemsUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: MenuItemsCreateOrConnectWithoutChildrenInput
    connect?: MenuItemsWhereUniqueInput
  }

  export type MenuItemsCreateNestedManyWithoutParentInput = {
    create?: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput> | MenuItemsCreateWithoutParentInput[] | MenuItemsUncheckedCreateWithoutParentInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutParentInput | MenuItemsCreateOrConnectWithoutParentInput[]
    createMany?: MenuItemsCreateManyParentInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_menu_itemsInput = {
    create?: XOR<UserCreateWithoutCreated_menu_itemsInput, UserUncheckedCreateWithoutCreated_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_menu_itemsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_menu_itemsInput = {
    create?: XOR<UserCreateWithoutUpdated_menu_itemsInput, UserUncheckedCreateWithoutUpdated_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_menu_itemsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_menu_itemsInput = {
    create?: XOR<UserCreateWithoutDeleted_menu_itemsInput, UserUncheckedCreateWithoutDeleted_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_menu_itemsInput
    connect?: UserWhereUniqueInput
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutParentInput = {
    create?: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput> | MenuItemsCreateWithoutParentInput[] | MenuItemsUncheckedCreateWithoutParentInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutParentInput | MenuItemsCreateOrConnectWithoutParentInput[]
    createMany?: MenuItemsCreateManyParentInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutMenuitemsNestedInput = {
    create?: XOR<StatusCreateWithoutMenuitemsInput, StatusUncheckedCreateWithoutMenuitemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenuitemsInput
    upsert?: StatusUpsertWithoutMenuitemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutMenuitemsInput, StatusUpdateWithoutMenuitemsInput>, StatusUncheckedUpdateWithoutMenuitemsInput>
  }

  export type MenusUpdateOneWithoutMenuitemsNestedInput = {
    create?: XOR<MenusCreateWithoutMenuitemsInput, MenusUncheckedCreateWithoutMenuitemsInput>
    connectOrCreate?: MenusCreateOrConnectWithoutMenuitemsInput
    upsert?: MenusUpsertWithoutMenuitemsInput
    disconnect?: MenusWhereInput | boolean
    delete?: MenusWhereInput | boolean
    connect?: MenusWhereUniqueInput
    update?: XOR<XOR<MenusUpdateToOneWithWhereWithoutMenuitemsInput, MenusUpdateWithoutMenuitemsInput>, MenusUncheckedUpdateWithoutMenuitemsInput>
  }

  export type MasterEntityUpdateOneWithoutMenusNestedInput = {
    create?: XOR<MasterEntityCreateWithoutMenusInput, MasterEntityUncheckedCreateWithoutMenusInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutMenusInput
    upsert?: MasterEntityUpsertWithoutMenusInput
    disconnect?: MasterEntityWhereInput | boolean
    delete?: MasterEntityWhereInput | boolean
    connect?: MasterEntityWhereUniqueInput
    update?: XOR<XOR<MasterEntityUpdateToOneWithWhereWithoutMenusInput, MasterEntityUpdateWithoutMenusInput>, MasterEntityUncheckedUpdateWithoutMenusInput>
  }

  export type PermissionsUpdateOneWithoutMenusNestedInput = {
    create?: XOR<PermissionsCreateWithoutMenusInput, PermissionsUncheckedCreateWithoutMenusInput>
    connectOrCreate?: PermissionsCreateOrConnectWithoutMenusInput
    upsert?: PermissionsUpsertWithoutMenusInput
    disconnect?: PermissionsWhereInput | boolean
    delete?: PermissionsWhereInput | boolean
    connect?: PermissionsWhereUniqueInput
    update?: XOR<XOR<PermissionsUpdateToOneWithWhereWithoutMenusInput, PermissionsUpdateWithoutMenusInput>, PermissionsUncheckedUpdateWithoutMenusInput>
  }

  export type MenuItemsUpdateOneWithoutChildrenNestedInput = {
    create?: XOR<MenuItemsCreateWithoutChildrenInput, MenuItemsUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: MenuItemsCreateOrConnectWithoutChildrenInput
    upsert?: MenuItemsUpsertWithoutChildrenInput
    disconnect?: MenuItemsWhereInput | boolean
    delete?: MenuItemsWhereInput | boolean
    connect?: MenuItemsWhereUniqueInput
    update?: XOR<XOR<MenuItemsUpdateToOneWithWhereWithoutChildrenInput, MenuItemsUpdateWithoutChildrenInput>, MenuItemsUncheckedUpdateWithoutChildrenInput>
  }

  export type MenuItemsUpdateManyWithoutParentNestedInput = {
    create?: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput> | MenuItemsCreateWithoutParentInput[] | MenuItemsUncheckedCreateWithoutParentInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutParentInput | MenuItemsCreateOrConnectWithoutParentInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutParentInput | MenuItemsUpsertWithWhereUniqueWithoutParentInput[]
    createMany?: MenuItemsCreateManyParentInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutParentInput | MenuItemsUpdateWithWhereUniqueWithoutParentInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutParentInput | MenuItemsUpdateManyWithWhereWithoutParentInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_menu_itemsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_menu_itemsInput, UserUncheckedCreateWithoutCreated_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_menu_itemsInput
    upsert?: UserUpsertWithoutCreated_menu_itemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_menu_itemsInput, UserUpdateWithoutCreated_menu_itemsInput>, UserUncheckedUpdateWithoutCreated_menu_itemsInput>
  }

  export type UserUpdateOneWithoutUpdated_menu_itemsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_menu_itemsInput, UserUncheckedCreateWithoutUpdated_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_menu_itemsInput
    upsert?: UserUpsertWithoutUpdated_menu_itemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_menu_itemsInput, UserUpdateWithoutUpdated_menu_itemsInput>, UserUncheckedUpdateWithoutUpdated_menu_itemsInput>
  }

  export type UserUpdateOneWithoutDeleted_menu_itemsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_menu_itemsInput, UserUncheckedCreateWithoutDeleted_menu_itemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_menu_itemsInput
    upsert?: UserUpsertWithoutDeleted_menu_itemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_menu_itemsInput, UserUpdateWithoutDeleted_menu_itemsInput>, UserUncheckedUpdateWithoutDeleted_menu_itemsInput>
  }

  export type MenuItemsUncheckedUpdateManyWithoutParentNestedInput = {
    create?: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput> | MenuItemsCreateWithoutParentInput[] | MenuItemsUncheckedCreateWithoutParentInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutParentInput | MenuItemsCreateOrConnectWithoutParentInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutParentInput | MenuItemsUpsertWithWhereUniqueWithoutParentInput[]
    createMany?: MenuItemsCreateManyParentInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutParentInput | MenuItemsUpdateWithWhereUniqueWithoutParentInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutParentInput | MenuItemsUpdateManyWithWhereWithoutParentInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutAbout_lcpInput = {
    create?: XOR<StatusCreateWithoutAbout_lcpInput, StatusUncheckedCreateWithoutAbout_lcpInput>
    connectOrCreate?: StatusCreateOrConnectWithoutAbout_lcpInput
    connect?: StatusWhereUniqueInput
  }

  export type EnumaboutTypeFieldUpdateOperationsInput = {
    set?: $Enums.aboutType
  }

  export type NullableDecimalFieldUpdateOperationsInput = {
    set?: Decimal | DecimalJsLike | number | string | null
    increment?: Decimal | DecimalJsLike | number | string
    decrement?: Decimal | DecimalJsLike | number | string
    multiply?: Decimal | DecimalJsLike | number | string
    divide?: Decimal | DecimalJsLike | number | string
  }

  export type StatusUpdateOneRequiredWithoutAbout_lcpNestedInput = {
    create?: XOR<StatusCreateWithoutAbout_lcpInput, StatusUncheckedCreateWithoutAbout_lcpInput>
    connectOrCreate?: StatusCreateOrConnectWithoutAbout_lcpInput
    upsert?: StatusUpsertWithoutAbout_lcpInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutAbout_lcpInput, StatusUpdateWithoutAbout_lcpInput>, StatusUncheckedUpdateWithoutAbout_lcpInput>
  }

  export type StatusCreateNestedOneWithoutUser_search_configurationsInput = {
    create?: XOR<StatusCreateWithoutUser_search_configurationsInput, StatusUncheckedCreateWithoutUser_search_configurationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUser_search_configurationsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutUser_search_configurationsNestedInput = {
    create?: XOR<StatusCreateWithoutUser_search_configurationsInput, StatusUncheckedCreateWithoutUser_search_configurationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUser_search_configurationsInput
    upsert?: StatusUpsertWithoutUser_search_configurationsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutUser_search_configurationsInput, StatusUpdateWithoutUser_search_configurationsInput>, StatusUncheckedUpdateWithoutUser_search_configurationsInput>
  }

  export type MasterEntityCreateNestedOneWithoutChildrenInput = {
    create?: XOR<MasterEntityCreateWithoutChildrenInput, MasterEntityUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutChildrenInput
    connect?: MasterEntityWhereUniqueInput
  }

  export type MasterEntityCreateNestedManyWithoutAssociated_entityInput = {
    create?: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput> | MasterEntityCreateWithoutAssociated_entityInput[] | MasterEntityUncheckedCreateWithoutAssociated_entityInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutAssociated_entityInput | MasterEntityCreateOrConnectWithoutAssociated_entityInput[]
    createMany?: MasterEntityCreateManyAssociated_entityInputEnvelope
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
  }

  export type StatusCreateNestedOneWithoutMaster_gridsInput = {
    create?: XOR<StatusCreateWithoutMaster_gridsInput, StatusUncheckedCreateWithoutMaster_gridsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMaster_gridsInput
    connect?: StatusWhereUniqueInput
  }

  export type PermissionsCreateNestedManyWithoutEntityInput = {
    create?: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput> | PermissionsCreateWithoutEntityInput[] | PermissionsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutEntityInput | PermissionsCreateOrConnectWithoutEntityInput[]
    createMany?: PermissionsCreateManyEntityInputEnvelope
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
  }

  export type MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput> | MasterEntityLineItemCreateWithoutMaster_gridInput[] | MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput | MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput[]
    createMany?: MasterEntityLineItemCreateManyMaster_gridInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutEntityInput = {
    create?: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput> | MenuItemsCreateWithoutEntityInput[] | MenuItemsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutEntityInput | MenuItemsCreateOrConnectWithoutEntityInput[]
    createMany?: MenuItemsCreateManyEntityInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput = {
    create?: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput> | MasterEntityCreateWithoutAssociated_entityInput[] | MasterEntityUncheckedCreateWithoutAssociated_entityInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutAssociated_entityInput | MasterEntityCreateOrConnectWithoutAssociated_entityInput[]
    createMany?: MasterEntityCreateManyAssociated_entityInputEnvelope
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
  }

  export type PermissionsUncheckedCreateNestedManyWithoutEntityInput = {
    create?: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput> | PermissionsCreateWithoutEntityInput[] | PermissionsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutEntityInput | PermissionsCreateOrConnectWithoutEntityInput[]
    createMany?: PermissionsCreateManyEntityInputEnvelope
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
  }

  export type MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput> | MasterEntityLineItemCreateWithoutMaster_gridInput[] | MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput | MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput[]
    createMany?: MasterEntityLineItemCreateManyMaster_gridInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutEntityInput = {
    create?: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput> | MenuItemsCreateWithoutEntityInput[] | MenuItemsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutEntityInput | MenuItemsCreateOrConnectWithoutEntityInput[]
    createMany?: MenuItemsCreateManyEntityInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type EnumReportTypeFieldUpdateOperationsInput = {
    set?: $Enums.ReportType
  }

  export type MasterEntityUpdateOneWithoutChildrenNestedInput = {
    create?: XOR<MasterEntityCreateWithoutChildrenInput, MasterEntityUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutChildrenInput
    upsert?: MasterEntityUpsertWithoutChildrenInput
    disconnect?: MasterEntityWhereInput | boolean
    delete?: MasterEntityWhereInput | boolean
    connect?: MasterEntityWhereUniqueInput
    update?: XOR<XOR<MasterEntityUpdateToOneWithWhereWithoutChildrenInput, MasterEntityUpdateWithoutChildrenInput>, MasterEntityUncheckedUpdateWithoutChildrenInput>
  }

  export type MasterEntityUpdateManyWithoutAssociated_entityNestedInput = {
    create?: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput> | MasterEntityCreateWithoutAssociated_entityInput[] | MasterEntityUncheckedCreateWithoutAssociated_entityInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutAssociated_entityInput | MasterEntityCreateOrConnectWithoutAssociated_entityInput[]
    upsert?: MasterEntityUpsertWithWhereUniqueWithoutAssociated_entityInput | MasterEntityUpsertWithWhereUniqueWithoutAssociated_entityInput[]
    createMany?: MasterEntityCreateManyAssociated_entityInputEnvelope
    set?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    disconnect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    delete?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    update?: MasterEntityUpdateWithWhereUniqueWithoutAssociated_entityInput | MasterEntityUpdateWithWhereUniqueWithoutAssociated_entityInput[]
    updateMany?: MasterEntityUpdateManyWithWhereWithoutAssociated_entityInput | MasterEntityUpdateManyWithWhereWithoutAssociated_entityInput[]
    deleteMany?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
  }

  export type StatusUpdateOneRequiredWithoutMaster_gridsNestedInput = {
    create?: XOR<StatusCreateWithoutMaster_gridsInput, StatusUncheckedCreateWithoutMaster_gridsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMaster_gridsInput
    upsert?: StatusUpsertWithoutMaster_gridsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutMaster_gridsInput, StatusUpdateWithoutMaster_gridsInput>, StatusUncheckedUpdateWithoutMaster_gridsInput>
  }

  export type PermissionsUpdateManyWithoutEntityNestedInput = {
    create?: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput> | PermissionsCreateWithoutEntityInput[] | PermissionsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutEntityInput | PermissionsCreateOrConnectWithoutEntityInput[]
    upsert?: PermissionsUpsertWithWhereUniqueWithoutEntityInput | PermissionsUpsertWithWhereUniqueWithoutEntityInput[]
    createMany?: PermissionsCreateManyEntityInputEnvelope
    set?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    disconnect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    delete?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    update?: PermissionsUpdateWithWhereUniqueWithoutEntityInput | PermissionsUpdateWithWhereUniqueWithoutEntityInput[]
    updateMany?: PermissionsUpdateManyWithWhereWithoutEntityInput | PermissionsUpdateManyWithWhereWithoutEntityInput[]
    deleteMany?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
  }

  export type MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput> | MasterEntityLineItemCreateWithoutMaster_gridInput[] | MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput | MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutMaster_gridInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutMaster_gridInput[]
    createMany?: MasterEntityLineItemCreateManyMaster_gridInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutMaster_gridInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutMaster_gridInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutMaster_gridInput | MasterEntityLineItemUpdateManyWithWhereWithoutMaster_gridInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutEntityNestedInput = {
    create?: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput> | MenuItemsCreateWithoutEntityInput[] | MenuItemsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutEntityInput | MenuItemsCreateOrConnectWithoutEntityInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutEntityInput | MenuItemsUpsertWithWhereUniqueWithoutEntityInput[]
    createMany?: MenuItemsCreateManyEntityInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutEntityInput | MenuItemsUpdateWithWhereUniqueWithoutEntityInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutEntityInput | MenuItemsUpdateManyWithWhereWithoutEntityInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput = {
    create?: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput> | MasterEntityCreateWithoutAssociated_entityInput[] | MasterEntityUncheckedCreateWithoutAssociated_entityInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutAssociated_entityInput | MasterEntityCreateOrConnectWithoutAssociated_entityInput[]
    upsert?: MasterEntityUpsertWithWhereUniqueWithoutAssociated_entityInput | MasterEntityUpsertWithWhereUniqueWithoutAssociated_entityInput[]
    createMany?: MasterEntityCreateManyAssociated_entityInputEnvelope
    set?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    disconnect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    delete?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    update?: MasterEntityUpdateWithWhereUniqueWithoutAssociated_entityInput | MasterEntityUpdateWithWhereUniqueWithoutAssociated_entityInput[]
    updateMany?: MasterEntityUpdateManyWithWhereWithoutAssociated_entityInput | MasterEntityUpdateManyWithWhereWithoutAssociated_entityInput[]
    deleteMany?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
  }

  export type PermissionsUncheckedUpdateManyWithoutEntityNestedInput = {
    create?: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput> | PermissionsCreateWithoutEntityInput[] | PermissionsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutEntityInput | PermissionsCreateOrConnectWithoutEntityInput[]
    upsert?: PermissionsUpsertWithWhereUniqueWithoutEntityInput | PermissionsUpsertWithWhereUniqueWithoutEntityInput[]
    createMany?: PermissionsCreateManyEntityInputEnvelope
    set?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    disconnect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    delete?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    update?: PermissionsUpdateWithWhereUniqueWithoutEntityInput | PermissionsUpdateWithWhereUniqueWithoutEntityInput[]
    updateMany?: PermissionsUpdateManyWithWhereWithoutEntityInput | PermissionsUpdateManyWithWhereWithoutEntityInput[]
    deleteMany?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput> | MasterEntityLineItemCreateWithoutMaster_gridInput[] | MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput | MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutMaster_gridInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutMaster_gridInput[]
    createMany?: MasterEntityLineItemCreateManyMaster_gridInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutMaster_gridInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutMaster_gridInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutMaster_gridInput | MasterEntityLineItemUpdateManyWithWhereWithoutMaster_gridInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutEntityNestedInput = {
    create?: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput> | MenuItemsCreateWithoutEntityInput[] | MenuItemsUncheckedCreateWithoutEntityInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutEntityInput | MenuItemsCreateOrConnectWithoutEntityInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutEntityInput | MenuItemsUpsertWithWhereUniqueWithoutEntityInput[]
    createMany?: MenuItemsCreateManyEntityInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutEntityInput | MenuItemsUpdateWithWhereUniqueWithoutEntityInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutEntityInput | MenuItemsUpdateManyWithWhereWithoutEntityInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutMaster_grid_line_itemsInput = {
    create?: XOR<StatusCreateWithoutMaster_grid_line_itemsInput, StatusUncheckedCreateWithoutMaster_grid_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMaster_grid_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type MasterEntityCreateNestedOneWithoutLine_itemsInput = {
    create?: XOR<MasterEntityCreateWithoutLine_itemsInput, MasterEntityUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutLine_itemsInput
    connect?: MasterEntityWhereUniqueInput
  }

  export type FieldTypeCreateNestedOneWithoutMaster_grid_lineitemInput = {
    create?: XOR<FieldTypeCreateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedCreateWithoutMaster_grid_lineitemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutMaster_grid_lineitemInput
    connect?: FieldTypeWhereUniqueInput
  }

  export type EnumClauseTypeFieldUpdateOperationsInput = {
    set?: $Enums.ClauseType
  }

  export type StatusUpdateOneRequiredWithoutMaster_grid_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutMaster_grid_line_itemsInput, StatusUncheckedCreateWithoutMaster_grid_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMaster_grid_line_itemsInput
    upsert?: StatusUpsertWithoutMaster_grid_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutMaster_grid_line_itemsInput, StatusUpdateWithoutMaster_grid_line_itemsInput>, StatusUncheckedUpdateWithoutMaster_grid_line_itemsInput>
  }

  export type MasterEntityUpdateOneRequiredWithoutLine_itemsNestedInput = {
    create?: XOR<MasterEntityCreateWithoutLine_itemsInput, MasterEntityUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: MasterEntityCreateOrConnectWithoutLine_itemsInput
    upsert?: MasterEntityUpsertWithoutLine_itemsInput
    connect?: MasterEntityWhereUniqueInput
    update?: XOR<XOR<MasterEntityUpdateToOneWithWhereWithoutLine_itemsInput, MasterEntityUpdateWithoutLine_itemsInput>, MasterEntityUncheckedUpdateWithoutLine_itemsInput>
  }

  export type FieldTypeUpdateOneWithoutMaster_grid_lineitemNestedInput = {
    create?: XOR<FieldTypeCreateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedCreateWithoutMaster_grid_lineitemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutMaster_grid_lineitemInput
    upsert?: FieldTypeUpsertWithoutMaster_grid_lineitemInput
    disconnect?: FieldTypeWhereInput | boolean
    delete?: FieldTypeWhereInput | boolean
    connect?: FieldTypeWhereUniqueInput
    update?: XOR<XOR<FieldTypeUpdateToOneWithWhereWithoutMaster_grid_lineitemInput, FieldTypeUpdateWithoutMaster_grid_lineitemInput>, FieldTypeUncheckedUpdateWithoutMaster_grid_lineitemInput>
  }

  export type StatusCreateNestedOneWithoutField_typesInput = {
    create?: XOR<StatusCreateWithoutField_typesInput, StatusUncheckedCreateWithoutField_typesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutField_typesInput
    connect?: StatusWhereUniqueInput
  }

  export type MasterEntityLineItemCreateNestedManyWithoutField_typeInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput> | MasterEntityLineItemCreateWithoutField_typeInput[] | MasterEntityLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutField_typeInput | MasterEntityLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: MasterEntityLineItemCreateManyField_typeInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type ImportTemplateLineItemCreateNestedManyWithoutField_typeInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ImportTemplateLineItemCreateWithoutField_typeInput[] | ImportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutField_typeInput | ImportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: ImportTemplateLineItemCreateManyField_typeInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateLineItemCreateNestedManyWithoutField_typeInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ExportTemplateLineItemCreateWithoutField_typeInput[] | ExportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutField_typeInput | ExportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: ExportTemplateLineItemCreateManyField_typeInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type MasterEntityLineItemUncheckedCreateNestedManyWithoutField_typeInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput> | MasterEntityLineItemCreateWithoutField_typeInput[] | MasterEntityLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutField_typeInput | MasterEntityLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: MasterEntityLineItemCreateManyField_typeInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type ImportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ImportTemplateLineItemCreateWithoutField_typeInput[] | ImportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutField_typeInput | ImportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: ImportTemplateLineItemCreateManyField_typeInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ExportTemplateLineItemCreateWithoutField_typeInput[] | ExportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutField_typeInput | ExportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    createMany?: ExportTemplateLineItemCreateManyField_typeInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutField_typesNestedInput = {
    create?: XOR<StatusCreateWithoutField_typesInput, StatusUncheckedCreateWithoutField_typesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutField_typesInput
    upsert?: StatusUpsertWithoutField_typesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutField_typesInput, StatusUpdateWithoutField_typesInput>, StatusUncheckedUpdateWithoutField_typesInput>
  }

  export type MasterEntityLineItemUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput> | MasterEntityLineItemCreateWithoutField_typeInput[] | MasterEntityLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutField_typeInput | MasterEntityLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutField_typeInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: MasterEntityLineItemCreateManyField_typeInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutField_typeInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutField_typeInput | MasterEntityLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type ImportTemplateLineItemUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ImportTemplateLineItemCreateWithoutField_typeInput[] | ImportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutField_typeInput | ImportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: ImportTemplateLineItemCreateManyField_typeInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput | ImportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateLineItemUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ExportTemplateLineItemCreateWithoutField_typeInput[] | ExportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutField_typeInput | ExportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: ExportTemplateLineItemCreateManyField_typeInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput | ExportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput> | MasterEntityLineItemCreateWithoutField_typeInput[] | MasterEntityLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutField_typeInput | MasterEntityLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutField_typeInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: MasterEntityLineItemCreateManyField_typeInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutField_typeInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutField_typeInput | MasterEntityLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ImportTemplateLineItemCreateWithoutField_typeInput[] | ImportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutField_typeInput | ImportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: ImportTemplateLineItemCreateManyField_typeInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput | ImportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput> | ExportTemplateLineItemCreateWithoutField_typeInput[] | ExportTemplateLineItemUncheckedCreateWithoutField_typeInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutField_typeInput | ExportTemplateLineItemCreateOrConnectWithoutField_typeInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput[]
    createMany?: ExportTemplateLineItemCreateManyField_typeInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput | ExportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutMenu_typesInput = {
    create?: XOR<StatusCreateWithoutMenu_typesInput, StatusUncheckedCreateWithoutMenu_typesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenu_typesInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutMenu_typesNestedInput = {
    create?: XOR<StatusCreateWithoutMenu_typesInput, StatusUncheckedCreateWithoutMenu_typesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutMenu_typesInput
    upsert?: StatusUpsertWithoutMenu_typesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutMenu_typesInput, StatusUpdateWithoutMenu_typesInput>, StatusUncheckedUpdateWithoutMenu_typesInput>
  }

  export type StatusCreateNestedOneWithoutNotification_template_processesInput = {
    create?: XOR<StatusCreateWithoutNotification_template_processesInput, StatusUncheckedCreateWithoutNotification_template_processesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_processesInput
    connect?: StatusWhereUniqueInput
  }

  export type NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
  }

  export type NotificationTemplateCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateCreateWithoutNotification_template_processInput[] | NotificationTemplateUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateAssignmentCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateAssignmentCreateWithoutNotification_template_processInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
  }

  export type NotificationTemplateUncheckedCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateCreateWithoutNotification_template_processInput[] | NotificationTemplateUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_template_processInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateAssignmentCreateWithoutNotification_template_processInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_template_processInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type EnumNotificationTypeFieldUpdateOperationsInput = {
    set?: $Enums.NotificationType
  }

  export type StatusUpdateOneRequiredWithoutNotification_template_processesNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_template_processesInput, StatusUncheckedCreateWithoutNotification_template_processesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_processesInput
    upsert?: StatusUpsertWithoutNotification_template_processesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_template_processesInput, StatusUpdateWithoutNotification_template_processesInput>, StatusUncheckedUpdateWithoutNotification_template_processesInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    delete?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    update?: NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
  }

  export type NotificationTemplateUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateCreateWithoutNotification_template_processInput[] | NotificationTemplateUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateAssignmentCreateWithoutNotification_template_processInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    delete?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    update?: NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateCreateWithoutNotification_template_processInput[] | NotificationTemplateUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput> | NotificationTemplateAssignmentCreateWithoutNotification_template_processInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_template_processInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_template_processInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_template_processInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_template_processInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_template_processInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_template_processInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutNotification_template_tagsInput = {
    create?: XOR<StatusCreateWithoutNotification_template_tagsInput, StatusUncheckedCreateWithoutNotification_template_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_tagsInput
    connect?: StatusWhereUniqueInput
  }

  export type NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_tagInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInputEnvelope
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
  }

  export type NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_tagInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInputEnvelope
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutNotification_template_tagsNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_template_tagsInput, StatusUncheckedCreateWithoutNotification_template_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_tagsInput
    upsert?: StatusUpsertWithoutNotification_template_tagsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_template_tagsInput, StatusUpdateWithoutNotification_template_tagsInput>, StatusUncheckedUpdateWithoutNotification_template_tagsInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_tagNestedInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput[]
    upsert?: NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_tagInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInputEnvelope
    set?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    delete?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    update?: NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_tagInput[]
    updateMany?: NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_tagInput[]
    deleteMany?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_tagNestedInput = {
    create?: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput> | NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput[] | NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput[]
    connectOrCreate?: NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput[]
    upsert?: NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_tagInput[]
    createMany?: NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInputEnvelope
    set?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    delete?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    connect?: NotificationTemplateProcessTagsMappingWhereUniqueInput | NotificationTemplateProcessTagsMappingWhereUniqueInput[]
    update?: NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_tagInput[]
    updateMany?: NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_tagInput | NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_tagInput[]
    deleteMany?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutNotification_template_receiver_tagsInput = {
    create?: XOR<StatusCreateWithoutNotification_template_receiver_tagsInput, StatusUncheckedCreateWithoutNotification_template_receiver_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_receiver_tagsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutNotification_template_receiver_tagsNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_template_receiver_tagsInput, StatusUncheckedCreateWithoutNotification_template_receiver_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_template_receiver_tagsInput
    upsert?: StatusUpsertWithoutNotification_template_receiver_tagsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_template_receiver_tagsInput, StatusUpdateWithoutNotification_template_receiver_tagsInput>, StatusUncheckedUpdateWithoutNotification_template_receiver_tagsInput>
  }

  export type NotificationTemplateProcessCreateNestedOneWithoutNotification_template_groupsInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_groupsInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_template_groupsInput
    connect?: NotificationTemplateProcessWhereUniqueInput
  }

  export type NotificationTemplateTagCreateNestedOneWithoutNotification_template_groupsInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedCreateWithoutNotification_template_groupsInput>
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutNotification_template_groupsInput
    connect?: NotificationTemplateTagWhereUniqueInput
  }

  export type NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_groupsNestedInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_groupsInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_template_groupsInput
    upsert?: NotificationTemplateProcessUpsertWithoutNotification_template_groupsInput
    connect?: NotificationTemplateProcessWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_template_groupsInput, NotificationTemplateProcessUpdateWithoutNotification_template_groupsInput>, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_groupsInput>
  }

  export type NotificationTemplateTagUpdateOneRequiredWithoutNotification_template_groupsNestedInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedCreateWithoutNotification_template_groupsInput>
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutNotification_template_groupsInput
    upsert?: NotificationTemplateTagUpsertWithoutNotification_template_groupsInput
    connect?: NotificationTemplateTagWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateTagUpdateToOneWithWhereWithoutNotification_template_groupsInput, NotificationTemplateTagUpdateWithoutNotification_template_groupsInput>, NotificationTemplateTagUncheckedUpdateWithoutNotification_template_groupsInput>
  }

  export type StatusCreateNestedOneWithoutNotification_templatesInput = {
    create?: XOR<StatusCreateWithoutNotification_templatesInput, StatusUncheckedCreateWithoutNotification_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_templatesInput
    connect?: StatusWhereUniqueInput
  }

  export type NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_templatesInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_templatesInput
    connect?: NotificationTemplateProcessWhereUniqueInput
  }

  export type NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput> | NotificationTemplateAssignmentCreateWithoutNotification_templateInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_templateInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_notification_templatesInput = {
    create?: XOR<UserCreateWithoutCreated_notification_templatesInput, UserUncheckedCreateWithoutCreated_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_notification_templatesInput = {
    create?: XOR<UserCreateWithoutUpdated_notification_templatesInput, UserUncheckedCreateWithoutUpdated_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_notification_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_notification_templatesInput = {
    create?: XOR<UserCreateWithoutDeleted_notification_templatesInput, UserUncheckedCreateWithoutDeleted_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_notification_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_mailInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_whatsappInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput> | ApprovalWorkflowAssignmentCreateWithoutReject_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_mailInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_whatsappInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput> | NotificationTemplateAssignmentCreateWithoutNotification_templateInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_templateInputEnvelope
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_mailInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_whatsappInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput> | ApprovalWorkflowAssignmentCreateWithoutReject_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_mailInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_whatsappInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutNotification_templatesNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_templatesInput, StatusUncheckedCreateWithoutNotification_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_templatesInput
    upsert?: StatusUpsertWithoutNotification_templatesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_templatesInput, StatusUpdateWithoutNotification_templatesInput>, StatusUncheckedUpdateWithoutNotification_templatesInput>
  }

  export type NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_templatesInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_templatesInput
    upsert?: NotificationTemplateProcessUpsertWithoutNotification_templatesInput
    connect?: NotificationTemplateProcessWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_templatesInput, NotificationTemplateProcessUpdateWithoutNotification_templatesInput>, NotificationTemplateProcessUncheckedUpdateWithoutNotification_templatesInput>
  }

  export type NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput> | NotificationTemplateAssignmentCreateWithoutNotification_templateInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_templateInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_templateInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_templateInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_templateInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_templateInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_templateInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_templateInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreated_notification_templatesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_notification_templatesInput, UserUncheckedCreateWithoutCreated_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_templatesInput
    upsert?: UserUpsertWithoutCreated_notification_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_notification_templatesInput, UserUpdateWithoutCreated_notification_templatesInput>, UserUncheckedUpdateWithoutCreated_notification_templatesInput>
  }

  export type UserUpdateOneWithoutUpdated_notification_templatesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_notification_templatesInput, UserUncheckedCreateWithoutUpdated_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_notification_templatesInput
    upsert?: UserUpsertWithoutUpdated_notification_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_notification_templatesInput, UserUpdateWithoutUpdated_notification_templatesInput>, UserUncheckedUpdateWithoutUpdated_notification_templatesInput>
  }

  export type UserUpdateOneWithoutDeleted_notification_templatesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_notification_templatesInput, UserUncheckedCreateWithoutDeleted_notification_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_notification_templatesInput
    upsert?: UserUpsertWithoutDeleted_notification_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_notification_templatesInput, UserUpdateWithoutDeleted_notification_templatesInput>, UserUncheckedUpdateWithoutDeleted_notification_templatesInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_mailInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_mailInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_mailInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_whatsappInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_whatsappInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_whatsappInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput> | ApprovalWorkflowAssignmentCreateWithoutReject_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_mailInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_mailInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_mailInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_mailInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_mailInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_mailInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_whatsappInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_whatsappInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_whatsappInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput> | NotificationTemplateAssignmentCreateWithoutNotification_templateInput[] | NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput[]
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput | NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput[]
    upsert?: NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_templateInput | NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_templateInput[]
    createMany?: NotificationTemplateAssignmentCreateManyNotification_templateInputEnvelope
    set?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    disconnect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    delete?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    connect?: NotificationTemplateAssignmentWhereUniqueInput | NotificationTemplateAssignmentWhereUniqueInput[]
    update?: NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_templateInput | NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_templateInput[]
    updateMany?: NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_templateInput | NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_templateInput[]
    deleteMany?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_mailInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_mailInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_mailInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_mailInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApprove_whatsappInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_whatsappInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_whatsappInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_whatsappInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput> | ApprovalWorkflowAssignmentCreateWithoutReject_mailInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_mailInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_mailInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_mailInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_mailInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_mailInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_mailInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_mailInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput> | ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_whatsappInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyReject_whatsappInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_whatsappInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_whatsappInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_whatsappInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type NotificationTemplateProcessCreateNestedOneWithoutNotification_template_assignmentsInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_assignmentsInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_template_assignmentsInput
    connect?: NotificationTemplateProcessWhereUniqueInput
  }

  export type NotificationTemplateCreateNestedOneWithoutNotification_template_assignmentsInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedCreateWithoutNotification_template_assignmentsInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_assignmentsInput
    connect?: NotificationTemplateWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_notification_template_assignmentsInput = {
    create?: XOR<UserCreateWithoutCreated_notification_template_assignmentsInput, UserUncheckedCreateWithoutCreated_notification_template_assignmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_template_assignmentsInput
    connect?: UserWhereUniqueInput
  }

  export type EmailTemplateCcBccCreateNestedManyWithoutEmail_template_assignmentInput = {
    create?: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput> | EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput[] | EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput[]
    connectOrCreate?: EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput | EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput[]
    createMany?: EmailTemplateCcBccCreateManyEmail_template_assignmentInputEnvelope
    connect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
  }

  export type EmailTemplateCcBccUncheckedCreateNestedManyWithoutEmail_template_assignmentInput = {
    create?: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput> | EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput[] | EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput[]
    connectOrCreate?: EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput | EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput[]
    createMany?: EmailTemplateCcBccCreateManyEmail_template_assignmentInputEnvelope
    connect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
  }

  export type EnumRecipientTypeFieldUpdateOperationsInput = {
    set?: $Enums.RecipientType
  }

  export type NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_assignmentsInput>
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutNotification_template_assignmentsInput
    upsert?: NotificationTemplateProcessUpsertWithoutNotification_template_assignmentsInput
    connect?: NotificationTemplateProcessWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUpdateWithoutNotification_template_assignmentsInput>, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_assignmentsInput>
  }

  export type NotificationTemplateUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedCreateWithoutNotification_template_assignmentsInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutNotification_template_assignmentsInput
    upsert?: NotificationTemplateUpsertWithoutNotification_template_assignmentsInput
    connect?: NotificationTemplateWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateUpdateToOneWithWhereWithoutNotification_template_assignmentsInput, NotificationTemplateUpdateWithoutNotification_template_assignmentsInput>, NotificationTemplateUncheckedUpdateWithoutNotification_template_assignmentsInput>
  }

  export type UserUpdateOneRequiredWithoutCreated_notification_template_assignmentsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_notification_template_assignmentsInput, UserUncheckedCreateWithoutCreated_notification_template_assignmentsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_template_assignmentsInput
    upsert?: UserUpsertWithoutCreated_notification_template_assignmentsInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_notification_template_assignmentsInput, UserUpdateWithoutCreated_notification_template_assignmentsInput>, UserUncheckedUpdateWithoutCreated_notification_template_assignmentsInput>
  }

  export type EmailTemplateCcBccUpdateManyWithoutEmail_template_assignmentNestedInput = {
    create?: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput> | EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput[] | EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput[]
    connectOrCreate?: EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput | EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput[]
    upsert?: EmailTemplateCcBccUpsertWithWhereUniqueWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpsertWithWhereUniqueWithoutEmail_template_assignmentInput[]
    createMany?: EmailTemplateCcBccCreateManyEmail_template_assignmentInputEnvelope
    set?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    disconnect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    delete?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    connect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    update?: EmailTemplateCcBccUpdateWithWhereUniqueWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpdateWithWhereUniqueWithoutEmail_template_assignmentInput[]
    updateMany?: EmailTemplateCcBccUpdateManyWithWhereWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpdateManyWithWhereWithoutEmail_template_assignmentInput[]
    deleteMany?: EmailTemplateCcBccScalarWhereInput | EmailTemplateCcBccScalarWhereInput[]
  }

  export type EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentNestedInput = {
    create?: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput> | EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput[] | EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput[]
    connectOrCreate?: EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput | EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput[]
    upsert?: EmailTemplateCcBccUpsertWithWhereUniqueWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpsertWithWhereUniqueWithoutEmail_template_assignmentInput[]
    createMany?: EmailTemplateCcBccCreateManyEmail_template_assignmentInputEnvelope
    set?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    disconnect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    delete?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    connect?: EmailTemplateCcBccWhereUniqueInput | EmailTemplateCcBccWhereUniqueInput[]
    update?: EmailTemplateCcBccUpdateWithWhereUniqueWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpdateWithWhereUniqueWithoutEmail_template_assignmentInput[]
    updateMany?: EmailTemplateCcBccUpdateManyWithWhereWithoutEmail_template_assignmentInput | EmailTemplateCcBccUpdateManyWithWhereWithoutEmail_template_assignmentInput[]
    deleteMany?: EmailTemplateCcBccScalarWhereInput | EmailTemplateCcBccScalarWhereInput[]
  }

  export type NotificationTemplateAssignmentCreateNestedOneWithoutEmail_template_cc_bccInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedCreateWithoutEmail_template_cc_bccInput>
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutEmail_template_cc_bccInput
    connect?: NotificationTemplateAssignmentWhereUniqueInput
  }

  export type EnumsendMailTypeFieldUpdateOperationsInput = {
    set?: $Enums.sendMailType
  }

  export type NotificationTemplateAssignmentUpdateOneRequiredWithoutEmail_template_cc_bccNestedInput = {
    create?: XOR<NotificationTemplateAssignmentCreateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedCreateWithoutEmail_template_cc_bccInput>
    connectOrCreate?: NotificationTemplateAssignmentCreateOrConnectWithoutEmail_template_cc_bccInput
    upsert?: NotificationTemplateAssignmentUpsertWithoutEmail_template_cc_bccInput
    connect?: NotificationTemplateAssignmentWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateAssignmentUpdateToOneWithWhereWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUpdateWithoutEmail_template_cc_bccInput>, NotificationTemplateAssignmentUncheckedUpdateWithoutEmail_template_cc_bccInput>
  }

  export type StatusCreateNestedOneWithoutNotification_process_jobsInput = {
    create?: XOR<StatusCreateWithoutNotification_process_jobsInput, StatusUncheckedCreateWithoutNotification_process_jobsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_process_jobsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_notification_process_jobsInput = {
    create?: XOR<UserCreateWithoutCreated_notification_process_jobsInput, UserUncheckedCreateWithoutCreated_notification_process_jobsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_process_jobsInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutNotification_process_jobsNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_process_jobsInput, StatusUncheckedCreateWithoutNotification_process_jobsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_process_jobsInput
    upsert?: StatusUpsertWithoutNotification_process_jobsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_process_jobsInput, StatusUpdateWithoutNotification_process_jobsInput>, StatusUncheckedUpdateWithoutNotification_process_jobsInput>
  }

  export type UserUpdateOneWithoutCreated_notification_process_jobsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_notification_process_jobsInput, UserUncheckedCreateWithoutCreated_notification_process_jobsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_process_jobsInput
    upsert?: UserUpsertWithoutCreated_notification_process_jobsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_notification_process_jobsInput, UserUpdateWithoutCreated_notification_process_jobsInput>, UserUncheckedUpdateWithoutCreated_notification_process_jobsInput>
  }

  export type StatusCreateNestedOneWithoutNotification_jobInput = {
    create?: XOR<StatusCreateWithoutNotification_jobInput, StatusUncheckedCreateWithoutNotification_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_jobInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_notification_jobInput = {
    create?: XOR<UserCreateWithoutCreated_notification_jobInput, UserUncheckedCreateWithoutCreated_notification_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_jobInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutNotification_jobNestedInput = {
    create?: XOR<StatusCreateWithoutNotification_jobInput, StatusUncheckedCreateWithoutNotification_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutNotification_jobInput
    upsert?: StatusUpsertWithoutNotification_jobInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutNotification_jobInput, StatusUpdateWithoutNotification_jobInput>, StatusUncheckedUpdateWithoutNotification_jobInput>
  }

  export type UserUpdateOneWithoutCreated_notification_jobNestedInput = {
    create?: XOR<UserCreateWithoutCreated_notification_jobInput, UserUncheckedCreateWithoutCreated_notification_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_notification_jobInput
    upsert?: UserUpsertWithoutCreated_notification_jobInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_notification_jobInput, UserUpdateWithoutCreated_notification_jobInput>, UserUncheckedUpdateWithoutCreated_notification_jobInput>
  }

  export type StatusCreateNestedOneWithoutCarousel_templatesInput = {
    create?: XOR<StatusCreateWithoutCarousel_templatesInput, StatusUncheckedCreateWithoutCarousel_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCarousel_templatesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_carousel_templatesInput = {
    create?: XOR<UserCreateWithoutCreated_carousel_templatesInput, UserUncheckedCreateWithoutCreated_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_carousel_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_carousel_templatesInput = {
    create?: XOR<UserCreateWithoutUpdated_carousel_templatesInput, UserUncheckedCreateWithoutUpdated_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_carousel_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_carousel_templatesInput = {
    create?: XOR<UserCreateWithoutDeleted_carousel_templatesInput, UserUncheckedCreateWithoutDeleted_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_carousel_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput> | CarouselTemplateLineItemCreateWithoutCarousel_templateInput[] | CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput | CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput[]
    createMany?: CarouselTemplateLineItemCreateManyCarousel_templateInputEnvelope
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
  }

  export type CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput> | CarouselTemplateLineItemCreateWithoutCarousel_templateInput[] | CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput | CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput[]
    createMany?: CarouselTemplateLineItemCreateManyCarousel_templateInputEnvelope
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput = {
    create?: XOR<StatusCreateWithoutCarousel_templatesInput, StatusUncheckedCreateWithoutCarousel_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCarousel_templatesInput
    upsert?: StatusUpsertWithoutCarousel_templatesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutCarousel_templatesInput, StatusUpdateWithoutCarousel_templatesInput>, StatusUncheckedUpdateWithoutCarousel_templatesInput>
  }

  export type UserUpdateOneWithoutCreated_carousel_templatesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_carousel_templatesInput, UserUncheckedCreateWithoutCreated_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_carousel_templatesInput
    upsert?: UserUpsertWithoutCreated_carousel_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_carousel_templatesInput, UserUpdateWithoutCreated_carousel_templatesInput>, UserUncheckedUpdateWithoutCreated_carousel_templatesInput>
  }

  export type UserUpdateOneWithoutUpdated_carousel_templatesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_carousel_templatesInput, UserUncheckedCreateWithoutUpdated_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_carousel_templatesInput
    upsert?: UserUpsertWithoutUpdated_carousel_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_carousel_templatesInput, UserUpdateWithoutUpdated_carousel_templatesInput>, UserUncheckedUpdateWithoutUpdated_carousel_templatesInput>
  }

  export type UserUpdateOneWithoutDeleted_carousel_templatesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_carousel_templatesInput, UserUncheckedCreateWithoutDeleted_carousel_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_carousel_templatesInput
    upsert?: UserUpsertWithoutDeleted_carousel_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_carousel_templatesInput, UserUpdateWithoutDeleted_carousel_templatesInput>, UserUncheckedUpdateWithoutDeleted_carousel_templatesInput>
  }

  export type CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput> | CarouselTemplateLineItemCreateWithoutCarousel_templateInput[] | CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput | CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput[]
    upsert?: CarouselTemplateLineItemUpsertWithWhereUniqueWithoutCarousel_templateInput | CarouselTemplateLineItemUpsertWithWhereUniqueWithoutCarousel_templateInput[]
    createMany?: CarouselTemplateLineItemCreateManyCarousel_templateInputEnvelope
    set?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    disconnect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    delete?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    update?: CarouselTemplateLineItemUpdateWithWhereUniqueWithoutCarousel_templateInput | CarouselTemplateLineItemUpdateWithWhereUniqueWithoutCarousel_templateInput[]
    updateMany?: CarouselTemplateLineItemUpdateManyWithWhereWithoutCarousel_templateInput | CarouselTemplateLineItemUpdateManyWithWhereWithoutCarousel_templateInput[]
    deleteMany?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
  }

  export type CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput> | CarouselTemplateLineItemCreateWithoutCarousel_templateInput[] | CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput | CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput[]
    upsert?: CarouselTemplateLineItemUpsertWithWhereUniqueWithoutCarousel_templateInput | CarouselTemplateLineItemUpsertWithWhereUniqueWithoutCarousel_templateInput[]
    createMany?: CarouselTemplateLineItemCreateManyCarousel_templateInputEnvelope
    set?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    disconnect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    delete?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    update?: CarouselTemplateLineItemUpdateWithWhereUniqueWithoutCarousel_templateInput | CarouselTemplateLineItemUpdateWithWhereUniqueWithoutCarousel_templateInput[]
    updateMany?: CarouselTemplateLineItemUpdateManyWithWhereWithoutCarousel_templateInput | CarouselTemplateLineItemUpdateManyWithWhereWithoutCarousel_templateInput[]
    deleteMany?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutCarousel_template_line_itemsInput = {
    create?: XOR<StatusCreateWithoutCarousel_template_line_itemsInput, StatusUncheckedCreateWithoutCarousel_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCarousel_template_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type CarouselTemplateCreateNestedOneWithoutLine_itemsInput = {
    create?: XOR<CarouselTemplateCreateWithoutLine_itemsInput, CarouselTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutLine_itemsInput
    connect?: CarouselTemplateWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutCarousel_template_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutCarousel_template_line_itemsInput, StatusUncheckedCreateWithoutCarousel_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCarousel_template_line_itemsInput
    upsert?: StatusUpsertWithoutCarousel_template_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutCarousel_template_line_itemsInput, StatusUpdateWithoutCarousel_template_line_itemsInput>, StatusUncheckedUpdateWithoutCarousel_template_line_itemsInput>
  }

  export type CarouselTemplateUpdateOneRequiredWithoutLine_itemsNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutLine_itemsInput, CarouselTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutLine_itemsInput
    upsert?: CarouselTemplateUpsertWithoutLine_itemsInput
    connect?: CarouselTemplateWhereUniqueInput
    update?: XOR<XOR<CarouselTemplateUpdateToOneWithWhereWithoutLine_itemsInput, CarouselTemplateUpdateWithoutLine_itemsInput>, CarouselTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type StatusCreateNestedOneWithoutImport_templatesInput = {
    create?: XOR<StatusCreateWithoutImport_templatesInput, StatusUncheckedCreateWithoutImport_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_templatesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_import_templatesInput = {
    create?: XOR<UserCreateWithoutCreated_import_templatesInput, UserUncheckedCreateWithoutCreated_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_import_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_import_templatesInput = {
    create?: XOR<UserCreateWithoutUpdated_import_templatesInput, UserUncheckedCreateWithoutUpdated_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_import_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_import_templatesInput = {
    create?: XOR<UserCreateWithoutDeleted_import_templatesInput, UserUncheckedCreateWithoutDeleted_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_import_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput> | ImportTemplateLineItemCreateWithoutImport_templateInput[] | ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput | ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportTemplateLineItemCreateManyImport_templateInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput> | ImportTemplateQueriesCreateWithoutImport_templateInput[] | ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput | ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportTemplateQueriesCreateManyImport_templateInputEnvelope
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
  }

  export type ImportJobCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput> | ImportJobCreateWithoutImport_templateInput[] | ImportJobUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutImport_templateInput | ImportJobCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportJobCreateManyImport_templateInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type DirectImportDetailsCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput> | DirectImportDetailsCreateWithoutImport_templateInput[] | DirectImportDetailsUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutImport_templateInput | DirectImportDetailsCreateOrConnectWithoutImport_templateInput[]
    createMany?: DirectImportDetailsCreateManyImport_templateInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput> | ImportTemplateLineItemCreateWithoutImport_templateInput[] | ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput | ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportTemplateLineItemCreateManyImport_templateInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput> | ImportTemplateQueriesCreateWithoutImport_templateInput[] | ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput | ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportTemplateQueriesCreateManyImport_templateInputEnvelope
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
  }

  export type ImportJobUncheckedCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput> | ImportJobCreateWithoutImport_templateInput[] | ImportJobUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutImport_templateInput | ImportJobCreateOrConnectWithoutImport_templateInput[]
    createMany?: ImportJobCreateManyImport_templateInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput = {
    create?: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput> | DirectImportDetailsCreateWithoutImport_templateInput[] | DirectImportDetailsUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutImport_templateInput | DirectImportDetailsCreateOrConnectWithoutImport_templateInput[]
    createMany?: DirectImportDetailsCreateManyImport_templateInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutImport_templatesNestedInput = {
    create?: XOR<StatusCreateWithoutImport_templatesInput, StatusUncheckedCreateWithoutImport_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_templatesInput
    upsert?: StatusUpsertWithoutImport_templatesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutImport_templatesInput, StatusUpdateWithoutImport_templatesInput>, StatusUncheckedUpdateWithoutImport_templatesInput>
  }

  export type UserUpdateOneWithoutCreated_import_templatesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_import_templatesInput, UserUncheckedCreateWithoutCreated_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_import_templatesInput
    upsert?: UserUpsertWithoutCreated_import_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_import_templatesInput, UserUpdateWithoutCreated_import_templatesInput>, UserUncheckedUpdateWithoutCreated_import_templatesInput>
  }

  export type UserUpdateOneWithoutUpdated_import_templatesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_import_templatesInput, UserUncheckedCreateWithoutUpdated_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_import_templatesInput
    upsert?: UserUpsertWithoutUpdated_import_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_import_templatesInput, UserUpdateWithoutUpdated_import_templatesInput>, UserUncheckedUpdateWithoutUpdated_import_templatesInput>
  }

  export type UserUpdateOneWithoutDeleted_import_templatesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_import_templatesInput, UserUncheckedCreateWithoutDeleted_import_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_import_templatesInput
    upsert?: UserUpsertWithoutDeleted_import_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_import_templatesInput, UserUpdateWithoutDeleted_import_templatesInput>, UserUncheckedUpdateWithoutDeleted_import_templatesInput>
  }

  export type ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput> | ImportTemplateLineItemCreateWithoutImport_templateInput[] | ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput | ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutImport_templateInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportTemplateLineItemCreateManyImport_templateInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutImport_templateInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutImport_templateInput | ImportTemplateLineItemUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput> | ImportTemplateQueriesCreateWithoutImport_templateInput[] | ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput | ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportTemplateQueriesUpsertWithWhereUniqueWithoutImport_templateInput | ImportTemplateQueriesUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportTemplateQueriesCreateManyImport_templateInputEnvelope
    set?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    disconnect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    delete?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    update?: ImportTemplateQueriesUpdateWithWhereUniqueWithoutImport_templateInput | ImportTemplateQueriesUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportTemplateQueriesUpdateManyWithWhereWithoutImport_templateInput | ImportTemplateQueriesUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
  }

  export type ImportJobUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput> | ImportJobCreateWithoutImport_templateInput[] | ImportJobUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutImport_templateInput | ImportJobCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutImport_templateInput | ImportJobUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportJobCreateManyImport_templateInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutImport_templateInput | ImportJobUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutImport_templateInput | ImportJobUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type DirectImportDetailsUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput> | DirectImportDetailsCreateWithoutImport_templateInput[] | DirectImportDetailsUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutImport_templateInput | DirectImportDetailsCreateOrConnectWithoutImport_templateInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutImport_templateInput | DirectImportDetailsUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: DirectImportDetailsCreateManyImport_templateInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutImport_templateInput | DirectImportDetailsUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutImport_templateInput | DirectImportDetailsUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput> | ImportTemplateLineItemCreateWithoutImport_templateInput[] | ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput | ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutImport_templateInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportTemplateLineItemCreateManyImport_templateInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutImport_templateInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutImport_templateInput | ImportTemplateLineItemUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput> | ImportTemplateQueriesCreateWithoutImport_templateInput[] | ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput | ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportTemplateQueriesUpsertWithWhereUniqueWithoutImport_templateInput | ImportTemplateQueriesUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportTemplateQueriesCreateManyImport_templateInputEnvelope
    set?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    disconnect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    delete?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    update?: ImportTemplateQueriesUpdateWithWhereUniqueWithoutImport_templateInput | ImportTemplateQueriesUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportTemplateQueriesUpdateManyWithWhereWithoutImport_templateInput | ImportTemplateQueriesUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
  }

  export type ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput> | ImportJobCreateWithoutImport_templateInput[] | ImportJobUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutImport_templateInput | ImportJobCreateOrConnectWithoutImport_templateInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutImport_templateInput | ImportJobUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: ImportJobCreateManyImport_templateInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutImport_templateInput | ImportJobUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutImport_templateInput | ImportJobUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput> | DirectImportDetailsCreateWithoutImport_templateInput[] | DirectImportDetailsUncheckedCreateWithoutImport_templateInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutImport_templateInput | DirectImportDetailsCreateOrConnectWithoutImport_templateInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutImport_templateInput | DirectImportDetailsUpsertWithWhereUniqueWithoutImport_templateInput[]
    createMany?: DirectImportDetailsCreateManyImport_templateInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutImport_templateInput | DirectImportDetailsUpdateWithWhereUniqueWithoutImport_templateInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutImport_templateInput | DirectImportDetailsUpdateManyWithWhereWithoutImport_templateInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutImport_template_line_itemsInput = {
    create?: XOR<StatusCreateWithoutImport_template_line_itemsInput, StatusUncheckedCreateWithoutImport_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_template_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type ImportTemplateCreateNestedOneWithoutLine_itemsInput = {
    create?: XOR<ImportTemplateCreateWithoutLine_itemsInput, ImportTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutLine_itemsInput
    connect?: ImportTemplateWhereUniqueInput
  }

  export type FieldTypeCreateNestedOneWithoutImportTemplateLineItemInput = {
    create?: XOR<FieldTypeCreateWithoutImportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutImportTemplateLineItemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutImportTemplateLineItemInput
    connect?: FieldTypeWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutImport_template_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutImport_template_line_itemsInput, StatusUncheckedCreateWithoutImport_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_template_line_itemsInput
    upsert?: StatusUpsertWithoutImport_template_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutImport_template_line_itemsInput, StatusUpdateWithoutImport_template_line_itemsInput>, StatusUncheckedUpdateWithoutImport_template_line_itemsInput>
  }

  export type ImportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutLine_itemsInput, ImportTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutLine_itemsInput
    upsert?: ImportTemplateUpsertWithoutLine_itemsInput
    connect?: ImportTemplateWhereUniqueInput
    update?: XOR<XOR<ImportTemplateUpdateToOneWithWhereWithoutLine_itemsInput, ImportTemplateUpdateWithoutLine_itemsInput>, ImportTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type FieldTypeUpdateOneWithoutImportTemplateLineItemNestedInput = {
    create?: XOR<FieldTypeCreateWithoutImportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutImportTemplateLineItemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutImportTemplateLineItemInput
    upsert?: FieldTypeUpsertWithoutImportTemplateLineItemInput
    disconnect?: FieldTypeWhereInput | boolean
    delete?: FieldTypeWhereInput | boolean
    connect?: FieldTypeWhereUniqueInput
    update?: XOR<XOR<FieldTypeUpdateToOneWithWhereWithoutImportTemplateLineItemInput, FieldTypeUpdateWithoutImportTemplateLineItemInput>, FieldTypeUncheckedUpdateWithoutImportTemplateLineItemInput>
  }

  export type StatusCreateNestedOneWithoutImport_template_queriesInput = {
    create?: XOR<StatusCreateWithoutImport_template_queriesInput, StatusUncheckedCreateWithoutImport_template_queriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_template_queriesInput
    connect?: StatusWhereUniqueInput
  }

  export type ImportTemplateCreateNestedOneWithoutQueriesInput = {
    create?: XOR<ImportTemplateCreateWithoutQueriesInput, ImportTemplateUncheckedCreateWithoutQueriesInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutQueriesInput
    connect?: ImportTemplateWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutImport_template_queriesNestedInput = {
    create?: XOR<StatusCreateWithoutImport_template_queriesInput, StatusUncheckedCreateWithoutImport_template_queriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_template_queriesInput
    upsert?: StatusUpsertWithoutImport_template_queriesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutImport_template_queriesInput, StatusUpdateWithoutImport_template_queriesInput>, StatusUncheckedUpdateWithoutImport_template_queriesInput>
  }

  export type ImportTemplateUpdateOneRequiredWithoutQueriesNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutQueriesInput, ImportTemplateUncheckedCreateWithoutQueriesInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutQueriesInput
    upsert?: ImportTemplateUpsertWithoutQueriesInput
    connect?: ImportTemplateWhereUniqueInput
    update?: XOR<XOR<ImportTemplateUpdateToOneWithWhereWithoutQueriesInput, ImportTemplateUpdateWithoutQueriesInput>, ImportTemplateUncheckedUpdateWithoutQueriesInput>
  }

  export type StatusCreateNestedOneWithoutDirect_import_detailsInput = {
    create?: XOR<StatusCreateWithoutDirect_import_detailsInput, StatusUncheckedCreateWithoutDirect_import_detailsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDirect_import_detailsInput
    connect?: StatusWhereUniqueInput
  }

  export type ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput = {
    create?: XOR<ImportTemplateCreateWithoutDirect_import_detailsInput, ImportTemplateUncheckedCreateWithoutDirect_import_detailsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDirect_import_detailsInput
    connect?: ImportTemplateWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_direct_import_detailsInput = {
    create?: XOR<UserCreateWithoutCreated_direct_import_detailsInput, UserUncheckedCreateWithoutCreated_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_direct_import_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_direct_import_detailsInput = {
    create?: XOR<UserCreateWithoutUpdated_direct_import_detailsInput, UserUncheckedCreateWithoutUpdated_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_direct_import_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_direct_import_detailsInput = {
    create?: XOR<UserCreateWithoutDeleted_direct_import_detailsInput, UserUncheckedCreateWithoutDeleted_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_direct_import_detailsInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput = {
    create?: XOR<StatusCreateWithoutDirect_import_detailsInput, StatusUncheckedCreateWithoutDirect_import_detailsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDirect_import_detailsInput
    upsert?: StatusUpsertWithoutDirect_import_detailsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDirect_import_detailsInput, StatusUpdateWithoutDirect_import_detailsInput>, StatusUncheckedUpdateWithoutDirect_import_detailsInput>
  }

  export type ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutDirect_import_detailsInput, ImportTemplateUncheckedCreateWithoutDirect_import_detailsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutDirect_import_detailsInput
    upsert?: ImportTemplateUpsertWithoutDirect_import_detailsInput
    disconnect?: ImportTemplateWhereInput | boolean
    delete?: ImportTemplateWhereInput | boolean
    connect?: ImportTemplateWhereUniqueInput
    update?: XOR<XOR<ImportTemplateUpdateToOneWithWhereWithoutDirect_import_detailsInput, ImportTemplateUpdateWithoutDirect_import_detailsInput>, ImportTemplateUncheckedUpdateWithoutDirect_import_detailsInput>
  }

  export type UserUpdateOneWithoutCreated_direct_import_detailsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_direct_import_detailsInput, UserUncheckedCreateWithoutCreated_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_direct_import_detailsInput
    upsert?: UserUpsertWithoutCreated_direct_import_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_direct_import_detailsInput, UserUpdateWithoutCreated_direct_import_detailsInput>, UserUncheckedUpdateWithoutCreated_direct_import_detailsInput>
  }

  export type UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_direct_import_detailsInput, UserUncheckedCreateWithoutUpdated_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_direct_import_detailsInput
    upsert?: UserUpsertWithoutUpdated_direct_import_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_direct_import_detailsInput, UserUpdateWithoutUpdated_direct_import_detailsInput>, UserUncheckedUpdateWithoutUpdated_direct_import_detailsInput>
  }

  export type UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_direct_import_detailsInput, UserUncheckedCreateWithoutDeleted_direct_import_detailsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_direct_import_detailsInput
    upsert?: UserUpsertWithoutDeleted_direct_import_detailsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_direct_import_detailsInput, UserUpdateWithoutDeleted_direct_import_detailsInput>, UserUncheckedUpdateWithoutDeleted_direct_import_detailsInput>
  }

  export type StatusCreateNestedOneWithoutImport_jobInput = {
    create?: XOR<StatusCreateWithoutImport_jobInput, StatusUncheckedCreateWithoutImport_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_jobInput
    connect?: StatusWhereUniqueInput
  }

  export type ImportTemplateCreateNestedOneWithoutImport_jobsInput = {
    create?: XOR<ImportTemplateCreateWithoutImport_jobsInput, ImportTemplateUncheckedCreateWithoutImport_jobsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutImport_jobsInput
    connect?: ImportTemplateWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_import_jobInput = {
    create?: XOR<UserCreateWithoutCreated_import_jobInput, UserUncheckedCreateWithoutCreated_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_import_jobInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_import_jobInput = {
    create?: XOR<UserCreateWithoutUpdated_import_jobInput, UserUncheckedCreateWithoutUpdated_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_import_jobInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_import_jobInput = {
    create?: XOR<UserCreateWithoutDeleted_import_jobInput, UserUncheckedCreateWithoutDeleted_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_import_jobInput
    connect?: UserWhereUniqueInput
  }

  export type ImportJobLineItemCreateNestedManyWithoutImport_jobInput = {
    create?: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput> | ImportJobLineItemCreateWithoutImport_jobInput[] | ImportJobLineItemUncheckedCreateWithoutImport_jobInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutImport_jobInput | ImportJobLineItemCreateOrConnectWithoutImport_jobInput[]
    createMany?: ImportJobLineItemCreateManyImport_jobInputEnvelope
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
  }

  export type ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput = {
    create?: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput> | ImportJobLineItemCreateWithoutImport_jobInput[] | ImportJobLineItemUncheckedCreateWithoutImport_jobInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutImport_jobInput | ImportJobLineItemCreateOrConnectWithoutImport_jobInput[]
    createMany?: ImportJobLineItemCreateManyImport_jobInputEnvelope
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutImport_jobNestedInput = {
    create?: XOR<StatusCreateWithoutImport_jobInput, StatusUncheckedCreateWithoutImport_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_jobInput
    upsert?: StatusUpsertWithoutImport_jobInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutImport_jobInput, StatusUpdateWithoutImport_jobInput>, StatusUncheckedUpdateWithoutImport_jobInput>
  }

  export type ImportTemplateUpdateOneWithoutImport_jobsNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutImport_jobsInput, ImportTemplateUncheckedCreateWithoutImport_jobsInput>
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutImport_jobsInput
    upsert?: ImportTemplateUpsertWithoutImport_jobsInput
    disconnect?: ImportTemplateWhereInput | boolean
    delete?: ImportTemplateWhereInput | boolean
    connect?: ImportTemplateWhereUniqueInput
    update?: XOR<XOR<ImportTemplateUpdateToOneWithWhereWithoutImport_jobsInput, ImportTemplateUpdateWithoutImport_jobsInput>, ImportTemplateUncheckedUpdateWithoutImport_jobsInput>
  }

  export type UserUpdateOneWithoutCreated_import_jobNestedInput = {
    create?: XOR<UserCreateWithoutCreated_import_jobInput, UserUncheckedCreateWithoutCreated_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_import_jobInput
    upsert?: UserUpsertWithoutCreated_import_jobInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_import_jobInput, UserUpdateWithoutCreated_import_jobInput>, UserUncheckedUpdateWithoutCreated_import_jobInput>
  }

  export type UserUpdateOneWithoutUpdated_import_jobNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_import_jobInput, UserUncheckedCreateWithoutUpdated_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_import_jobInput
    upsert?: UserUpsertWithoutUpdated_import_jobInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_import_jobInput, UserUpdateWithoutUpdated_import_jobInput>, UserUncheckedUpdateWithoutUpdated_import_jobInput>
  }

  export type UserUpdateOneWithoutDeleted_import_jobNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_import_jobInput, UserUncheckedCreateWithoutDeleted_import_jobInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_import_jobInput
    upsert?: UserUpsertWithoutDeleted_import_jobInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_import_jobInput, UserUpdateWithoutDeleted_import_jobInput>, UserUncheckedUpdateWithoutDeleted_import_jobInput>
  }

  export type ImportJobLineItemUpdateManyWithoutImport_jobNestedInput = {
    create?: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput> | ImportJobLineItemCreateWithoutImport_jobInput[] | ImportJobLineItemUncheckedCreateWithoutImport_jobInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutImport_jobInput | ImportJobLineItemCreateOrConnectWithoutImport_jobInput[]
    upsert?: ImportJobLineItemUpsertWithWhereUniqueWithoutImport_jobInput | ImportJobLineItemUpsertWithWhereUniqueWithoutImport_jobInput[]
    createMany?: ImportJobLineItemCreateManyImport_jobInputEnvelope
    set?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    disconnect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    delete?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    update?: ImportJobLineItemUpdateWithWhereUniqueWithoutImport_jobInput | ImportJobLineItemUpdateWithWhereUniqueWithoutImport_jobInput[]
    updateMany?: ImportJobLineItemUpdateManyWithWhereWithoutImport_jobInput | ImportJobLineItemUpdateManyWithWhereWithoutImport_jobInput[]
    deleteMany?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
  }

  export type ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput = {
    create?: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput> | ImportJobLineItemCreateWithoutImport_jobInput[] | ImportJobLineItemUncheckedCreateWithoutImport_jobInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutImport_jobInput | ImportJobLineItemCreateOrConnectWithoutImport_jobInput[]
    upsert?: ImportJobLineItemUpsertWithWhereUniqueWithoutImport_jobInput | ImportJobLineItemUpsertWithWhereUniqueWithoutImport_jobInput[]
    createMany?: ImportJobLineItemCreateManyImport_jobInputEnvelope
    set?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    disconnect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    delete?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    update?: ImportJobLineItemUpdateWithWhereUniqueWithoutImport_jobInput | ImportJobLineItemUpdateWithWhereUniqueWithoutImport_jobInput[]
    updateMany?: ImportJobLineItemUpdateManyWithWhereWithoutImport_jobInput | ImportJobLineItemUpdateManyWithWhereWithoutImport_jobInput[]
    deleteMany?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutImport_job_line_itemsInput = {
    create?: XOR<StatusCreateWithoutImport_job_line_itemsInput, StatusUncheckedCreateWithoutImport_job_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_job_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type ImportJobCreateNestedOneWithoutLine_itemsInput = {
    create?: XOR<ImportJobCreateWithoutLine_itemsInput, ImportJobUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ImportJobCreateOrConnectWithoutLine_itemsInput
    connect?: ImportJobWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutImport_job_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutImport_job_line_itemsInput, StatusUncheckedCreateWithoutImport_job_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutImport_job_line_itemsInput
    upsert?: StatusUpsertWithoutImport_job_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutImport_job_line_itemsInput, StatusUpdateWithoutImport_job_line_itemsInput>, StatusUncheckedUpdateWithoutImport_job_line_itemsInput>
  }

  export type ImportJobUpdateOneRequiredWithoutLine_itemsNestedInput = {
    create?: XOR<ImportJobCreateWithoutLine_itemsInput, ImportJobUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ImportJobCreateOrConnectWithoutLine_itemsInput
    upsert?: ImportJobUpsertWithoutLine_itemsInput
    connect?: ImportJobWhereUniqueInput
    update?: XOR<XOR<ImportJobUpdateToOneWithWhereWithoutLine_itemsInput, ImportJobUpdateWithoutLine_itemsInput>, ImportJobUncheckedUpdateWithoutLine_itemsInput>
  }

  export type StatusCreateNestedOneWithoutExport_templatesInput = {
    create?: XOR<StatusCreateWithoutExport_templatesInput, StatusUncheckedCreateWithoutExport_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_templatesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_export_templatesInput = {
    create?: XOR<UserCreateWithoutCreated_export_templatesInput, UserUncheckedCreateWithoutCreated_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_export_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_export_templatesInput = {
    create?: XOR<UserCreateWithoutUpdated_export_templatesInput, UserUncheckedCreateWithoutUpdated_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_export_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_export_templatesInput = {
    create?: XOR<UserCreateWithoutDeleted_export_templatesInput, UserUncheckedCreateWithoutDeleted_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_export_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput> | ExportTemplateLineItemCreateWithoutExport_templateInput[] | ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput | ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput[]
    createMany?: ExportTemplateLineItemCreateManyExport_templateInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput> | ExportTemplateQueriesCreateWithoutExport_templateInput[] | ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput | ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput[]
    createMany?: ExportTemplateQueriesCreateManyExport_templateInputEnvelope
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
  }

  export type ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput> | ExportTemplateLineItemCreateWithoutExport_templateInput[] | ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput | ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput[]
    createMany?: ExportTemplateLineItemCreateManyExport_templateInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput> | ExportTemplateQueriesCreateWithoutExport_templateInput[] | ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput | ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput[]
    createMany?: ExportTemplateQueriesCreateManyExport_templateInputEnvelope
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
  }

  export type EnumTemplateTypeFieldUpdateOperationsInput = {
    set?: $Enums.TemplateType
  }

  export type StatusUpdateOneRequiredWithoutExport_templatesNestedInput = {
    create?: XOR<StatusCreateWithoutExport_templatesInput, StatusUncheckedCreateWithoutExport_templatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_templatesInput
    upsert?: StatusUpsertWithoutExport_templatesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutExport_templatesInput, StatusUpdateWithoutExport_templatesInput>, StatusUncheckedUpdateWithoutExport_templatesInput>
  }

  export type UserUpdateOneWithoutCreated_export_templatesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_export_templatesInput, UserUncheckedCreateWithoutCreated_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_export_templatesInput
    upsert?: UserUpsertWithoutCreated_export_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_export_templatesInput, UserUpdateWithoutCreated_export_templatesInput>, UserUncheckedUpdateWithoutCreated_export_templatesInput>
  }

  export type UserUpdateOneWithoutUpdated_export_templatesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_export_templatesInput, UserUncheckedCreateWithoutUpdated_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_export_templatesInput
    upsert?: UserUpsertWithoutUpdated_export_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_export_templatesInput, UserUpdateWithoutUpdated_export_templatesInput>, UserUncheckedUpdateWithoutUpdated_export_templatesInput>
  }

  export type UserUpdateOneWithoutDeleted_export_templatesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_export_templatesInput, UserUncheckedCreateWithoutDeleted_export_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_export_templatesInput
    upsert?: UserUpsertWithoutDeleted_export_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_export_templatesInput, UserUpdateWithoutDeleted_export_templatesInput>, UserUncheckedUpdateWithoutDeleted_export_templatesInput>
  }

  export type ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput> | ExportTemplateLineItemCreateWithoutExport_templateInput[] | ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput | ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutExport_templateInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutExport_templateInput[]
    createMany?: ExportTemplateLineItemCreateManyExport_templateInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutExport_templateInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutExport_templateInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutExport_templateInput | ExportTemplateLineItemUpdateManyWithWhereWithoutExport_templateInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput> | ExportTemplateQueriesCreateWithoutExport_templateInput[] | ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput | ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput[]
    upsert?: ExportTemplateQueriesUpsertWithWhereUniqueWithoutExport_templateInput | ExportTemplateQueriesUpsertWithWhereUniqueWithoutExport_templateInput[]
    createMany?: ExportTemplateQueriesCreateManyExport_templateInputEnvelope
    set?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    disconnect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    delete?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    update?: ExportTemplateQueriesUpdateWithWhereUniqueWithoutExport_templateInput | ExportTemplateQueriesUpdateWithWhereUniqueWithoutExport_templateInput[]
    updateMany?: ExportTemplateQueriesUpdateManyWithWhereWithoutExport_templateInput | ExportTemplateQueriesUpdateManyWithWhereWithoutExport_templateInput[]
    deleteMany?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput> | ExportTemplateLineItemCreateWithoutExport_templateInput[] | ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput | ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutExport_templateInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutExport_templateInput[]
    createMany?: ExportTemplateLineItemCreateManyExport_templateInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutExport_templateInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutExport_templateInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutExport_templateInput | ExportTemplateLineItemUpdateManyWithWhereWithoutExport_templateInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput> | ExportTemplateQueriesCreateWithoutExport_templateInput[] | ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput | ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput[]
    upsert?: ExportTemplateQueriesUpsertWithWhereUniqueWithoutExport_templateInput | ExportTemplateQueriesUpsertWithWhereUniqueWithoutExport_templateInput[]
    createMany?: ExportTemplateQueriesCreateManyExport_templateInputEnvelope
    set?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    disconnect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    delete?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    update?: ExportTemplateQueriesUpdateWithWhereUniqueWithoutExport_templateInput | ExportTemplateQueriesUpdateWithWhereUniqueWithoutExport_templateInput[]
    updateMany?: ExportTemplateQueriesUpdateManyWithWhereWithoutExport_templateInput | ExportTemplateQueriesUpdateManyWithWhereWithoutExport_templateInput[]
    deleteMany?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutExport_template_line_itemsInput = {
    create?: XOR<StatusCreateWithoutExport_template_line_itemsInput, StatusUncheckedCreateWithoutExport_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_template_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type ExportTemplateCreateNestedOneWithoutLine_itemsInput = {
    create?: XOR<ExportTemplateCreateWithoutLine_itemsInput, ExportTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutLine_itemsInput
    connect?: ExportTemplateWhereUniqueInput
  }

  export type FieldTypeCreateNestedOneWithoutExportTemplateLineItemInput = {
    create?: XOR<FieldTypeCreateWithoutExportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutExportTemplateLineItemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutExportTemplateLineItemInput
    connect?: FieldTypeWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutExport_template_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutExport_template_line_itemsInput, StatusUncheckedCreateWithoutExport_template_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_template_line_itemsInput
    upsert?: StatusUpsertWithoutExport_template_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutExport_template_line_itemsInput, StatusUpdateWithoutExport_template_line_itemsInput>, StatusUncheckedUpdateWithoutExport_template_line_itemsInput>
  }

  export type ExportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutLine_itemsInput, ExportTemplateUncheckedCreateWithoutLine_itemsInput>
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutLine_itemsInput
    upsert?: ExportTemplateUpsertWithoutLine_itemsInput
    connect?: ExportTemplateWhereUniqueInput
    update?: XOR<XOR<ExportTemplateUpdateToOneWithWhereWithoutLine_itemsInput, ExportTemplateUpdateWithoutLine_itemsInput>, ExportTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type FieldTypeUpdateOneWithoutExportTemplateLineItemNestedInput = {
    create?: XOR<FieldTypeCreateWithoutExportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutExportTemplateLineItemInput>
    connectOrCreate?: FieldTypeCreateOrConnectWithoutExportTemplateLineItemInput
    upsert?: FieldTypeUpsertWithoutExportTemplateLineItemInput
    disconnect?: FieldTypeWhereInput | boolean
    delete?: FieldTypeWhereInput | boolean
    connect?: FieldTypeWhereUniqueInput
    update?: XOR<XOR<FieldTypeUpdateToOneWithWhereWithoutExportTemplateLineItemInput, FieldTypeUpdateWithoutExportTemplateLineItemInput>, FieldTypeUncheckedUpdateWithoutExportTemplateLineItemInput>
  }

  export type StatusCreateNestedOneWithoutExport_template_queriesInput = {
    create?: XOR<StatusCreateWithoutExport_template_queriesInput, StatusUncheckedCreateWithoutExport_template_queriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_template_queriesInput
    connect?: StatusWhereUniqueInput
  }

  export type ExportTemplateCreateNestedOneWithoutQueriesInput = {
    create?: XOR<ExportTemplateCreateWithoutQueriesInput, ExportTemplateUncheckedCreateWithoutQueriesInput>
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutQueriesInput
    connect?: ExportTemplateWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutExport_template_queriesNestedInput = {
    create?: XOR<StatusCreateWithoutExport_template_queriesInput, StatusUncheckedCreateWithoutExport_template_queriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutExport_template_queriesInput
    upsert?: StatusUpsertWithoutExport_template_queriesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutExport_template_queriesInput, StatusUpdateWithoutExport_template_queriesInput>, StatusUncheckedUpdateWithoutExport_template_queriesInput>
  }

  export type ExportTemplateUpdateOneRequiredWithoutQueriesNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutQueriesInput, ExportTemplateUncheckedCreateWithoutQueriesInput>
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutQueriesInput
    upsert?: ExportTemplateUpsertWithoutQueriesInput
    connect?: ExportTemplateWhereUniqueInput
    update?: XOR<XOR<ExportTemplateUpdateToOneWithWhereWithoutQueriesInput, ExportTemplateUpdateWithoutQueriesInput>, ExportTemplateUncheckedUpdateWithoutQueriesInput>
  }

  export type StatusCreateNestedOneWithoutStatus_listInput = {
    create?: XOR<StatusCreateWithoutStatus_listInput, StatusUncheckedCreateWithoutStatus_listInput>
    connectOrCreate?: StatusCreateOrConnectWithoutStatus_listInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusCreateNestedManyWithoutStatusInput = {
    create?: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput> | StatusCreateWithoutStatusInput[] | StatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: StatusCreateOrConnectWithoutStatusInput | StatusCreateOrConnectWithoutStatusInput[]
    createMany?: StatusCreateManyStatusInputEnvelope
    connect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
  }

  export type ShipmentImagesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput> | ShipmentImagesCreateWithoutStatusInput[] | ShipmentImagesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentImagesCreateOrConnectWithoutStatusInput | ShipmentImagesCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentImagesCreateManyStatusInputEnvelope
    connect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
  }

  export type UserCreateNestedManyWithoutStatusInput = {
    create?: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput> | UserCreateWithoutStatusInput[] | UserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserCreateOrConnectWithoutStatusInput | UserCreateOrConnectWithoutStatusInput[]
    createMany?: UserCreateManyStatusInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type RequestLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput> | RequestLogCreateWithoutStatusInput[] | RequestLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutStatusInput | RequestLogCreateOrConnectWithoutStatusInput[]
    createMany?: RequestLogCreateManyStatusInputEnvelope
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
  }

  export type PermissionsCreateNestedManyWithoutStatusInput = {
    create?: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput> | PermissionsCreateWithoutStatusInput[] | PermissionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutStatusInput | PermissionsCreateOrConnectWithoutStatusInput[]
    createMany?: PermissionsCreateManyStatusInputEnvelope
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
  }

  export type RoleCreateNestedManyWithoutStatusInput = {
    create?: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput> | RoleCreateWithoutStatusInput[] | RoleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutStatusInput | RoleCreateOrConnectWithoutStatusInput[]
    createMany?: RoleCreateManyStatusInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type LanguageCreateNestedManyWithoutStatusInput = {
    create?: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput> | LanguageCreateWithoutStatusInput[] | LanguageUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutStatusInput | LanguageCreateOrConnectWithoutStatusInput[]
    createMany?: LanguageCreateManyStatusInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageContentCreateNestedManyWithoutStatusInput = {
    create?: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput> | LanguageContentCreateWithoutStatusInput[] | LanguageContentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutStatusInput | LanguageContentCreateOrConnectWithoutStatusInput[]
    createMany?: LanguageContentCreateManyStatusInputEnvelope
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
  }

  export type MenuItemsCreateNestedManyWithoutStatusInput = {
    create?: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput> | MenuItemsCreateWithoutStatusInput[] | MenuItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutStatusInput | MenuItemsCreateOrConnectWithoutStatusInput[]
    createMany?: MenuItemsCreateManyStatusInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenusCreateNestedManyWithoutStatusInput = {
    create?: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput> | MenusCreateWithoutStatusInput[] | MenusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutStatusInput | MenusCreateOrConnectWithoutStatusInput[]
    createMany?: MenusCreateManyStatusInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MasterEntityCreateNestedManyWithoutStatusInput = {
    create?: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput> | MasterEntityCreateWithoutStatusInput[] | MasterEntityUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutStatusInput | MasterEntityCreateOrConnectWithoutStatusInput[]
    createMany?: MasterEntityCreateManyStatusInputEnvelope
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
  }

  export type MasterEntityLineItemCreateNestedManyWithoutStatusInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput> | MasterEntityLineItemCreateWithoutStatusInput[] | MasterEntityLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutStatusInput | MasterEntityLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: MasterEntityLineItemCreateManyStatusInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type FieldTypeCreateNestedManyWithoutStatusInput = {
    create?: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput> | FieldTypeCreateWithoutStatusInput[] | FieldTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FieldTypeCreateOrConnectWithoutStatusInput | FieldTypeCreateOrConnectWithoutStatusInput[]
    createMany?: FieldTypeCreateManyStatusInputEnvelope
    connect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
  }

  export type menuTypeCreateNestedManyWithoutStatusInput = {
    create?: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput> | menuTypeCreateWithoutStatusInput[] | menuTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: menuTypeCreateOrConnectWithoutStatusInput | menuTypeCreateOrConnectWithoutStatusInput[]
    createMany?: menuTypeCreateManyStatusInputEnvelope
    connect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
  }

  export type NotificationTemplateProcessCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput> | NotificationTemplateProcessCreateWithoutStatusInput[] | NotificationTemplateProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutStatusInput | NotificationTemplateProcessCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateProcessCreateManyStatusInputEnvelope
    connect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
  }

  export type NotificationTemplateTagCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput> | NotificationTemplateTagCreateWithoutStatusInput[] | NotificationTemplateTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutStatusInput | NotificationTemplateTagCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateTagCreateManyStatusInputEnvelope
    connect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
  }

  export type NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput> | NotificationTemplateRecipientTagCreateWithoutStatusInput[] | NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput | NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateRecipientTagCreateManyStatusInputEnvelope
    connect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
  }

  export type NotificationTemplateCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput> | NotificationTemplateCreateWithoutStatusInput[] | NotificationTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutStatusInput | NotificationTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateCreateManyStatusInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationProcessJobCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput> | NotificationProcessJobCreateWithoutStatusInput[] | NotificationProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutStatusInput | NotificationProcessJobCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationProcessJobCreateManyStatusInputEnvelope
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
  }

  export type NotificationJobCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput> | NotificationJobCreateWithoutStatusInput[] | NotificationJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutStatusInput | NotificationJobCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationJobCreateManyStatusInputEnvelope
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
  }

  export type ImportTemplateCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput> | ImportTemplateCreateWithoutStatusInput[] | ImportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutStatusInput | ImportTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateCreateManyStatusInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateLineItemCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput> | ImportTemplateLineItemCreateWithoutStatusInput[] | ImportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutStatusInput | ImportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateLineItemCreateManyStatusInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ImportTemplateQueriesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput> | ImportTemplateQueriesCreateWithoutStatusInput[] | ImportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutStatusInput | ImportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateQueriesCreateManyStatusInputEnvelope
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
  }

  export type ExportTemplateCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput> | ExportTemplateCreateWithoutStatusInput[] | ExportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutStatusInput | ExportTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateCreateManyStatusInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateLineItemCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput> | ExportTemplateLineItemCreateWithoutStatusInput[] | ExportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutStatusInput | ExportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateLineItemCreateManyStatusInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateQueriesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput> | ExportTemplateQueriesCreateWithoutStatusInput[] | ExportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutStatusInput | ExportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateQueriesCreateManyStatusInputEnvelope
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
  }

  export type DesignationCreateNestedManyWithoutStatusInput = {
    create?: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput> | DesignationCreateWithoutStatusInput[] | DesignationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutStatusInput | DesignationCreateOrConnectWithoutStatusInput[]
    createMany?: DesignationCreateManyStatusInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DepartmentCreateNestedManyWithoutStatusInput = {
    create?: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput> | DepartmentCreateWithoutStatusInput[] | DepartmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutStatusInput | DepartmentCreateOrConnectWithoutStatusInput[]
    createMany?: DepartmentCreateManyStatusInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type AuditLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput> | AuditLogCreateWithoutStatusInput[] | AuditLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutStatusInput | AuditLogCreateOrConnectWithoutStatusInput[]
    createMany?: AuditLogCreateManyStatusInputEnvelope
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
  }

  export type FinancialYearCreateNestedManyWithoutStatusInput = {
    create?: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput> | FinancialYearCreateWithoutStatusInput[] | FinancialYearUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutStatusInput | FinancialYearCreateOrConnectWithoutStatusInput[]
    createMany?: FinancialYearCreateManyStatusInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type DocumentSequenceCreateNestedManyWithoutStatusInput = {
    create?: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput> | DocumentSequenceCreateWithoutStatusInput[] | DocumentSequenceUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutStatusInput | DocumentSequenceCreateOrConnectWithoutStatusInput[]
    createMany?: DocumentSequenceCreateManyStatusInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type FileUploadLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput> | FileUploadLogCreateWithoutStatusInput[] | FileUploadLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FileUploadLogCreateOrConnectWithoutStatusInput | FileUploadLogCreateOrConnectWithoutStatusInput[]
    createMany?: FileUploadLogCreateManyStatusInputEnvelope
    connect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
  }

  export type DeviceRegistrationCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput> | DeviceRegistrationCreateWithoutStatusInput[] | DeviceRegistrationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutStatusInput | DeviceRegistrationCreateOrConnectWithoutStatusInput[]
    createMany?: DeviceRegistrationCreateManyStatusInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type ImportJobCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput> | ImportJobCreateWithoutStatusInput[] | ImportJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutStatusInput | ImportJobCreateOrConnectWithoutStatusInput[]
    createMany?: ImportJobCreateManyStatusInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobLineItemCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput> | ImportJobLineItemCreateWithoutStatusInput[] | ImportJobLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutStatusInput | ImportJobLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ImportJobLineItemCreateManyStatusInputEnvelope
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
  }

  export type PoliciesCreateNestedManyWithoutStatusInput = {
    create?: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput> | PoliciesCreateWithoutStatusInput[] | PoliciesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutStatusInput | PoliciesCreateOrConnectWithoutStatusInput[]
    createMany?: PoliciesCreateManyStatusInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type AppversionsCreateNestedManyWithoutStatusInput = {
    create?: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput> | AppversionsCreateWithoutStatusInput[] | AppversionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutStatusInput | AppversionsCreateOrConnectWithoutStatusInput[]
    createMany?: AppversionsCreateManyStatusInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type ApprovalWorkflowCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput> | ApprovalWorkflowCreateWithoutStatusInput[] | ApprovalWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutStatusInput | ApprovalWorkflowCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
  }

  export type ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput> | ApprovalWorkflowApproverTagCreateWithoutStatusInput[] | ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput | ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowApproverTagCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput> | ApprovalWorkflowAssignmentCreateWithoutStatusInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalProcessJobCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput> | ApprovalProcessJobCreateWithoutStatusInput[] | ApprovalProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobCreateOrConnectWithoutStatusInput | ApprovalProcessJobCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowUserCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
  }

  export type DelegationCreateNestedManyWithoutStatusInput = {
    create?: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput> | DelegationCreateWithoutStatusInput[] | DelegationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DelegationCreateOrConnectWithoutStatusInput | DelegationCreateOrConnectWithoutStatusInput[]
    createMany?: DelegationCreateManyStatusInputEnvelope
    connect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
  }

  export type AboutLCPCreateNestedManyWithoutStatusInput = {
    create?: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput> | AboutLCPCreateWithoutStatusInput[] | AboutLCPUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AboutLCPCreateOrConnectWithoutStatusInput | AboutLCPCreateOrConnectWithoutStatusInput[]
    createMany?: AboutLCPCreateManyStatusInputEnvelope
    connect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
  }

  export type SchemaChunkCreateNestedManyWithoutStatusInput = {
    create?: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput> | SchemaChunkCreateWithoutStatusInput[] | SchemaChunkUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: SchemaChunkCreateOrConnectWithoutStatusInput | SchemaChunkCreateOrConnectWithoutStatusInput[]
    createMany?: SchemaChunkCreateManyStatusInputEnvelope
    connect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
  }

  export type OpenaiUsageLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput> | OpenaiUsageLogCreateWithoutStatusInput[] | OpenaiUsageLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: OpenaiUsageLogCreateOrConnectWithoutStatusInput | OpenaiUsageLogCreateOrConnectWithoutStatusInput[]
    createMany?: OpenaiUsageLogCreateManyStatusInputEnvelope
    connect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
  }

  export type EmbeddingVectorLogsCreateNestedManyWithoutStatusInput = {
    create?: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput> | EmbeddingVectorLogsCreateWithoutStatusInput[] | EmbeddingVectorLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: EmbeddingVectorLogsCreateOrConnectWithoutStatusInput | EmbeddingVectorLogsCreateOrConnectWithoutStatusInput[]
    createMany?: EmbeddingVectorLogsCreateManyStatusInputEnvelope
    connect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
  }

  export type QueryExecutionLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput> | QueryExecutionLogCreateWithoutStatusInput[] | QueryExecutionLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: QueryExecutionLogCreateOrConnectWithoutStatusInput | QueryExecutionLogCreateOrConnectWithoutStatusInput[]
    createMany?: QueryExecutionLogCreateManyStatusInputEnvelope
    connect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
  }

  export type ChildProcessCreateNestedManyWithoutStatusInput = {
    create?: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput> | ChildProcessCreateWithoutStatusInput[] | ChildProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessCreateOrConnectWithoutStatusInput | ChildProcessCreateOrConnectWithoutStatusInput[]
    createMany?: ChildProcessCreateManyStatusInputEnvelope
    connect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
  }

  export type ChildProcessLogCreateNestedManyWithoutStatusInput = {
    create?: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput> | ChildProcessLogCreateWithoutStatusInput[] | ChildProcessLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutStatusInput | ChildProcessLogCreateOrConnectWithoutStatusInput[]
    createMany?: ChildProcessLogCreateManyStatusInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type CarouselTemplateCreateNestedManyWithoutStatusInput = {
    create?: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput> | CarouselTemplateCreateWithoutStatusInput[] | CarouselTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutStatusInput | CarouselTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: CarouselTemplateCreateManyStatusInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateLineItemCreateNestedManyWithoutStatusInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput> | CarouselTemplateLineItemCreateWithoutStatusInput[] | CarouselTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutStatusInput | CarouselTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: CarouselTemplateLineItemCreateManyStatusInputEnvelope
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
  }

  export type ScheduledJobLogsCreateNestedManyWithoutStatusInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput> | ScheduledJobLogsCreateWithoutStatusInput[] | ScheduledJobLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutStatusInput | ScheduledJobLogsCreateOrConnectWithoutStatusInput[]
    createMany?: ScheduledJobLogsCreateManyStatusInputEnvelope
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
  }

  export type ScheduledJobCreateNestedManyWithoutStatusInput = {
    create?: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput> | ScheduledJobCreateWithoutStatusInput[] | ScheduledJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutStatusInput | ScheduledJobCreateOrConnectWithoutStatusInput[]
    createMany?: ScheduledJobCreateManyStatusInputEnvelope
    connect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
  }

  export type CategoriesCreateNestedManyWithoutStatusInput = {
    create?: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput> | CategoriesCreateWithoutStatusInput[] | CategoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutStatusInput | CategoriesCreateOrConnectWithoutStatusInput[]
    createMany?: CategoriesCreateManyStatusInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type ThemeAttributesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput> | ThemeAttributesCreateWithoutStatusInput[] | ThemeAttributesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutStatusInput | ThemeAttributesCreateOrConnectWithoutStatusInput[]
    createMany?: ThemeAttributesCreateManyStatusInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput> | ThemesCreateWithoutStatusInput[] | ThemesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutStatusInput | ThemesCreateOrConnectWithoutStatusInput[]
    createMany?: ThemesCreateManyStatusInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemeLineItemsCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput> | ThemeLineItemsCreateWithoutStatusInput[] | ThemeLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutStatusInput | ThemeLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: ThemeLineItemsCreateManyStatusInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type BarcodeTemplatesCreateNestedManyWithoutStatusInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput> | BarcodeTemplatesCreateWithoutStatusInput[] | BarcodeTemplatesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutStatusInput | BarcodeTemplatesCreateOrConnectWithoutStatusInput[]
    createMany?: BarcodeTemplatesCreateManyStatusInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type UserLoginHistoryCreateNestedManyWithoutStatusInput = {
    create?: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput> | UserLoginHistoryCreateWithoutStatusInput[] | UserLoginHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutStatusInput | UserLoginHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: UserLoginHistoryCreateManyStatusInputEnvelope
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
  }

  export type DirectImportDetailsCreateNestedManyWithoutStatusInput = {
    create?: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput> | DirectImportDetailsCreateWithoutStatusInput[] | DirectImportDetailsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutStatusInput | DirectImportDetailsCreateOrConnectWithoutStatusInput[]
    createMany?: DirectImportDetailsCreateManyStatusInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DeliveryNotesCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput> | DeliveryNotesCreateWithoutStatusInput[] | DeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutStatusInput | DeliveryNotesCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNotesCreateManyStatusInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput> | DeliveryNoteLineItemsCreateWithoutStatusInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput | DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNoteLineItemsCreateManyStatusInputEnvelope
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
  }

  export type CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput> | CustomerDeliveryAddressesCreateWithoutStatusInput[] | CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput | CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput[]
    createMany?: CustomerDeliveryAddressesCreateManyStatusInputEnvelope
    connect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
  }

  export type ShipmentsCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput> | ShipmentsCreateWithoutStatusInput[] | ShipmentsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutStatusInput | ShipmentsCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentsCreateManyStatusInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type ShipmentCustomersCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput> | ShipmentCustomersCreateWithoutStatusInput[] | ShipmentCustomersUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutStatusInput | ShipmentCustomersCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentCustomersCreateManyStatusInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput> | ShipmentsLocationCreateWithoutStatusInput[] | ShipmentsLocationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutStatusInput | ShipmentsLocationCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentsLocationCreateManyStatusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput> | ShipmentDeliveryNotesCreateWithoutStatusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput | ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyStatusInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type VehiclesCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput> | VehiclesCreateWithoutStatusInput[] | VehiclesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesCreateOrConnectWithoutStatusInput | VehiclesCreateOrConnectWithoutStatusInput[]
    createMany?: VehiclesCreateManyStatusInputEnvelope
    connect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
  }

  export type VehiclesGpsDataCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput> | VehiclesGpsDataCreateWithoutStatusInput[] | VehiclesGpsDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutStatusInput | VehiclesGpsDataCreateOrConnectWithoutStatusInput[]
    createMany?: VehiclesGpsDataCreateManyStatusInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type GeoFencesCreateNestedManyWithoutStatusInput = {
    create?: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput> | GeoFencesCreateWithoutStatusInput[] | GeoFencesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFencesCreateOrConnectWithoutStatusInput | GeoFencesCreateOrConnectWithoutStatusInput[]
    createMany?: GeoFencesCreateManyStatusInputEnvelope
    connect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
  }

  export type GeoFenceTrackingCreateNestedManyWithoutStatusInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput> | GeoFenceTrackingCreateWithoutStatusInput[] | GeoFenceTrackingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutStatusInput | GeoFenceTrackingCreateOrConnectWithoutStatusInput[]
    createMany?: GeoFenceTrackingCreateManyStatusInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput> | CustomerGeoFenceMappingCreateWithoutStatusInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput | CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput[]
    createMany?: CustomerGeoFenceMappingCreateManyStatusInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type DeliveryNoteStatusCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput> | DeliveryNoteStatusCreateWithoutStatusInput[] | DeliveryNoteStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutStatusInput | DeliveryNoteStatusCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNoteStatusCreateManyStatusInputEnvelope
    connect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
  }

  export type ErpLogsCreateNestedManyWithoutStatusInput = {
    create?: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput> | ErpLogsCreateWithoutStatusInput[] | ErpLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsCreateOrConnectWithoutStatusInput | ErpLogsCreateOrConnectWithoutStatusInput[]
    createMany?: ErpLogsCreateManyStatusInputEnvelope
    connect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
  }

  export type ErpLogsLineItemsCreateNestedManyWithoutStatusInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput> | ErpLogsLineItemsCreateWithoutStatusInput[] | ErpLogsLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutStatusInput | ErpLogsLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: ErpLogsLineItemsCreateManyStatusInputEnvelope
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
  }

  export type VehicleUserMappingCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput> | VehicleUserMappingCreateWithoutStatusInput[] | VehicleUserMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutStatusInput | VehicleUserMappingCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleUserMappingCreateManyStatusInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput> | VehicleGeofenceHistoryCreateWithoutStatusInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput | VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleGeofenceHistoryCreateManyStatusInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type TempSessionDataCreateNestedManyWithoutStatusInput = {
    create?: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput> | TempSessionDataCreateWithoutStatusInput[] | TempSessionDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TempSessionDataCreateOrConnectWithoutStatusInput | TempSessionDataCreateOrConnectWithoutStatusInput[]
    createMany?: TempSessionDataCreateManyStatusInputEnvelope
    connect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
  }

  export type ShipmentStatusCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput> | ShipmentStatusCreateWithoutStatusInput[] | ShipmentStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutStatusInput | ShipmentStatusCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentStatusCreateManyStatusInputEnvelope
    connect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
  }

  export type ShipmentStatusHistoryCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput> | ShipmentStatusHistoryCreateWithoutStatusInput[] | ShipmentStatusHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusHistoryCreateOrConnectWithoutStatusInput | ShipmentStatusHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentStatusHistoryCreateManyStatusInputEnvelope
    connect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
  }

  export type PodStatusCreateNestedManyWithoutStatusInput = {
    create?: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput> | PodStatusCreateWithoutStatusInput[] | PodStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PodStatusCreateOrConnectWithoutStatusInput | PodStatusCreateOrConnectWithoutStatusInput[]
    createMany?: PodStatusCreateManyStatusInputEnvelope
    connect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
  }

  export type VehicleTripHistoriesCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput> | VehicleTripHistoriesCreateWithoutStatusInput[] | VehicleTripHistoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutStatusInput | VehicleTripHistoriesCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleTripHistoriesCreateManyStatusInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput> | ShipmentLocationContactInfoHistoryCreateWithoutStatusInput[] | ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput | ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentLocationContactInfoHistoryCreateManyStatusInputEnvelope
    connect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
  }

  export type TreeBuilderExampleCreateNestedManyWithoutStatusInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput> | TreeBuilderExampleCreateWithoutStatusInput[] | TreeBuilderExampleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutStatusInput | TreeBuilderExampleCreateOrConnectWithoutStatusInput[]
    createMany?: TreeBuilderExampleCreateManyStatusInputEnvelope
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
  }

  export type userSearchConfigurationCreateNestedManyWithoutStatusInput = {
    create?: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput> | userSearchConfigurationCreateWithoutStatusInput[] | userSearchConfigurationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: userSearchConfigurationCreateOrConnectWithoutStatusInput | userSearchConfigurationCreateOrConnectWithoutStatusInput[]
    createMany?: userSearchConfigurationCreateManyStatusInputEnvelope
    connect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
  }

  export type StatusUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput> | StatusCreateWithoutStatusInput[] | StatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: StatusCreateOrConnectWithoutStatusInput | StatusCreateOrConnectWithoutStatusInput[]
    createMany?: StatusCreateManyStatusInputEnvelope
    connect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
  }

  export type ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput> | ShipmentImagesCreateWithoutStatusInput[] | ShipmentImagesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentImagesCreateOrConnectWithoutStatusInput | ShipmentImagesCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentImagesCreateManyStatusInputEnvelope
    connect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
  }

  export type UserUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput> | UserCreateWithoutStatusInput[] | UserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserCreateOrConnectWithoutStatusInput | UserCreateOrConnectWithoutStatusInput[]
    createMany?: UserCreateManyStatusInputEnvelope
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
  }

  export type RequestLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput> | RequestLogCreateWithoutStatusInput[] | RequestLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutStatusInput | RequestLogCreateOrConnectWithoutStatusInput[]
    createMany?: RequestLogCreateManyStatusInputEnvelope
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
  }

  export type PermissionsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput> | PermissionsCreateWithoutStatusInput[] | PermissionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutStatusInput | PermissionsCreateOrConnectWithoutStatusInput[]
    createMany?: PermissionsCreateManyStatusInputEnvelope
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
  }

  export type RoleUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput> | RoleCreateWithoutStatusInput[] | RoleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutStatusInput | RoleCreateOrConnectWithoutStatusInput[]
    createMany?: RoleCreateManyStatusInputEnvelope
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
  }

  export type LanguageUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput> | LanguageCreateWithoutStatusInput[] | LanguageUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutStatusInput | LanguageCreateOrConnectWithoutStatusInput[]
    createMany?: LanguageCreateManyStatusInputEnvelope
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
  }

  export type LanguageContentUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput> | LanguageContentCreateWithoutStatusInput[] | LanguageContentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutStatusInput | LanguageContentCreateOrConnectWithoutStatusInput[]
    createMany?: LanguageContentCreateManyStatusInputEnvelope
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
  }

  export type MenuItemsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput> | MenuItemsCreateWithoutStatusInput[] | MenuItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutStatusInput | MenuItemsCreateOrConnectWithoutStatusInput[]
    createMany?: MenuItemsCreateManyStatusInputEnvelope
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
  }

  export type MenusUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput> | MenusCreateWithoutStatusInput[] | MenusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutStatusInput | MenusCreateOrConnectWithoutStatusInput[]
    createMany?: MenusCreateManyStatusInputEnvelope
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
  }

  export type MasterEntityUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput> | MasterEntityCreateWithoutStatusInput[] | MasterEntityUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutStatusInput | MasterEntityCreateOrConnectWithoutStatusInput[]
    createMany?: MasterEntityCreateManyStatusInputEnvelope
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
  }

  export type MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput> | MasterEntityLineItemCreateWithoutStatusInput[] | MasterEntityLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutStatusInput | MasterEntityLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: MasterEntityLineItemCreateManyStatusInputEnvelope
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
  }

  export type FieldTypeUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput> | FieldTypeCreateWithoutStatusInput[] | FieldTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FieldTypeCreateOrConnectWithoutStatusInput | FieldTypeCreateOrConnectWithoutStatusInput[]
    createMany?: FieldTypeCreateManyStatusInputEnvelope
    connect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
  }

  export type menuTypeUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput> | menuTypeCreateWithoutStatusInput[] | menuTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: menuTypeCreateOrConnectWithoutStatusInput | menuTypeCreateOrConnectWithoutStatusInput[]
    createMany?: menuTypeCreateManyStatusInputEnvelope
    connect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
  }

  export type NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput> | NotificationTemplateProcessCreateWithoutStatusInput[] | NotificationTemplateProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutStatusInput | NotificationTemplateProcessCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateProcessCreateManyStatusInputEnvelope
    connect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
  }

  export type NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput> | NotificationTemplateTagCreateWithoutStatusInput[] | NotificationTemplateTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutStatusInput | NotificationTemplateTagCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateTagCreateManyStatusInputEnvelope
    connect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
  }

  export type NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput> | NotificationTemplateRecipientTagCreateWithoutStatusInput[] | NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput | NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateRecipientTagCreateManyStatusInputEnvelope
    connect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
  }

  export type NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput> | NotificationTemplateCreateWithoutStatusInput[] | NotificationTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutStatusInput | NotificationTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationTemplateCreateManyStatusInputEnvelope
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
  }

  export type NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput> | NotificationProcessJobCreateWithoutStatusInput[] | NotificationProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutStatusInput | NotificationProcessJobCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationProcessJobCreateManyStatusInputEnvelope
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
  }

  export type NotificationJobUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput> | NotificationJobCreateWithoutStatusInput[] | NotificationJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutStatusInput | NotificationJobCreateOrConnectWithoutStatusInput[]
    createMany?: NotificationJobCreateManyStatusInputEnvelope
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
  }

  export type ImportTemplateUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput> | ImportTemplateCreateWithoutStatusInput[] | ImportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutStatusInput | ImportTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateCreateManyStatusInputEnvelope
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
  }

  export type ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput> | ImportTemplateLineItemCreateWithoutStatusInput[] | ImportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutStatusInput | ImportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateLineItemCreateManyStatusInputEnvelope
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
  }

  export type ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput> | ImportTemplateQueriesCreateWithoutStatusInput[] | ImportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutStatusInput | ImportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    createMany?: ImportTemplateQueriesCreateManyStatusInputEnvelope
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
  }

  export type ExportTemplateUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput> | ExportTemplateCreateWithoutStatusInput[] | ExportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutStatusInput | ExportTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateCreateManyStatusInputEnvelope
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
  }

  export type ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput> | ExportTemplateLineItemCreateWithoutStatusInput[] | ExportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutStatusInput | ExportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateLineItemCreateManyStatusInputEnvelope
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
  }

  export type ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput> | ExportTemplateQueriesCreateWithoutStatusInput[] | ExportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutStatusInput | ExportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    createMany?: ExportTemplateQueriesCreateManyStatusInputEnvelope
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
  }

  export type DesignationUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput> | DesignationCreateWithoutStatusInput[] | DesignationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutStatusInput | DesignationCreateOrConnectWithoutStatusInput[]
    createMany?: DesignationCreateManyStatusInputEnvelope
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
  }

  export type DepartmentUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput> | DepartmentCreateWithoutStatusInput[] | DepartmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutStatusInput | DepartmentCreateOrConnectWithoutStatusInput[]
    createMany?: DepartmentCreateManyStatusInputEnvelope
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
  }

  export type AuditLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput> | AuditLogCreateWithoutStatusInput[] | AuditLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutStatusInput | AuditLogCreateOrConnectWithoutStatusInput[]
    createMany?: AuditLogCreateManyStatusInputEnvelope
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
  }

  export type FinancialYearUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput> | FinancialYearCreateWithoutStatusInput[] | FinancialYearUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutStatusInput | FinancialYearCreateOrConnectWithoutStatusInput[]
    createMany?: FinancialYearCreateManyStatusInputEnvelope
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
  }

  export type DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput> | DocumentSequenceCreateWithoutStatusInput[] | DocumentSequenceUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutStatusInput | DocumentSequenceCreateOrConnectWithoutStatusInput[]
    createMany?: DocumentSequenceCreateManyStatusInputEnvelope
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
  }

  export type FileUploadLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput> | FileUploadLogCreateWithoutStatusInput[] | FileUploadLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FileUploadLogCreateOrConnectWithoutStatusInput | FileUploadLogCreateOrConnectWithoutStatusInput[]
    createMany?: FileUploadLogCreateManyStatusInputEnvelope
    connect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
  }

  export type DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput> | DeviceRegistrationCreateWithoutStatusInput[] | DeviceRegistrationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutStatusInput | DeviceRegistrationCreateOrConnectWithoutStatusInput[]
    createMany?: DeviceRegistrationCreateManyStatusInputEnvelope
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
  }

  export type ImportJobUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput> | ImportJobCreateWithoutStatusInput[] | ImportJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutStatusInput | ImportJobCreateOrConnectWithoutStatusInput[]
    createMany?: ImportJobCreateManyStatusInputEnvelope
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
  }

  export type ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput> | ImportJobLineItemCreateWithoutStatusInput[] | ImportJobLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutStatusInput | ImportJobLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: ImportJobLineItemCreateManyStatusInputEnvelope
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
  }

  export type PoliciesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput> | PoliciesCreateWithoutStatusInput[] | PoliciesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutStatusInput | PoliciesCreateOrConnectWithoutStatusInput[]
    createMany?: PoliciesCreateManyStatusInputEnvelope
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
  }

  export type AppversionsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput> | AppversionsCreateWithoutStatusInput[] | AppversionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutStatusInput | AppversionsCreateOrConnectWithoutStatusInput[]
    createMany?: AppversionsCreateManyStatusInputEnvelope
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
  }

  export type ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput> | ApprovalWorkflowCreateWithoutStatusInput[] | ApprovalWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutStatusInput | ApprovalWorkflowCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
  }

  export type ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput> | ApprovalWorkflowApproverTagCreateWithoutStatusInput[] | ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput | ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowApproverTagCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput> | ApprovalWorkflowAssignmentCreateWithoutStatusInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyStatusInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput> | ApprovalProcessJobCreateWithoutStatusInput[] | ApprovalProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobCreateOrConnectWithoutStatusInput | ApprovalProcessJobCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowUserCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyStatusInputEnvelope
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
  }

  export type DelegationUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput> | DelegationCreateWithoutStatusInput[] | DelegationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DelegationCreateOrConnectWithoutStatusInput | DelegationCreateOrConnectWithoutStatusInput[]
    createMany?: DelegationCreateManyStatusInputEnvelope
    connect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
  }

  export type AboutLCPUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput> | AboutLCPCreateWithoutStatusInput[] | AboutLCPUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AboutLCPCreateOrConnectWithoutStatusInput | AboutLCPCreateOrConnectWithoutStatusInput[]
    createMany?: AboutLCPCreateManyStatusInputEnvelope
    connect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
  }

  export type SchemaChunkUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput> | SchemaChunkCreateWithoutStatusInput[] | SchemaChunkUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: SchemaChunkCreateOrConnectWithoutStatusInput | SchemaChunkCreateOrConnectWithoutStatusInput[]
    createMany?: SchemaChunkCreateManyStatusInputEnvelope
    connect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
  }

  export type OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput> | OpenaiUsageLogCreateWithoutStatusInput[] | OpenaiUsageLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: OpenaiUsageLogCreateOrConnectWithoutStatusInput | OpenaiUsageLogCreateOrConnectWithoutStatusInput[]
    createMany?: OpenaiUsageLogCreateManyStatusInputEnvelope
    connect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
  }

  export type EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput> | EmbeddingVectorLogsCreateWithoutStatusInput[] | EmbeddingVectorLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: EmbeddingVectorLogsCreateOrConnectWithoutStatusInput | EmbeddingVectorLogsCreateOrConnectWithoutStatusInput[]
    createMany?: EmbeddingVectorLogsCreateManyStatusInputEnvelope
    connect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
  }

  export type QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput> | QueryExecutionLogCreateWithoutStatusInput[] | QueryExecutionLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: QueryExecutionLogCreateOrConnectWithoutStatusInput | QueryExecutionLogCreateOrConnectWithoutStatusInput[]
    createMany?: QueryExecutionLogCreateManyStatusInputEnvelope
    connect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
  }

  export type ChildProcessUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput> | ChildProcessCreateWithoutStatusInput[] | ChildProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessCreateOrConnectWithoutStatusInput | ChildProcessCreateOrConnectWithoutStatusInput[]
    createMany?: ChildProcessCreateManyStatusInputEnvelope
    connect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
  }

  export type ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput> | ChildProcessLogCreateWithoutStatusInput[] | ChildProcessLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutStatusInput | ChildProcessLogCreateOrConnectWithoutStatusInput[]
    createMany?: ChildProcessLogCreateManyStatusInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput> | CarouselTemplateCreateWithoutStatusInput[] | CarouselTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutStatusInput | CarouselTemplateCreateOrConnectWithoutStatusInput[]
    createMany?: CarouselTemplateCreateManyStatusInputEnvelope
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
  }

  export type CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput> | CarouselTemplateLineItemCreateWithoutStatusInput[] | CarouselTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutStatusInput | CarouselTemplateLineItemCreateOrConnectWithoutStatusInput[]
    createMany?: CarouselTemplateLineItemCreateManyStatusInputEnvelope
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
  }

  export type ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput> | ScheduledJobLogsCreateWithoutStatusInput[] | ScheduledJobLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutStatusInput | ScheduledJobLogsCreateOrConnectWithoutStatusInput[]
    createMany?: ScheduledJobLogsCreateManyStatusInputEnvelope
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
  }

  export type ScheduledJobUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput> | ScheduledJobCreateWithoutStatusInput[] | ScheduledJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutStatusInput | ScheduledJobCreateOrConnectWithoutStatusInput[]
    createMany?: ScheduledJobCreateManyStatusInputEnvelope
    connect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
  }

  export type CategoriesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput> | CategoriesCreateWithoutStatusInput[] | CategoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutStatusInput | CategoriesCreateOrConnectWithoutStatusInput[]
    createMany?: CategoriesCreateManyStatusInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput> | ThemeAttributesCreateWithoutStatusInput[] | ThemeAttributesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutStatusInput | ThemeAttributesCreateOrConnectWithoutStatusInput[]
    createMany?: ThemeAttributesCreateManyStatusInputEnvelope
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
  }

  export type ThemesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput> | ThemesCreateWithoutStatusInput[] | ThemesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutStatusInput | ThemesCreateOrConnectWithoutStatusInput[]
    createMany?: ThemesCreateManyStatusInputEnvelope
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
  }

  export type ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput> | ThemeLineItemsCreateWithoutStatusInput[] | ThemeLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutStatusInput | ThemeLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: ThemeLineItemsCreateManyStatusInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput> | BarcodeTemplatesCreateWithoutStatusInput[] | BarcodeTemplatesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutStatusInput | BarcodeTemplatesCreateOrConnectWithoutStatusInput[]
    createMany?: BarcodeTemplatesCreateManyStatusInputEnvelope
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
  }

  export type UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput> | UserLoginHistoryCreateWithoutStatusInput[] | UserLoginHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutStatusInput | UserLoginHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: UserLoginHistoryCreateManyStatusInputEnvelope
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
  }

  export type DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput> | DirectImportDetailsCreateWithoutStatusInput[] | DirectImportDetailsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutStatusInput | DirectImportDetailsCreateOrConnectWithoutStatusInput[]
    createMany?: DirectImportDetailsCreateManyStatusInputEnvelope
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
  }

  export type DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput> | DeliveryNotesCreateWithoutStatusInput[] | DeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutStatusInput | DeliveryNotesCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNotesCreateManyStatusInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput> | DeliveryNoteLineItemsCreateWithoutStatusInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput | DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNoteLineItemsCreateManyStatusInputEnvelope
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
  }

  export type CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput> | CustomerDeliveryAddressesCreateWithoutStatusInput[] | CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput | CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput[]
    createMany?: CustomerDeliveryAddressesCreateManyStatusInputEnvelope
    connect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
  }

  export type ShipmentsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput> | ShipmentsCreateWithoutStatusInput[] | ShipmentsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutStatusInput | ShipmentsCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentsCreateManyStatusInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput> | ShipmentCustomersCreateWithoutStatusInput[] | ShipmentCustomersUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutStatusInput | ShipmentCustomersCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentCustomersCreateManyStatusInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput> | ShipmentsLocationCreateWithoutStatusInput[] | ShipmentsLocationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutStatusInput | ShipmentsLocationCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentsLocationCreateManyStatusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput> | ShipmentDeliveryNotesCreateWithoutStatusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput | ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyStatusInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type VehiclesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput> | VehiclesCreateWithoutStatusInput[] | VehiclesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesCreateOrConnectWithoutStatusInput | VehiclesCreateOrConnectWithoutStatusInput[]
    createMany?: VehiclesCreateManyStatusInputEnvelope
    connect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
  }

  export type VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput> | VehiclesGpsDataCreateWithoutStatusInput[] | VehiclesGpsDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutStatusInput | VehiclesGpsDataCreateOrConnectWithoutStatusInput[]
    createMany?: VehiclesGpsDataCreateManyStatusInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type GeoFencesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput> | GeoFencesCreateWithoutStatusInput[] | GeoFencesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFencesCreateOrConnectWithoutStatusInput | GeoFencesCreateOrConnectWithoutStatusInput[]
    createMany?: GeoFencesCreateManyStatusInputEnvelope
    connect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
  }

  export type GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput> | GeoFenceTrackingCreateWithoutStatusInput[] | GeoFenceTrackingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutStatusInput | GeoFenceTrackingCreateOrConnectWithoutStatusInput[]
    createMany?: GeoFenceTrackingCreateManyStatusInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput> | CustomerGeoFenceMappingCreateWithoutStatusInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput | CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput[]
    createMany?: CustomerGeoFenceMappingCreateManyStatusInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput> | DeliveryNoteStatusCreateWithoutStatusInput[] | DeliveryNoteStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutStatusInput | DeliveryNoteStatusCreateOrConnectWithoutStatusInput[]
    createMany?: DeliveryNoteStatusCreateManyStatusInputEnvelope
    connect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
  }

  export type ErpLogsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput> | ErpLogsCreateWithoutStatusInput[] | ErpLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsCreateOrConnectWithoutStatusInput | ErpLogsCreateOrConnectWithoutStatusInput[]
    createMany?: ErpLogsCreateManyStatusInputEnvelope
    connect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
  }

  export type ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput> | ErpLogsLineItemsCreateWithoutStatusInput[] | ErpLogsLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutStatusInput | ErpLogsLineItemsCreateOrConnectWithoutStatusInput[]
    createMany?: ErpLogsLineItemsCreateManyStatusInputEnvelope
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
  }

  export type VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput> | VehicleUserMappingCreateWithoutStatusInput[] | VehicleUserMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutStatusInput | VehicleUserMappingCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleUserMappingCreateManyStatusInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput> | VehicleGeofenceHistoryCreateWithoutStatusInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput | VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleGeofenceHistoryCreateManyStatusInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type TempSessionDataUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput> | TempSessionDataCreateWithoutStatusInput[] | TempSessionDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TempSessionDataCreateOrConnectWithoutStatusInput | TempSessionDataCreateOrConnectWithoutStatusInput[]
    createMany?: TempSessionDataCreateManyStatusInputEnvelope
    connect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
  }

  export type ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput> | ShipmentStatusCreateWithoutStatusInput[] | ShipmentStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutStatusInput | ShipmentStatusCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentStatusCreateManyStatusInputEnvelope
    connect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
  }

  export type ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput> | ShipmentStatusHistoryCreateWithoutStatusInput[] | ShipmentStatusHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusHistoryCreateOrConnectWithoutStatusInput | ShipmentStatusHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentStatusHistoryCreateManyStatusInputEnvelope
    connect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
  }

  export type PodStatusUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput> | PodStatusCreateWithoutStatusInput[] | PodStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PodStatusCreateOrConnectWithoutStatusInput | PodStatusCreateOrConnectWithoutStatusInput[]
    createMany?: PodStatusCreateManyStatusInputEnvelope
    connect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
  }

  export type VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput> | VehicleTripHistoriesCreateWithoutStatusInput[] | VehicleTripHistoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutStatusInput | VehicleTripHistoriesCreateOrConnectWithoutStatusInput[]
    createMany?: VehicleTripHistoriesCreateManyStatusInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput> | ShipmentLocationContactInfoHistoryCreateWithoutStatusInput[] | ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput | ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput[]
    createMany?: ShipmentLocationContactInfoHistoryCreateManyStatusInputEnvelope
    connect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
  }

  export type TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput> | TreeBuilderExampleCreateWithoutStatusInput[] | TreeBuilderExampleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutStatusInput | TreeBuilderExampleCreateOrConnectWithoutStatusInput[]
    createMany?: TreeBuilderExampleCreateManyStatusInputEnvelope
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
  }

  export type userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput = {
    create?: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput> | userSearchConfigurationCreateWithoutStatusInput[] | userSearchConfigurationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: userSearchConfigurationCreateOrConnectWithoutStatusInput | userSearchConfigurationCreateOrConnectWithoutStatusInput[]
    createMany?: userSearchConfigurationCreateManyStatusInputEnvelope
    connect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
  }

  export type StatusUpdateOneWithoutStatus_listNestedInput = {
    create?: XOR<StatusCreateWithoutStatus_listInput, StatusUncheckedCreateWithoutStatus_listInput>
    connectOrCreate?: StatusCreateOrConnectWithoutStatus_listInput
    upsert?: StatusUpsertWithoutStatus_listInput
    disconnect?: StatusWhereInput | boolean
    delete?: StatusWhereInput | boolean
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutStatus_listInput, StatusUpdateWithoutStatus_listInput>, StatusUncheckedUpdateWithoutStatus_listInput>
  }

  export type StatusUpdateManyWithoutStatusNestedInput = {
    create?: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput> | StatusCreateWithoutStatusInput[] | StatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: StatusCreateOrConnectWithoutStatusInput | StatusCreateOrConnectWithoutStatusInput[]
    upsert?: StatusUpsertWithWhereUniqueWithoutStatusInput | StatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: StatusCreateManyStatusInputEnvelope
    set?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    disconnect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    delete?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    connect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    update?: StatusUpdateWithWhereUniqueWithoutStatusInput | StatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: StatusUpdateManyWithWhereWithoutStatusInput | StatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: StatusScalarWhereInput | StatusScalarWhereInput[]
  }

  export type ShipmentImagesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput> | ShipmentImagesCreateWithoutStatusInput[] | ShipmentImagesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentImagesCreateOrConnectWithoutStatusInput | ShipmentImagesCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentImagesUpsertWithWhereUniqueWithoutStatusInput | ShipmentImagesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentImagesCreateManyStatusInputEnvelope
    set?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    disconnect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    delete?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    connect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    update?: ShipmentImagesUpdateWithWhereUniqueWithoutStatusInput | ShipmentImagesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentImagesUpdateManyWithWhereWithoutStatusInput | ShipmentImagesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentImagesScalarWhereInput | ShipmentImagesScalarWhereInput[]
  }

  export type UserUpdateManyWithoutStatusNestedInput = {
    create?: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput> | UserCreateWithoutStatusInput[] | UserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserCreateOrConnectWithoutStatusInput | UserCreateOrConnectWithoutStatusInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutStatusInput | UserUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: UserCreateManyStatusInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutStatusInput | UserUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: UserUpdateManyWithWhereWithoutStatusInput | UserUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type RequestLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput> | RequestLogCreateWithoutStatusInput[] | RequestLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutStatusInput | RequestLogCreateOrConnectWithoutStatusInput[]
    upsert?: RequestLogUpsertWithWhereUniqueWithoutStatusInput | RequestLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: RequestLogCreateManyStatusInputEnvelope
    set?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    disconnect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    delete?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    update?: RequestLogUpdateWithWhereUniqueWithoutStatusInput | RequestLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: RequestLogUpdateManyWithWhereWithoutStatusInput | RequestLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
  }

  export type PermissionsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput> | PermissionsCreateWithoutStatusInput[] | PermissionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutStatusInput | PermissionsCreateOrConnectWithoutStatusInput[]
    upsert?: PermissionsUpsertWithWhereUniqueWithoutStatusInput | PermissionsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PermissionsCreateManyStatusInputEnvelope
    set?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    disconnect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    delete?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    update?: PermissionsUpdateWithWhereUniqueWithoutStatusInput | PermissionsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PermissionsUpdateManyWithWhereWithoutStatusInput | PermissionsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
  }

  export type RoleUpdateManyWithoutStatusNestedInput = {
    create?: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput> | RoleCreateWithoutStatusInput[] | RoleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutStatusInput | RoleCreateOrConnectWithoutStatusInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutStatusInput | RoleUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: RoleCreateManyStatusInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutStatusInput | RoleUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutStatusInput | RoleUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type LanguageUpdateManyWithoutStatusNestedInput = {
    create?: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput> | LanguageCreateWithoutStatusInput[] | LanguageUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutStatusInput | LanguageCreateOrConnectWithoutStatusInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutStatusInput | LanguageUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: LanguageCreateManyStatusInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutStatusInput | LanguageUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutStatusInput | LanguageUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageContentUpdateManyWithoutStatusNestedInput = {
    create?: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput> | LanguageContentCreateWithoutStatusInput[] | LanguageContentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutStatusInput | LanguageContentCreateOrConnectWithoutStatusInput[]
    upsert?: LanguageContentUpsertWithWhereUniqueWithoutStatusInput | LanguageContentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: LanguageContentCreateManyStatusInputEnvelope
    set?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    disconnect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    delete?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    update?: LanguageContentUpdateWithWhereUniqueWithoutStatusInput | LanguageContentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: LanguageContentUpdateManyWithWhereWithoutStatusInput | LanguageContentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
  }

  export type MenuItemsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput> | MenuItemsCreateWithoutStatusInput[] | MenuItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutStatusInput | MenuItemsCreateOrConnectWithoutStatusInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutStatusInput | MenuItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MenuItemsCreateManyStatusInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutStatusInput | MenuItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutStatusInput | MenuItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenusUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput> | MenusCreateWithoutStatusInput[] | MenusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutStatusInput | MenusCreateOrConnectWithoutStatusInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutStatusInput | MenusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MenusCreateManyStatusInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutStatusInput | MenusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutStatusInput | MenusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MasterEntityUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput> | MasterEntityCreateWithoutStatusInput[] | MasterEntityUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutStatusInput | MasterEntityCreateOrConnectWithoutStatusInput[]
    upsert?: MasterEntityUpsertWithWhereUniqueWithoutStatusInput | MasterEntityUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MasterEntityCreateManyStatusInputEnvelope
    set?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    disconnect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    delete?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    update?: MasterEntityUpdateWithWhereUniqueWithoutStatusInput | MasterEntityUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MasterEntityUpdateManyWithWhereWithoutStatusInput | MasterEntityUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
  }

  export type MasterEntityLineItemUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput> | MasterEntityLineItemCreateWithoutStatusInput[] | MasterEntityLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutStatusInput | MasterEntityLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutStatusInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MasterEntityLineItemCreateManyStatusInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutStatusInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutStatusInput | MasterEntityLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type FieldTypeUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput> | FieldTypeCreateWithoutStatusInput[] | FieldTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FieldTypeCreateOrConnectWithoutStatusInput | FieldTypeCreateOrConnectWithoutStatusInput[]
    upsert?: FieldTypeUpsertWithWhereUniqueWithoutStatusInput | FieldTypeUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FieldTypeCreateManyStatusInputEnvelope
    set?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    disconnect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    delete?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    connect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    update?: FieldTypeUpdateWithWhereUniqueWithoutStatusInput | FieldTypeUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FieldTypeUpdateManyWithWhereWithoutStatusInput | FieldTypeUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FieldTypeScalarWhereInput | FieldTypeScalarWhereInput[]
  }

  export type menuTypeUpdateManyWithoutStatusNestedInput = {
    create?: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput> | menuTypeCreateWithoutStatusInput[] | menuTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: menuTypeCreateOrConnectWithoutStatusInput | menuTypeCreateOrConnectWithoutStatusInput[]
    upsert?: menuTypeUpsertWithWhereUniqueWithoutStatusInput | menuTypeUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: menuTypeCreateManyStatusInputEnvelope
    set?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    disconnect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    delete?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    connect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    update?: menuTypeUpdateWithWhereUniqueWithoutStatusInput | menuTypeUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: menuTypeUpdateManyWithWhereWithoutStatusInput | menuTypeUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: menuTypeScalarWhereInput | menuTypeScalarWhereInput[]
  }

  export type NotificationTemplateProcessUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput> | NotificationTemplateProcessCreateWithoutStatusInput[] | NotificationTemplateProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutStatusInput | NotificationTemplateProcessCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateProcessUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateProcessUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateProcessCreateManyStatusInputEnvelope
    set?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    delete?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    connect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    update?: NotificationTemplateProcessUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateProcessUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateProcessUpdateManyWithWhereWithoutStatusInput | NotificationTemplateProcessUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateProcessScalarWhereInput | NotificationTemplateProcessScalarWhereInput[]
  }

  export type NotificationTemplateTagUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput> | NotificationTemplateTagCreateWithoutStatusInput[] | NotificationTemplateTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutStatusInput | NotificationTemplateTagCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateTagUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateTagCreateManyStatusInputEnvelope
    set?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    disconnect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    delete?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    connect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    update?: NotificationTemplateTagUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateTagUpdateManyWithWhereWithoutStatusInput | NotificationTemplateTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateTagScalarWhereInput | NotificationTemplateTagScalarWhereInput[]
  }

  export type NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput> | NotificationTemplateRecipientTagCreateWithoutStatusInput[] | NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput | NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateRecipientTagUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateRecipientTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateRecipientTagCreateManyStatusInputEnvelope
    set?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    disconnect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    delete?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    connect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    update?: NotificationTemplateRecipientTagUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateRecipientTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateRecipientTagUpdateManyWithWhereWithoutStatusInput | NotificationTemplateRecipientTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateRecipientTagScalarWhereInput | NotificationTemplateRecipientTagScalarWhereInput[]
  }

  export type NotificationTemplateUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput> | NotificationTemplateCreateWithoutStatusInput[] | NotificationTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutStatusInput | NotificationTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateCreateManyStatusInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutStatusInput | NotificationTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationProcessJobUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput> | NotificationProcessJobCreateWithoutStatusInput[] | NotificationProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutStatusInput | NotificationProcessJobCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationProcessJobUpsertWithWhereUniqueWithoutStatusInput | NotificationProcessJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationProcessJobCreateManyStatusInputEnvelope
    set?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    disconnect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    delete?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    update?: NotificationProcessJobUpdateWithWhereUniqueWithoutStatusInput | NotificationProcessJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationProcessJobUpdateManyWithWhereWithoutStatusInput | NotificationProcessJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
  }

  export type NotificationJobUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput> | NotificationJobCreateWithoutStatusInput[] | NotificationJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutStatusInput | NotificationJobCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationJobUpsertWithWhereUniqueWithoutStatusInput | NotificationJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationJobCreateManyStatusInputEnvelope
    set?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    disconnect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    delete?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    update?: NotificationJobUpdateWithWhereUniqueWithoutStatusInput | NotificationJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationJobUpdateManyWithWhereWithoutStatusInput | NotificationJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
  }

  export type ImportTemplateUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput> | ImportTemplateCreateWithoutStatusInput[] | ImportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutStatusInput | ImportTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateCreateManyStatusInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutStatusInput | ImportTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateLineItemUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput> | ImportTemplateLineItemCreateWithoutStatusInput[] | ImportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutStatusInput | ImportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateLineItemCreateManyStatusInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutStatusInput | ImportTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ImportTemplateQueriesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput> | ImportTemplateQueriesCreateWithoutStatusInput[] | ImportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutStatusInput | ImportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateQueriesCreateManyStatusInputEnvelope
    set?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    disconnect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    delete?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    update?: ImportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateQueriesUpdateManyWithWhereWithoutStatusInput | ImportTemplateQueriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
  }

  export type ExportTemplateUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput> | ExportTemplateCreateWithoutStatusInput[] | ExportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutStatusInput | ExportTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateCreateManyStatusInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutStatusInput | ExportTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateLineItemUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput> | ExportTemplateLineItemCreateWithoutStatusInput[] | ExportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutStatusInput | ExportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateLineItemCreateManyStatusInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutStatusInput | ExportTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateQueriesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput> | ExportTemplateQueriesCreateWithoutStatusInput[] | ExportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutStatusInput | ExportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateQueriesCreateManyStatusInputEnvelope
    set?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    disconnect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    delete?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    update?: ExportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateQueriesUpdateManyWithWhereWithoutStatusInput | ExportTemplateQueriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
  }

  export type DesignationUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput> | DesignationCreateWithoutStatusInput[] | DesignationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutStatusInput | DesignationCreateOrConnectWithoutStatusInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutStatusInput | DesignationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DesignationCreateManyStatusInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutStatusInput | DesignationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutStatusInput | DesignationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DepartmentUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput> | DepartmentCreateWithoutStatusInput[] | DepartmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutStatusInput | DepartmentCreateOrConnectWithoutStatusInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutStatusInput | DepartmentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DepartmentCreateManyStatusInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutStatusInput | DepartmentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutStatusInput | DepartmentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type AuditLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput> | AuditLogCreateWithoutStatusInput[] | AuditLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutStatusInput | AuditLogCreateOrConnectWithoutStatusInput[]
    upsert?: AuditLogUpsertWithWhereUniqueWithoutStatusInput | AuditLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AuditLogCreateManyStatusInputEnvelope
    set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    update?: AuditLogUpdateWithWhereUniqueWithoutStatusInput | AuditLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AuditLogUpdateManyWithWhereWithoutStatusInput | AuditLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
  }

  export type FinancialYearUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput> | FinancialYearCreateWithoutStatusInput[] | FinancialYearUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutStatusInput | FinancialYearCreateOrConnectWithoutStatusInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutStatusInput | FinancialYearUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FinancialYearCreateManyStatusInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutStatusInput | FinancialYearUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutStatusInput | FinancialYearUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type DocumentSequenceUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput> | DocumentSequenceCreateWithoutStatusInput[] | DocumentSequenceUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutStatusInput | DocumentSequenceCreateOrConnectWithoutStatusInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutStatusInput | DocumentSequenceUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DocumentSequenceCreateManyStatusInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutStatusInput | DocumentSequenceUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutStatusInput | DocumentSequenceUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type FileUploadLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput> | FileUploadLogCreateWithoutStatusInput[] | FileUploadLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FileUploadLogCreateOrConnectWithoutStatusInput | FileUploadLogCreateOrConnectWithoutStatusInput[]
    upsert?: FileUploadLogUpsertWithWhereUniqueWithoutStatusInput | FileUploadLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FileUploadLogCreateManyStatusInputEnvelope
    set?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    disconnect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    delete?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    connect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    update?: FileUploadLogUpdateWithWhereUniqueWithoutStatusInput | FileUploadLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FileUploadLogUpdateManyWithWhereWithoutStatusInput | FileUploadLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FileUploadLogScalarWhereInput | FileUploadLogScalarWhereInput[]
  }

  export type DeviceRegistrationUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput> | DeviceRegistrationCreateWithoutStatusInput[] | DeviceRegistrationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutStatusInput | DeviceRegistrationCreateOrConnectWithoutStatusInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutStatusInput | DeviceRegistrationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeviceRegistrationCreateManyStatusInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutStatusInput | DeviceRegistrationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutStatusInput | DeviceRegistrationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type ImportJobUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput> | ImportJobCreateWithoutStatusInput[] | ImportJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutStatusInput | ImportJobCreateOrConnectWithoutStatusInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutStatusInput | ImportJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportJobCreateManyStatusInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutStatusInput | ImportJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutStatusInput | ImportJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobLineItemUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput> | ImportJobLineItemCreateWithoutStatusInput[] | ImportJobLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutStatusInput | ImportJobLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ImportJobLineItemUpsertWithWhereUniqueWithoutStatusInput | ImportJobLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportJobLineItemCreateManyStatusInputEnvelope
    set?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    disconnect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    delete?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    update?: ImportJobLineItemUpdateWithWhereUniqueWithoutStatusInput | ImportJobLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportJobLineItemUpdateManyWithWhereWithoutStatusInput | ImportJobLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
  }

  export type PoliciesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput> | PoliciesCreateWithoutStatusInput[] | PoliciesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutStatusInput | PoliciesCreateOrConnectWithoutStatusInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutStatusInput | PoliciesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PoliciesCreateManyStatusInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutStatusInput | PoliciesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutStatusInput | PoliciesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type AppversionsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput> | AppversionsCreateWithoutStatusInput[] | AppversionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutStatusInput | AppversionsCreateOrConnectWithoutStatusInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutStatusInput | AppversionsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AppversionsCreateManyStatusInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutStatusInput | AppversionsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutStatusInput | AppversionsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type ApprovalWorkflowUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput> | ApprovalWorkflowCreateWithoutStatusInput[] | ApprovalWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutStatusInput | ApprovalWorkflowCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    disconnect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    delete?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    connect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    update?: ApprovalWorkflowUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowScalarWhereInput | ApprovalWorkflowScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobWorkflowUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobWorkflowUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobWorkflowUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobWorkflowScalarWhereInput | ApprovalProcessJobWorkflowScalarWhereInput[]
  }

  export type ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput> | ApprovalWorkflowApproverTagCreateWithoutStatusInput[] | ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput | ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowApproverTagUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowApproverTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowApproverTagCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    disconnect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    delete?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    connect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    update?: ApprovalWorkflowApproverTagUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowApproverTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowApproverTagUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowApproverTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowApproverTagScalarWhereInput | ApprovalWorkflowApproverTagScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput> | ApprovalWorkflowAssignmentCreateWithoutStatusInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalProcessJobUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput> | ApprovalProcessJobCreateWithoutStatusInput[] | ApprovalProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobCreateOrConnectWithoutStatusInput | ApprovalProcessJobCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    delete?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    connect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    update?: ApprovalProcessJobUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobScalarWhereInput | ApprovalProcessJobScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowUserCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
  }

  export type DelegationUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput> | DelegationCreateWithoutStatusInput[] | DelegationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DelegationCreateOrConnectWithoutStatusInput | DelegationCreateOrConnectWithoutStatusInput[]
    upsert?: DelegationUpsertWithWhereUniqueWithoutStatusInput | DelegationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DelegationCreateManyStatusInputEnvelope
    set?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    disconnect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    delete?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    connect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    update?: DelegationUpdateWithWhereUniqueWithoutStatusInput | DelegationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DelegationUpdateManyWithWhereWithoutStatusInput | DelegationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DelegationScalarWhereInput | DelegationScalarWhereInput[]
  }

  export type AboutLCPUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput> | AboutLCPCreateWithoutStatusInput[] | AboutLCPUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AboutLCPCreateOrConnectWithoutStatusInput | AboutLCPCreateOrConnectWithoutStatusInput[]
    upsert?: AboutLCPUpsertWithWhereUniqueWithoutStatusInput | AboutLCPUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AboutLCPCreateManyStatusInputEnvelope
    set?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    disconnect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    delete?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    connect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    update?: AboutLCPUpdateWithWhereUniqueWithoutStatusInput | AboutLCPUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AboutLCPUpdateManyWithWhereWithoutStatusInput | AboutLCPUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AboutLCPScalarWhereInput | AboutLCPScalarWhereInput[]
  }

  export type SchemaChunkUpdateManyWithoutStatusNestedInput = {
    create?: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput> | SchemaChunkCreateWithoutStatusInput[] | SchemaChunkUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: SchemaChunkCreateOrConnectWithoutStatusInput | SchemaChunkCreateOrConnectWithoutStatusInput[]
    upsert?: SchemaChunkUpsertWithWhereUniqueWithoutStatusInput | SchemaChunkUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: SchemaChunkCreateManyStatusInputEnvelope
    set?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    disconnect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    delete?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    connect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    update?: SchemaChunkUpdateWithWhereUniqueWithoutStatusInput | SchemaChunkUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: SchemaChunkUpdateManyWithWhereWithoutStatusInput | SchemaChunkUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: SchemaChunkScalarWhereInput | SchemaChunkScalarWhereInput[]
  }

  export type OpenaiUsageLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput> | OpenaiUsageLogCreateWithoutStatusInput[] | OpenaiUsageLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: OpenaiUsageLogCreateOrConnectWithoutStatusInput | OpenaiUsageLogCreateOrConnectWithoutStatusInput[]
    upsert?: OpenaiUsageLogUpsertWithWhereUniqueWithoutStatusInput | OpenaiUsageLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: OpenaiUsageLogCreateManyStatusInputEnvelope
    set?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    disconnect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    delete?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    connect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    update?: OpenaiUsageLogUpdateWithWhereUniqueWithoutStatusInput | OpenaiUsageLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: OpenaiUsageLogUpdateManyWithWhereWithoutStatusInput | OpenaiUsageLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: OpenaiUsageLogScalarWhereInput | OpenaiUsageLogScalarWhereInput[]
  }

  export type EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput> | EmbeddingVectorLogsCreateWithoutStatusInput[] | EmbeddingVectorLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: EmbeddingVectorLogsCreateOrConnectWithoutStatusInput | EmbeddingVectorLogsCreateOrConnectWithoutStatusInput[]
    upsert?: EmbeddingVectorLogsUpsertWithWhereUniqueWithoutStatusInput | EmbeddingVectorLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: EmbeddingVectorLogsCreateManyStatusInputEnvelope
    set?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    disconnect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    delete?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    connect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    update?: EmbeddingVectorLogsUpdateWithWhereUniqueWithoutStatusInput | EmbeddingVectorLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: EmbeddingVectorLogsUpdateManyWithWhereWithoutStatusInput | EmbeddingVectorLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: EmbeddingVectorLogsScalarWhereInput | EmbeddingVectorLogsScalarWhereInput[]
  }

  export type QueryExecutionLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput> | QueryExecutionLogCreateWithoutStatusInput[] | QueryExecutionLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: QueryExecutionLogCreateOrConnectWithoutStatusInput | QueryExecutionLogCreateOrConnectWithoutStatusInput[]
    upsert?: QueryExecutionLogUpsertWithWhereUniqueWithoutStatusInput | QueryExecutionLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: QueryExecutionLogCreateManyStatusInputEnvelope
    set?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    disconnect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    delete?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    connect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    update?: QueryExecutionLogUpdateWithWhereUniqueWithoutStatusInput | QueryExecutionLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: QueryExecutionLogUpdateManyWithWhereWithoutStatusInput | QueryExecutionLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: QueryExecutionLogScalarWhereInput | QueryExecutionLogScalarWhereInput[]
  }

  export type ChildProcessUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput> | ChildProcessCreateWithoutStatusInput[] | ChildProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessCreateOrConnectWithoutStatusInput | ChildProcessCreateOrConnectWithoutStatusInput[]
    upsert?: ChildProcessUpsertWithWhereUniqueWithoutStatusInput | ChildProcessUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ChildProcessCreateManyStatusInputEnvelope
    set?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    disconnect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    delete?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    connect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    update?: ChildProcessUpdateWithWhereUniqueWithoutStatusInput | ChildProcessUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ChildProcessUpdateManyWithWhereWithoutStatusInput | ChildProcessUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ChildProcessScalarWhereInput | ChildProcessScalarWhereInput[]
  }

  export type ChildProcessLogUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput> | ChildProcessLogCreateWithoutStatusInput[] | ChildProcessLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutStatusInput | ChildProcessLogCreateOrConnectWithoutStatusInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutStatusInput | ChildProcessLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ChildProcessLogCreateManyStatusInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutStatusInput | ChildProcessLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutStatusInput | ChildProcessLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type CarouselTemplateUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput> | CarouselTemplateCreateWithoutStatusInput[] | CarouselTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutStatusInput | CarouselTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutStatusInput | CarouselTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CarouselTemplateCreateManyStatusInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutStatusInput | CarouselTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutStatusInput | CarouselTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput> | CarouselTemplateLineItemCreateWithoutStatusInput[] | CarouselTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutStatusInput | CarouselTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: CarouselTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | CarouselTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CarouselTemplateLineItemCreateManyStatusInputEnvelope
    set?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    disconnect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    delete?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    update?: CarouselTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | CarouselTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CarouselTemplateLineItemUpdateManyWithWhereWithoutStatusInput | CarouselTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
  }

  export type ScheduledJobLogsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput> | ScheduledJobLogsCreateWithoutStatusInput[] | ScheduledJobLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutStatusInput | ScheduledJobLogsCreateOrConnectWithoutStatusInput[]
    upsert?: ScheduledJobLogsUpsertWithWhereUniqueWithoutStatusInput | ScheduledJobLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ScheduledJobLogsCreateManyStatusInputEnvelope
    set?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    disconnect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    delete?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    update?: ScheduledJobLogsUpdateWithWhereUniqueWithoutStatusInput | ScheduledJobLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ScheduledJobLogsUpdateManyWithWhereWithoutStatusInput | ScheduledJobLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
  }

  export type ScheduledJobUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput> | ScheduledJobCreateWithoutStatusInput[] | ScheduledJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutStatusInput | ScheduledJobCreateOrConnectWithoutStatusInput[]
    upsert?: ScheduledJobUpsertWithWhereUniqueWithoutStatusInput | ScheduledJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ScheduledJobCreateManyStatusInputEnvelope
    set?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    disconnect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    delete?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    connect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    update?: ScheduledJobUpdateWithWhereUniqueWithoutStatusInput | ScheduledJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ScheduledJobUpdateManyWithWhereWithoutStatusInput | ScheduledJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ScheduledJobScalarWhereInput | ScheduledJobScalarWhereInput[]
  }

  export type CategoriesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput> | CategoriesCreateWithoutStatusInput[] | CategoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutStatusInput | CategoriesCreateOrConnectWithoutStatusInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutStatusInput | CategoriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CategoriesCreateManyStatusInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutStatusInput | CategoriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutStatusInput | CategoriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type ThemeAttributesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput> | ThemeAttributesCreateWithoutStatusInput[] | ThemeAttributesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutStatusInput | ThemeAttributesCreateOrConnectWithoutStatusInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutStatusInput | ThemeAttributesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemeAttributesCreateManyStatusInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutStatusInput | ThemeAttributesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutStatusInput | ThemeAttributesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput> | ThemesCreateWithoutStatusInput[] | ThemesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutStatusInput | ThemesCreateOrConnectWithoutStatusInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutStatusInput | ThemesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemesCreateManyStatusInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutStatusInput | ThemesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutStatusInput | ThemesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemeLineItemsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput> | ThemeLineItemsCreateWithoutStatusInput[] | ThemeLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutStatusInput | ThemeLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutStatusInput | ThemeLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemeLineItemsCreateManyStatusInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutStatusInput | ThemeLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutStatusInput | ThemeLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type BarcodeTemplatesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput> | BarcodeTemplatesCreateWithoutStatusInput[] | BarcodeTemplatesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutStatusInput | BarcodeTemplatesCreateOrConnectWithoutStatusInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutStatusInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: BarcodeTemplatesCreateManyStatusInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutStatusInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutStatusInput | BarcodeTemplatesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type UserLoginHistoryUpdateManyWithoutStatusNestedInput = {
    create?: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput> | UserLoginHistoryCreateWithoutStatusInput[] | UserLoginHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutStatusInput | UserLoginHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: UserLoginHistoryUpsertWithWhereUniqueWithoutStatusInput | UserLoginHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: UserLoginHistoryCreateManyStatusInputEnvelope
    set?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    disconnect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    delete?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    update?: UserLoginHistoryUpdateWithWhereUniqueWithoutStatusInput | UserLoginHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: UserLoginHistoryUpdateManyWithWhereWithoutStatusInput | UserLoginHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
  }

  export type DirectImportDetailsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput> | DirectImportDetailsCreateWithoutStatusInput[] | DirectImportDetailsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutStatusInput | DirectImportDetailsCreateOrConnectWithoutStatusInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutStatusInput | DirectImportDetailsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DirectImportDetailsCreateManyStatusInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutStatusInput | DirectImportDetailsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutStatusInput | DirectImportDetailsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DeliveryNotesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput> | DeliveryNotesCreateWithoutStatusInput[] | DeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutStatusInput | DeliveryNotesCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutStatusInput | DeliveryNotesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNotesCreateManyStatusInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutStatusInput | DeliveryNotesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutStatusInput | DeliveryNotesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput> | DeliveryNoteLineItemsCreateWithoutStatusInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput | DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutStatusInput | DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNoteLineItemsCreateManyStatusInputEnvelope
    set?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    disconnect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    delete?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    update?: DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutStatusInput | DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNoteLineItemsUpdateManyWithWhereWithoutStatusInput | DeliveryNoteLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
  }

  export type CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput> | CustomerDeliveryAddressesCreateWithoutStatusInput[] | CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput | CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput[]
    upsert?: CustomerDeliveryAddressesUpsertWithWhereUniqueWithoutStatusInput | CustomerDeliveryAddressesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CustomerDeliveryAddressesCreateManyStatusInputEnvelope
    set?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    disconnect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    delete?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    connect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    update?: CustomerDeliveryAddressesUpdateWithWhereUniqueWithoutStatusInput | CustomerDeliveryAddressesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CustomerDeliveryAddressesUpdateManyWithWhereWithoutStatusInput | CustomerDeliveryAddressesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CustomerDeliveryAddressesScalarWhereInput | CustomerDeliveryAddressesScalarWhereInput[]
  }

  export type ShipmentsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput> | ShipmentsCreateWithoutStatusInput[] | ShipmentsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutStatusInput | ShipmentsCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutStatusInput | ShipmentsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentsCreateManyStatusInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutStatusInput | ShipmentsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutStatusInput | ShipmentsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type ShipmentCustomersUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput> | ShipmentCustomersCreateWithoutStatusInput[] | ShipmentCustomersUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutStatusInput | ShipmentCustomersCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutStatusInput | ShipmentCustomersUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentCustomersCreateManyStatusInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutStatusInput | ShipmentCustomersUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutStatusInput | ShipmentCustomersUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput> | ShipmentsLocationCreateWithoutStatusInput[] | ShipmentsLocationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutStatusInput | ShipmentsLocationCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutStatusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentsLocationCreateManyStatusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutStatusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutStatusInput | ShipmentsLocationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput> | ShipmentDeliveryNotesCreateWithoutStatusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput | ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutStatusInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyStatusInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutStatusInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutStatusInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type VehiclesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput> | VehiclesCreateWithoutStatusInput[] | VehiclesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesCreateOrConnectWithoutStatusInput | VehiclesCreateOrConnectWithoutStatusInput[]
    upsert?: VehiclesUpsertWithWhereUniqueWithoutStatusInput | VehiclesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehiclesCreateManyStatusInputEnvelope
    set?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    disconnect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    delete?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    connect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    update?: VehiclesUpdateWithWhereUniqueWithoutStatusInput | VehiclesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehiclesUpdateManyWithWhereWithoutStatusInput | VehiclesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehiclesScalarWhereInput | VehiclesScalarWhereInput[]
  }

  export type VehiclesGpsDataUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput> | VehiclesGpsDataCreateWithoutStatusInput[] | VehiclesGpsDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutStatusInput | VehiclesGpsDataCreateOrConnectWithoutStatusInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutStatusInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehiclesGpsDataCreateManyStatusInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutStatusInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutStatusInput | VehiclesGpsDataUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type GeoFencesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput> | GeoFencesCreateWithoutStatusInput[] | GeoFencesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFencesCreateOrConnectWithoutStatusInput | GeoFencesCreateOrConnectWithoutStatusInput[]
    upsert?: GeoFencesUpsertWithWhereUniqueWithoutStatusInput | GeoFencesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: GeoFencesCreateManyStatusInputEnvelope
    set?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    disconnect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    delete?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    connect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    update?: GeoFencesUpdateWithWhereUniqueWithoutStatusInput | GeoFencesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: GeoFencesUpdateManyWithWhereWithoutStatusInput | GeoFencesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: GeoFencesScalarWhereInput | GeoFencesScalarWhereInput[]
  }

  export type GeoFenceTrackingUpdateManyWithoutStatusNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput> | GeoFenceTrackingCreateWithoutStatusInput[] | GeoFenceTrackingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutStatusInput | GeoFenceTrackingCreateOrConnectWithoutStatusInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutStatusInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: GeoFenceTrackingCreateManyStatusInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutStatusInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutStatusInput | GeoFenceTrackingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput> | CustomerGeoFenceMappingCreateWithoutStatusInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput | CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutStatusInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CustomerGeoFenceMappingCreateManyStatusInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutStatusInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutStatusInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type DeliveryNoteStatusUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput> | DeliveryNoteStatusCreateWithoutStatusInput[] | DeliveryNoteStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutStatusInput | DeliveryNoteStatusCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNoteStatusUpsertWithWhereUniqueWithoutStatusInput | DeliveryNoteStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNoteStatusCreateManyStatusInputEnvelope
    set?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    disconnect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    delete?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    connect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    update?: DeliveryNoteStatusUpdateWithWhereUniqueWithoutStatusInput | DeliveryNoteStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNoteStatusUpdateManyWithWhereWithoutStatusInput | DeliveryNoteStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNoteStatusScalarWhereInput | DeliveryNoteStatusScalarWhereInput[]
  }

  export type ErpLogsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput> | ErpLogsCreateWithoutStatusInput[] | ErpLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsCreateOrConnectWithoutStatusInput | ErpLogsCreateOrConnectWithoutStatusInput[]
    upsert?: ErpLogsUpsertWithWhereUniqueWithoutStatusInput | ErpLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ErpLogsCreateManyStatusInputEnvelope
    set?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    disconnect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    delete?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    connect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    update?: ErpLogsUpdateWithWhereUniqueWithoutStatusInput | ErpLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ErpLogsUpdateManyWithWhereWithoutStatusInput | ErpLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ErpLogsScalarWhereInput | ErpLogsScalarWhereInput[]
  }

  export type ErpLogsLineItemsUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput> | ErpLogsLineItemsCreateWithoutStatusInput[] | ErpLogsLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutStatusInput | ErpLogsLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: ErpLogsLineItemsUpsertWithWhereUniqueWithoutStatusInput | ErpLogsLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ErpLogsLineItemsCreateManyStatusInputEnvelope
    set?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    disconnect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    delete?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    update?: ErpLogsLineItemsUpdateWithWhereUniqueWithoutStatusInput | ErpLogsLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ErpLogsLineItemsUpdateManyWithWhereWithoutStatusInput | ErpLogsLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
  }

  export type VehicleUserMappingUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput> | VehicleUserMappingCreateWithoutStatusInput[] | VehicleUserMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutStatusInput | VehicleUserMappingCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutStatusInput | VehicleUserMappingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleUserMappingCreateManyStatusInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutStatusInput | VehicleUserMappingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutStatusInput | VehicleUserMappingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput> | VehicleGeofenceHistoryCreateWithoutStatusInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput | VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutStatusInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleGeofenceHistoryCreateManyStatusInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutStatusInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutStatusInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type TempSessionDataUpdateManyWithoutStatusNestedInput = {
    create?: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput> | TempSessionDataCreateWithoutStatusInput[] | TempSessionDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TempSessionDataCreateOrConnectWithoutStatusInput | TempSessionDataCreateOrConnectWithoutStatusInput[]
    upsert?: TempSessionDataUpsertWithWhereUniqueWithoutStatusInput | TempSessionDataUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: TempSessionDataCreateManyStatusInputEnvelope
    set?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    disconnect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    delete?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    connect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    update?: TempSessionDataUpdateWithWhereUniqueWithoutStatusInput | TempSessionDataUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: TempSessionDataUpdateManyWithWhereWithoutStatusInput | TempSessionDataUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: TempSessionDataScalarWhereInput | TempSessionDataScalarWhereInput[]
  }

  export type ShipmentStatusUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput> | ShipmentStatusCreateWithoutStatusInput[] | ShipmentStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutStatusInput | ShipmentStatusCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentStatusUpsertWithWhereUniqueWithoutStatusInput | ShipmentStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentStatusCreateManyStatusInputEnvelope
    set?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    disconnect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    delete?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    connect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    update?: ShipmentStatusUpdateWithWhereUniqueWithoutStatusInput | ShipmentStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentStatusUpdateManyWithWhereWithoutStatusInput | ShipmentStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentStatusScalarWhereInput | ShipmentStatusScalarWhereInput[]
  }

  export type ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput> | ShipmentStatusHistoryCreateWithoutStatusInput[] | ShipmentStatusHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusHistoryCreateOrConnectWithoutStatusInput | ShipmentStatusHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentStatusHistoryUpsertWithWhereUniqueWithoutStatusInput | ShipmentStatusHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentStatusHistoryCreateManyStatusInputEnvelope
    set?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    disconnect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    delete?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    connect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    update?: ShipmentStatusHistoryUpdateWithWhereUniqueWithoutStatusInput | ShipmentStatusHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentStatusHistoryUpdateManyWithWhereWithoutStatusInput | ShipmentStatusHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentStatusHistoryScalarWhereInput | ShipmentStatusHistoryScalarWhereInput[]
  }

  export type PodStatusUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput> | PodStatusCreateWithoutStatusInput[] | PodStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PodStatusCreateOrConnectWithoutStatusInput | PodStatusCreateOrConnectWithoutStatusInput[]
    upsert?: PodStatusUpsertWithWhereUniqueWithoutStatusInput | PodStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PodStatusCreateManyStatusInputEnvelope
    set?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    disconnect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    delete?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    connect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    update?: PodStatusUpdateWithWhereUniqueWithoutStatusInput | PodStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PodStatusUpdateManyWithWhereWithoutStatusInput | PodStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PodStatusScalarWhereInput | PodStatusScalarWhereInput[]
  }

  export type VehicleTripHistoriesUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput> | VehicleTripHistoriesCreateWithoutStatusInput[] | VehicleTripHistoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutStatusInput | VehicleTripHistoriesCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutStatusInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleTripHistoriesCreateManyStatusInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutStatusInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutStatusInput | VehicleTripHistoriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput> | ShipmentLocationContactInfoHistoryCreateWithoutStatusInput[] | ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput | ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentLocationContactInfoHistoryUpsertWithWhereUniqueWithoutStatusInput | ShipmentLocationContactInfoHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentLocationContactInfoHistoryCreateManyStatusInputEnvelope
    set?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    disconnect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    delete?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    connect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    update?: ShipmentLocationContactInfoHistoryUpdateWithWhereUniqueWithoutStatusInput | ShipmentLocationContactInfoHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentLocationContactInfoHistoryUpdateManyWithWhereWithoutStatusInput | ShipmentLocationContactInfoHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentLocationContactInfoHistoryScalarWhereInput | ShipmentLocationContactInfoHistoryScalarWhereInput[]
  }

  export type TreeBuilderExampleUpdateManyWithoutStatusNestedInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput> | TreeBuilderExampleCreateWithoutStatusInput[] | TreeBuilderExampleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutStatusInput | TreeBuilderExampleCreateOrConnectWithoutStatusInput[]
    upsert?: TreeBuilderExampleUpsertWithWhereUniqueWithoutStatusInput | TreeBuilderExampleUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: TreeBuilderExampleCreateManyStatusInputEnvelope
    set?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    disconnect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    delete?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    update?: TreeBuilderExampleUpdateWithWhereUniqueWithoutStatusInput | TreeBuilderExampleUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: TreeBuilderExampleUpdateManyWithWhereWithoutStatusInput | TreeBuilderExampleUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
  }

  export type userSearchConfigurationUpdateManyWithoutStatusNestedInput = {
    create?: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput> | userSearchConfigurationCreateWithoutStatusInput[] | userSearchConfigurationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: userSearchConfigurationCreateOrConnectWithoutStatusInput | userSearchConfigurationCreateOrConnectWithoutStatusInput[]
    upsert?: userSearchConfigurationUpsertWithWhereUniqueWithoutStatusInput | userSearchConfigurationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: userSearchConfigurationCreateManyStatusInputEnvelope
    set?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    disconnect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    delete?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    connect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    update?: userSearchConfigurationUpdateWithWhereUniqueWithoutStatusInput | userSearchConfigurationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: userSearchConfigurationUpdateManyWithWhereWithoutStatusInput | userSearchConfigurationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: userSearchConfigurationScalarWhereInput | userSearchConfigurationScalarWhereInput[]
  }

  export type StatusUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput> | StatusCreateWithoutStatusInput[] | StatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: StatusCreateOrConnectWithoutStatusInput | StatusCreateOrConnectWithoutStatusInput[]
    upsert?: StatusUpsertWithWhereUniqueWithoutStatusInput | StatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: StatusCreateManyStatusInputEnvelope
    set?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    disconnect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    delete?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    connect?: StatusWhereUniqueInput | StatusWhereUniqueInput[]
    update?: StatusUpdateWithWhereUniqueWithoutStatusInput | StatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: StatusUpdateManyWithWhereWithoutStatusInput | StatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: StatusScalarWhereInput | StatusScalarWhereInput[]
  }

  export type ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput> | ShipmentImagesCreateWithoutStatusInput[] | ShipmentImagesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentImagesCreateOrConnectWithoutStatusInput | ShipmentImagesCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentImagesUpsertWithWhereUniqueWithoutStatusInput | ShipmentImagesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentImagesCreateManyStatusInputEnvelope
    set?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    disconnect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    delete?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    connect?: ShipmentImagesWhereUniqueInput | ShipmentImagesWhereUniqueInput[]
    update?: ShipmentImagesUpdateWithWhereUniqueWithoutStatusInput | ShipmentImagesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentImagesUpdateManyWithWhereWithoutStatusInput | ShipmentImagesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentImagesScalarWhereInput | ShipmentImagesScalarWhereInput[]
  }

  export type UserUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput> | UserCreateWithoutStatusInput[] | UserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserCreateOrConnectWithoutStatusInput | UserCreateOrConnectWithoutStatusInput[]
    upsert?: UserUpsertWithWhereUniqueWithoutStatusInput | UserUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: UserCreateManyStatusInputEnvelope
    set?: UserWhereUniqueInput | UserWhereUniqueInput[]
    disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    delete?: UserWhereUniqueInput | UserWhereUniqueInput[]
    connect?: UserWhereUniqueInput | UserWhereUniqueInput[]
    update?: UserUpdateWithWhereUniqueWithoutStatusInput | UserUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: UserUpdateManyWithWhereWithoutStatusInput | UserUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: UserScalarWhereInput | UserScalarWhereInput[]
  }

  export type RequestLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput> | RequestLogCreateWithoutStatusInput[] | RequestLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RequestLogCreateOrConnectWithoutStatusInput | RequestLogCreateOrConnectWithoutStatusInput[]
    upsert?: RequestLogUpsertWithWhereUniqueWithoutStatusInput | RequestLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: RequestLogCreateManyStatusInputEnvelope
    set?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    disconnect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    delete?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    connect?: RequestLogWhereUniqueInput | RequestLogWhereUniqueInput[]
    update?: RequestLogUpdateWithWhereUniqueWithoutStatusInput | RequestLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: RequestLogUpdateManyWithWhereWithoutStatusInput | RequestLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
  }

  export type PermissionsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput> | PermissionsCreateWithoutStatusInput[] | PermissionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PermissionsCreateOrConnectWithoutStatusInput | PermissionsCreateOrConnectWithoutStatusInput[]
    upsert?: PermissionsUpsertWithWhereUniqueWithoutStatusInput | PermissionsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PermissionsCreateManyStatusInputEnvelope
    set?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    disconnect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    delete?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    connect?: PermissionsWhereUniqueInput | PermissionsWhereUniqueInput[]
    update?: PermissionsUpdateWithWhereUniqueWithoutStatusInput | PermissionsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PermissionsUpdateManyWithWhereWithoutStatusInput | PermissionsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
  }

  export type RoleUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput> | RoleCreateWithoutStatusInput[] | RoleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: RoleCreateOrConnectWithoutStatusInput | RoleCreateOrConnectWithoutStatusInput[]
    upsert?: RoleUpsertWithWhereUniqueWithoutStatusInput | RoleUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: RoleCreateManyStatusInputEnvelope
    set?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    disconnect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    delete?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    connect?: RoleWhereUniqueInput | RoleWhereUniqueInput[]
    update?: RoleUpdateWithWhereUniqueWithoutStatusInput | RoleUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: RoleUpdateManyWithWhereWithoutStatusInput | RoleUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: RoleScalarWhereInput | RoleScalarWhereInput[]
  }

  export type LanguageUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput> | LanguageCreateWithoutStatusInput[] | LanguageUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageCreateOrConnectWithoutStatusInput | LanguageCreateOrConnectWithoutStatusInput[]
    upsert?: LanguageUpsertWithWhereUniqueWithoutStatusInput | LanguageUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: LanguageCreateManyStatusInputEnvelope
    set?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    disconnect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    delete?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    connect?: LanguageWhereUniqueInput | LanguageWhereUniqueInput[]
    update?: LanguageUpdateWithWhereUniqueWithoutStatusInput | LanguageUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: LanguageUpdateManyWithWhereWithoutStatusInput | LanguageUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
  }

  export type LanguageContentUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput> | LanguageContentCreateWithoutStatusInput[] | LanguageContentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: LanguageContentCreateOrConnectWithoutStatusInput | LanguageContentCreateOrConnectWithoutStatusInput[]
    upsert?: LanguageContentUpsertWithWhereUniqueWithoutStatusInput | LanguageContentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: LanguageContentCreateManyStatusInputEnvelope
    set?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    disconnect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    delete?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    connect?: LanguageContentWhereUniqueInput | LanguageContentWhereUniqueInput[]
    update?: LanguageContentUpdateWithWhereUniqueWithoutStatusInput | LanguageContentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: LanguageContentUpdateManyWithWhereWithoutStatusInput | LanguageContentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
  }

  export type MenuItemsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput> | MenuItemsCreateWithoutStatusInput[] | MenuItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenuItemsCreateOrConnectWithoutStatusInput | MenuItemsCreateOrConnectWithoutStatusInput[]
    upsert?: MenuItemsUpsertWithWhereUniqueWithoutStatusInput | MenuItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MenuItemsCreateManyStatusInputEnvelope
    set?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    disconnect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    delete?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    connect?: MenuItemsWhereUniqueInput | MenuItemsWhereUniqueInput[]
    update?: MenuItemsUpdateWithWhereUniqueWithoutStatusInput | MenuItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MenuItemsUpdateManyWithWhereWithoutStatusInput | MenuItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
  }

  export type MenusUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput> | MenusCreateWithoutStatusInput[] | MenusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MenusCreateOrConnectWithoutStatusInput | MenusCreateOrConnectWithoutStatusInput[]
    upsert?: MenusUpsertWithWhereUniqueWithoutStatusInput | MenusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MenusCreateManyStatusInputEnvelope
    set?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    disconnect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    delete?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    connect?: MenusWhereUniqueInput | MenusWhereUniqueInput[]
    update?: MenusUpdateWithWhereUniqueWithoutStatusInput | MenusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MenusUpdateManyWithWhereWithoutStatusInput | MenusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MenusScalarWhereInput | MenusScalarWhereInput[]
  }

  export type MasterEntityUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput> | MasterEntityCreateWithoutStatusInput[] | MasterEntityUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityCreateOrConnectWithoutStatusInput | MasterEntityCreateOrConnectWithoutStatusInput[]
    upsert?: MasterEntityUpsertWithWhereUniqueWithoutStatusInput | MasterEntityUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MasterEntityCreateManyStatusInputEnvelope
    set?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    disconnect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    delete?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    connect?: MasterEntityWhereUniqueInput | MasterEntityWhereUniqueInput[]
    update?: MasterEntityUpdateWithWhereUniqueWithoutStatusInput | MasterEntityUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MasterEntityUpdateManyWithWhereWithoutStatusInput | MasterEntityUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput> | MasterEntityLineItemCreateWithoutStatusInput[] | MasterEntityLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: MasterEntityLineItemCreateOrConnectWithoutStatusInput | MasterEntityLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: MasterEntityLineItemUpsertWithWhereUniqueWithoutStatusInput | MasterEntityLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: MasterEntityLineItemCreateManyStatusInputEnvelope
    set?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    disconnect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    delete?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    connect?: MasterEntityLineItemWhereUniqueInput | MasterEntityLineItemWhereUniqueInput[]
    update?: MasterEntityLineItemUpdateWithWhereUniqueWithoutStatusInput | MasterEntityLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: MasterEntityLineItemUpdateManyWithWhereWithoutStatusInput | MasterEntityLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
  }

  export type FieldTypeUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput> | FieldTypeCreateWithoutStatusInput[] | FieldTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FieldTypeCreateOrConnectWithoutStatusInput | FieldTypeCreateOrConnectWithoutStatusInput[]
    upsert?: FieldTypeUpsertWithWhereUniqueWithoutStatusInput | FieldTypeUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FieldTypeCreateManyStatusInputEnvelope
    set?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    disconnect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    delete?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    connect?: FieldTypeWhereUniqueInput | FieldTypeWhereUniqueInput[]
    update?: FieldTypeUpdateWithWhereUniqueWithoutStatusInput | FieldTypeUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FieldTypeUpdateManyWithWhereWithoutStatusInput | FieldTypeUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FieldTypeScalarWhereInput | FieldTypeScalarWhereInput[]
  }

  export type menuTypeUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput> | menuTypeCreateWithoutStatusInput[] | menuTypeUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: menuTypeCreateOrConnectWithoutStatusInput | menuTypeCreateOrConnectWithoutStatusInput[]
    upsert?: menuTypeUpsertWithWhereUniqueWithoutStatusInput | menuTypeUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: menuTypeCreateManyStatusInputEnvelope
    set?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    disconnect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    delete?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    connect?: menuTypeWhereUniqueInput | menuTypeWhereUniqueInput[]
    update?: menuTypeUpdateWithWhereUniqueWithoutStatusInput | menuTypeUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: menuTypeUpdateManyWithWhereWithoutStatusInput | menuTypeUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: menuTypeScalarWhereInput | menuTypeScalarWhereInput[]
  }

  export type NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput> | NotificationTemplateProcessCreateWithoutStatusInput[] | NotificationTemplateProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateProcessCreateOrConnectWithoutStatusInput | NotificationTemplateProcessCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateProcessUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateProcessUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateProcessCreateManyStatusInputEnvelope
    set?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    disconnect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    delete?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    connect?: NotificationTemplateProcessWhereUniqueInput | NotificationTemplateProcessWhereUniqueInput[]
    update?: NotificationTemplateProcessUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateProcessUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateProcessUpdateManyWithWhereWithoutStatusInput | NotificationTemplateProcessUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateProcessScalarWhereInput | NotificationTemplateProcessScalarWhereInput[]
  }

  export type NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput> | NotificationTemplateTagCreateWithoutStatusInput[] | NotificationTemplateTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateTagCreateOrConnectWithoutStatusInput | NotificationTemplateTagCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateTagUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateTagCreateManyStatusInputEnvelope
    set?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    disconnect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    delete?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    connect?: NotificationTemplateTagWhereUniqueInput | NotificationTemplateTagWhereUniqueInput[]
    update?: NotificationTemplateTagUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateTagUpdateManyWithWhereWithoutStatusInput | NotificationTemplateTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateTagScalarWhereInput | NotificationTemplateTagScalarWhereInput[]
  }

  export type NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput> | NotificationTemplateRecipientTagCreateWithoutStatusInput[] | NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput | NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateRecipientTagUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateRecipientTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateRecipientTagCreateManyStatusInputEnvelope
    set?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    disconnect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    delete?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    connect?: NotificationTemplateRecipientTagWhereUniqueInput | NotificationTemplateRecipientTagWhereUniqueInput[]
    update?: NotificationTemplateRecipientTagUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateRecipientTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateRecipientTagUpdateManyWithWhereWithoutStatusInput | NotificationTemplateRecipientTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateRecipientTagScalarWhereInput | NotificationTemplateRecipientTagScalarWhereInput[]
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput> | NotificationTemplateCreateWithoutStatusInput[] | NotificationTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutStatusInput | NotificationTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationTemplateUpsertWithWhereUniqueWithoutStatusInput | NotificationTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationTemplateCreateManyStatusInputEnvelope
    set?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    disconnect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    delete?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    connect?: NotificationTemplateWhereUniqueInput | NotificationTemplateWhereUniqueInput[]
    update?: NotificationTemplateUpdateWithWhereUniqueWithoutStatusInput | NotificationTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationTemplateUpdateManyWithWhereWithoutStatusInput | NotificationTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
  }

  export type NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput> | NotificationProcessJobCreateWithoutStatusInput[] | NotificationProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationProcessJobCreateOrConnectWithoutStatusInput | NotificationProcessJobCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationProcessJobUpsertWithWhereUniqueWithoutStatusInput | NotificationProcessJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationProcessJobCreateManyStatusInputEnvelope
    set?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    disconnect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    delete?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    connect?: NotificationProcessJobWhereUniqueInput | NotificationProcessJobWhereUniqueInput[]
    update?: NotificationProcessJobUpdateWithWhereUniqueWithoutStatusInput | NotificationProcessJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationProcessJobUpdateManyWithWhereWithoutStatusInput | NotificationProcessJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
  }

  export type NotificationJobUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput> | NotificationJobCreateWithoutStatusInput[] | NotificationJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: NotificationJobCreateOrConnectWithoutStatusInput | NotificationJobCreateOrConnectWithoutStatusInput[]
    upsert?: NotificationJobUpsertWithWhereUniqueWithoutStatusInput | NotificationJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: NotificationJobCreateManyStatusInputEnvelope
    set?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    disconnect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    delete?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    connect?: NotificationJobWhereUniqueInput | NotificationJobWhereUniqueInput[]
    update?: NotificationJobUpdateWithWhereUniqueWithoutStatusInput | NotificationJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: NotificationJobUpdateManyWithWhereWithoutStatusInput | NotificationJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
  }

  export type ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput> | ImportTemplateCreateWithoutStatusInput[] | ImportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateCreateOrConnectWithoutStatusInput | ImportTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateCreateManyStatusInputEnvelope
    set?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    disconnect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    delete?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    connect?: ImportTemplateWhereUniqueInput | ImportTemplateWhereUniqueInput[]
    update?: ImportTemplateUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateUpdateManyWithWhereWithoutStatusInput | ImportTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput> | ImportTemplateLineItemCreateWithoutStatusInput[] | ImportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateLineItemCreateOrConnectWithoutStatusInput | ImportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateLineItemCreateManyStatusInputEnvelope
    set?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    disconnect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    delete?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    connect?: ImportTemplateLineItemWhereUniqueInput | ImportTemplateLineItemWhereUniqueInput[]
    update?: ImportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateLineItemUpdateManyWithWhereWithoutStatusInput | ImportTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
  }

  export type ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput> | ImportTemplateQueriesCreateWithoutStatusInput[] | ImportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportTemplateQueriesCreateOrConnectWithoutStatusInput | ImportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    upsert?: ImportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput | ImportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportTemplateQueriesCreateManyStatusInputEnvelope
    set?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    disconnect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    delete?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    connect?: ImportTemplateQueriesWhereUniqueInput | ImportTemplateQueriesWhereUniqueInput[]
    update?: ImportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput | ImportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportTemplateQueriesUpdateManyWithWhereWithoutStatusInput | ImportTemplateQueriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
  }

  export type ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput> | ExportTemplateCreateWithoutStatusInput[] | ExportTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateCreateOrConnectWithoutStatusInput | ExportTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateCreateManyStatusInputEnvelope
    set?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    disconnect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    delete?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    connect?: ExportTemplateWhereUniqueInput | ExportTemplateWhereUniqueInput[]
    update?: ExportTemplateUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateUpdateManyWithWhereWithoutStatusInput | ExportTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput> | ExportTemplateLineItemCreateWithoutStatusInput[] | ExportTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateLineItemCreateOrConnectWithoutStatusInput | ExportTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateLineItemCreateManyStatusInputEnvelope
    set?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    disconnect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    delete?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    connect?: ExportTemplateLineItemWhereUniqueInput | ExportTemplateLineItemWhereUniqueInput[]
    update?: ExportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateLineItemUpdateManyWithWhereWithoutStatusInput | ExportTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
  }

  export type ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput> | ExportTemplateQueriesCreateWithoutStatusInput[] | ExportTemplateQueriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ExportTemplateQueriesCreateOrConnectWithoutStatusInput | ExportTemplateQueriesCreateOrConnectWithoutStatusInput[]
    upsert?: ExportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput | ExportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ExportTemplateQueriesCreateManyStatusInputEnvelope
    set?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    disconnect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    delete?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    connect?: ExportTemplateQueriesWhereUniqueInput | ExportTemplateQueriesWhereUniqueInput[]
    update?: ExportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput | ExportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ExportTemplateQueriesUpdateManyWithWhereWithoutStatusInput | ExportTemplateQueriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
  }

  export type DesignationUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput> | DesignationCreateWithoutStatusInput[] | DesignationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DesignationCreateOrConnectWithoutStatusInput | DesignationCreateOrConnectWithoutStatusInput[]
    upsert?: DesignationUpsertWithWhereUniqueWithoutStatusInput | DesignationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DesignationCreateManyStatusInputEnvelope
    set?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    disconnect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    delete?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    connect?: DesignationWhereUniqueInput | DesignationWhereUniqueInput[]
    update?: DesignationUpdateWithWhereUniqueWithoutStatusInput | DesignationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DesignationUpdateManyWithWhereWithoutStatusInput | DesignationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
  }

  export type DepartmentUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput> | DepartmentCreateWithoutStatusInput[] | DepartmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DepartmentCreateOrConnectWithoutStatusInput | DepartmentCreateOrConnectWithoutStatusInput[]
    upsert?: DepartmentUpsertWithWhereUniqueWithoutStatusInput | DepartmentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DepartmentCreateManyStatusInputEnvelope
    set?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    disconnect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    delete?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    connect?: DepartmentWhereUniqueInput | DepartmentWhereUniqueInput[]
    update?: DepartmentUpdateWithWhereUniqueWithoutStatusInput | DepartmentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DepartmentUpdateManyWithWhereWithoutStatusInput | DepartmentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
  }

  export type AuditLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput> | AuditLogCreateWithoutStatusInput[] | AuditLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AuditLogCreateOrConnectWithoutStatusInput | AuditLogCreateOrConnectWithoutStatusInput[]
    upsert?: AuditLogUpsertWithWhereUniqueWithoutStatusInput | AuditLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AuditLogCreateManyStatusInputEnvelope
    set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
    update?: AuditLogUpdateWithWhereUniqueWithoutStatusInput | AuditLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AuditLogUpdateManyWithWhereWithoutStatusInput | AuditLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
  }

  export type FinancialYearUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput> | FinancialYearCreateWithoutStatusInput[] | FinancialYearUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FinancialYearCreateOrConnectWithoutStatusInput | FinancialYearCreateOrConnectWithoutStatusInput[]
    upsert?: FinancialYearUpsertWithWhereUniqueWithoutStatusInput | FinancialYearUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FinancialYearCreateManyStatusInputEnvelope
    set?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    disconnect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    delete?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    connect?: FinancialYearWhereUniqueInput | FinancialYearWhereUniqueInput[]
    update?: FinancialYearUpdateWithWhereUniqueWithoutStatusInput | FinancialYearUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FinancialYearUpdateManyWithWhereWithoutStatusInput | FinancialYearUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput> | DocumentSequenceCreateWithoutStatusInput[] | DocumentSequenceUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DocumentSequenceCreateOrConnectWithoutStatusInput | DocumentSequenceCreateOrConnectWithoutStatusInput[]
    upsert?: DocumentSequenceUpsertWithWhereUniqueWithoutStatusInput | DocumentSequenceUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DocumentSequenceCreateManyStatusInputEnvelope
    set?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    disconnect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    delete?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    connect?: DocumentSequenceWhereUniqueInput | DocumentSequenceWhereUniqueInput[]
    update?: DocumentSequenceUpdateWithWhereUniqueWithoutStatusInput | DocumentSequenceUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DocumentSequenceUpdateManyWithWhereWithoutStatusInput | DocumentSequenceUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
  }

  export type FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput> | FileUploadLogCreateWithoutStatusInput[] | FileUploadLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: FileUploadLogCreateOrConnectWithoutStatusInput | FileUploadLogCreateOrConnectWithoutStatusInput[]
    upsert?: FileUploadLogUpsertWithWhereUniqueWithoutStatusInput | FileUploadLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: FileUploadLogCreateManyStatusInputEnvelope
    set?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    disconnect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    delete?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    connect?: FileUploadLogWhereUniqueInput | FileUploadLogWhereUniqueInput[]
    update?: FileUploadLogUpdateWithWhereUniqueWithoutStatusInput | FileUploadLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: FileUploadLogUpdateManyWithWhereWithoutStatusInput | FileUploadLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: FileUploadLogScalarWhereInput | FileUploadLogScalarWhereInput[]
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput> | DeviceRegistrationCreateWithoutStatusInput[] | DeviceRegistrationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeviceRegistrationCreateOrConnectWithoutStatusInput | DeviceRegistrationCreateOrConnectWithoutStatusInput[]
    upsert?: DeviceRegistrationUpsertWithWhereUniqueWithoutStatusInput | DeviceRegistrationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeviceRegistrationCreateManyStatusInputEnvelope
    set?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    disconnect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    delete?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    connect?: DeviceRegistrationWhereUniqueInput | DeviceRegistrationWhereUniqueInput[]
    update?: DeviceRegistrationUpdateWithWhereUniqueWithoutStatusInput | DeviceRegistrationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeviceRegistrationUpdateManyWithWhereWithoutStatusInput | DeviceRegistrationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
  }

  export type ImportJobUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput> | ImportJobCreateWithoutStatusInput[] | ImportJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobCreateOrConnectWithoutStatusInput | ImportJobCreateOrConnectWithoutStatusInput[]
    upsert?: ImportJobUpsertWithWhereUniqueWithoutStatusInput | ImportJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportJobCreateManyStatusInputEnvelope
    set?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    disconnect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    delete?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    connect?: ImportJobWhereUniqueInput | ImportJobWhereUniqueInput[]
    update?: ImportJobUpdateWithWhereUniqueWithoutStatusInput | ImportJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportJobUpdateManyWithWhereWithoutStatusInput | ImportJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
  }

  export type ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput> | ImportJobLineItemCreateWithoutStatusInput[] | ImportJobLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ImportJobLineItemCreateOrConnectWithoutStatusInput | ImportJobLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: ImportJobLineItemUpsertWithWhereUniqueWithoutStatusInput | ImportJobLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ImportJobLineItemCreateManyStatusInputEnvelope
    set?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    disconnect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    delete?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    connect?: ImportJobLineItemWhereUniqueInput | ImportJobLineItemWhereUniqueInput[]
    update?: ImportJobLineItemUpdateWithWhereUniqueWithoutStatusInput | ImportJobLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ImportJobLineItemUpdateManyWithWhereWithoutStatusInput | ImportJobLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
  }

  export type PoliciesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput> | PoliciesCreateWithoutStatusInput[] | PoliciesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PoliciesCreateOrConnectWithoutStatusInput | PoliciesCreateOrConnectWithoutStatusInput[]
    upsert?: PoliciesUpsertWithWhereUniqueWithoutStatusInput | PoliciesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PoliciesCreateManyStatusInputEnvelope
    set?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    disconnect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    delete?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    connect?: PoliciesWhereUniqueInput | PoliciesWhereUniqueInput[]
    update?: PoliciesUpdateWithWhereUniqueWithoutStatusInput | PoliciesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PoliciesUpdateManyWithWhereWithoutStatusInput | PoliciesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
  }

  export type AppversionsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput> | AppversionsCreateWithoutStatusInput[] | AppversionsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AppversionsCreateOrConnectWithoutStatusInput | AppversionsCreateOrConnectWithoutStatusInput[]
    upsert?: AppversionsUpsertWithWhereUniqueWithoutStatusInput | AppversionsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AppversionsCreateManyStatusInputEnvelope
    set?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    disconnect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    delete?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    connect?: AppversionsWhereUniqueInput | AppversionsWhereUniqueInput[]
    update?: AppversionsUpdateWithWhereUniqueWithoutStatusInput | AppversionsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AppversionsUpdateManyWithWhereWithoutStatusInput | AppversionsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
  }

  export type ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput> | ApprovalWorkflowCreateWithoutStatusInput[] | ApprovalWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutStatusInput | ApprovalWorkflowCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    disconnect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    delete?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    connect?: ApprovalWorkflowWhereUniqueInput | ApprovalWorkflowWhereUniqueInput[]
    update?: ApprovalWorkflowUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowScalarWhereInput | ApprovalWorkflowScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobWorkflowUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput | ApprovalProcessJobWorkflowWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobWorkflowUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobWorkflowUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobWorkflowScalarWhereInput | ApprovalProcessJobWorkflowScalarWhereInput[]
  }

  export type ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput> | ApprovalWorkflowApproverTagCreateWithoutStatusInput[] | ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput | ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowApproverTagUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowApproverTagUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowApproverTagCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    disconnect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    delete?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    connect?: ApprovalWorkflowApproverTagWhereUniqueInput | ApprovalWorkflowApproverTagWhereUniqueInput[]
    update?: ApprovalWorkflowApproverTagUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowApproverTagUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowApproverTagUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowApproverTagUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowApproverTagScalarWhereInput | ApprovalWorkflowApproverTagScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput> | ApprovalWorkflowAssignmentCreateWithoutStatusInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutStatusInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyStatusInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutStatusInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutStatusInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput> | ApprovalProcessJobCreateWithoutStatusInput[] | ApprovalProcessJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobCreateOrConnectWithoutStatusInput | ApprovalProcessJobCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    delete?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    connect?: ApprovalProcessJobWhereUniqueInput | ApprovalProcessJobWhereUniqueInput[]
    update?: ApprovalProcessJobUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobScalarWhereInput | ApprovalProcessJobScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput> | ApprovalProcessJobWorkflowUserCreateWithoutStatusInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput[]
    upsert?: ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyStatusInputEnvelope
    set?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutStatusInput | ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutStatusInput | ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
  }

  export type DelegationUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput> | DelegationCreateWithoutStatusInput[] | DelegationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DelegationCreateOrConnectWithoutStatusInput | DelegationCreateOrConnectWithoutStatusInput[]
    upsert?: DelegationUpsertWithWhereUniqueWithoutStatusInput | DelegationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DelegationCreateManyStatusInputEnvelope
    set?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    disconnect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    delete?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    connect?: DelegationWhereUniqueInput | DelegationWhereUniqueInput[]
    update?: DelegationUpdateWithWhereUniqueWithoutStatusInput | DelegationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DelegationUpdateManyWithWhereWithoutStatusInput | DelegationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DelegationScalarWhereInput | DelegationScalarWhereInput[]
  }

  export type AboutLCPUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput> | AboutLCPCreateWithoutStatusInput[] | AboutLCPUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: AboutLCPCreateOrConnectWithoutStatusInput | AboutLCPCreateOrConnectWithoutStatusInput[]
    upsert?: AboutLCPUpsertWithWhereUniqueWithoutStatusInput | AboutLCPUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: AboutLCPCreateManyStatusInputEnvelope
    set?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    disconnect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    delete?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    connect?: AboutLCPWhereUniqueInput | AboutLCPWhereUniqueInput[]
    update?: AboutLCPUpdateWithWhereUniqueWithoutStatusInput | AboutLCPUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: AboutLCPUpdateManyWithWhereWithoutStatusInput | AboutLCPUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: AboutLCPScalarWhereInput | AboutLCPScalarWhereInput[]
  }

  export type SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput> | SchemaChunkCreateWithoutStatusInput[] | SchemaChunkUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: SchemaChunkCreateOrConnectWithoutStatusInput | SchemaChunkCreateOrConnectWithoutStatusInput[]
    upsert?: SchemaChunkUpsertWithWhereUniqueWithoutStatusInput | SchemaChunkUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: SchemaChunkCreateManyStatusInputEnvelope
    set?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    disconnect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    delete?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    connect?: SchemaChunkWhereUniqueInput | SchemaChunkWhereUniqueInput[]
    update?: SchemaChunkUpdateWithWhereUniqueWithoutStatusInput | SchemaChunkUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: SchemaChunkUpdateManyWithWhereWithoutStatusInput | SchemaChunkUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: SchemaChunkScalarWhereInput | SchemaChunkScalarWhereInput[]
  }

  export type OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput> | OpenaiUsageLogCreateWithoutStatusInput[] | OpenaiUsageLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: OpenaiUsageLogCreateOrConnectWithoutStatusInput | OpenaiUsageLogCreateOrConnectWithoutStatusInput[]
    upsert?: OpenaiUsageLogUpsertWithWhereUniqueWithoutStatusInput | OpenaiUsageLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: OpenaiUsageLogCreateManyStatusInputEnvelope
    set?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    disconnect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    delete?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    connect?: OpenaiUsageLogWhereUniqueInput | OpenaiUsageLogWhereUniqueInput[]
    update?: OpenaiUsageLogUpdateWithWhereUniqueWithoutStatusInput | OpenaiUsageLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: OpenaiUsageLogUpdateManyWithWhereWithoutStatusInput | OpenaiUsageLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: OpenaiUsageLogScalarWhereInput | OpenaiUsageLogScalarWhereInput[]
  }

  export type EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput> | EmbeddingVectorLogsCreateWithoutStatusInput[] | EmbeddingVectorLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: EmbeddingVectorLogsCreateOrConnectWithoutStatusInput | EmbeddingVectorLogsCreateOrConnectWithoutStatusInput[]
    upsert?: EmbeddingVectorLogsUpsertWithWhereUniqueWithoutStatusInput | EmbeddingVectorLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: EmbeddingVectorLogsCreateManyStatusInputEnvelope
    set?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    disconnect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    delete?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    connect?: EmbeddingVectorLogsWhereUniqueInput | EmbeddingVectorLogsWhereUniqueInput[]
    update?: EmbeddingVectorLogsUpdateWithWhereUniqueWithoutStatusInput | EmbeddingVectorLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: EmbeddingVectorLogsUpdateManyWithWhereWithoutStatusInput | EmbeddingVectorLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: EmbeddingVectorLogsScalarWhereInput | EmbeddingVectorLogsScalarWhereInput[]
  }

  export type QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput> | QueryExecutionLogCreateWithoutStatusInput[] | QueryExecutionLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: QueryExecutionLogCreateOrConnectWithoutStatusInput | QueryExecutionLogCreateOrConnectWithoutStatusInput[]
    upsert?: QueryExecutionLogUpsertWithWhereUniqueWithoutStatusInput | QueryExecutionLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: QueryExecutionLogCreateManyStatusInputEnvelope
    set?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    disconnect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    delete?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    connect?: QueryExecutionLogWhereUniqueInput | QueryExecutionLogWhereUniqueInput[]
    update?: QueryExecutionLogUpdateWithWhereUniqueWithoutStatusInput | QueryExecutionLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: QueryExecutionLogUpdateManyWithWhereWithoutStatusInput | QueryExecutionLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: QueryExecutionLogScalarWhereInput | QueryExecutionLogScalarWhereInput[]
  }

  export type ChildProcessUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput> | ChildProcessCreateWithoutStatusInput[] | ChildProcessUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessCreateOrConnectWithoutStatusInput | ChildProcessCreateOrConnectWithoutStatusInput[]
    upsert?: ChildProcessUpsertWithWhereUniqueWithoutStatusInput | ChildProcessUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ChildProcessCreateManyStatusInputEnvelope
    set?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    disconnect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    delete?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    connect?: ChildProcessWhereUniqueInput | ChildProcessWhereUniqueInput[]
    update?: ChildProcessUpdateWithWhereUniqueWithoutStatusInput | ChildProcessUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ChildProcessUpdateManyWithWhereWithoutStatusInput | ChildProcessUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ChildProcessScalarWhereInput | ChildProcessScalarWhereInput[]
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput> | ChildProcessLogCreateWithoutStatusInput[] | ChildProcessLogUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutStatusInput | ChildProcessLogCreateOrConnectWithoutStatusInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutStatusInput | ChildProcessLogUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ChildProcessLogCreateManyStatusInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutStatusInput | ChildProcessLogUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutStatusInput | ChildProcessLogUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput> | CarouselTemplateCreateWithoutStatusInput[] | CarouselTemplateUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateCreateOrConnectWithoutStatusInput | CarouselTemplateCreateOrConnectWithoutStatusInput[]
    upsert?: CarouselTemplateUpsertWithWhereUniqueWithoutStatusInput | CarouselTemplateUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CarouselTemplateCreateManyStatusInputEnvelope
    set?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    disconnect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    delete?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    connect?: CarouselTemplateWhereUniqueInput | CarouselTemplateWhereUniqueInput[]
    update?: CarouselTemplateUpdateWithWhereUniqueWithoutStatusInput | CarouselTemplateUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CarouselTemplateUpdateManyWithWhereWithoutStatusInput | CarouselTemplateUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
  }

  export type CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput> | CarouselTemplateLineItemCreateWithoutStatusInput[] | CarouselTemplateLineItemUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CarouselTemplateLineItemCreateOrConnectWithoutStatusInput | CarouselTemplateLineItemCreateOrConnectWithoutStatusInput[]
    upsert?: CarouselTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput | CarouselTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CarouselTemplateLineItemCreateManyStatusInputEnvelope
    set?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    disconnect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    delete?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    connect?: CarouselTemplateLineItemWhereUniqueInput | CarouselTemplateLineItemWhereUniqueInput[]
    update?: CarouselTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput | CarouselTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CarouselTemplateLineItemUpdateManyWithWhereWithoutStatusInput | CarouselTemplateLineItemUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
  }

  export type ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput> | ScheduledJobLogsCreateWithoutStatusInput[] | ScheduledJobLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutStatusInput | ScheduledJobLogsCreateOrConnectWithoutStatusInput[]
    upsert?: ScheduledJobLogsUpsertWithWhereUniqueWithoutStatusInput | ScheduledJobLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ScheduledJobLogsCreateManyStatusInputEnvelope
    set?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    disconnect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    delete?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    update?: ScheduledJobLogsUpdateWithWhereUniqueWithoutStatusInput | ScheduledJobLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ScheduledJobLogsUpdateManyWithWhereWithoutStatusInput | ScheduledJobLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
  }

  export type ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput> | ScheduledJobCreateWithoutStatusInput[] | ScheduledJobUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutStatusInput | ScheduledJobCreateOrConnectWithoutStatusInput[]
    upsert?: ScheduledJobUpsertWithWhereUniqueWithoutStatusInput | ScheduledJobUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ScheduledJobCreateManyStatusInputEnvelope
    set?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    disconnect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    delete?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    connect?: ScheduledJobWhereUniqueInput | ScheduledJobWhereUniqueInput[]
    update?: ScheduledJobUpdateWithWhereUniqueWithoutStatusInput | ScheduledJobUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ScheduledJobUpdateManyWithWhereWithoutStatusInput | ScheduledJobUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ScheduledJobScalarWhereInput | ScheduledJobScalarWhereInput[]
  }

  export type CategoriesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput> | CategoriesCreateWithoutStatusInput[] | CategoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutStatusInput | CategoriesCreateOrConnectWithoutStatusInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutStatusInput | CategoriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CategoriesCreateManyStatusInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutStatusInput | CategoriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutStatusInput | CategoriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput> | ThemeAttributesCreateWithoutStatusInput[] | ThemeAttributesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeAttributesCreateOrConnectWithoutStatusInput | ThemeAttributesCreateOrConnectWithoutStatusInput[]
    upsert?: ThemeAttributesUpsertWithWhereUniqueWithoutStatusInput | ThemeAttributesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemeAttributesCreateManyStatusInputEnvelope
    set?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    disconnect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    delete?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    connect?: ThemeAttributesWhereUniqueInput | ThemeAttributesWhereUniqueInput[]
    update?: ThemeAttributesUpdateWithWhereUniqueWithoutStatusInput | ThemeAttributesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemeAttributesUpdateManyWithWhereWithoutStatusInput | ThemeAttributesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
  }

  export type ThemesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput> | ThemesCreateWithoutStatusInput[] | ThemesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemesCreateOrConnectWithoutStatusInput | ThemesCreateOrConnectWithoutStatusInput[]
    upsert?: ThemesUpsertWithWhereUniqueWithoutStatusInput | ThemesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemesCreateManyStatusInputEnvelope
    set?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    disconnect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    delete?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    connect?: ThemesWhereUniqueInput | ThemesWhereUniqueInput[]
    update?: ThemesUpdateWithWhereUniqueWithoutStatusInput | ThemesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemesUpdateManyWithWhereWithoutStatusInput | ThemesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput> | ThemeLineItemsCreateWithoutStatusInput[] | ThemeLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutStatusInput | ThemeLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutStatusInput | ThemeLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ThemeLineItemsCreateManyStatusInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutStatusInput | ThemeLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutStatusInput | ThemeLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput> | BarcodeTemplatesCreateWithoutStatusInput[] | BarcodeTemplatesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: BarcodeTemplatesCreateOrConnectWithoutStatusInput | BarcodeTemplatesCreateOrConnectWithoutStatusInput[]
    upsert?: BarcodeTemplatesUpsertWithWhereUniqueWithoutStatusInput | BarcodeTemplatesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: BarcodeTemplatesCreateManyStatusInputEnvelope
    set?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    disconnect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    delete?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    connect?: BarcodeTemplatesWhereUniqueInput | BarcodeTemplatesWhereUniqueInput[]
    update?: BarcodeTemplatesUpdateWithWhereUniqueWithoutStatusInput | BarcodeTemplatesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: BarcodeTemplatesUpdateManyWithWhereWithoutStatusInput | BarcodeTemplatesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
  }

  export type UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput> | UserLoginHistoryCreateWithoutStatusInput[] | UserLoginHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: UserLoginHistoryCreateOrConnectWithoutStatusInput | UserLoginHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: UserLoginHistoryUpsertWithWhereUniqueWithoutStatusInput | UserLoginHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: UserLoginHistoryCreateManyStatusInputEnvelope
    set?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    disconnect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    delete?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    connect?: UserLoginHistoryWhereUniqueInput | UserLoginHistoryWhereUniqueInput[]
    update?: UserLoginHistoryUpdateWithWhereUniqueWithoutStatusInput | UserLoginHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: UserLoginHistoryUpdateManyWithWhereWithoutStatusInput | UserLoginHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput> | DirectImportDetailsCreateWithoutStatusInput[] | DirectImportDetailsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DirectImportDetailsCreateOrConnectWithoutStatusInput | DirectImportDetailsCreateOrConnectWithoutStatusInput[]
    upsert?: DirectImportDetailsUpsertWithWhereUniqueWithoutStatusInput | DirectImportDetailsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DirectImportDetailsCreateManyStatusInputEnvelope
    set?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    disconnect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    delete?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    connect?: DirectImportDetailsWhereUniqueInput | DirectImportDetailsWhereUniqueInput[]
    update?: DirectImportDetailsUpdateWithWhereUniqueWithoutStatusInput | DirectImportDetailsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DirectImportDetailsUpdateManyWithWhereWithoutStatusInput | DirectImportDetailsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput> | DeliveryNotesCreateWithoutStatusInput[] | DeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutStatusInput | DeliveryNotesCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutStatusInput | DeliveryNotesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNotesCreateManyStatusInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutStatusInput | DeliveryNotesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutStatusInput | DeliveryNotesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput> | DeliveryNoteLineItemsCreateWithoutStatusInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput | DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutStatusInput | DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNoteLineItemsCreateManyStatusInputEnvelope
    set?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    disconnect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    delete?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    update?: DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutStatusInput | DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNoteLineItemsUpdateManyWithWhereWithoutStatusInput | DeliveryNoteLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
  }

  export type CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput> | CustomerDeliveryAddressesCreateWithoutStatusInput[] | CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput | CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput[]
    upsert?: CustomerDeliveryAddressesUpsertWithWhereUniqueWithoutStatusInput | CustomerDeliveryAddressesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CustomerDeliveryAddressesCreateManyStatusInputEnvelope
    set?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    disconnect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    delete?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    connect?: CustomerDeliveryAddressesWhereUniqueInput | CustomerDeliveryAddressesWhereUniqueInput[]
    update?: CustomerDeliveryAddressesUpdateWithWhereUniqueWithoutStatusInput | CustomerDeliveryAddressesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CustomerDeliveryAddressesUpdateManyWithWhereWithoutStatusInput | CustomerDeliveryAddressesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CustomerDeliveryAddressesScalarWhereInput | CustomerDeliveryAddressesScalarWhereInput[]
  }

  export type ShipmentsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput> | ShipmentsCreateWithoutStatusInput[] | ShipmentsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutStatusInput | ShipmentsCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutStatusInput | ShipmentsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentsCreateManyStatusInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutStatusInput | ShipmentsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutStatusInput | ShipmentsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput> | ShipmentCustomersCreateWithoutStatusInput[] | ShipmentCustomersUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutStatusInput | ShipmentCustomersCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutStatusInput | ShipmentCustomersUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentCustomersCreateManyStatusInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutStatusInput | ShipmentCustomersUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutStatusInput | ShipmentCustomersUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput> | ShipmentsLocationCreateWithoutStatusInput[] | ShipmentsLocationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutStatusInput | ShipmentsLocationCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutStatusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentsLocationCreateManyStatusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutStatusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutStatusInput | ShipmentsLocationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput> | ShipmentDeliveryNotesCreateWithoutStatusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput | ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutStatusInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyStatusInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutStatusInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutStatusInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type VehiclesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput> | VehiclesCreateWithoutStatusInput[] | VehiclesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesCreateOrConnectWithoutStatusInput | VehiclesCreateOrConnectWithoutStatusInput[]
    upsert?: VehiclesUpsertWithWhereUniqueWithoutStatusInput | VehiclesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehiclesCreateManyStatusInputEnvelope
    set?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    disconnect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    delete?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    connect?: VehiclesWhereUniqueInput | VehiclesWhereUniqueInput[]
    update?: VehiclesUpdateWithWhereUniqueWithoutStatusInput | VehiclesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehiclesUpdateManyWithWhereWithoutStatusInput | VehiclesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehiclesScalarWhereInput | VehiclesScalarWhereInput[]
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput> | VehiclesGpsDataCreateWithoutStatusInput[] | VehiclesGpsDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutStatusInput | VehiclesGpsDataCreateOrConnectWithoutStatusInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutStatusInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehiclesGpsDataCreateManyStatusInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutStatusInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutStatusInput | VehiclesGpsDataUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type GeoFencesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput> | GeoFencesCreateWithoutStatusInput[] | GeoFencesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFencesCreateOrConnectWithoutStatusInput | GeoFencesCreateOrConnectWithoutStatusInput[]
    upsert?: GeoFencesUpsertWithWhereUniqueWithoutStatusInput | GeoFencesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: GeoFencesCreateManyStatusInputEnvelope
    set?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    disconnect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    delete?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    connect?: GeoFencesWhereUniqueInput | GeoFencesWhereUniqueInput[]
    update?: GeoFencesUpdateWithWhereUniqueWithoutStatusInput | GeoFencesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: GeoFencesUpdateManyWithWhereWithoutStatusInput | GeoFencesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: GeoFencesScalarWhereInput | GeoFencesScalarWhereInput[]
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput> | GeoFenceTrackingCreateWithoutStatusInput[] | GeoFenceTrackingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutStatusInput | GeoFenceTrackingCreateOrConnectWithoutStatusInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutStatusInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: GeoFenceTrackingCreateManyStatusInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutStatusInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutStatusInput | GeoFenceTrackingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput> | CustomerGeoFenceMappingCreateWithoutStatusInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput | CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutStatusInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: CustomerGeoFenceMappingCreateManyStatusInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutStatusInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutStatusInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput> | DeliveryNoteStatusCreateWithoutStatusInput[] | DeliveryNoteStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutStatusInput | DeliveryNoteStatusCreateOrConnectWithoutStatusInput[]
    upsert?: DeliveryNoteStatusUpsertWithWhereUniqueWithoutStatusInput | DeliveryNoteStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: DeliveryNoteStatusCreateManyStatusInputEnvelope
    set?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    disconnect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    delete?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    connect?: DeliveryNoteStatusWhereUniqueInput | DeliveryNoteStatusWhereUniqueInput[]
    update?: DeliveryNoteStatusUpdateWithWhereUniqueWithoutStatusInput | DeliveryNoteStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: DeliveryNoteStatusUpdateManyWithWhereWithoutStatusInput | DeliveryNoteStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: DeliveryNoteStatusScalarWhereInput | DeliveryNoteStatusScalarWhereInput[]
  }

  export type ErpLogsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput> | ErpLogsCreateWithoutStatusInput[] | ErpLogsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsCreateOrConnectWithoutStatusInput | ErpLogsCreateOrConnectWithoutStatusInput[]
    upsert?: ErpLogsUpsertWithWhereUniqueWithoutStatusInput | ErpLogsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ErpLogsCreateManyStatusInputEnvelope
    set?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    disconnect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    delete?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    connect?: ErpLogsWhereUniqueInput | ErpLogsWhereUniqueInput[]
    update?: ErpLogsUpdateWithWhereUniqueWithoutStatusInput | ErpLogsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ErpLogsUpdateManyWithWhereWithoutStatusInput | ErpLogsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ErpLogsScalarWhereInput | ErpLogsScalarWhereInput[]
  }

  export type ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput> | ErpLogsLineItemsCreateWithoutStatusInput[] | ErpLogsLineItemsUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutStatusInput | ErpLogsLineItemsCreateOrConnectWithoutStatusInput[]
    upsert?: ErpLogsLineItemsUpsertWithWhereUniqueWithoutStatusInput | ErpLogsLineItemsUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ErpLogsLineItemsCreateManyStatusInputEnvelope
    set?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    disconnect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    delete?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    update?: ErpLogsLineItemsUpdateWithWhereUniqueWithoutStatusInput | ErpLogsLineItemsUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ErpLogsLineItemsUpdateManyWithWhereWithoutStatusInput | ErpLogsLineItemsUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput> | VehicleUserMappingCreateWithoutStatusInput[] | VehicleUserMappingUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutStatusInput | VehicleUserMappingCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutStatusInput | VehicleUserMappingUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleUserMappingCreateManyStatusInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutStatusInput | VehicleUserMappingUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutStatusInput | VehicleUserMappingUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput> | VehicleGeofenceHistoryCreateWithoutStatusInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput | VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutStatusInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleGeofenceHistoryCreateManyStatusInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutStatusInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutStatusInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput> | TempSessionDataCreateWithoutStatusInput[] | TempSessionDataUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TempSessionDataCreateOrConnectWithoutStatusInput | TempSessionDataCreateOrConnectWithoutStatusInput[]
    upsert?: TempSessionDataUpsertWithWhereUniqueWithoutStatusInput | TempSessionDataUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: TempSessionDataCreateManyStatusInputEnvelope
    set?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    disconnect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    delete?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    connect?: TempSessionDataWhereUniqueInput | TempSessionDataWhereUniqueInput[]
    update?: TempSessionDataUpdateWithWhereUniqueWithoutStatusInput | TempSessionDataUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: TempSessionDataUpdateManyWithWhereWithoutStatusInput | TempSessionDataUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: TempSessionDataScalarWhereInput | TempSessionDataScalarWhereInput[]
  }

  export type ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput> | ShipmentStatusCreateWithoutStatusInput[] | ShipmentStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutStatusInput | ShipmentStatusCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentStatusUpsertWithWhereUniqueWithoutStatusInput | ShipmentStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentStatusCreateManyStatusInputEnvelope
    set?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    disconnect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    delete?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    connect?: ShipmentStatusWhereUniqueInput | ShipmentStatusWhereUniqueInput[]
    update?: ShipmentStatusUpdateWithWhereUniqueWithoutStatusInput | ShipmentStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentStatusUpdateManyWithWhereWithoutStatusInput | ShipmentStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentStatusScalarWhereInput | ShipmentStatusScalarWhereInput[]
  }

  export type ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput> | ShipmentStatusHistoryCreateWithoutStatusInput[] | ShipmentStatusHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentStatusHistoryCreateOrConnectWithoutStatusInput | ShipmentStatusHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentStatusHistoryUpsertWithWhereUniqueWithoutStatusInput | ShipmentStatusHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentStatusHistoryCreateManyStatusInputEnvelope
    set?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    disconnect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    delete?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    connect?: ShipmentStatusHistoryWhereUniqueInput | ShipmentStatusHistoryWhereUniqueInput[]
    update?: ShipmentStatusHistoryUpdateWithWhereUniqueWithoutStatusInput | ShipmentStatusHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentStatusHistoryUpdateManyWithWhereWithoutStatusInput | ShipmentStatusHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentStatusHistoryScalarWhereInput | ShipmentStatusHistoryScalarWhereInput[]
  }

  export type PodStatusUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput> | PodStatusCreateWithoutStatusInput[] | PodStatusUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: PodStatusCreateOrConnectWithoutStatusInput | PodStatusCreateOrConnectWithoutStatusInput[]
    upsert?: PodStatusUpsertWithWhereUniqueWithoutStatusInput | PodStatusUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: PodStatusCreateManyStatusInputEnvelope
    set?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    disconnect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    delete?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    connect?: PodStatusWhereUniqueInput | PodStatusWhereUniqueInput[]
    update?: PodStatusUpdateWithWhereUniqueWithoutStatusInput | PodStatusUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: PodStatusUpdateManyWithWhereWithoutStatusInput | PodStatusUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: PodStatusScalarWhereInput | PodStatusScalarWhereInput[]
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput> | VehicleTripHistoriesCreateWithoutStatusInput[] | VehicleTripHistoriesUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutStatusInput | VehicleTripHistoriesCreateOrConnectWithoutStatusInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutStatusInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: VehicleTripHistoriesCreateManyStatusInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutStatusInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutStatusInput | VehicleTripHistoriesUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput> | ShipmentLocationContactInfoHistoryCreateWithoutStatusInput[] | ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput | ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput[]
    upsert?: ShipmentLocationContactInfoHistoryUpsertWithWhereUniqueWithoutStatusInput | ShipmentLocationContactInfoHistoryUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: ShipmentLocationContactInfoHistoryCreateManyStatusInputEnvelope
    set?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    disconnect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    delete?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    connect?: ShipmentLocationContactInfoHistoryWhereUniqueInput | ShipmentLocationContactInfoHistoryWhereUniqueInput[]
    update?: ShipmentLocationContactInfoHistoryUpdateWithWhereUniqueWithoutStatusInput | ShipmentLocationContactInfoHistoryUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: ShipmentLocationContactInfoHistoryUpdateManyWithWhereWithoutStatusInput | ShipmentLocationContactInfoHistoryUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: ShipmentLocationContactInfoHistoryScalarWhereInput | ShipmentLocationContactInfoHistoryScalarWhereInput[]
  }

  export type TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput> | TreeBuilderExampleCreateWithoutStatusInput[] | TreeBuilderExampleUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutStatusInput | TreeBuilderExampleCreateOrConnectWithoutStatusInput[]
    upsert?: TreeBuilderExampleUpsertWithWhereUniqueWithoutStatusInput | TreeBuilderExampleUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: TreeBuilderExampleCreateManyStatusInputEnvelope
    set?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    disconnect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    delete?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    update?: TreeBuilderExampleUpdateWithWhereUniqueWithoutStatusInput | TreeBuilderExampleUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: TreeBuilderExampleUpdateManyWithWhereWithoutStatusInput | TreeBuilderExampleUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
  }

  export type userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput = {
    create?: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput> | userSearchConfigurationCreateWithoutStatusInput[] | userSearchConfigurationUncheckedCreateWithoutStatusInput[]
    connectOrCreate?: userSearchConfigurationCreateOrConnectWithoutStatusInput | userSearchConfigurationCreateOrConnectWithoutStatusInput[]
    upsert?: userSearchConfigurationUpsertWithWhereUniqueWithoutStatusInput | userSearchConfigurationUpsertWithWhereUniqueWithoutStatusInput[]
    createMany?: userSearchConfigurationCreateManyStatusInputEnvelope
    set?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    disconnect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    delete?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    connect?: userSearchConfigurationWhereUniqueInput | userSearchConfigurationWhereUniqueInput[]
    update?: userSearchConfigurationUpdateWithWhereUniqueWithoutStatusInput | userSearchConfigurationUpdateWithWhereUniqueWithoutStatusInput[]
    updateMany?: userSearchConfigurationUpdateManyWithWhereWithoutStatusInput | userSearchConfigurationUpdateManyWithWhereWithoutStatusInput[]
    deleteMany?: userSearchConfigurationScalarWhereInput | userSearchConfigurationScalarWhereInput[]
  }

  export type UserCreateNestedOneWithoutCreated_category_typesInput = {
    create?: XOR<UserCreateWithoutCreated_category_typesInput, UserUncheckedCreateWithoutCreated_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_category_typesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_category_typesInput = {
    create?: XOR<UserCreateWithoutUpdated_category_typesInput, UserUncheckedCreateWithoutUpdated_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_category_typesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_category_typesInput = {
    create?: XOR<UserCreateWithoutDeleted_category_typesInput, UserUncheckedCreateWithoutDeleted_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_category_typesInput
    connect?: UserWhereUniqueInput
  }

  export type CategoriesCreateNestedManyWithoutCategory_typeInput = {
    create?: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput> | CategoriesCreateWithoutCategory_typeInput[] | CategoriesUncheckedCreateWithoutCategory_typeInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCategory_typeInput | CategoriesCreateOrConnectWithoutCategory_typeInput[]
    createMany?: CategoriesCreateManyCategory_typeInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type CategoriesUncheckedCreateNestedManyWithoutCategory_typeInput = {
    create?: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput> | CategoriesCreateWithoutCategory_typeInput[] | CategoriesUncheckedCreateWithoutCategory_typeInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCategory_typeInput | CategoriesCreateOrConnectWithoutCategory_typeInput[]
    createMany?: CategoriesCreateManyCategory_typeInputEnvelope
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
  }

  export type UserUpdateOneWithoutCreated_category_typesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_category_typesInput, UserUncheckedCreateWithoutCreated_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_category_typesInput
    upsert?: UserUpsertWithoutCreated_category_typesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_category_typesInput, UserUpdateWithoutCreated_category_typesInput>, UserUncheckedUpdateWithoutCreated_category_typesInput>
  }

  export type UserUpdateOneWithoutUpdated_category_typesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_category_typesInput, UserUncheckedCreateWithoutUpdated_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_category_typesInput
    upsert?: UserUpsertWithoutUpdated_category_typesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_category_typesInput, UserUpdateWithoutUpdated_category_typesInput>, UserUncheckedUpdateWithoutUpdated_category_typesInput>
  }

  export type UserUpdateOneWithoutDeleted_category_typesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_category_typesInput, UserUncheckedCreateWithoutDeleted_category_typesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_category_typesInput
    upsert?: UserUpsertWithoutDeleted_category_typesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_category_typesInput, UserUpdateWithoutDeleted_category_typesInput>, UserUncheckedUpdateWithoutDeleted_category_typesInput>
  }

  export type CategoriesUpdateManyWithoutCategory_typeNestedInput = {
    create?: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput> | CategoriesCreateWithoutCategory_typeInput[] | CategoriesUncheckedCreateWithoutCategory_typeInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCategory_typeInput | CategoriesCreateOrConnectWithoutCategory_typeInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutCategory_typeInput | CategoriesUpsertWithWhereUniqueWithoutCategory_typeInput[]
    createMany?: CategoriesCreateManyCategory_typeInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutCategory_typeInput | CategoriesUpdateWithWhereUniqueWithoutCategory_typeInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutCategory_typeInput | CategoriesUpdateManyWithWhereWithoutCategory_typeInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type CategoriesUncheckedUpdateManyWithoutCategory_typeNestedInput = {
    create?: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput> | CategoriesCreateWithoutCategory_typeInput[] | CategoriesUncheckedCreateWithoutCategory_typeInput[]
    connectOrCreate?: CategoriesCreateOrConnectWithoutCategory_typeInput | CategoriesCreateOrConnectWithoutCategory_typeInput[]
    upsert?: CategoriesUpsertWithWhereUniqueWithoutCategory_typeInput | CategoriesUpsertWithWhereUniqueWithoutCategory_typeInput[]
    createMany?: CategoriesCreateManyCategory_typeInputEnvelope
    set?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    disconnect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    delete?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    connect?: CategoriesWhereUniqueInput | CategoriesWhereUniqueInput[]
    update?: CategoriesUpdateWithWhereUniqueWithoutCategory_typeInput | CategoriesUpdateWithWhereUniqueWithoutCategory_typeInput[]
    updateMany?: CategoriesUpdateManyWithWhereWithoutCategory_typeInput | CategoriesUpdateManyWithWhereWithoutCategory_typeInput[]
    deleteMany?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutApp_categoriesInput = {
    create?: XOR<StatusCreateWithoutApp_categoriesInput, StatusUncheckedCreateWithoutApp_categoriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApp_categoriesInput
    connect?: StatusWhereUniqueInput
  }

  export type CategoryTypesCreateNestedOneWithoutCategoriesInput = {
    create?: XOR<CategoryTypesCreateWithoutCategoriesInput, CategoryTypesUncheckedCreateWithoutCategoriesInput>
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCategoriesInput
    connect?: CategoryTypesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_categoriesInput = {
    create?: XOR<UserCreateWithoutCreated_categoriesInput, UserUncheckedCreateWithoutCreated_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_categoriesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_categoriesInput = {
    create?: XOR<UserCreateWithoutUpdated_categoriesInput, UserUncheckedCreateWithoutUpdated_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_categoriesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_categoriesInput = {
    create?: XOR<UserCreateWithoutDeleted_categoriesInput, UserUncheckedCreateWithoutDeleted_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_categoriesInput
    connect?: UserWhereUniqueInput
  }

  export type ConfigurationsCreateNestedManyWithoutCategoryInput = {
    create?: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput> | ConfigurationsCreateWithoutCategoryInput[] | ConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCategoryInput | ConfigurationsCreateOrConnectWithoutCategoryInput[]
    createMany?: ConfigurationsCreateManyCategoryInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsCreateNestedManyWithoutCategoryInput = {
    create?: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput> | UserConfigurationsCreateWithoutCategoryInput[] | UserConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCategoryInput | UserConfigurationsCreateOrConnectWithoutCategoryInput[]
    createMany?: UserConfigurationsCreateManyCategoryInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput = {
    create?: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput> | ConfigurationsCreateWithoutCategoryInput[] | ConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCategoryInput | ConfigurationsCreateOrConnectWithoutCategoryInput[]
    createMany?: ConfigurationsCreateManyCategoryInputEnvelope
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
  }

  export type UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput = {
    create?: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput> | UserConfigurationsCreateWithoutCategoryInput[] | UserConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCategoryInput | UserConfigurationsCreateOrConnectWithoutCategoryInput[]
    createMany?: UserConfigurationsCreateManyCategoryInputEnvelope
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutApp_categoriesNestedInput = {
    create?: XOR<StatusCreateWithoutApp_categoriesInput, StatusUncheckedCreateWithoutApp_categoriesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApp_categoriesInput
    upsert?: StatusUpsertWithoutApp_categoriesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApp_categoriesInput, StatusUpdateWithoutApp_categoriesInput>, StatusUncheckedUpdateWithoutApp_categoriesInput>
  }

  export type CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput = {
    create?: XOR<CategoryTypesCreateWithoutCategoriesInput, CategoryTypesUncheckedCreateWithoutCategoriesInput>
    connectOrCreate?: CategoryTypesCreateOrConnectWithoutCategoriesInput
    upsert?: CategoryTypesUpsertWithoutCategoriesInput
    connect?: CategoryTypesWhereUniqueInput
    update?: XOR<XOR<CategoryTypesUpdateToOneWithWhereWithoutCategoriesInput, CategoryTypesUpdateWithoutCategoriesInput>, CategoryTypesUncheckedUpdateWithoutCategoriesInput>
  }

  export type UserUpdateOneWithoutCreated_categoriesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_categoriesInput, UserUncheckedCreateWithoutCreated_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_categoriesInput
    upsert?: UserUpsertWithoutCreated_categoriesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_categoriesInput, UserUpdateWithoutCreated_categoriesInput>, UserUncheckedUpdateWithoutCreated_categoriesInput>
  }

  export type UserUpdateOneWithoutUpdated_categoriesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_categoriesInput, UserUncheckedCreateWithoutUpdated_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_categoriesInput
    upsert?: UserUpsertWithoutUpdated_categoriesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_categoriesInput, UserUpdateWithoutUpdated_categoriesInput>, UserUncheckedUpdateWithoutUpdated_categoriesInput>
  }

  export type UserUpdateOneWithoutDeleted_categoriesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_categoriesInput, UserUncheckedCreateWithoutDeleted_categoriesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_categoriesInput
    upsert?: UserUpsertWithoutDeleted_categoriesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_categoriesInput, UserUpdateWithoutDeleted_categoriesInput>, UserUncheckedUpdateWithoutDeleted_categoriesInput>
  }

  export type ConfigurationsUpdateManyWithoutCategoryNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput> | ConfigurationsCreateWithoutCategoryInput[] | ConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCategoryInput | ConfigurationsCreateOrConnectWithoutCategoryInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutCategoryInput | ConfigurationsUpsertWithWhereUniqueWithoutCategoryInput[]
    createMany?: ConfigurationsCreateManyCategoryInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutCategoryInput | ConfigurationsUpdateWithWhereUniqueWithoutCategoryInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutCategoryInput | ConfigurationsUpdateManyWithWhereWithoutCategoryInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUpdateManyWithoutCategoryNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput> | UserConfigurationsCreateWithoutCategoryInput[] | UserConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCategoryInput | UserConfigurationsCreateOrConnectWithoutCategoryInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutCategoryInput | UserConfigurationsUpsertWithWhereUniqueWithoutCategoryInput[]
    createMany?: UserConfigurationsCreateManyCategoryInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutCategoryInput | UserConfigurationsUpdateWithWhereUniqueWithoutCategoryInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutCategoryInput | UserConfigurationsUpdateManyWithWhereWithoutCategoryInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput = {
    create?: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput> | ConfigurationsCreateWithoutCategoryInput[] | ConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: ConfigurationsCreateOrConnectWithoutCategoryInput | ConfigurationsCreateOrConnectWithoutCategoryInput[]
    upsert?: ConfigurationsUpsertWithWhereUniqueWithoutCategoryInput | ConfigurationsUpsertWithWhereUniqueWithoutCategoryInput[]
    createMany?: ConfigurationsCreateManyCategoryInputEnvelope
    set?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    disconnect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    delete?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    connect?: ConfigurationsWhereUniqueInput | ConfigurationsWhereUniqueInput[]
    update?: ConfigurationsUpdateWithWhereUniqueWithoutCategoryInput | ConfigurationsUpdateWithWhereUniqueWithoutCategoryInput[]
    updateMany?: ConfigurationsUpdateManyWithWhereWithoutCategoryInput | ConfigurationsUpdateManyWithWhereWithoutCategoryInput[]
    deleteMany?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput = {
    create?: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput> | UserConfigurationsCreateWithoutCategoryInput[] | UserConfigurationsUncheckedCreateWithoutCategoryInput[]
    connectOrCreate?: UserConfigurationsCreateOrConnectWithoutCategoryInput | UserConfigurationsCreateOrConnectWithoutCategoryInput[]
    upsert?: UserConfigurationsUpsertWithWhereUniqueWithoutCategoryInput | UserConfigurationsUpsertWithWhereUniqueWithoutCategoryInput[]
    createMany?: UserConfigurationsCreateManyCategoryInputEnvelope
    set?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    disconnect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    delete?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    connect?: UserConfigurationsWhereUniqueInput | UserConfigurationsWhereUniqueInput[]
    update?: UserConfigurationsUpdateWithWhereUniqueWithoutCategoryInput | UserConfigurationsUpdateWithWhereUniqueWithoutCategoryInput[]
    updateMany?: UserConfigurationsUpdateManyWithWhereWithoutCategoryInput | UserConfigurationsUpdateManyWithWhereWithoutCategoryInput[]
    deleteMany?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
  }

  export type CategoriesCreateNestedOneWithoutConfigurationsInput = {
    create?: XOR<CategoriesCreateWithoutConfigurationsInput, CategoriesUncheckedCreateWithoutConfigurationsInput>
    connectOrCreate?: CategoriesCreateOrConnectWithoutConfigurationsInput
    connect?: CategoriesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_configurationsInput = {
    create?: XOR<UserCreateWithoutCreated_configurationsInput, UserUncheckedCreateWithoutCreated_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_configurationsInput = {
    create?: XOR<UserCreateWithoutUpdated_configurationsInput, UserUncheckedCreateWithoutUpdated_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_configurationsInput = {
    create?: XOR<UserCreateWithoutDeleted_configurationsInput, UserUncheckedCreateWithoutDeleted_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type CategoriesUpdateOneWithoutConfigurationsNestedInput = {
    create?: XOR<CategoriesCreateWithoutConfigurationsInput, CategoriesUncheckedCreateWithoutConfigurationsInput>
    connectOrCreate?: CategoriesCreateOrConnectWithoutConfigurationsInput
    upsert?: CategoriesUpsertWithoutConfigurationsInput
    disconnect?: CategoriesWhereInput | boolean
    delete?: CategoriesWhereInput | boolean
    connect?: CategoriesWhereUniqueInput
    update?: XOR<XOR<CategoriesUpdateToOneWithWhereWithoutConfigurationsInput, CategoriesUpdateWithoutConfigurationsInput>, CategoriesUncheckedUpdateWithoutConfigurationsInput>
  }

  export type UserUpdateOneWithoutCreated_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_configurationsInput, UserUncheckedCreateWithoutCreated_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_configurationsInput
    upsert?: UserUpsertWithoutCreated_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_configurationsInput, UserUpdateWithoutCreated_configurationsInput>, UserUncheckedUpdateWithoutCreated_configurationsInput>
  }

  export type UserUpdateOneWithoutUpdated_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_configurationsInput, UserUncheckedCreateWithoutUpdated_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_configurationsInput
    upsert?: UserUpsertWithoutUpdated_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_configurationsInput, UserUpdateWithoutUpdated_configurationsInput>, UserUncheckedUpdateWithoutUpdated_configurationsInput>
  }

  export type UserUpdateOneWithoutDeleted_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_configurationsInput, UserUncheckedCreateWithoutDeleted_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_configurationsInput
    upsert?: UserUpsertWithoutDeleted_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_configurationsInput, UserUpdateWithoutDeleted_configurationsInput>, UserUncheckedUpdateWithoutDeleted_configurationsInput>
  }

  export type CategoriesCreateNestedOneWithoutUser_configurationsInput = {
    create?: XOR<CategoriesCreateWithoutUser_configurationsInput, CategoriesUncheckedCreateWithoutUser_configurationsInput>
    connectOrCreate?: CategoriesCreateOrConnectWithoutUser_configurationsInput
    connect?: CategoriesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_user_configurationsInput = {
    create?: XOR<UserCreateWithoutCreated_user_configurationsInput, UserUncheckedCreateWithoutCreated_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_user_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_user_configurationsInput = {
    create?: XOR<UserCreateWithoutUpdated_user_configurationsInput, UserUncheckedCreateWithoutUpdated_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_user_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_user_configurationsInput = {
    create?: XOR<UserCreateWithoutDeleted_user_configurationsInput, UserUncheckedCreateWithoutDeleted_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_user_configurationsInput
    connect?: UserWhereUniqueInput
  }

  export type CategoriesUpdateOneWithoutUser_configurationsNestedInput = {
    create?: XOR<CategoriesCreateWithoutUser_configurationsInput, CategoriesUncheckedCreateWithoutUser_configurationsInput>
    connectOrCreate?: CategoriesCreateOrConnectWithoutUser_configurationsInput
    upsert?: CategoriesUpsertWithoutUser_configurationsInput
    disconnect?: CategoriesWhereInput | boolean
    delete?: CategoriesWhereInput | boolean
    connect?: CategoriesWhereUniqueInput
    update?: XOR<XOR<CategoriesUpdateToOneWithWhereWithoutUser_configurationsInput, CategoriesUpdateWithoutUser_configurationsInput>, CategoriesUncheckedUpdateWithoutUser_configurationsInput>
  }

  export type UserUpdateOneWithoutCreated_user_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_user_configurationsInput, UserUncheckedCreateWithoutCreated_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_user_configurationsInput
    upsert?: UserUpsertWithoutCreated_user_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_user_configurationsInput, UserUpdateWithoutCreated_user_configurationsInput>, UserUncheckedUpdateWithoutCreated_user_configurationsInput>
  }

  export type UserUpdateOneWithoutUpdated_user_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_user_configurationsInput, UserUncheckedCreateWithoutUpdated_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_user_configurationsInput
    upsert?: UserUpsertWithoutUpdated_user_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_user_configurationsInput, UserUpdateWithoutUpdated_user_configurationsInput>, UserUncheckedUpdateWithoutUpdated_user_configurationsInput>
  }

  export type UserUpdateOneWithoutDeleted_user_configurationsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_user_configurationsInput, UserUncheckedCreateWithoutDeleted_user_configurationsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_user_configurationsInput
    upsert?: UserUpsertWithoutDeleted_user_configurationsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_user_configurationsInput, UserUpdateWithoutDeleted_user_configurationsInput>, UserUncheckedUpdateWithoutDeleted_user_configurationsInput>
  }

  export type StatusCreateNestedOneWithoutFile_upload_logsInput = {
    create?: XOR<StatusCreateWithoutFile_upload_logsInput, StatusUncheckedCreateWithoutFile_upload_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutFile_upload_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutFile_upload_logsNestedInput = {
    create?: XOR<StatusCreateWithoutFile_upload_logsInput, StatusUncheckedCreateWithoutFile_upload_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutFile_upload_logsInput
    upsert?: StatusUpsertWithoutFile_upload_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutFile_upload_logsInput, StatusUpdateWithoutFile_upload_logsInput>, StatusUncheckedUpdateWithoutFile_upload_logsInput>
  }

  export type StatusCreateNestedOneWithoutDevice_registrationInput = {
    create?: XOR<StatusCreateWithoutDevice_registrationInput, StatusUncheckedCreateWithoutDevice_registrationInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDevice_registrationInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_device_registrationInput = {
    create?: XOR<UserCreateWithoutCreated_device_registrationInput, UserUncheckedCreateWithoutCreated_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_device_registrationInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_device_registrationInput = {
    create?: XOR<UserCreateWithoutUpdated_device_registrationInput, UserUncheckedCreateWithoutUpdated_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_device_registrationInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_device_registrationInput = {
    create?: XOR<UserCreateWithoutDeleted_device_registrationInput, UserUncheckedCreateWithoutDeleted_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_device_registrationInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeviceRegistrationInput = {
    create?: XOR<UserCreateWithoutDeviceRegistrationInput, UserUncheckedCreateWithoutDeviceRegistrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeviceRegistrationInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutDevice_registrationNestedInput = {
    create?: XOR<StatusCreateWithoutDevice_registrationInput, StatusUncheckedCreateWithoutDevice_registrationInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDevice_registrationInput
    upsert?: StatusUpsertWithoutDevice_registrationInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDevice_registrationInput, StatusUpdateWithoutDevice_registrationInput>, StatusUncheckedUpdateWithoutDevice_registrationInput>
  }

  export type UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput = {
    create?: XOR<UserCreateWithoutCreated_device_registrationInput, UserUncheckedCreateWithoutCreated_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_device_registrationInput
    upsert?: UserUpsertWithoutCreated_device_registrationInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_device_registrationInput, UserUpdateWithoutCreated_device_registrationInput>, UserUncheckedUpdateWithoutCreated_device_registrationInput>
  }

  export type UserUpdateOneWithoutUpdated_device_registrationNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_device_registrationInput, UserUncheckedCreateWithoutUpdated_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_device_registrationInput
    upsert?: UserUpsertWithoutUpdated_device_registrationInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_device_registrationInput, UserUpdateWithoutUpdated_device_registrationInput>, UserUncheckedUpdateWithoutUpdated_device_registrationInput>
  }

  export type UserUpdateOneWithoutDeleted_device_registrationNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_device_registrationInput, UserUncheckedCreateWithoutDeleted_device_registrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_device_registrationInput
    upsert?: UserUpsertWithoutDeleted_device_registrationInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_device_registrationInput, UserUpdateWithoutDeleted_device_registrationInput>, UserUncheckedUpdateWithoutDeleted_device_registrationInput>
  }

  export type UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput = {
    create?: XOR<UserCreateWithoutDeviceRegistrationInput, UserUncheckedCreateWithoutDeviceRegistrationInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeviceRegistrationInput
    upsert?: UserUpsertWithoutDeviceRegistrationInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeviceRegistrationInput, UserUpdateWithoutDeviceRegistrationInput>, UserUncheckedUpdateWithoutDeviceRegistrationInput>
  }

  export type StatusCreateNestedOneWithoutPoliciesInput = {
    create?: XOR<StatusCreateWithoutPoliciesInput, StatusUncheckedCreateWithoutPoliciesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPoliciesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserPoliciesCreateNestedManyWithoutPolicyInput = {
    create?: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput> | UserPoliciesCreateWithoutPolicyInput[] | UserPoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutPolicyInput | UserPoliciesCreateOrConnectWithoutPolicyInput[]
    createMany?: UserPoliciesCreateManyPolicyInputEnvelope
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
  }

  export type RolePoliciesCreateNestedManyWithoutPolicyInput = {
    create?: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput> | RolePoliciesCreateWithoutPolicyInput[] | RolePoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutPolicyInput | RolePoliciesCreateOrConnectWithoutPolicyInput[]
    createMany?: RolePoliciesCreateManyPolicyInputEnvelope
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreated_policyInput = {
    create?: XOR<UserCreateWithoutCreated_policyInput, UserUncheckedCreateWithoutCreated_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_policyInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_policyInput = {
    create?: XOR<UserCreateWithoutUpdated_policyInput, UserUncheckedCreateWithoutUpdated_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_policyInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_policyInput = {
    create?: XOR<UserCreateWithoutDeleted_policyInput, UserUncheckedCreateWithoutDeleted_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_policyInput
    connect?: UserWhereUniqueInput
  }

  export type UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput = {
    create?: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput> | UserPoliciesCreateWithoutPolicyInput[] | UserPoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutPolicyInput | UserPoliciesCreateOrConnectWithoutPolicyInput[]
    createMany?: UserPoliciesCreateManyPolicyInputEnvelope
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
  }

  export type RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput = {
    create?: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput> | RolePoliciesCreateWithoutPolicyInput[] | RolePoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutPolicyInput | RolePoliciesCreateOrConnectWithoutPolicyInput[]
    createMany?: RolePoliciesCreateManyPolicyInputEnvelope
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutPoliciesNestedInput = {
    create?: XOR<StatusCreateWithoutPoliciesInput, StatusUncheckedCreateWithoutPoliciesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPoliciesInput
    upsert?: StatusUpsertWithoutPoliciesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutPoliciesInput, StatusUpdateWithoutPoliciesInput>, StatusUncheckedUpdateWithoutPoliciesInput>
  }

  export type UserPoliciesUpdateManyWithoutPolicyNestedInput = {
    create?: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput> | UserPoliciesCreateWithoutPolicyInput[] | UserPoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutPolicyInput | UserPoliciesCreateOrConnectWithoutPolicyInput[]
    upsert?: UserPoliciesUpsertWithWhereUniqueWithoutPolicyInput | UserPoliciesUpsertWithWhereUniqueWithoutPolicyInput[]
    createMany?: UserPoliciesCreateManyPolicyInputEnvelope
    set?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    disconnect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    delete?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    update?: UserPoliciesUpdateWithWhereUniqueWithoutPolicyInput | UserPoliciesUpdateWithWhereUniqueWithoutPolicyInput[]
    updateMany?: UserPoliciesUpdateManyWithWhereWithoutPolicyInput | UserPoliciesUpdateManyWithWhereWithoutPolicyInput[]
    deleteMany?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
  }

  export type RolePoliciesUpdateManyWithoutPolicyNestedInput = {
    create?: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput> | RolePoliciesCreateWithoutPolicyInput[] | RolePoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutPolicyInput | RolePoliciesCreateOrConnectWithoutPolicyInput[]
    upsert?: RolePoliciesUpsertWithWhereUniqueWithoutPolicyInput | RolePoliciesUpsertWithWhereUniqueWithoutPolicyInput[]
    createMany?: RolePoliciesCreateManyPolicyInputEnvelope
    set?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    disconnect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    delete?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    update?: RolePoliciesUpdateWithWhereUniqueWithoutPolicyInput | RolePoliciesUpdateWithWhereUniqueWithoutPolicyInput[]
    updateMany?: RolePoliciesUpdateManyWithWhereWithoutPolicyInput | RolePoliciesUpdateManyWithWhereWithoutPolicyInput[]
    deleteMany?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
  }

  export type UserUpdateOneRequiredWithoutCreated_policyNestedInput = {
    create?: XOR<UserCreateWithoutCreated_policyInput, UserUncheckedCreateWithoutCreated_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_policyInput
    upsert?: UserUpsertWithoutCreated_policyInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_policyInput, UserUpdateWithoutCreated_policyInput>, UserUncheckedUpdateWithoutCreated_policyInput>
  }

  export type UserUpdateOneWithoutUpdated_policyNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_policyInput, UserUncheckedCreateWithoutUpdated_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_policyInput
    upsert?: UserUpsertWithoutUpdated_policyInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_policyInput, UserUpdateWithoutUpdated_policyInput>, UserUncheckedUpdateWithoutUpdated_policyInput>
  }

  export type UserUpdateOneWithoutDeleted_policyNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_policyInput, UserUncheckedCreateWithoutDeleted_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_policyInput
    upsert?: UserUpsertWithoutDeleted_policyInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_policyInput, UserUpdateWithoutDeleted_policyInput>, UserUncheckedUpdateWithoutDeleted_policyInput>
  }

  export type UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput = {
    create?: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput> | UserPoliciesCreateWithoutPolicyInput[] | UserPoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: UserPoliciesCreateOrConnectWithoutPolicyInput | UserPoliciesCreateOrConnectWithoutPolicyInput[]
    upsert?: UserPoliciesUpsertWithWhereUniqueWithoutPolicyInput | UserPoliciesUpsertWithWhereUniqueWithoutPolicyInput[]
    createMany?: UserPoliciesCreateManyPolicyInputEnvelope
    set?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    disconnect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    delete?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    connect?: UserPoliciesWhereUniqueInput | UserPoliciesWhereUniqueInput[]
    update?: UserPoliciesUpdateWithWhereUniqueWithoutPolicyInput | UserPoliciesUpdateWithWhereUniqueWithoutPolicyInput[]
    updateMany?: UserPoliciesUpdateManyWithWhereWithoutPolicyInput | UserPoliciesUpdateManyWithWhereWithoutPolicyInput[]
    deleteMany?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
  }

  export type RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput = {
    create?: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput> | RolePoliciesCreateWithoutPolicyInput[] | RolePoliciesUncheckedCreateWithoutPolicyInput[]
    connectOrCreate?: RolePoliciesCreateOrConnectWithoutPolicyInput | RolePoliciesCreateOrConnectWithoutPolicyInput[]
    upsert?: RolePoliciesUpsertWithWhereUniqueWithoutPolicyInput | RolePoliciesUpsertWithWhereUniqueWithoutPolicyInput[]
    createMany?: RolePoliciesCreateManyPolicyInputEnvelope
    set?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    disconnect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    delete?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    connect?: RolePoliciesWhereUniqueInput | RolePoliciesWhereUniqueInput[]
    update?: RolePoliciesUpdateWithWhereUniqueWithoutPolicyInput | RolePoliciesUpdateWithWhereUniqueWithoutPolicyInput[]
    updateMany?: RolePoliciesUpdateManyWithWhereWithoutPolicyInput | RolePoliciesUpdateManyWithWhereWithoutPolicyInput[]
    deleteMany?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
  }

  export type PoliciesCreateNestedOneWithoutUser_policyInput = {
    create?: XOR<PoliciesCreateWithoutUser_policyInput, PoliciesUncheckedCreateWithoutUser_policyInput>
    connectOrCreate?: PoliciesCreateOrConnectWithoutUser_policyInput
    connect?: PoliciesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUser_policyInput = {
    create?: XOR<UserCreateWithoutUser_policyInput, UserUncheckedCreateWithoutUser_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_policyInput
    connect?: UserWhereUniqueInput
  }

  export type PoliciesUpdateOneRequiredWithoutUser_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutUser_policyInput, PoliciesUncheckedCreateWithoutUser_policyInput>
    connectOrCreate?: PoliciesCreateOrConnectWithoutUser_policyInput
    upsert?: PoliciesUpsertWithoutUser_policyInput
    connect?: PoliciesWhereUniqueInput
    update?: XOR<XOR<PoliciesUpdateToOneWithWhereWithoutUser_policyInput, PoliciesUpdateWithoutUser_policyInput>, PoliciesUncheckedUpdateWithoutUser_policyInput>
  }

  export type UserUpdateOneRequiredWithoutUser_policyNestedInput = {
    create?: XOR<UserCreateWithoutUser_policyInput, UserUncheckedCreateWithoutUser_policyInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_policyInput
    upsert?: UserUpsertWithoutUser_policyInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUser_policyInput, UserUpdateWithoutUser_policyInput>, UserUncheckedUpdateWithoutUser_policyInput>
  }

  export type PoliciesCreateNestedOneWithoutRole_policyInput = {
    create?: XOR<PoliciesCreateWithoutRole_policyInput, PoliciesUncheckedCreateWithoutRole_policyInput>
    connectOrCreate?: PoliciesCreateOrConnectWithoutRole_policyInput
    connect?: PoliciesWhereUniqueInput
  }

  export type RoleCreateNestedOneWithoutRole_policyInput = {
    create?: XOR<RoleCreateWithoutRole_policyInput, RoleUncheckedCreateWithoutRole_policyInput>
    connectOrCreate?: RoleCreateOrConnectWithoutRole_policyInput
    connect?: RoleWhereUniqueInput
  }

  export type PoliciesUpdateOneRequiredWithoutRole_policyNestedInput = {
    create?: XOR<PoliciesCreateWithoutRole_policyInput, PoliciesUncheckedCreateWithoutRole_policyInput>
    connectOrCreate?: PoliciesCreateOrConnectWithoutRole_policyInput
    upsert?: PoliciesUpsertWithoutRole_policyInput
    connect?: PoliciesWhereUniqueInput
    update?: XOR<XOR<PoliciesUpdateToOneWithWhereWithoutRole_policyInput, PoliciesUpdateWithoutRole_policyInput>, PoliciesUncheckedUpdateWithoutRole_policyInput>
  }

  export type RoleUpdateOneRequiredWithoutRole_policyNestedInput = {
    create?: XOR<RoleCreateWithoutRole_policyInput, RoleUncheckedCreateWithoutRole_policyInput>
    connectOrCreate?: RoleCreateOrConnectWithoutRole_policyInput
    upsert?: RoleUpsertWithoutRole_policyInput
    connect?: RoleWhereUniqueInput
    update?: XOR<XOR<RoleUpdateToOneWithWhereWithoutRole_policyInput, RoleUpdateWithoutRole_policyInput>, RoleUncheckedUpdateWithoutRole_policyInput>
  }

  export type StatusCreateNestedOneWithoutApp_versionsInput = {
    create?: XOR<StatusCreateWithoutApp_versionsInput, StatusUncheckedCreateWithoutApp_versionsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApp_versionsInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_app_versionsInput = {
    create?: XOR<UserCreateWithoutCreated_app_versionsInput, UserUncheckedCreateWithoutCreated_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_app_versionsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_app_versionsInput = {
    create?: XOR<UserCreateWithoutUpdated_app_versionsInput, UserUncheckedCreateWithoutUpdated_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_app_versionsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_app_versionsInput = {
    create?: XOR<UserCreateWithoutDeleted_app_versionsInput, UserUncheckedCreateWithoutDeleted_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_app_versionsInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutApp_versionsNestedInput = {
    create?: XOR<StatusCreateWithoutApp_versionsInput, StatusUncheckedCreateWithoutApp_versionsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApp_versionsInput
    upsert?: StatusUpsertWithoutApp_versionsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApp_versionsInput, StatusUpdateWithoutApp_versionsInput>, StatusUncheckedUpdateWithoutApp_versionsInput>
  }

  export type UserUpdateOneRequiredWithoutCreated_app_versionsNestedInput = {
    create?: XOR<UserCreateWithoutCreated_app_versionsInput, UserUncheckedCreateWithoutCreated_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_app_versionsInput
    upsert?: UserUpsertWithoutCreated_app_versionsInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_app_versionsInput, UserUpdateWithoutCreated_app_versionsInput>, UserUncheckedUpdateWithoutCreated_app_versionsInput>
  }

  export type UserUpdateOneWithoutUpdated_app_versionsNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_app_versionsInput, UserUncheckedCreateWithoutUpdated_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_app_versionsInput
    upsert?: UserUpsertWithoutUpdated_app_versionsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_app_versionsInput, UserUpdateWithoutUpdated_app_versionsInput>, UserUncheckedUpdateWithoutUpdated_app_versionsInput>
  }

  export type UserUpdateOneWithoutDeleted_app_versionsNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_app_versionsInput, UserUncheckedCreateWithoutDeleted_app_versionsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_app_versionsInput
    upsert?: UserUpsertWithoutDeleted_app_versionsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_app_versionsInput, UserUpdateWithoutDeleted_app_versionsInput>, UserUncheckedUpdateWithoutDeleted_app_versionsInput>
  }

  export type StatusCreateNestedOneWithoutScheduled_jobsInput = {
    create?: XOR<StatusCreateWithoutScheduled_jobsInput, StatusUncheckedCreateWithoutScheduled_jobsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutScheduled_jobsInput
    connect?: StatusWhereUniqueInput
  }

  export type ScheduledJobLogsCreateNestedManyWithoutScheduled_jobInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput> | ScheduledJobLogsCreateWithoutScheduled_jobInput[] | ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput | ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput[]
    createMany?: ScheduledJobLogsCreateManyScheduled_jobInputEnvelope
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
  }

  export type ScheduledJobLogsUncheckedCreateNestedManyWithoutScheduled_jobInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput> | ScheduledJobLogsCreateWithoutScheduled_jobInput[] | ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput | ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput[]
    createMany?: ScheduledJobLogsCreateManyScheduled_jobInputEnvelope
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutScheduled_jobsNestedInput = {
    create?: XOR<StatusCreateWithoutScheduled_jobsInput, StatusUncheckedCreateWithoutScheduled_jobsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutScheduled_jobsInput
    upsert?: StatusUpsertWithoutScheduled_jobsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutScheduled_jobsInput, StatusUpdateWithoutScheduled_jobsInput>, StatusUncheckedUpdateWithoutScheduled_jobsInput>
  }

  export type ScheduledJobLogsUpdateManyWithoutScheduled_jobNestedInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput> | ScheduledJobLogsCreateWithoutScheduled_jobInput[] | ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput | ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput[]
    upsert?: ScheduledJobLogsUpsertWithWhereUniqueWithoutScheduled_jobInput | ScheduledJobLogsUpsertWithWhereUniqueWithoutScheduled_jobInput[]
    createMany?: ScheduledJobLogsCreateManyScheduled_jobInputEnvelope
    set?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    disconnect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    delete?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    update?: ScheduledJobLogsUpdateWithWhereUniqueWithoutScheduled_jobInput | ScheduledJobLogsUpdateWithWhereUniqueWithoutScheduled_jobInput[]
    updateMany?: ScheduledJobLogsUpdateManyWithWhereWithoutScheduled_jobInput | ScheduledJobLogsUpdateManyWithWhereWithoutScheduled_jobInput[]
    deleteMany?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
  }

  export type ScheduledJobLogsUncheckedUpdateManyWithoutScheduled_jobNestedInput = {
    create?: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput> | ScheduledJobLogsCreateWithoutScheduled_jobInput[] | ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput[]
    connectOrCreate?: ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput | ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput[]
    upsert?: ScheduledJobLogsUpsertWithWhereUniqueWithoutScheduled_jobInput | ScheduledJobLogsUpsertWithWhereUniqueWithoutScheduled_jobInput[]
    createMany?: ScheduledJobLogsCreateManyScheduled_jobInputEnvelope
    set?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    disconnect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    delete?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    connect?: ScheduledJobLogsWhereUniqueInput | ScheduledJobLogsWhereUniqueInput[]
    update?: ScheduledJobLogsUpdateWithWhereUniqueWithoutScheduled_jobInput | ScheduledJobLogsUpdateWithWhereUniqueWithoutScheduled_jobInput[]
    updateMany?: ScheduledJobLogsUpdateManyWithWhereWithoutScheduled_jobInput | ScheduledJobLogsUpdateManyWithWhereWithoutScheduled_jobInput[]
    deleteMany?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutScheduled_job_logsInput = {
    create?: XOR<StatusCreateWithoutScheduled_job_logsInput, StatusUncheckedCreateWithoutScheduled_job_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutScheduled_job_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type ScheduledJobCreateNestedOneWithoutScheduled_job_logsInput = {
    create?: XOR<ScheduledJobCreateWithoutScheduled_job_logsInput, ScheduledJobUncheckedCreateWithoutScheduled_job_logsInput>
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutScheduled_job_logsInput
    connect?: ScheduledJobWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutScheduled_job_logsNestedInput = {
    create?: XOR<StatusCreateWithoutScheduled_job_logsInput, StatusUncheckedCreateWithoutScheduled_job_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutScheduled_job_logsInput
    upsert?: StatusUpsertWithoutScheduled_job_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutScheduled_job_logsInput, StatusUpdateWithoutScheduled_job_logsInput>, StatusUncheckedUpdateWithoutScheduled_job_logsInput>
  }

  export type ScheduledJobUpdateOneRequiredWithoutScheduled_job_logsNestedInput = {
    create?: XOR<ScheduledJobCreateWithoutScheduled_job_logsInput, ScheduledJobUncheckedCreateWithoutScheduled_job_logsInput>
    connectOrCreate?: ScheduledJobCreateOrConnectWithoutScheduled_job_logsInput
    upsert?: ScheduledJobUpsertWithoutScheduled_job_logsInput
    connect?: ScheduledJobWhereUniqueInput
    update?: XOR<XOR<ScheduledJobUpdateToOneWithWhereWithoutScheduled_job_logsInput, ScheduledJobUpdateWithoutScheduled_job_logsInput>, ScheduledJobUncheckedUpdateWithoutScheduled_job_logsInput>
  }

  export type StatusCreateNestedOneWithoutApproval_workflowsInput = {
    create?: XOR<StatusCreateWithoutApproval_workflowsInput, StatusUncheckedCreateWithoutApproval_workflowsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflowsInput
    connect?: StatusWhereUniqueInput
  }

  export type ApprovalWorkflowAssignmentCreateNestedManyWithoutApproval_workflowInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput> | ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApproval_workflowInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApproval_workflowInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput> | ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApproval_workflowInputEnvelope
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutApproval_workflowsNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_workflowsInput, StatusUncheckedCreateWithoutApproval_workflowsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflowsInput
    upsert?: StatusUpsertWithoutApproval_workflowsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_workflowsInput, StatusUpdateWithoutApproval_workflowsInput>, StatusUncheckedUpdateWithoutApproval_workflowsInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithoutApproval_workflowNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput> | ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApproval_workflowInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApproval_workflowInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApproval_workflowInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApproval_workflowInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApproval_workflowNestedInput = {
    create?: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput> | ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput[] | ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput[]
    connectOrCreate?: ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput | ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput[]
    upsert?: ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApproval_workflowInput[]
    createMany?: ApprovalWorkflowAssignmentCreateManyApproval_workflowInputEnvelope
    set?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    disconnect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    delete?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    connect?: ApprovalWorkflowAssignmentWhereUniqueInput | ApprovalWorkflowAssignmentWhereUniqueInput[]
    update?: ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApproval_workflowInput[]
    updateMany?: ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApproval_workflowInput | ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApproval_workflowInput[]
    deleteMany?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutApproval_workflow_approver_tagsInput = {
    create?: XOR<StatusCreateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedCreateWithoutApproval_workflow_approver_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflow_approver_tagsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutApproval_workflow_approver_tagsNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedCreateWithoutApproval_workflow_approver_tagsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflow_approver_tagsInput
    upsert?: StatusUpsertWithoutApproval_workflow_approver_tagsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_workflow_approver_tagsInput, StatusUpdateWithoutApproval_workflow_approver_tagsInput>, StatusUncheckedUpdateWithoutApproval_workflow_approver_tagsInput>
  }

  export type ApprovalWorkflowAssignmentCreateapprove_query_informationInput = {
    set: string[]
  }

  export type ApprovalWorkflowAssignmentCreatereject_query_informationInput = {
    set: string[]
  }

  export type ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutApproval_workflow_assignmentsInput
    connect?: ApprovalWorkflowWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput = {
    create?: XOR<StatusCreateWithoutApproval_workflow_assignmentsInput, StatusUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflow_assignmentsInput
    connect?: StatusWhereUniqueInput
  }

  export type NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approveInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approveInput
    connect?: NotificationTemplateWhereUniqueInput
  }

  export type NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_rejectInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_rejectInput
    connect?: NotificationTemplateWhereUniqueInput
  }

  export type NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approve_waInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approve_waInput
    connect?: NotificationTemplateWhereUniqueInput
  }

  export type NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_reject_waInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_reject_waInput
    connect?: NotificationTemplateWhereUniqueInput
  }

  export type EnumApproverTypeFieldUpdateOperationsInput = {
    set?: $Enums.ApproverType
  }

  export type ApprovalWorkflowAssignmentUpdateapprove_query_informationInput = {
    set?: string[]
    push?: string | string[]
  }

  export type ApprovalWorkflowAssignmentUpdatereject_query_informationInput = {
    set?: string[]
    push?: string | string[]
  }

  export type ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput = {
    create?: XOR<ApprovalWorkflowCreateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    connectOrCreate?: ApprovalWorkflowCreateOrConnectWithoutApproval_workflow_assignmentsInput
    upsert?: ApprovalWorkflowUpsertWithoutApproval_workflow_assignmentsInput
    connect?: ApprovalWorkflowWhereUniqueInput
    update?: XOR<XOR<ApprovalWorkflowUpdateToOneWithWhereWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUpdateWithoutApproval_workflow_assignmentsInput>, ApprovalWorkflowUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
  }

  export type StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_workflow_assignmentsInput, StatusUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_workflow_assignmentsInput
    upsert?: StatusUpsertWithoutApproval_workflow_assignmentsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_workflow_assignmentsInput, StatusUpdateWithoutApproval_workflow_assignmentsInput>, StatusUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
  }

  export type NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approveInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approveInput
    upsert?: NotificationTemplateUpsertWithoutApproval_workflow_assignments_approveInput
    disconnect?: NotificationTemplateWhereInput | boolean
    delete?: NotificationTemplateWhereInput | boolean
    connect?: NotificationTemplateWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUpdateWithoutApproval_workflow_assignments_approveInput>, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approveInput>
  }

  export type NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_rejectInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_rejectInput
    upsert?: NotificationTemplateUpsertWithoutApproval_workflow_assignments_rejectInput
    disconnect?: NotificationTemplateWhereInput | boolean
    delete?: NotificationTemplateWhereInput | boolean
    connect?: NotificationTemplateWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUpdateWithoutApproval_workflow_assignments_rejectInput>, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_rejectInput>
  }

  export type NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approve_waInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approve_waInput
    upsert?: NotificationTemplateUpsertWithoutApproval_workflow_assignments_approve_waInput
    disconnect?: NotificationTemplateWhereInput | boolean
    delete?: NotificationTemplateWhereInput | boolean
    connect?: NotificationTemplateWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUpdateWithoutApproval_workflow_assignments_approve_waInput>, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approve_waInput>
  }

  export type NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput = {
    create?: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_reject_waInput>
    connectOrCreate?: NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_reject_waInput
    upsert?: NotificationTemplateUpsertWithoutApproval_workflow_assignments_reject_waInput
    disconnect?: NotificationTemplateWhereInput | boolean
    delete?: NotificationTemplateWhereInput | boolean
    connect?: NotificationTemplateWhereUniqueInput
    update?: XOR<XOR<NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUpdateWithoutApproval_workflow_assignments_reject_waInput>, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_reject_waInput>
  }

  export type StatusCreateNestedOneWithoutApproval_process_jobInput = {
    create?: XOR<StatusCreateWithoutApproval_process_jobInput, StatusUncheckedCreateWithoutApproval_process_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_jobInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutApproval_process_jobNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_process_jobInput, StatusUncheckedCreateWithoutApproval_process_jobInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_jobInput
    upsert?: StatusUpsertWithoutApproval_process_jobInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_process_jobInput, StatusUpdateWithoutApproval_process_jobInput>, StatusUncheckedUpdateWithoutApproval_process_jobInput>
  }

  export type ApprovalProcessJobWorkflowCreateapprove_query_informationInput = {
    set: string[]
  }

  export type ApprovalProcessJobWorkflowCreatereject_query_informationInput = {
    set: string[]
  }

  export type StatusCreateNestedOneWithoutApproval_process_job_workflowsInput = {
    create?: XOR<StatusCreateWithoutApproval_process_job_workflowsInput, StatusUncheckedCreateWithoutApproval_process_job_workflowsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_job_workflowsInput
    connect?: StatusWhereUniqueInput
  }

  export type ApprovalProcessJobWorkflowUserCreateNestedManyWithoutApproval_process_job_workflowInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput> | ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInputEnvelope
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutApproval_process_job_workflowInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput> | ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInputEnvelope
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
  }

  export type ApprovalProcessJobWorkflowUpdateapprove_query_informationInput = {
    set?: string[]
    push?: string | string[]
  }

  export type ApprovalProcessJobWorkflowUpdatereject_query_informationInput = {
    set?: string[]
    push?: string | string[]
  }

  export type EnumApprovalStatusFieldUpdateOperationsInput = {
    set?: $Enums.ApprovalStatus
  }

  export type StatusUpdateOneRequiredWithoutApproval_process_job_workflowsNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_process_job_workflowsInput, StatusUncheckedCreateWithoutApproval_process_job_workflowsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_job_workflowsInput
    upsert?: StatusUpsertWithoutApproval_process_job_workflowsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_process_job_workflowsInput, StatusUpdateWithoutApproval_process_job_workflowsInput>, StatusUncheckedUpdateWithoutApproval_process_job_workflowsInput>
  }

  export type ApprovalProcessJobWorkflowUserUpdateManyWithoutApproval_process_job_workflowNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput> | ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput[]
    upsert?: ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutApproval_process_job_workflowInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInputEnvelope
    set?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutApproval_process_job_workflowInput[]
    updateMany?: ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutApproval_process_job_workflowInput[]
    deleteMany?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutApproval_process_job_workflowNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput> | ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput[] | ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput[]
    connectOrCreate?: ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput[]
    upsert?: ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutApproval_process_job_workflowInput[]
    createMany?: ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInputEnvelope
    set?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    disconnect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    delete?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    connect?: ApprovalProcessJobWorkflowUserWhereUniqueInput | ApprovalProcessJobWorkflowUserWhereUniqueInput[]
    update?: ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutApproval_process_job_workflowInput[]
    updateMany?: ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutApproval_process_job_workflowInput[]
    deleteMany?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
  }

  export type ApprovalProcessJobWorkflowCreateNestedOneWithoutApproval_process_job_workflow_usersInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutApproval_process_job_workflow_usersInput
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutApproval_process_job_workflow_usersInput = {
    create?: XOR<StatusCreateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_job_workflow_usersInput
    connect?: StatusWhereUniqueInput
  }

  export type ApprovalProcessJobWorkflowUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput = {
    create?: XOR<ApprovalProcessJobWorkflowCreateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    connectOrCreate?: ApprovalProcessJobWorkflowCreateOrConnectWithoutApproval_process_job_workflow_usersInput
    upsert?: ApprovalProcessJobWorkflowUpsertWithoutApproval_process_job_workflow_usersInput
    connect?: ApprovalProcessJobWorkflowWhereUniqueInput
    update?: XOR<XOR<ApprovalProcessJobWorkflowUpdateToOneWithWhereWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUpdateWithoutApproval_process_job_workflow_usersInput>, ApprovalProcessJobWorkflowUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
  }

  export type StatusUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput = {
    create?: XOR<StatusCreateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutApproval_process_job_workflow_usersInput
    upsert?: StatusUpsertWithoutApproval_process_job_workflow_usersInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutApproval_process_job_workflow_usersInput, StatusUpdateWithoutApproval_process_job_workflow_usersInput>, StatusUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
  }

  export type StatusCreateNestedOneWithoutDelegationsInput = {
    create?: XOR<StatusCreateWithoutDelegationsInput, StatusUncheckedCreateWithoutDelegationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelegationsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutDelegationsNestedInput = {
    create?: XOR<StatusCreateWithoutDelegationsInput, StatusUncheckedCreateWithoutDelegationsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelegationsInput
    upsert?: StatusUpsertWithoutDelegationsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDelegationsInput, StatusUpdateWithoutDelegationsInput>, StatusUncheckedUpdateWithoutDelegationsInput>
  }

  export type StatusCreateNestedOneWithoutSchema_chunksInput = {
    create?: XOR<StatusCreateWithoutSchema_chunksInput, StatusUncheckedCreateWithoutSchema_chunksInput>
    connectOrCreate?: StatusCreateOrConnectWithoutSchema_chunksInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutSchema_chunksNestedInput = {
    create?: XOR<StatusCreateWithoutSchema_chunksInput, StatusUncheckedCreateWithoutSchema_chunksInput>
    connectOrCreate?: StatusCreateOrConnectWithoutSchema_chunksInput
    upsert?: StatusUpsertWithoutSchema_chunksInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutSchema_chunksInput, StatusUpdateWithoutSchema_chunksInput>, StatusUncheckedUpdateWithoutSchema_chunksInput>
  }

  export type StatusCreateNestedOneWithoutEmbedding_vector_logsInput = {
    create?: XOR<StatusCreateWithoutEmbedding_vector_logsInput, StatusUncheckedCreateWithoutEmbedding_vector_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutEmbedding_vector_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutEmbedding_vector_logsNestedInput = {
    create?: XOR<StatusCreateWithoutEmbedding_vector_logsInput, StatusUncheckedCreateWithoutEmbedding_vector_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutEmbedding_vector_logsInput
    upsert?: StatusUpsertWithoutEmbedding_vector_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutEmbedding_vector_logsInput, StatusUpdateWithoutEmbedding_vector_logsInput>, StatusUncheckedUpdateWithoutEmbedding_vector_logsInput>
  }

  export type StatusCreateNestedOneWithoutOpenai_usage_logsInput = {
    create?: XOR<StatusCreateWithoutOpenai_usage_logsInput, StatusUncheckedCreateWithoutOpenai_usage_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutOpenai_usage_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutOpenai_usage_logsNestedInput = {
    create?: XOR<StatusCreateWithoutOpenai_usage_logsInput, StatusUncheckedCreateWithoutOpenai_usage_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutOpenai_usage_logsInput
    upsert?: StatusUpsertWithoutOpenai_usage_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutOpenai_usage_logsInput, StatusUpdateWithoutOpenai_usage_logsInput>, StatusUncheckedUpdateWithoutOpenai_usage_logsInput>
  }

  export type StatusCreateNestedOneWithoutQuery_execution_logInput = {
    create?: XOR<StatusCreateWithoutQuery_execution_logInput, StatusUncheckedCreateWithoutQuery_execution_logInput>
    connectOrCreate?: StatusCreateOrConnectWithoutQuery_execution_logInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutQuery_execution_logNestedInput = {
    create?: XOR<StatusCreateWithoutQuery_execution_logInput, StatusUncheckedCreateWithoutQuery_execution_logInput>
    connectOrCreate?: StatusCreateOrConnectWithoutQuery_execution_logInput
    upsert?: StatusUpsertWithoutQuery_execution_logInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutQuery_execution_logInput, StatusUpdateWithoutQuery_execution_logInput>, StatusUncheckedUpdateWithoutQuery_execution_logInput>
  }

  export type StatusCreateNestedOneWithoutChild_processesInput = {
    create?: XOR<StatusCreateWithoutChild_processesInput, StatusUncheckedCreateWithoutChild_processesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutChild_processesInput
    connect?: StatusWhereUniqueInput
  }

  export type ChildProcessLogCreateNestedManyWithoutChild_processInput = {
    create?: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput> | ChildProcessLogCreateWithoutChild_processInput[] | ChildProcessLogUncheckedCreateWithoutChild_processInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutChild_processInput | ChildProcessLogCreateOrConnectWithoutChild_processInput[]
    createMany?: ChildProcessLogCreateManyChild_processInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type ChildProcessLogUncheckedCreateNestedManyWithoutChild_processInput = {
    create?: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput> | ChildProcessLogCreateWithoutChild_processInput[] | ChildProcessLogUncheckedCreateWithoutChild_processInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutChild_processInput | ChildProcessLogCreateOrConnectWithoutChild_processInput[]
    createMany?: ChildProcessLogCreateManyChild_processInputEnvelope
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutChild_processesNestedInput = {
    create?: XOR<StatusCreateWithoutChild_processesInput, StatusUncheckedCreateWithoutChild_processesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutChild_processesInput
    upsert?: StatusUpsertWithoutChild_processesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutChild_processesInput, StatusUpdateWithoutChild_processesInput>, StatusUncheckedUpdateWithoutChild_processesInput>
  }

  export type ChildProcessLogUpdateManyWithoutChild_processNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput> | ChildProcessLogCreateWithoutChild_processInput[] | ChildProcessLogUncheckedCreateWithoutChild_processInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutChild_processInput | ChildProcessLogCreateOrConnectWithoutChild_processInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutChild_processInput | ChildProcessLogUpsertWithWhereUniqueWithoutChild_processInput[]
    createMany?: ChildProcessLogCreateManyChild_processInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutChild_processInput | ChildProcessLogUpdateWithWhereUniqueWithoutChild_processInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutChild_processInput | ChildProcessLogUpdateManyWithWhereWithoutChild_processInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutChild_processNestedInput = {
    create?: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput> | ChildProcessLogCreateWithoutChild_processInput[] | ChildProcessLogUncheckedCreateWithoutChild_processInput[]
    connectOrCreate?: ChildProcessLogCreateOrConnectWithoutChild_processInput | ChildProcessLogCreateOrConnectWithoutChild_processInput[]
    upsert?: ChildProcessLogUpsertWithWhereUniqueWithoutChild_processInput | ChildProcessLogUpsertWithWhereUniqueWithoutChild_processInput[]
    createMany?: ChildProcessLogCreateManyChild_processInputEnvelope
    set?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    disconnect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    delete?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    connect?: ChildProcessLogWhereUniqueInput | ChildProcessLogWhereUniqueInput[]
    update?: ChildProcessLogUpdateWithWhereUniqueWithoutChild_processInput | ChildProcessLogUpdateWithWhereUniqueWithoutChild_processInput[]
    updateMany?: ChildProcessLogUpdateManyWithWhereWithoutChild_processInput | ChildProcessLogUpdateManyWithWhereWithoutChild_processInput[]
    deleteMany?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutChild_process_logsInput = {
    create?: XOR<StatusCreateWithoutChild_process_logsInput, StatusUncheckedCreateWithoutChild_process_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutChild_process_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type ChildProcessCreateNestedOneWithoutChild_process_logsInput = {
    create?: XOR<ChildProcessCreateWithoutChild_process_logsInput, ChildProcessUncheckedCreateWithoutChild_process_logsInput>
    connectOrCreate?: ChildProcessCreateOrConnectWithoutChild_process_logsInput
    connect?: ChildProcessWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutChildProcessLogInput = {
    create?: XOR<UserCreateWithoutChildProcessLogInput, UserUncheckedCreateWithoutChildProcessLogInput>
    connectOrCreate?: UserCreateOrConnectWithoutChildProcessLogInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutChild_process_logsNestedInput = {
    create?: XOR<StatusCreateWithoutChild_process_logsInput, StatusUncheckedCreateWithoutChild_process_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutChild_process_logsInput
    upsert?: StatusUpsertWithoutChild_process_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutChild_process_logsInput, StatusUpdateWithoutChild_process_logsInput>, StatusUncheckedUpdateWithoutChild_process_logsInput>
  }

  export type ChildProcessUpdateOneRequiredWithoutChild_process_logsNestedInput = {
    create?: XOR<ChildProcessCreateWithoutChild_process_logsInput, ChildProcessUncheckedCreateWithoutChild_process_logsInput>
    connectOrCreate?: ChildProcessCreateOrConnectWithoutChild_process_logsInput
    upsert?: ChildProcessUpsertWithoutChild_process_logsInput
    connect?: ChildProcessWhereUniqueInput
    update?: XOR<XOR<ChildProcessUpdateToOneWithWhereWithoutChild_process_logsInput, ChildProcessUpdateWithoutChild_process_logsInput>, ChildProcessUncheckedUpdateWithoutChild_process_logsInput>
  }

  export type UserUpdateOneRequiredWithoutChildProcessLogNestedInput = {
    create?: XOR<UserCreateWithoutChildProcessLogInput, UserUncheckedCreateWithoutChildProcessLogInput>
    connectOrCreate?: UserCreateOrConnectWithoutChildProcessLogInput
    upsert?: UserUpsertWithoutChildProcessLogInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutChildProcessLogInput, UserUpdateWithoutChildProcessLogInput>, UserUncheckedUpdateWithoutChildProcessLogInput>
  }

  export type StatusCreateNestedOneWithoutThemesInput = {
    create?: XOR<StatusCreateWithoutThemesInput, StatusUncheckedCreateWithoutThemesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutThemesInput
    connect?: StatusWhereUniqueInput
  }

  export type ThemeLineItemsCreateNestedManyWithoutThemesInput = {
    create?: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput> | ThemeLineItemsCreateWithoutThemesInput[] | ThemeLineItemsUncheckedCreateWithoutThemesInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutThemesInput | ThemeLineItemsCreateOrConnectWithoutThemesInput[]
    createMany?: ThemeLineItemsCreateManyThemesInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type UserCreateNestedOneWithoutCreatedThemeInput = {
    create?: XOR<UserCreateWithoutCreatedThemeInput, UserUncheckedCreateWithoutCreatedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdatedThemeInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeInput, UserUncheckedCreateWithoutUpdatedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeletedThemeInput = {
    create?: XOR<UserCreateWithoutDeletedThemeInput, UserUncheckedCreateWithoutDeletedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeInput
    connect?: UserWhereUniqueInput
  }

  export type ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput = {
    create?: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput> | ThemeLineItemsCreateWithoutThemesInput[] | ThemeLineItemsUncheckedCreateWithoutThemesInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutThemesInput | ThemeLineItemsCreateOrConnectWithoutThemesInput[]
    createMany?: ThemeLineItemsCreateManyThemesInputEnvelope
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutThemesNestedInput = {
    create?: XOR<StatusCreateWithoutThemesInput, StatusUncheckedCreateWithoutThemesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutThemesInput
    upsert?: StatusUpsertWithoutThemesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutThemesInput, StatusUpdateWithoutThemesInput>, StatusUncheckedUpdateWithoutThemesInput>
  }

  export type ThemeLineItemsUpdateManyWithoutThemesNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput> | ThemeLineItemsCreateWithoutThemesInput[] | ThemeLineItemsUncheckedCreateWithoutThemesInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutThemesInput | ThemeLineItemsCreateOrConnectWithoutThemesInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutThemesInput | ThemeLineItemsUpsertWithWhereUniqueWithoutThemesInput[]
    createMany?: ThemeLineItemsCreateManyThemesInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutThemesInput | ThemeLineItemsUpdateWithWhereUniqueWithoutThemesInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutThemesInput | ThemeLineItemsUpdateManyWithWhereWithoutThemesInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type UserUpdateOneWithoutCreatedThemeNestedInput = {
    create?: XOR<UserCreateWithoutCreatedThemeInput, UserUncheckedCreateWithoutCreatedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeInput
    upsert?: UserUpsertWithoutCreatedThemeInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreatedThemeInput, UserUpdateWithoutCreatedThemeInput>, UserUncheckedUpdateWithoutCreatedThemeInput>
  }

  export type UserUpdateOneWithoutUpdatedThemeNestedInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeInput, UserUncheckedCreateWithoutUpdatedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeInput
    upsert?: UserUpsertWithoutUpdatedThemeInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdatedThemeInput, UserUpdateWithoutUpdatedThemeInput>, UserUncheckedUpdateWithoutUpdatedThemeInput>
  }

  export type UserUpdateOneWithoutDeletedThemeNestedInput = {
    create?: XOR<UserCreateWithoutDeletedThemeInput, UserUncheckedCreateWithoutDeletedThemeInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeInput
    upsert?: UserUpsertWithoutDeletedThemeInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeletedThemeInput, UserUpdateWithoutDeletedThemeInput>, UserUncheckedUpdateWithoutDeletedThemeInput>
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput = {
    create?: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput> | ThemeLineItemsCreateWithoutThemesInput[] | ThemeLineItemsUncheckedCreateWithoutThemesInput[]
    connectOrCreate?: ThemeLineItemsCreateOrConnectWithoutThemesInput | ThemeLineItemsCreateOrConnectWithoutThemesInput[]
    upsert?: ThemeLineItemsUpsertWithWhereUniqueWithoutThemesInput | ThemeLineItemsUpsertWithWhereUniqueWithoutThemesInput[]
    createMany?: ThemeLineItemsCreateManyThemesInputEnvelope
    set?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    disconnect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    delete?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    connect?: ThemeLineItemsWhereUniqueInput | ThemeLineItemsWhereUniqueInput[]
    update?: ThemeLineItemsUpdateWithWhereUniqueWithoutThemesInput | ThemeLineItemsUpdateWithWhereUniqueWithoutThemesInput[]
    updateMany?: ThemeLineItemsUpdateManyWithWhereWithoutThemesInput | ThemeLineItemsUpdateManyWithWhereWithoutThemesInput[]
    deleteMany?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutTheme_line_itemsInput = {
    create?: XOR<StatusCreateWithoutTheme_line_itemsInput, StatusUncheckedCreateWithoutTheme_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTheme_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type ThemesCreateNestedOneWithoutTheme_attributesInput = {
    create?: XOR<ThemesCreateWithoutTheme_attributesInput, ThemesUncheckedCreateWithoutTheme_attributesInput>
    connectOrCreate?: ThemesCreateOrConnectWithoutTheme_attributesInput
    connect?: ThemesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreatedThemeLineItemsInput = {
    create?: XOR<UserCreateWithoutCreatedThemeLineItemsInput, UserUncheckedCreateWithoutCreatedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeLineItemsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdatedThemeLineItemsInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeLineItemsInput, UserUncheckedCreateWithoutUpdatedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeLineItemsInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeletedThemeLineItemsInput = {
    create?: XOR<UserCreateWithoutDeletedThemeLineItemsInput, UserUncheckedCreateWithoutDeletedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeLineItemsInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutTheme_line_itemsInput, StatusUncheckedCreateWithoutTheme_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTheme_line_itemsInput
    upsert?: StatusUpsertWithoutTheme_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutTheme_line_itemsInput, StatusUpdateWithoutTheme_line_itemsInput>, StatusUncheckedUpdateWithoutTheme_line_itemsInput>
  }

  export type ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput = {
    create?: XOR<ThemesCreateWithoutTheme_attributesInput, ThemesUncheckedCreateWithoutTheme_attributesInput>
    connectOrCreate?: ThemesCreateOrConnectWithoutTheme_attributesInput
    upsert?: ThemesUpsertWithoutTheme_attributesInput
    connect?: ThemesWhereUniqueInput
    update?: XOR<XOR<ThemesUpdateToOneWithWhereWithoutTheme_attributesInput, ThemesUpdateWithoutTheme_attributesInput>, ThemesUncheckedUpdateWithoutTheme_attributesInput>
  }

  export type UserUpdateOneWithoutCreatedThemeLineItemsNestedInput = {
    create?: XOR<UserCreateWithoutCreatedThemeLineItemsInput, UserUncheckedCreateWithoutCreatedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeLineItemsInput
    upsert?: UserUpsertWithoutCreatedThemeLineItemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreatedThemeLineItemsInput, UserUpdateWithoutCreatedThemeLineItemsInput>, UserUncheckedUpdateWithoutCreatedThemeLineItemsInput>
  }

  export type UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeLineItemsInput, UserUncheckedCreateWithoutUpdatedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeLineItemsInput
    upsert?: UserUpsertWithoutUpdatedThemeLineItemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdatedThemeLineItemsInput, UserUpdateWithoutUpdatedThemeLineItemsInput>, UserUncheckedUpdateWithoutUpdatedThemeLineItemsInput>
  }

  export type UserUpdateOneWithoutDeletedThemeLineItemsNestedInput = {
    create?: XOR<UserCreateWithoutDeletedThemeLineItemsInput, UserUncheckedCreateWithoutDeletedThemeLineItemsInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeLineItemsInput
    upsert?: UserUpsertWithoutDeletedThemeLineItemsInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeletedThemeLineItemsInput, UserUpdateWithoutDeletedThemeLineItemsInput>, UserUncheckedUpdateWithoutDeletedThemeLineItemsInput>
  }

  export type StatusCreateNestedOneWithoutTheme_attributesInput = {
    create?: XOR<StatusCreateWithoutTheme_attributesInput, StatusUncheckedCreateWithoutTheme_attributesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTheme_attributesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreatedThemeAttributesInput = {
    create?: XOR<UserCreateWithoutCreatedThemeAttributesInput, UserUncheckedCreateWithoutCreatedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeAttributesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdatedThemeAttributesInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeAttributesInput, UserUncheckedCreateWithoutUpdatedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeAttributesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeletedThemeAttributesInput = {
    create?: XOR<UserCreateWithoutDeletedThemeAttributesInput, UserUncheckedCreateWithoutDeletedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeAttributesInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutTheme_attributesNestedInput = {
    create?: XOR<StatusCreateWithoutTheme_attributesInput, StatusUncheckedCreateWithoutTheme_attributesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTheme_attributesInput
    upsert?: StatusUpsertWithoutTheme_attributesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutTheme_attributesInput, StatusUpdateWithoutTheme_attributesInput>, StatusUncheckedUpdateWithoutTheme_attributesInput>
  }

  export type UserUpdateOneWithoutCreatedThemeAttributesNestedInput = {
    create?: XOR<UserCreateWithoutCreatedThemeAttributesInput, UserUncheckedCreateWithoutCreatedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreatedThemeAttributesInput
    upsert?: UserUpsertWithoutCreatedThemeAttributesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreatedThemeAttributesInput, UserUpdateWithoutCreatedThemeAttributesInput>, UserUncheckedUpdateWithoutCreatedThemeAttributesInput>
  }

  export type UserUpdateOneWithoutUpdatedThemeAttributesNestedInput = {
    create?: XOR<UserCreateWithoutUpdatedThemeAttributesInput, UserUncheckedCreateWithoutUpdatedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdatedThemeAttributesInput
    upsert?: UserUpsertWithoutUpdatedThemeAttributesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdatedThemeAttributesInput, UserUpdateWithoutUpdatedThemeAttributesInput>, UserUncheckedUpdateWithoutUpdatedThemeAttributesInput>
  }

  export type UserUpdateOneWithoutDeletedThemeAttributesNestedInput = {
    create?: XOR<UserCreateWithoutDeletedThemeAttributesInput, UserUncheckedCreateWithoutDeletedThemeAttributesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeletedThemeAttributesInput
    upsert?: UserUpsertWithoutDeletedThemeAttributesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeletedThemeAttributesInput, UserUpdateWithoutDeletedThemeAttributesInput>, UserUncheckedUpdateWithoutDeletedThemeAttributesInput>
  }

  export type StatusCreateNestedOneWithoutBarcodeTemplatesInput = {
    create?: XOR<StatusCreateWithoutBarcodeTemplatesInput, StatusUncheckedCreateWithoutBarcodeTemplatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutBarcodeTemplatesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCreated_barcode_templatesInput = {
    create?: XOR<UserCreateWithoutCreated_barcode_templatesInput, UserUncheckedCreateWithoutCreated_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_barcode_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUpdated_barcode_templatesInput = {
    create?: XOR<UserCreateWithoutUpdated_barcode_templatesInput, UserUncheckedCreateWithoutUpdated_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_barcode_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDeleted_barcode_templatesInput = {
    create?: XOR<UserCreateWithoutDeleted_barcode_templatesInput, UserUncheckedCreateWithoutDeleted_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_barcode_templatesInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutBarcodeTemplatesNestedInput = {
    create?: XOR<StatusCreateWithoutBarcodeTemplatesInput, StatusUncheckedCreateWithoutBarcodeTemplatesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutBarcodeTemplatesInput
    upsert?: StatusUpsertWithoutBarcodeTemplatesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutBarcodeTemplatesInput, StatusUpdateWithoutBarcodeTemplatesInput>, StatusUncheckedUpdateWithoutBarcodeTemplatesInput>
  }

  export type UserUpdateOneRequiredWithoutCreated_barcode_templatesNestedInput = {
    create?: XOR<UserCreateWithoutCreated_barcode_templatesInput, UserUncheckedCreateWithoutCreated_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutCreated_barcode_templatesInput
    upsert?: UserUpsertWithoutCreated_barcode_templatesInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreated_barcode_templatesInput, UserUpdateWithoutCreated_barcode_templatesInput>, UserUncheckedUpdateWithoutCreated_barcode_templatesInput>
  }

  export type UserUpdateOneWithoutUpdated_barcode_templatesNestedInput = {
    create?: XOR<UserCreateWithoutUpdated_barcode_templatesInput, UserUncheckedCreateWithoutUpdated_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUpdated_barcode_templatesInput
    upsert?: UserUpsertWithoutUpdated_barcode_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUpdated_barcode_templatesInput, UserUpdateWithoutUpdated_barcode_templatesInput>, UserUncheckedUpdateWithoutUpdated_barcode_templatesInput>
  }

  export type UserUpdateOneWithoutDeleted_barcode_templatesNestedInput = {
    create?: XOR<UserCreateWithoutDeleted_barcode_templatesInput, UserUncheckedCreateWithoutDeleted_barcode_templatesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDeleted_barcode_templatesInput
    upsert?: UserUpsertWithoutDeleted_barcode_templatesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDeleted_barcode_templatesInput, UserUpdateWithoutDeleted_barcode_templatesInput>, UserUncheckedUpdateWithoutDeleted_barcode_templatesInput>
  }

  export type StatusCreateNestedOneWithoutUser_login_historiesInput = {
    create?: XOR<StatusCreateWithoutUser_login_historiesInput, StatusUncheckedCreateWithoutUser_login_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUser_login_historiesInput
    connect?: StatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutUser_login_historiesInput = {
    create?: XOR<UserCreateWithoutUser_login_historiesInput, UserUncheckedCreateWithoutUser_login_historiesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_login_historiesInput
    connect?: UserWhereUniqueInput
  }

  export type EnumLoginStatusFieldUpdateOperationsInput = {
    set?: $Enums.LoginStatus
  }

  export type StatusUpdateOneRequiredWithoutUser_login_historiesNestedInput = {
    create?: XOR<StatusCreateWithoutUser_login_historiesInput, StatusUncheckedCreateWithoutUser_login_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutUser_login_historiesInput
    upsert?: StatusUpsertWithoutUser_login_historiesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutUser_login_historiesInput, StatusUpdateWithoutUser_login_historiesInput>, StatusUncheckedUpdateWithoutUser_login_historiesInput>
  }

  export type UserUpdateOneRequiredWithoutUser_login_historiesNestedInput = {
    create?: XOR<UserCreateWithoutUser_login_historiesInput, UserUncheckedCreateWithoutUser_login_historiesInput>
    connectOrCreate?: UserCreateOrConnectWithoutUser_login_historiesInput
    upsert?: UserUpsertWithoutUser_login_historiesInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutUser_login_historiesInput, UserUpdateWithoutUser_login_historiesInput>, UserUncheckedUpdateWithoutUser_login_historiesInput>
  }

  export type StatusCreateNestedOneWithoutTree_builder_examplesInput = {
    create?: XOR<StatusCreateWithoutTree_builder_examplesInput, StatusUncheckedCreateWithoutTree_builder_examplesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTree_builder_examplesInput
    connect?: StatusWhereUniqueInput
  }

  export type TreeBuilderExampleCreateNestedOneWithoutChildrenInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutChildrenInput, TreeBuilderExampleUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutChildrenInput
    connect?: TreeBuilderExampleWhereUniqueInput
  }

  export type TreeBuilderExampleCreateNestedManyWithoutParentInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput> | TreeBuilderExampleCreateWithoutParentInput[] | TreeBuilderExampleUncheckedCreateWithoutParentInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutParentInput | TreeBuilderExampleCreateOrConnectWithoutParentInput[]
    createMany?: TreeBuilderExampleCreateManyParentInputEnvelope
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
  }

  export type TreeBuilderExampleUncheckedCreateNestedManyWithoutParentInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput> | TreeBuilderExampleCreateWithoutParentInput[] | TreeBuilderExampleUncheckedCreateWithoutParentInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutParentInput | TreeBuilderExampleCreateOrConnectWithoutParentInput[]
    createMany?: TreeBuilderExampleCreateManyParentInputEnvelope
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutTree_builder_examplesNestedInput = {
    create?: XOR<StatusCreateWithoutTree_builder_examplesInput, StatusUncheckedCreateWithoutTree_builder_examplesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTree_builder_examplesInput
    upsert?: StatusUpsertWithoutTree_builder_examplesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutTree_builder_examplesInput, StatusUpdateWithoutTree_builder_examplesInput>, StatusUncheckedUpdateWithoutTree_builder_examplesInput>
  }

  export type TreeBuilderExampleUpdateOneWithoutChildrenNestedInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutChildrenInput, TreeBuilderExampleUncheckedCreateWithoutChildrenInput>
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutChildrenInput
    upsert?: TreeBuilderExampleUpsertWithoutChildrenInput
    disconnect?: TreeBuilderExampleWhereInput | boolean
    delete?: TreeBuilderExampleWhereInput | boolean
    connect?: TreeBuilderExampleWhereUniqueInput
    update?: XOR<XOR<TreeBuilderExampleUpdateToOneWithWhereWithoutChildrenInput, TreeBuilderExampleUpdateWithoutChildrenInput>, TreeBuilderExampleUncheckedUpdateWithoutChildrenInput>
  }

  export type TreeBuilderExampleUpdateManyWithoutParentNestedInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput> | TreeBuilderExampleCreateWithoutParentInput[] | TreeBuilderExampleUncheckedCreateWithoutParentInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutParentInput | TreeBuilderExampleCreateOrConnectWithoutParentInput[]
    upsert?: TreeBuilderExampleUpsertWithWhereUniqueWithoutParentInput | TreeBuilderExampleUpsertWithWhereUniqueWithoutParentInput[]
    createMany?: TreeBuilderExampleCreateManyParentInputEnvelope
    set?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    disconnect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    delete?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    update?: TreeBuilderExampleUpdateWithWhereUniqueWithoutParentInput | TreeBuilderExampleUpdateWithWhereUniqueWithoutParentInput[]
    updateMany?: TreeBuilderExampleUpdateManyWithWhereWithoutParentInput | TreeBuilderExampleUpdateManyWithWhereWithoutParentInput[]
    deleteMany?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
  }

  export type TreeBuilderExampleUncheckedUpdateManyWithoutParentNestedInput = {
    create?: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput> | TreeBuilderExampleCreateWithoutParentInput[] | TreeBuilderExampleUncheckedCreateWithoutParentInput[]
    connectOrCreate?: TreeBuilderExampleCreateOrConnectWithoutParentInput | TreeBuilderExampleCreateOrConnectWithoutParentInput[]
    upsert?: TreeBuilderExampleUpsertWithWhereUniqueWithoutParentInput | TreeBuilderExampleUpsertWithWhereUniqueWithoutParentInput[]
    createMany?: TreeBuilderExampleCreateManyParentInputEnvelope
    set?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    disconnect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    delete?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    connect?: TreeBuilderExampleWhereUniqueInput | TreeBuilderExampleWhereUniqueInput[]
    update?: TreeBuilderExampleUpdateWithWhereUniqueWithoutParentInput | TreeBuilderExampleUpdateWithWhereUniqueWithoutParentInput[]
    updateMany?: TreeBuilderExampleUpdateManyWithWhereWithoutParentInput | TreeBuilderExampleUpdateManyWithWhereWithoutParentInput[]
    deleteMany?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
  }

  export type CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutDelivery_notesInput
    connect?: CustomerDeliveryAddressesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutDelivery_notesInput = {
    create?: XOR<UserCreateWithoutDelivery_notesInput, UserUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDelivery_notesInput
    connect?: UserWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutDelivery_notesInput = {
    create?: XOR<StatusCreateWithoutDelivery_notesInput, StatusUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_notesInput
    connect?: StatusWhereUniqueInput
  }

  export type DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutDelivery_notesInput
    connect?: DeliveryNoteStatusWhereUniqueInput
  }

  export type DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput> | DeliveryNoteLineItemsCreateWithoutDelivery_noteInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput | DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput[]
    createMany?: DeliveryNoteLineItemsCreateManyDelivery_noteInputEnvelope
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput> | ShipmentDeliveryNotesCreateWithoutDelivery_noteInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput | ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput[]
    createMany?: ShipmentDeliveryNotesCreateManyDelivery_noteInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput> | DeliveryNoteLineItemsCreateWithoutDelivery_noteInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput | DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput[]
    createMany?: DeliveryNoteLineItemsCreateManyDelivery_noteInputEnvelope
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput> | ShipmentDeliveryNotesCreateWithoutDelivery_noteInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput | ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput[]
    createMany?: ShipmentDeliveryNotesCreateManyDelivery_noteInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutDelivery_notesInput
    upsert?: CustomerDeliveryAddressesUpsertWithoutDelivery_notesInput
    connect?: CustomerDeliveryAddressesWhereUniqueInput
    update?: XOR<XOR<CustomerDeliveryAddressesUpdateToOneWithWhereWithoutDelivery_notesInput, CustomerDeliveryAddressesUpdateWithoutDelivery_notesInput>, CustomerDeliveryAddressesUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type UserUpdateOneRequiredWithoutDelivery_notesNestedInput = {
    create?: XOR<UserCreateWithoutDelivery_notesInput, UserUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: UserCreateOrConnectWithoutDelivery_notesInput
    upsert?: UserUpsertWithoutDelivery_notesInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutDelivery_notesInput, UserUpdateWithoutDelivery_notesInput>, UserUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type StatusUpdateOneRequiredWithoutDelivery_notesNestedInput = {
    create?: XOR<StatusCreateWithoutDelivery_notesInput, StatusUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_notesInput
    upsert?: StatusUpsertWithoutDelivery_notesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDelivery_notesInput, StatusUpdateWithoutDelivery_notesInput>, StatusUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput = {
    create?: XOR<DeliveryNoteStatusCreateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedCreateWithoutDelivery_notesInput>
    connectOrCreate?: DeliveryNoteStatusCreateOrConnectWithoutDelivery_notesInput
    upsert?: DeliveryNoteStatusUpsertWithoutDelivery_notesInput
    connect?: DeliveryNoteStatusWhereUniqueInput
    update?: XOR<XOR<DeliveryNoteStatusUpdateToOneWithWhereWithoutDelivery_notesInput, DeliveryNoteStatusUpdateWithoutDelivery_notesInput>, DeliveryNoteStatusUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput> | DeliveryNoteLineItemsCreateWithoutDelivery_noteInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput | DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput[]
    upsert?: DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutDelivery_noteInput | DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutDelivery_noteInput[]
    createMany?: DeliveryNoteLineItemsCreateManyDelivery_noteInputEnvelope
    set?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    disconnect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    delete?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    update?: DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutDelivery_noteInput | DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutDelivery_noteInput[]
    updateMany?: DeliveryNoteLineItemsUpdateManyWithWhereWithoutDelivery_noteInput | DeliveryNoteLineItemsUpdateManyWithWhereWithoutDelivery_noteInput[]
    deleteMany?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput> | ShipmentDeliveryNotesCreateWithoutDelivery_noteInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput | ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutDelivery_noteInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutDelivery_noteInput[]
    createMany?: ShipmentDeliveryNotesCreateManyDelivery_noteInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutDelivery_noteInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutDelivery_noteInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutDelivery_noteInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutDelivery_noteInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput = {
    create?: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput> | DeliveryNoteLineItemsCreateWithoutDelivery_noteInput[] | DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput | DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput[]
    upsert?: DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutDelivery_noteInput | DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutDelivery_noteInput[]
    createMany?: DeliveryNoteLineItemsCreateManyDelivery_noteInputEnvelope
    set?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    disconnect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    delete?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    connect?: DeliveryNoteLineItemsWhereUniqueInput | DeliveryNoteLineItemsWhereUniqueInput[]
    update?: DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutDelivery_noteInput | DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutDelivery_noteInput[]
    updateMany?: DeliveryNoteLineItemsUpdateManyWithWhereWithoutDelivery_noteInput | DeliveryNoteLineItemsUpdateManyWithWhereWithoutDelivery_noteInput[]
    deleteMany?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput> | ShipmentDeliveryNotesCreateWithoutDelivery_noteInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput | ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutDelivery_noteInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutDelivery_noteInput[]
    createMany?: ShipmentDeliveryNotesCreateManyDelivery_noteInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutDelivery_noteInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutDelivery_noteInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutDelivery_noteInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutDelivery_noteInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutDelivery_note_statusInput = {
    create?: XOR<StatusCreateWithoutDelivery_note_statusInput, StatusUncheckedCreateWithoutDelivery_note_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_note_statusInput
    connect?: StatusWhereUniqueInput
  }

  export type DeliveryNotesCreateNestedManyWithoutDn_statusInput = {
    create?: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput> | DeliveryNotesCreateWithoutDn_statusInput[] | DeliveryNotesUncheckedCreateWithoutDn_statusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDn_statusInput | DeliveryNotesCreateOrConnectWithoutDn_statusInput[]
    createMany?: DeliveryNotesCreateManyDn_statusInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type DeliveryNotesUncheckedCreateNestedManyWithoutDn_statusInput = {
    create?: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput> | DeliveryNotesCreateWithoutDn_statusInput[] | DeliveryNotesUncheckedCreateWithoutDn_statusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDn_statusInput | DeliveryNotesCreateOrConnectWithoutDn_statusInput[]
    createMany?: DeliveryNotesCreateManyDn_statusInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutDelivery_note_statusNestedInput = {
    create?: XOR<StatusCreateWithoutDelivery_note_statusInput, StatusUncheckedCreateWithoutDelivery_note_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_note_statusInput
    upsert?: StatusUpsertWithoutDelivery_note_statusInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDelivery_note_statusInput, StatusUpdateWithoutDelivery_note_statusInput>, StatusUncheckedUpdateWithoutDelivery_note_statusInput>
  }

  export type DeliveryNotesUpdateManyWithoutDn_statusNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput> | DeliveryNotesCreateWithoutDn_statusInput[] | DeliveryNotesUncheckedCreateWithoutDn_statusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDn_statusInput | DeliveryNotesCreateOrConnectWithoutDn_statusInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutDn_statusInput | DeliveryNotesUpsertWithWhereUniqueWithoutDn_statusInput[]
    createMany?: DeliveryNotesCreateManyDn_statusInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutDn_statusInput | DeliveryNotesUpdateWithWhereUniqueWithoutDn_statusInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutDn_statusInput | DeliveryNotesUpdateManyWithWhereWithoutDn_statusInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutDn_statusNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput> | DeliveryNotesCreateWithoutDn_statusInput[] | DeliveryNotesUncheckedCreateWithoutDn_statusInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDn_statusInput | DeliveryNotesCreateOrConnectWithoutDn_statusInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutDn_statusInput | DeliveryNotesUpsertWithWhereUniqueWithoutDn_statusInput[]
    createMany?: DeliveryNotesCreateManyDn_statusInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutDn_statusInput | DeliveryNotesUpdateWithWhereUniqueWithoutDn_statusInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutDn_statusInput | DeliveryNotesUpdateManyWithWhereWithoutDn_statusInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNotesCreateNestedOneWithoutDelivery_note_line_itemsInput = {
    create?: XOR<DeliveryNotesCreateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedCreateWithoutDelivery_note_line_itemsInput>
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDelivery_note_line_itemsInput
    connect?: DeliveryNotesWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutDelivery_note_line_itemsInput = {
    create?: XOR<StatusCreateWithoutDelivery_note_line_itemsInput, StatusUncheckedCreateWithoutDelivery_note_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_note_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type DeliveryNotesUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedCreateWithoutDelivery_note_line_itemsInput>
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutDelivery_note_line_itemsInput
    upsert?: DeliveryNotesUpsertWithoutDelivery_note_line_itemsInput
    connect?: DeliveryNotesWhereUniqueInput
    update?: XOR<XOR<DeliveryNotesUpdateToOneWithWhereWithoutDelivery_note_line_itemsInput, DeliveryNotesUpdateWithoutDelivery_note_line_itemsInput>, DeliveryNotesUncheckedUpdateWithoutDelivery_note_line_itemsInput>
  }

  export type StatusUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutDelivery_note_line_itemsInput, StatusUncheckedCreateWithoutDelivery_note_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutDelivery_note_line_itemsInput
    upsert?: StatusUpsertWithoutDelivery_note_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutDelivery_note_line_itemsInput, StatusUpdateWithoutDelivery_note_line_itemsInput>, StatusUncheckedUpdateWithoutDelivery_note_line_itemsInput>
  }

  export type StatusCreateNestedOneWithoutCustomers_delivery_addressesInput = {
    create?: XOR<StatusCreateWithoutCustomers_delivery_addressesInput, StatusUncheckedCreateWithoutCustomers_delivery_addressesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCustomers_delivery_addressesInput
    connect?: StatusWhereUniqueInput
  }

  export type DeliveryNotesCreateNestedManyWithoutCustomer_delivery_addressInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput> | DeliveryNotesCreateWithoutCustomer_delivery_addressInput[] | DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput | DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput[]
    createMany?: DeliveryNotesCreateManyCustomer_delivery_addressInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type ShipmentsLocationCreateNestedManyWithoutCustomer_addressInput = {
    create?: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput> | ShipmentsLocationCreateWithoutCustomer_addressInput[] | ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput | ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput[]
    createMany?: ShipmentsLocationCreateManyCustomer_addressInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type DeliveryNotesUncheckedCreateNestedManyWithoutCustomer_delivery_addressInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput> | DeliveryNotesCreateWithoutCustomer_delivery_addressInput[] | DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput | DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput[]
    createMany?: DeliveryNotesCreateManyCustomer_delivery_addressInputEnvelope
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutCustomer_addressInput = {
    create?: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput> | ShipmentsLocationCreateWithoutCustomer_addressInput[] | ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput | ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput[]
    createMany?: ShipmentsLocationCreateManyCustomer_addressInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutCustomers_delivery_addressesNestedInput = {
    create?: XOR<StatusCreateWithoutCustomers_delivery_addressesInput, StatusUncheckedCreateWithoutCustomers_delivery_addressesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCustomers_delivery_addressesInput
    upsert?: StatusUpsertWithoutCustomers_delivery_addressesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutCustomers_delivery_addressesInput, StatusUpdateWithoutCustomers_delivery_addressesInput>, StatusUncheckedUpdateWithoutCustomers_delivery_addressesInput>
  }

  export type DeliveryNotesUpdateManyWithoutCustomer_delivery_addressNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput> | DeliveryNotesCreateWithoutCustomer_delivery_addressInput[] | DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput | DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutCustomer_delivery_addressInput | DeliveryNotesUpsertWithWhereUniqueWithoutCustomer_delivery_addressInput[]
    createMany?: DeliveryNotesCreateManyCustomer_delivery_addressInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutCustomer_delivery_addressInput | DeliveryNotesUpdateWithWhereUniqueWithoutCustomer_delivery_addressInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutCustomer_delivery_addressInput | DeliveryNotesUpdateManyWithWhereWithoutCustomer_delivery_addressInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type ShipmentsLocationUpdateManyWithoutCustomer_addressNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput> | ShipmentsLocationCreateWithoutCustomer_addressInput[] | ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput | ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutCustomer_addressInput | ShipmentsLocationUpsertWithWhereUniqueWithoutCustomer_addressInput[]
    createMany?: ShipmentsLocationCreateManyCustomer_addressInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutCustomer_addressInput | ShipmentsLocationUpdateWithWhereUniqueWithoutCustomer_addressInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutCustomer_addressInput | ShipmentsLocationUpdateManyWithWhereWithoutCustomer_addressInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput> | DeliveryNotesCreateWithoutCustomer_delivery_addressInput[] | DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput[]
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput | DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput[]
    upsert?: DeliveryNotesUpsertWithWhereUniqueWithoutCustomer_delivery_addressInput | DeliveryNotesUpsertWithWhereUniqueWithoutCustomer_delivery_addressInput[]
    createMany?: DeliveryNotesCreateManyCustomer_delivery_addressInputEnvelope
    set?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    disconnect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    delete?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    connect?: DeliveryNotesWhereUniqueInput | DeliveryNotesWhereUniqueInput[]
    update?: DeliveryNotesUpdateWithWhereUniqueWithoutCustomer_delivery_addressInput | DeliveryNotesUpdateWithWhereUniqueWithoutCustomer_delivery_addressInput[]
    updateMany?: DeliveryNotesUpdateManyWithWhereWithoutCustomer_delivery_addressInput | DeliveryNotesUpdateManyWithWhereWithoutCustomer_delivery_addressInput[]
    deleteMany?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput> | ShipmentsLocationCreateWithoutCustomer_addressInput[] | ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput | ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutCustomer_addressInput | ShipmentsLocationUpsertWithWhereUniqueWithoutCustomer_addressInput[]
    createMany?: ShipmentsLocationCreateManyCustomer_addressInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutCustomer_addressInput | ShipmentsLocationUpdateWithWhereUniqueWithoutCustomer_addressInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutCustomer_addressInput | ShipmentsLocationUpdateManyWithWhereWithoutCustomer_addressInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutShipmentsInput = {
    create?: XOR<StatusCreateWithoutShipmentsInput, StatusUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipmentsInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentStatusCreateNestedOneWithoutShipmentsInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipmentsInput, ShipmentStatusUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipmentsInput
    connect?: ShipmentStatusWhereUniqueInput
  }

  export type VehiclesCreateNestedOneWithoutShipmentsInput = {
    create?: XOR<VehiclesCreateWithoutShipmentsInput, VehiclesUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutShipmentsInput
    connect?: VehiclesWhereUniqueInput
  }

  export type ShipmentCustomersCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput> | ShipmentCustomersCreateWithoutShipmentsInput[] | ShipmentCustomersUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipmentsInput | ShipmentCustomersCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentCustomersCreateManyShipmentsInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput> | ShipmentsLocationCreateWithoutShipmentsInput[] | ShipmentsLocationUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipmentsInput | ShipmentsLocationCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentsLocationCreateManyShipmentsInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput> | ShipmentDeliveryNotesCreateWithoutShipmentsInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipmentsInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput> | VehicleGeofenceHistoryCreateWithoutShipmentInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput | VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput[]
    createMany?: VehicleGeofenceHistoryCreateManyShipmentInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput> | ShipmentCustomersCreateWithoutShipmentsInput[] | ShipmentCustomersUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipmentsInput | ShipmentCustomersCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentCustomersCreateManyShipmentsInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput> | ShipmentsLocationCreateWithoutShipmentsInput[] | ShipmentsLocationUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipmentsInput | ShipmentsLocationCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentsLocationCreateManyShipmentsInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput> | ShipmentDeliveryNotesCreateWithoutShipmentsInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipmentsInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput> | VehicleGeofenceHistoryCreateWithoutShipmentInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput | VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput[]
    createMany?: VehicleGeofenceHistoryCreateManyShipmentInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutShipmentsNestedInput = {
    create?: XOR<StatusCreateWithoutShipmentsInput, StatusUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipmentsInput
    upsert?: StatusUpsertWithoutShipmentsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipmentsInput, StatusUpdateWithoutShipmentsInput>, StatusUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipmentsInput, ShipmentStatusUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipmentsInput
    upsert?: ShipmentStatusUpsertWithoutShipmentsInput
    connect?: ShipmentStatusWhereUniqueInput
    update?: XOR<XOR<ShipmentStatusUpdateToOneWithWhereWithoutShipmentsInput, ShipmentStatusUpdateWithoutShipmentsInput>, ShipmentStatusUncheckedUpdateWithoutShipmentsInput>
  }

  export type VehiclesUpdateOneRequiredWithoutShipmentsNestedInput = {
    create?: XOR<VehiclesCreateWithoutShipmentsInput, VehiclesUncheckedCreateWithoutShipmentsInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutShipmentsInput
    upsert?: VehiclesUpsertWithoutShipmentsInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutShipmentsInput, VehiclesUpdateWithoutShipmentsInput>, VehiclesUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentCustomersUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput> | ShipmentCustomersCreateWithoutShipmentsInput[] | ShipmentCustomersUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipmentsInput | ShipmentCustomersCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentCustomersUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentCustomersCreateManyShipmentsInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentCustomersUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutShipmentsInput | ShipmentCustomersUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput> | ShipmentsLocationCreateWithoutShipmentsInput[] | ShipmentsLocationUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipmentsInput | ShipmentsLocationCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentsLocationCreateManyShipmentsInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipmentsInput | ShipmentsLocationUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput> | ShipmentDeliveryNotesCreateWithoutShipmentsInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipmentsInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipmentsInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput> | VehicleGeofenceHistoryCreateWithoutShipmentInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput | VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutShipmentInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutShipmentInput[]
    createMany?: VehicleGeofenceHistoryCreateManyShipmentInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutShipmentInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutShipmentInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutShipmentInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutShipmentInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput> | ShipmentCustomersCreateWithoutShipmentsInput[] | ShipmentCustomersUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipmentsInput | ShipmentCustomersCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentCustomersUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentCustomersCreateManyShipmentsInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentCustomersUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutShipmentsInput | ShipmentCustomersUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput> | ShipmentsLocationCreateWithoutShipmentsInput[] | ShipmentsLocationUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipmentsInput | ShipmentsLocationCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentsLocationCreateManyShipmentsInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipmentsInput | ShipmentsLocationUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput> | ShipmentDeliveryNotesCreateWithoutShipmentsInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipmentsInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipmentsInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipmentsInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipmentsInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipmentsInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipmentsInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipmentsInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput> | VehicleGeofenceHistoryCreateWithoutShipmentInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput | VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutShipmentInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutShipmentInput[]
    createMany?: VehicleGeofenceHistoryCreateManyShipmentInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutShipmentInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutShipmentInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutShipmentInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutShipmentInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentsCreateNestedOneWithoutShipment_customersInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_customersInput, ShipmentsUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_customersInput
    connect?: ShipmentsWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutShipment_customersInput = {
    create?: XOR<StatusCreateWithoutShipment_customersInput, StatusUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_customersInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentStatusCreateNestedOneWithoutShipment_customersInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_customersInput, ShipmentStatusUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_customersInput
    connect?: ShipmentStatusWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutShipment_customersInput = {
    create?: XOR<UserCreateWithoutShipment_customersInput, UserUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: UserCreateOrConnectWithoutShipment_customersInput
    connect?: UserWhereUniqueInput
  }

  export type ShipmentsLocationCreateNestedManyWithoutShipment_customersInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput> | ShipmentsLocationCreateWithoutShipment_customersInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_customersInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_customersInput | ShipmentsLocationCreateOrConnectWithoutShipment_customersInput[]
    createMany?: ShipmentsLocationCreateManyShipment_customersInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput> | ShipmentsLocationCreateWithoutShipment_customersInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_customersInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_customersInput | ShipmentsLocationCreateOrConnectWithoutShipment_customersInput[]
    createMany?: ShipmentsLocationCreateManyShipment_customersInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_customersInput, ShipmentsUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_customersInput
    upsert?: ShipmentsUpsertWithoutShipment_customersInput
    connect?: ShipmentsWhereUniqueInput
    update?: XOR<XOR<ShipmentsUpdateToOneWithWhereWithoutShipment_customersInput, ShipmentsUpdateWithoutShipment_customersInput>, ShipmentsUncheckedUpdateWithoutShipment_customersInput>
  }

  export type StatusUpdateOneRequiredWithoutShipment_customersNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_customersInput, StatusUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_customersInput
    upsert?: StatusUpsertWithoutShipment_customersInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_customersInput, StatusUpdateWithoutShipment_customersInput>, StatusUncheckedUpdateWithoutShipment_customersInput>
  }

  export type ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_customersInput, ShipmentStatusUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_customersInput
    upsert?: ShipmentStatusUpsertWithoutShipment_customersInput
    connect?: ShipmentStatusWhereUniqueInput
    update?: XOR<XOR<ShipmentStatusUpdateToOneWithWhereWithoutShipment_customersInput, ShipmentStatusUpdateWithoutShipment_customersInput>, ShipmentStatusUncheckedUpdateWithoutShipment_customersInput>
  }

  export type UserUpdateOneRequiredWithoutShipment_customersNestedInput = {
    create?: XOR<UserCreateWithoutShipment_customersInput, UserUncheckedCreateWithoutShipment_customersInput>
    connectOrCreate?: UserCreateOrConnectWithoutShipment_customersInput
    upsert?: UserUpsertWithoutShipment_customersInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutShipment_customersInput, UserUpdateWithoutShipment_customersInput>, UserUncheckedUpdateWithoutShipment_customersInput>
  }

  export type ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput> | ShipmentsLocationCreateWithoutShipment_customersInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_customersInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_customersInput | ShipmentsLocationCreateOrConnectWithoutShipment_customersInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_customersInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_customersInput[]
    createMany?: ShipmentsLocationCreateManyShipment_customersInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_customersInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_customersInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipment_customersInput | ShipmentsLocationUpdateManyWithWhereWithoutShipment_customersInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput> | ShipmentsLocationCreateWithoutShipment_customersInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_customersInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_customersInput | ShipmentsLocationCreateOrConnectWithoutShipment_customersInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_customersInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_customersInput[]
    createMany?: ShipmentsLocationCreateManyShipment_customersInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_customersInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_customersInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipment_customersInput | ShipmentsLocationUpdateManyWithWhereWithoutShipment_customersInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutShipment_locationInput
    connect?: CustomerDeliveryAddressesWhereUniqueInput
  }

  export type PodStatusCreateNestedOneWithoutShipments_locationInput = {
    create?: XOR<PodStatusCreateWithoutShipments_locationInput, PodStatusUncheckedCreateWithoutShipments_locationInput>
    connectOrCreate?: PodStatusCreateOrConnectWithoutShipments_locationInput
    connect?: PodStatusWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutShipment_locationInput = {
    create?: XOR<StatusCreateWithoutShipment_locationInput, StatusUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_locationInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentStatusCreateNestedOneWithoutShipment_locationInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_locationInput, ShipmentStatusUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_locationInput
    connect?: ShipmentStatusWhereUniqueInput
  }

  export type ShipmentCustomersCreateNestedOneWithoutShipment_locationInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_locationInput, ShipmentCustomersUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_locationInput
    connect?: ShipmentCustomersWhereUniqueInput
  }

  export type ShipmentsCreateNestedOneWithoutShipment_locationInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_locationInput, ShipmentsUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_locationInput
    connect?: ShipmentsWhereUniqueInput
  }

  export type ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput> | ShipmentDeliveryNotesCreateWithoutShipment_locationInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_locationInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput> | ShipmentDeliveryNotesCreateWithoutShipment_locationInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_locationInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type NullableEnumOtpStatusFieldUpdateOperationsInput = {
    set?: $Enums.OtpStatus | null
  }

  export type CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput = {
    create?: XOR<CustomerDeliveryAddressesCreateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: CustomerDeliveryAddressesCreateOrConnectWithoutShipment_locationInput
    upsert?: CustomerDeliveryAddressesUpsertWithoutShipment_locationInput
    connect?: CustomerDeliveryAddressesWhereUniqueInput
    update?: XOR<XOR<CustomerDeliveryAddressesUpdateToOneWithWhereWithoutShipment_locationInput, CustomerDeliveryAddressesUpdateWithoutShipment_locationInput>, CustomerDeliveryAddressesUncheckedUpdateWithoutShipment_locationInput>
  }

  export type PodStatusUpdateOneWithoutShipments_locationNestedInput = {
    create?: XOR<PodStatusCreateWithoutShipments_locationInput, PodStatusUncheckedCreateWithoutShipments_locationInput>
    connectOrCreate?: PodStatusCreateOrConnectWithoutShipments_locationInput
    upsert?: PodStatusUpsertWithoutShipments_locationInput
    disconnect?: PodStatusWhereInput | boolean
    delete?: PodStatusWhereInput | boolean
    connect?: PodStatusWhereUniqueInput
    update?: XOR<XOR<PodStatusUpdateToOneWithWhereWithoutShipments_locationInput, PodStatusUpdateWithoutShipments_locationInput>, PodStatusUncheckedUpdateWithoutShipments_locationInput>
  }

  export type StatusUpdateOneRequiredWithoutShipment_locationNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_locationInput, StatusUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_locationInput
    upsert?: StatusUpsertWithoutShipment_locationInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_locationInput, StatusUpdateWithoutShipment_locationInput>, StatusUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_locationInput, ShipmentStatusUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_locationInput
    upsert?: ShipmentStatusUpsertWithoutShipment_locationInput
    connect?: ShipmentStatusWhereUniqueInput
    update?: XOR<XOR<ShipmentStatusUpdateToOneWithWhereWithoutShipment_locationInput, ShipmentStatusUpdateWithoutShipment_locationInput>, ShipmentStatusUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_locationInput, ShipmentCustomersUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_locationInput
    upsert?: ShipmentCustomersUpsertWithoutShipment_locationInput
    connect?: ShipmentCustomersWhereUniqueInput
    update?: XOR<XOR<ShipmentCustomersUpdateToOneWithWhereWithoutShipment_locationInput, ShipmentCustomersUpdateWithoutShipment_locationInput>, ShipmentCustomersUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_locationInput, ShipmentsUncheckedCreateWithoutShipment_locationInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_locationInput
    upsert?: ShipmentsUpsertWithoutShipment_locationInput
    connect?: ShipmentsWhereUniqueInput
    update?: XOR<XOR<ShipmentsUpdateToOneWithWhereWithoutShipment_locationInput, ShipmentsUpdateWithoutShipment_locationInput>, ShipmentsUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput> | ShipmentDeliveryNotesCreateWithoutShipment_locationInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_locationInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_locationInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_locationInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_locationInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_locationInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_locationInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_locationInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput> | ShipmentDeliveryNotesCreateWithoutShipment_locationInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_locationInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_locationInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_locationInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_locationInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_locationInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_locationInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_locationInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput = {
    create?: XOR<DeliveryNotesCreateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutShipment_delivery_notesInput
    connect?: DeliveryNotesWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutShipment_delivery_notesInput = {
    create?: XOR<StatusCreateWithoutShipment_delivery_notesInput, StatusUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_delivery_notesInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_delivery_notesInput
    connect?: ShipmentStatusWhereUniqueInput
  }

  export type ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_delivery_notesInput
    connect?: ShipmentsLocationWhereUniqueInput
  }

  export type ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_delivery_notesInput, ShipmentsUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_delivery_notesInput
    connect?: ShipmentsWhereUniqueInput
  }

  export type DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput = {
    create?: XOR<DeliveryNotesCreateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: DeliveryNotesCreateOrConnectWithoutShipment_delivery_notesInput
    upsert?: DeliveryNotesUpsertWithoutShipment_delivery_notesInput
    connect?: DeliveryNotesWhereUniqueInput
    update?: XOR<XOR<DeliveryNotesUpdateToOneWithWhereWithoutShipment_delivery_notesInput, DeliveryNotesUpdateWithoutShipment_delivery_notesInput>, DeliveryNotesUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_delivery_notesInput, StatusUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_delivery_notesInput
    upsert?: StatusUpsertWithoutShipment_delivery_notesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_delivery_notesInput, StatusUpdateWithoutShipment_delivery_notesInput>, StatusUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput = {
    create?: XOR<ShipmentStatusCreateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentStatusCreateOrConnectWithoutShipment_delivery_notesInput
    upsert?: ShipmentStatusUpsertWithoutShipment_delivery_notesInput
    connect?: ShipmentStatusWhereUniqueInput
    update?: XOR<XOR<ShipmentStatusUpdateToOneWithWhereWithoutShipment_delivery_notesInput, ShipmentStatusUpdateWithoutShipment_delivery_notesInput>, ShipmentStatusUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_delivery_notesInput
    upsert?: ShipmentsLocationUpsertWithoutShipment_delivery_notesInput
    connect?: ShipmentsLocationWhereUniqueInput
    update?: XOR<XOR<ShipmentsLocationUpdateToOneWithWhereWithoutShipment_delivery_notesInput, ShipmentsLocationUpdateWithoutShipment_delivery_notesInput>, ShipmentsLocationUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_delivery_notesInput, ShipmentsUncheckedCreateWithoutShipment_delivery_notesInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_delivery_notesInput
    upsert?: ShipmentsUpsertWithoutShipment_delivery_notesInput
    connect?: ShipmentsWhereUniqueInput
    update?: XOR<XOR<ShipmentsUpdateToOneWithWhereWithoutShipment_delivery_notesInput, ShipmentsUpdateWithoutShipment_delivery_notesInput>, ShipmentsUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type StatusCreateNestedOneWithoutVehiclesInput = {
    create?: XOR<StatusCreateWithoutVehiclesInput, StatusUncheckedCreateWithoutVehiclesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehiclesInput
    connect?: StatusWhereUniqueInput
  }

  export type VehiclesGpsDataCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataCreateWithoutVehicleInput[] | VehiclesGpsDataUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutVehicleInput | VehiclesGpsDataCreateOrConnectWithoutVehicleInput[]
    createMany?: VehiclesGpsDataCreateManyVehicleInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataLogCreateWithoutVehicleInput[] | VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput | VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput[]
    createMany?: VehiclesGpsDataLogCreateManyVehicleInputEnvelope
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
  }

  export type GeoFenceTrackingCreateNestedManyWithoutVehicleInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput> | GeoFenceTrackingCreateWithoutVehicleInput[] | GeoFenceTrackingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutVehicleInput | GeoFenceTrackingCreateOrConnectWithoutVehicleInput[]
    createMany?: GeoFenceTrackingCreateManyVehicleInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type VehicleUserMappingCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput> | VehicleUserMappingCreateWithoutVehicleInput[] | VehicleUserMappingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutVehicleInput | VehicleUserMappingCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleUserMappingCreateManyVehicleInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput> | VehicleGeofenceHistoryCreateWithoutVehicleInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput | VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleGeofenceHistoryCreateManyVehicleInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type ShipmentsCreateNestedManyWithoutVehicleInput = {
    create?: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput> | ShipmentsCreateWithoutVehicleInput[] | ShipmentsUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicleInput | ShipmentsCreateOrConnectWithoutVehicleInput[]
    createMany?: ShipmentsCreateManyVehicleInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type VehicleTripHistoriesCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput> | VehicleTripHistoriesCreateWithoutVehicleInput[] | VehicleTripHistoriesUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutVehicleInput | VehicleTripHistoriesCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleTripHistoriesCreateManyVehicleInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataCreateWithoutVehicleInput[] | VehiclesGpsDataUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutVehicleInput | VehiclesGpsDataCreateOrConnectWithoutVehicleInput[]
    createMany?: VehiclesGpsDataCreateManyVehicleInputEnvelope
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
  }

  export type VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataLogCreateWithoutVehicleInput[] | VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput | VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput[]
    createMany?: VehiclesGpsDataLogCreateManyVehicleInputEnvelope
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
  }

  export type GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput> | GeoFenceTrackingCreateWithoutVehicleInput[] | GeoFenceTrackingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutVehicleInput | GeoFenceTrackingCreateOrConnectWithoutVehicleInput[]
    createMany?: GeoFenceTrackingCreateManyVehicleInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput> | VehicleUserMappingCreateWithoutVehicleInput[] | VehicleUserMappingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutVehicleInput | VehicleUserMappingCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleUserMappingCreateManyVehicleInputEnvelope
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput> | VehicleGeofenceHistoryCreateWithoutVehicleInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput | VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleGeofenceHistoryCreateManyVehicleInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type ShipmentsUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput> | ShipmentsCreateWithoutVehicleInput[] | ShipmentsUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicleInput | ShipmentsCreateOrConnectWithoutVehicleInput[]
    createMany?: ShipmentsCreateManyVehicleInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput> | VehicleTripHistoriesCreateWithoutVehicleInput[] | VehicleTripHistoriesUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutVehicleInput | VehicleTripHistoriesCreateOrConnectWithoutVehicleInput[]
    createMany?: VehicleTripHistoriesCreateManyVehicleInputEnvelope
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutVehiclesNestedInput = {
    create?: XOR<StatusCreateWithoutVehiclesInput, StatusUncheckedCreateWithoutVehiclesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehiclesInput
    upsert?: StatusUpsertWithoutVehiclesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutVehiclesInput, StatusUpdateWithoutVehiclesInput>, StatusUncheckedUpdateWithoutVehiclesInput>
  }

  export type VehiclesGpsDataUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataCreateWithoutVehicleInput[] | VehiclesGpsDataUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutVehicleInput | VehiclesGpsDataCreateOrConnectWithoutVehicleInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehiclesGpsDataCreateManyVehicleInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutVehicleInput | VehiclesGpsDataUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataLogCreateWithoutVehicleInput[] | VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput | VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput[]
    upsert?: VehiclesGpsDataLogUpsertWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataLogUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehiclesGpsDataLogCreateManyVehicleInputEnvelope
    set?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    disconnect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    delete?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    update?: VehiclesGpsDataLogUpdateWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataLogUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehiclesGpsDataLogUpdateManyWithWhereWithoutVehicleInput | VehiclesGpsDataLogUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
  }

  export type GeoFenceTrackingUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput> | GeoFenceTrackingCreateWithoutVehicleInput[] | GeoFenceTrackingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutVehicleInput | GeoFenceTrackingCreateOrConnectWithoutVehicleInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutVehicleInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: GeoFenceTrackingCreateManyVehicleInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutVehicleInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutVehicleInput | GeoFenceTrackingUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type VehicleUserMappingUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput> | VehicleUserMappingCreateWithoutVehicleInput[] | VehicleUserMappingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutVehicleInput | VehicleUserMappingCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutVehicleInput | VehicleUserMappingUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleUserMappingCreateManyVehicleInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutVehicleInput | VehicleUserMappingUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutVehicleInput | VehicleUserMappingUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput> | VehicleGeofenceHistoryCreateWithoutVehicleInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput | VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutVehicleInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleGeofenceHistoryCreateManyVehicleInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutVehicleInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutVehicleInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentsUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput> | ShipmentsCreateWithoutVehicleInput[] | ShipmentsUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicleInput | ShipmentsCreateOrConnectWithoutVehicleInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutVehicleInput | ShipmentsUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: ShipmentsCreateManyVehicleInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutVehicleInput | ShipmentsUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutVehicleInput | ShipmentsUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput> | VehicleTripHistoriesCreateWithoutVehicleInput[] | VehicleTripHistoriesUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutVehicleInput | VehicleTripHistoriesCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutVehicleInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleTripHistoriesCreateManyVehicleInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutVehicleInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutVehicleInput | VehicleTripHistoriesUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataCreateWithoutVehicleInput[] | VehiclesGpsDataUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataCreateOrConnectWithoutVehicleInput | VehiclesGpsDataCreateOrConnectWithoutVehicleInput[]
    upsert?: VehiclesGpsDataUpsertWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehiclesGpsDataCreateManyVehicleInputEnvelope
    set?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    disconnect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    delete?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    connect?: VehiclesGpsDataWhereUniqueInput | VehiclesGpsDataWhereUniqueInput[]
    update?: VehiclesGpsDataUpdateWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehiclesGpsDataUpdateManyWithWhereWithoutVehicleInput | VehiclesGpsDataUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
  }

  export type VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput> | VehiclesGpsDataLogCreateWithoutVehicleInput[] | VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput | VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput[]
    upsert?: VehiclesGpsDataLogUpsertWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataLogUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehiclesGpsDataLogCreateManyVehicleInputEnvelope
    set?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    disconnect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    delete?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    connect?: VehiclesGpsDataLogWhereUniqueInput | VehiclesGpsDataLogWhereUniqueInput[]
    update?: VehiclesGpsDataLogUpdateWithWhereUniqueWithoutVehicleInput | VehiclesGpsDataLogUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehiclesGpsDataLogUpdateManyWithWhereWithoutVehicleInput | VehiclesGpsDataLogUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput> | GeoFenceTrackingCreateWithoutVehicleInput[] | GeoFenceTrackingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutVehicleInput | GeoFenceTrackingCreateOrConnectWithoutVehicleInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutVehicleInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: GeoFenceTrackingCreateManyVehicleInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutVehicleInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutVehicleInput | GeoFenceTrackingUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput> | VehicleUserMappingCreateWithoutVehicleInput[] | VehicleUserMappingUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleUserMappingCreateOrConnectWithoutVehicleInput | VehicleUserMappingCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleUserMappingUpsertWithWhereUniqueWithoutVehicleInput | VehicleUserMappingUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleUserMappingCreateManyVehicleInputEnvelope
    set?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    disconnect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    delete?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    connect?: VehicleUserMappingWhereUniqueInput | VehicleUserMappingWhereUniqueInput[]
    update?: VehicleUserMappingUpdateWithWhereUniqueWithoutVehicleInput | VehicleUserMappingUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleUserMappingUpdateManyWithWhereWithoutVehicleInput | VehicleUserMappingUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput> | VehicleGeofenceHistoryCreateWithoutVehicleInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput | VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutVehicleInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleGeofenceHistoryCreateManyVehicleInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutVehicleInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutVehicleInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput> | ShipmentsCreateWithoutVehicleInput[] | ShipmentsUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicleInput | ShipmentsCreateOrConnectWithoutVehicleInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutVehicleInput | ShipmentsUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: ShipmentsCreateManyVehicleInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutVehicleInput | ShipmentsUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutVehicleInput | ShipmentsUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput = {
    create?: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput> | VehicleTripHistoriesCreateWithoutVehicleInput[] | VehicleTripHistoriesUncheckedCreateWithoutVehicleInput[]
    connectOrCreate?: VehicleTripHistoriesCreateOrConnectWithoutVehicleInput | VehicleTripHistoriesCreateOrConnectWithoutVehicleInput[]
    upsert?: VehicleTripHistoriesUpsertWithWhereUniqueWithoutVehicleInput | VehicleTripHistoriesUpsertWithWhereUniqueWithoutVehicleInput[]
    createMany?: VehicleTripHistoriesCreateManyVehicleInputEnvelope
    set?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    disconnect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    delete?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    connect?: VehicleTripHistoriesWhereUniqueInput | VehicleTripHistoriesWhereUniqueInput[]
    update?: VehicleTripHistoriesUpdateWithWhereUniqueWithoutVehicleInput | VehicleTripHistoriesUpdateWithWhereUniqueWithoutVehicleInput[]
    updateMany?: VehicleTripHistoriesUpdateManyWithWhereWithoutVehicleInput | VehicleTripHistoriesUpdateManyWithWhereWithoutVehicleInput[]
    deleteMany?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutVehicle_user_mappingInput = {
    create?: XOR<StatusCreateWithoutVehicle_user_mappingInput, StatusUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_user_mappingInput
    connect?: StatusWhereUniqueInput
  }

  export type VehiclesCreateNestedOneWithoutVehicle_user_mappingInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_user_mappingInput, VehiclesUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_user_mappingInput
    connect?: VehiclesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_user_mappingInput = {
    create?: XOR<UserCreateWithoutVehicle_user_mappingInput, UserUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_user_mappingInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutVehicle_user_mappingNestedInput = {
    create?: XOR<StatusCreateWithoutVehicle_user_mappingInput, StatusUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_user_mappingInput
    upsert?: StatusUpsertWithoutVehicle_user_mappingInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutVehicle_user_mappingInput, StatusUpdateWithoutVehicle_user_mappingInput>, StatusUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type VehiclesUpdateOneRequiredWithoutVehicle_user_mappingNestedInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_user_mappingInput, VehiclesUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_user_mappingInput
    upsert?: VehiclesUpsertWithoutVehicle_user_mappingInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutVehicle_user_mappingInput, VehiclesUpdateWithoutVehicle_user_mappingInput>, VehiclesUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type UserUpdateOneRequiredWithoutVehicle_user_mappingNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_user_mappingInput, UserUncheckedCreateWithoutVehicle_user_mappingInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_user_mappingInput
    upsert?: UserUpsertWithoutVehicle_user_mappingInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_user_mappingInput, UserUpdateWithoutVehicle_user_mappingInput>, UserUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type VehiclesCreateNestedOneWithoutVehicle_gps_dataInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_gps_dataInput, VehiclesUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_gps_dataInput
    connect?: VehiclesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_gps_dataInput = {
    create?: XOR<UserCreateWithoutVehicle_gps_dataInput, UserUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_gps_dataInput
    connect?: UserWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutVehicle_gps_dataInput = {
    create?: XOR<StatusCreateWithoutVehicle_gps_dataInput, StatusUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_gps_dataInput
    connect?: StatusWhereUniqueInput
  }

  export type NullableFloatFieldUpdateOperationsInput = {
    set?: number | null
    increment?: number
    decrement?: number
    multiply?: number
    divide?: number
  }

  export type VehiclesUpdateOneRequiredWithoutVehicle_gps_dataNestedInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_gps_dataInput, VehiclesUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_gps_dataInput
    upsert?: VehiclesUpsertWithoutVehicle_gps_dataInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutVehicle_gps_dataInput, VehiclesUpdateWithoutVehicle_gps_dataInput>, VehiclesUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type UserUpdateOneWithoutVehicle_gps_dataNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_gps_dataInput, UserUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_gps_dataInput
    upsert?: UserUpsertWithoutVehicle_gps_dataInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_gps_dataInput, UserUpdateWithoutVehicle_gps_dataInput>, UserUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type StatusUpdateOneRequiredWithoutVehicle_gps_dataNestedInput = {
    create?: XOR<StatusCreateWithoutVehicle_gps_dataInput, StatusUncheckedCreateWithoutVehicle_gps_dataInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_gps_dataInput
    upsert?: StatusUpsertWithoutVehicle_gps_dataInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutVehicle_gps_dataInput, StatusUpdateWithoutVehicle_gps_dataInput>, StatusUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type VehiclesCreateNestedOneWithoutVehicle_gps_data_logInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_gps_data_logInput, VehiclesUncheckedCreateWithoutVehicle_gps_data_logInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_gps_data_logInput
    connect?: VehiclesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_gps_data_logInput = {
    create?: XOR<UserCreateWithoutVehicle_gps_data_logInput, UserUncheckedCreateWithoutVehicle_gps_data_logInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_gps_data_logInput
    connect?: UserWhereUniqueInput
  }

  export type VehiclesUpdateOneRequiredWithoutVehicle_gps_data_logNestedInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_gps_data_logInput, VehiclesUncheckedCreateWithoutVehicle_gps_data_logInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_gps_data_logInput
    upsert?: VehiclesUpsertWithoutVehicle_gps_data_logInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutVehicle_gps_data_logInput, VehiclesUpdateWithoutVehicle_gps_data_logInput>, VehiclesUncheckedUpdateWithoutVehicle_gps_data_logInput>
  }

  export type UserUpdateOneWithoutVehicle_gps_data_logNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_gps_data_logInput, UserUncheckedCreateWithoutVehicle_gps_data_logInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_gps_data_logInput
    upsert?: UserUpsertWithoutVehicle_gps_data_logInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_gps_data_logInput, UserUpdateWithoutVehicle_gps_data_logInput>, UserUncheckedUpdateWithoutVehicle_gps_data_logInput>
  }

  export type VehiclesCreateNestedOneWithoutVehicle_trip_historiesInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_trip_historiesInput, VehiclesUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_trip_historiesInput
    connect?: VehiclesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_trip_historiesInput = {
    create?: XOR<UserCreateWithoutVehicle_trip_historiesInput, UserUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_trip_historiesInput
    connect?: UserWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutVehicle_trip_historiesInput = {
    create?: XOR<StatusCreateWithoutVehicle_trip_historiesInput, StatusUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_trip_historiesInput
    connect?: StatusWhereUniqueInput
  }

  export type VehiclesUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_trip_historiesInput, VehiclesUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_trip_historiesInput
    upsert?: VehiclesUpsertWithoutVehicle_trip_historiesInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutVehicle_trip_historiesInput, VehiclesUpdateWithoutVehicle_trip_historiesInput>, VehiclesUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type UserUpdateOneWithoutVehicle_trip_historiesNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_trip_historiesInput, UserUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_trip_historiesInput
    upsert?: UserUpsertWithoutVehicle_trip_historiesInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_trip_historiesInput, UserUpdateWithoutVehicle_trip_historiesInput>, UserUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type StatusUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput = {
    create?: XOR<StatusCreateWithoutVehicle_trip_historiesInput, StatusUncheckedCreateWithoutVehicle_trip_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_trip_historiesInput
    upsert?: StatusUpsertWithoutVehicle_trip_historiesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutVehicle_trip_historiesInput, StatusUpdateWithoutVehicle_trip_historiesInput>, StatusUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type StatusCreateNestedOneWithoutGeofencesInput = {
    create?: XOR<StatusCreateWithoutGeofencesInput, StatusUncheckedCreateWithoutGeofencesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutGeofencesInput
    connect?: StatusWhereUniqueInput
  }

  export type GeoFenceTrackingCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput> | GeoFenceTrackingCreateWithoutGeofenceInput[] | GeoFenceTrackingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutGeofenceInput | GeoFenceTrackingCreateOrConnectWithoutGeofenceInput[]
    createMany?: GeoFenceTrackingCreateManyGeofenceInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput> | CustomerGeoFenceMappingCreateWithoutGeofenceInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput | CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput[]
    createMany?: CustomerGeoFenceMappingCreateManyGeofenceInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput> | VehicleGeofenceHistoryCreateWithoutGeofenceInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput | VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput[]
    createMany?: VehicleGeofenceHistoryCreateManyGeofenceInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type GeoFenceTrackingUncheckedCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput> | GeoFenceTrackingCreateWithoutGeofenceInput[] | GeoFenceTrackingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutGeofenceInput | GeoFenceTrackingCreateOrConnectWithoutGeofenceInput[]
    createMany?: GeoFenceTrackingCreateManyGeofenceInputEnvelope
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
  }

  export type CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput> | CustomerGeoFenceMappingCreateWithoutGeofenceInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput | CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput[]
    createMany?: CustomerGeoFenceMappingCreateManyGeofenceInputEnvelope
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
  }

  export type VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutGeofenceInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput> | VehicleGeofenceHistoryCreateWithoutGeofenceInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput | VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput[]
    createMany?: VehicleGeofenceHistoryCreateManyGeofenceInputEnvelope
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
  }

  export type EnumZoneTypeFieldUpdateOperationsInput = {
    set?: $Enums.ZoneType
  }

  export type EnumGeoCategoryFieldUpdateOperationsInput = {
    set?: $Enums.GeoCategory
  }

  export type StatusUpdateOneRequiredWithoutGeofencesNestedInput = {
    create?: XOR<StatusCreateWithoutGeofencesInput, StatusUncheckedCreateWithoutGeofencesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutGeofencesInput
    upsert?: StatusUpsertWithoutGeofencesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutGeofencesInput, StatusUpdateWithoutGeofencesInput>, StatusUncheckedUpdateWithoutGeofencesInput>
  }

  export type GeoFenceTrackingUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput> | GeoFenceTrackingCreateWithoutGeofenceInput[] | GeoFenceTrackingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutGeofenceInput | GeoFenceTrackingCreateOrConnectWithoutGeofenceInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutGeofenceInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: GeoFenceTrackingCreateManyGeofenceInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutGeofenceInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutGeofenceInput | GeoFenceTrackingUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput> | CustomerGeoFenceMappingCreateWithoutGeofenceInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput | CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutGeofenceInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: CustomerGeoFenceMappingCreateManyGeofenceInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutGeofenceInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutGeofenceInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput> | VehicleGeofenceHistoryCreateWithoutGeofenceInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput | VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutGeofenceInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: VehicleGeofenceHistoryCreateManyGeofenceInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutGeofenceInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutGeofenceInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput> | GeoFenceTrackingCreateWithoutGeofenceInput[] | GeoFenceTrackingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: GeoFenceTrackingCreateOrConnectWithoutGeofenceInput | GeoFenceTrackingCreateOrConnectWithoutGeofenceInput[]
    upsert?: GeoFenceTrackingUpsertWithWhereUniqueWithoutGeofenceInput | GeoFenceTrackingUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: GeoFenceTrackingCreateManyGeofenceInputEnvelope
    set?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    disconnect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    delete?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    connect?: GeoFenceTrackingWhereUniqueInput | GeoFenceTrackingWhereUniqueInput[]
    update?: GeoFenceTrackingUpdateWithWhereUniqueWithoutGeofenceInput | GeoFenceTrackingUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: GeoFenceTrackingUpdateManyWithWhereWithoutGeofenceInput | GeoFenceTrackingUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput> | CustomerGeoFenceMappingCreateWithoutGeofenceInput[] | CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput | CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput[]
    upsert?: CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutGeofenceInput | CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: CustomerGeoFenceMappingCreateManyGeofenceInputEnvelope
    set?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    disconnect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    delete?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    connect?: CustomerGeoFenceMappingWhereUniqueInput | CustomerGeoFenceMappingWhereUniqueInput[]
    update?: CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutGeofenceInput | CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: CustomerGeoFenceMappingUpdateManyWithWhereWithoutGeofenceInput | CustomerGeoFenceMappingUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceNestedInput = {
    create?: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput> | VehicleGeofenceHistoryCreateWithoutGeofenceInput[] | VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput[]
    connectOrCreate?: VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput | VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput[]
    upsert?: VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutGeofenceInput | VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutGeofenceInput[]
    createMany?: VehicleGeofenceHistoryCreateManyGeofenceInputEnvelope
    set?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    disconnect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    delete?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    connect?: VehicleGeofenceHistoryWhereUniqueInput | VehicleGeofenceHistoryWhereUniqueInput[]
    update?: VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutGeofenceInput | VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutGeofenceInput[]
    updateMany?: VehicleGeofenceHistoryUpdateManyWithWhereWithoutGeofenceInput | VehicleGeofenceHistoryUpdateManyWithWhereWithoutGeofenceInput[]
    deleteMany?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
  }

  export type VehiclesCreateNestedOneWithoutGeo_fence_trackingInput = {
    create?: XOR<VehiclesCreateWithoutGeo_fence_trackingInput, VehiclesUncheckedCreateWithoutGeo_fence_trackingInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutGeo_fence_trackingInput
    connect?: VehiclesWhereUniqueInput
  }

  export type GeoFencesCreateNestedOneWithoutGeofence_trackingInput = {
    create?: XOR<GeoFencesCreateWithoutGeofence_trackingInput, GeoFencesUncheckedCreateWithoutGeofence_trackingInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutGeofence_trackingInput
    connect?: GeoFencesWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutGeofence_trackingInput = {
    create?: XOR<StatusCreateWithoutGeofence_trackingInput, StatusUncheckedCreateWithoutGeofence_trackingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutGeofence_trackingInput
    connect?: StatusWhereUniqueInput
  }

  export type EnumGeoTracActivityFieldUpdateOperationsInput = {
    set?: $Enums.GeoTracActivity
  }

  export type VehiclesUpdateOneRequiredWithoutGeo_fence_trackingNestedInput = {
    create?: XOR<VehiclesCreateWithoutGeo_fence_trackingInput, VehiclesUncheckedCreateWithoutGeo_fence_trackingInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutGeo_fence_trackingInput
    upsert?: VehiclesUpsertWithoutGeo_fence_trackingInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutGeo_fence_trackingInput, VehiclesUpdateWithoutGeo_fence_trackingInput>, VehiclesUncheckedUpdateWithoutGeo_fence_trackingInput>
  }

  export type GeoFencesUpdateOneRequiredWithoutGeofence_trackingNestedInput = {
    create?: XOR<GeoFencesCreateWithoutGeofence_trackingInput, GeoFencesUncheckedCreateWithoutGeofence_trackingInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutGeofence_trackingInput
    upsert?: GeoFencesUpsertWithoutGeofence_trackingInput
    connect?: GeoFencesWhereUniqueInput
    update?: XOR<XOR<GeoFencesUpdateToOneWithWhereWithoutGeofence_trackingInput, GeoFencesUpdateWithoutGeofence_trackingInput>, GeoFencesUncheckedUpdateWithoutGeofence_trackingInput>
  }

  export type StatusUpdateOneRequiredWithoutGeofence_trackingNestedInput = {
    create?: XOR<StatusCreateWithoutGeofence_trackingInput, StatusUncheckedCreateWithoutGeofence_trackingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutGeofence_trackingInput
    upsert?: StatusUpsertWithoutGeofence_trackingInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutGeofence_trackingInput, StatusUpdateWithoutGeofence_trackingInput>, StatusUncheckedUpdateWithoutGeofence_trackingInput>
  }

  export type VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_geofence_historyInput, VehiclesUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_geofence_historyInput
    connect?: VehiclesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_geofence_history_driverInput = {
    create?: XOR<UserCreateWithoutVehicle_geofence_history_driverInput, UserUncheckedCreateWithoutVehicle_geofence_history_driverInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_geofence_history_driverInput
    connect?: UserWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutVehicle_geofence_history_customerInput = {
    create?: XOR<UserCreateWithoutVehicle_geofence_history_customerInput, UserUncheckedCreateWithoutVehicle_geofence_history_customerInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_geofence_history_customerInput
    connect?: UserWhereUniqueInput
  }

  export type GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput = {
    create?: XOR<GeoFencesCreateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutVehicle_geofence_historyInput
    connect?: GeoFencesWhereUniqueInput
  }

  export type ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput = {
    create?: XOR<ShipmentsCreateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicle_geofence_historyInput
    connect?: ShipmentsWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutVehicle_geofence_historyInput = {
    create?: XOR<StatusCreateWithoutVehicle_geofence_historyInput, StatusUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_geofence_historyInput
    connect?: StatusWhereUniqueInput
  }

  export type EnumGeoFenceEventTypeFieldUpdateOperationsInput = {
    set?: $Enums.GeoFenceEventType
  }

  export type VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput = {
    create?: XOR<VehiclesCreateWithoutVehicle_geofence_historyInput, VehiclesUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: VehiclesCreateOrConnectWithoutVehicle_geofence_historyInput
    upsert?: VehiclesUpsertWithoutVehicle_geofence_historyInput
    connect?: VehiclesWhereUniqueInput
    update?: XOR<XOR<VehiclesUpdateToOneWithWhereWithoutVehicle_geofence_historyInput, VehiclesUpdateWithoutVehicle_geofence_historyInput>, VehiclesUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_geofence_history_driverInput, UserUncheckedCreateWithoutVehicle_geofence_history_driverInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_geofence_history_driverInput
    upsert?: UserUpsertWithoutVehicle_geofence_history_driverInput
    disconnect?: UserWhereInput | boolean
    delete?: UserWhereInput | boolean
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_geofence_history_driverInput, UserUpdateWithoutVehicle_geofence_history_driverInput>, UserUncheckedUpdateWithoutVehicle_geofence_history_driverInput>
  }

  export type UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput = {
    create?: XOR<UserCreateWithoutVehicle_geofence_history_customerInput, UserUncheckedCreateWithoutVehicle_geofence_history_customerInput>
    connectOrCreate?: UserCreateOrConnectWithoutVehicle_geofence_history_customerInput
    upsert?: UserUpsertWithoutVehicle_geofence_history_customerInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutVehicle_geofence_history_customerInput, UserUpdateWithoutVehicle_geofence_history_customerInput>, UserUncheckedUpdateWithoutVehicle_geofence_history_customerInput>
  }

  export type GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput = {
    create?: XOR<GeoFencesCreateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutVehicle_geofence_historyInput
    upsert?: GeoFencesUpsertWithoutVehicle_geofence_historyInput
    connect?: GeoFencesWhereUniqueInput
    update?: XOR<XOR<GeoFencesUpdateToOneWithWhereWithoutVehicle_geofence_historyInput, GeoFencesUpdateWithoutVehicle_geofence_historyInput>, GeoFencesUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput = {
    create?: XOR<ShipmentsCreateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: ShipmentsCreateOrConnectWithoutVehicle_geofence_historyInput
    upsert?: ShipmentsUpsertWithoutVehicle_geofence_historyInput
    connect?: ShipmentsWhereUniqueInput
    update?: XOR<XOR<ShipmentsUpdateToOneWithWhereWithoutVehicle_geofence_historyInput, ShipmentsUpdateWithoutVehicle_geofence_historyInput>, ShipmentsUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput = {
    create?: XOR<StatusCreateWithoutVehicle_geofence_historyInput, StatusUncheckedCreateWithoutVehicle_geofence_historyInput>
    connectOrCreate?: StatusCreateOrConnectWithoutVehicle_geofence_historyInput
    upsert?: StatusUpsertWithoutVehicle_geofence_historyInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutVehicle_geofence_historyInput, StatusUpdateWithoutVehicle_geofence_historyInput>, StatusUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type StatusCreateNestedOneWithoutCustomer_geofence_mappingInput = {
    create?: XOR<StatusCreateWithoutCustomer_geofence_mappingInput, StatusUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCustomer_geofence_mappingInput
    connect?: StatusWhereUniqueInput
  }

  export type GeoFencesCreateNestedOneWithoutCustomer_geofence_mappingInput = {
    create?: XOR<GeoFencesCreateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutCustomer_geofence_mappingInput
    connect?: GeoFencesWhereUniqueInput
  }

  export type UserCreateNestedOneWithoutCustomer_geofence_mappingInput = {
    create?: XOR<UserCreateWithoutCustomer_geofence_mappingInput, UserUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: UserCreateOrConnectWithoutCustomer_geofence_mappingInput
    connect?: UserWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput = {
    create?: XOR<StatusCreateWithoutCustomer_geofence_mappingInput, StatusUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: StatusCreateOrConnectWithoutCustomer_geofence_mappingInput
    upsert?: StatusUpsertWithoutCustomer_geofence_mappingInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput, StatusUpdateWithoutCustomer_geofence_mappingInput>, StatusUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type GeoFencesUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput = {
    create?: XOR<GeoFencesCreateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: GeoFencesCreateOrConnectWithoutCustomer_geofence_mappingInput
    upsert?: GeoFencesUpsertWithoutCustomer_geofence_mappingInput
    connect?: GeoFencesWhereUniqueInput
    update?: XOR<XOR<GeoFencesUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput, GeoFencesUpdateWithoutCustomer_geofence_mappingInput>, GeoFencesUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type UserUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput = {
    create?: XOR<UserCreateWithoutCustomer_geofence_mappingInput, UserUncheckedCreateWithoutCustomer_geofence_mappingInput>
    connectOrCreate?: UserCreateOrConnectWithoutCustomer_geofence_mappingInput
    upsert?: UserUpsertWithoutCustomer_geofence_mappingInput
    connect?: UserWhereUniqueInput
    update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput, UserUpdateWithoutCustomer_geofence_mappingInput>, UserUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type StatusCreateNestedOneWithoutErp_logsInput = {
    create?: XOR<StatusCreateWithoutErp_logsInput, StatusUncheckedCreateWithoutErp_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutErp_logsInput
    connect?: StatusWhereUniqueInput
  }

  export type ErpLogsLineItemsCreateNestedManyWithoutErp_logsInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput> | ErpLogsLineItemsCreateWithoutErp_logsInput[] | ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput | ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput[]
    createMany?: ErpLogsLineItemsCreateManyErp_logsInputEnvelope
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
  }

  export type ErpLogsLineItemsUncheckedCreateNestedManyWithoutErp_logsInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput> | ErpLogsLineItemsCreateWithoutErp_logsInput[] | ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput | ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput[]
    createMany?: ErpLogsLineItemsCreateManyErp_logsInputEnvelope
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
  }

  export type EnumSyncDataFieldUpdateOperationsInput = {
    set?: $Enums.SyncData
  }

  export type StatusUpdateOneRequiredWithoutErp_logsNestedInput = {
    create?: XOR<StatusCreateWithoutErp_logsInput, StatusUncheckedCreateWithoutErp_logsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutErp_logsInput
    upsert?: StatusUpsertWithoutErp_logsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutErp_logsInput, StatusUpdateWithoutErp_logsInput>, StatusUncheckedUpdateWithoutErp_logsInput>
  }

  export type ErpLogsLineItemsUpdateManyWithoutErp_logsNestedInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput> | ErpLogsLineItemsCreateWithoutErp_logsInput[] | ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput | ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput[]
    upsert?: ErpLogsLineItemsUpsertWithWhereUniqueWithoutErp_logsInput | ErpLogsLineItemsUpsertWithWhereUniqueWithoutErp_logsInput[]
    createMany?: ErpLogsLineItemsCreateManyErp_logsInputEnvelope
    set?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    disconnect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    delete?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    update?: ErpLogsLineItemsUpdateWithWhereUniqueWithoutErp_logsInput | ErpLogsLineItemsUpdateWithWhereUniqueWithoutErp_logsInput[]
    updateMany?: ErpLogsLineItemsUpdateManyWithWhereWithoutErp_logsInput | ErpLogsLineItemsUpdateManyWithWhereWithoutErp_logsInput[]
    deleteMany?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
  }

  export type ErpLogsLineItemsUncheckedUpdateManyWithoutErp_logsNestedInput = {
    create?: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput> | ErpLogsLineItemsCreateWithoutErp_logsInput[] | ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput[]
    connectOrCreate?: ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput | ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput[]
    upsert?: ErpLogsLineItemsUpsertWithWhereUniqueWithoutErp_logsInput | ErpLogsLineItemsUpsertWithWhereUniqueWithoutErp_logsInput[]
    createMany?: ErpLogsLineItemsCreateManyErp_logsInputEnvelope
    set?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    disconnect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    delete?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    connect?: ErpLogsLineItemsWhereUniqueInput | ErpLogsLineItemsWhereUniqueInput[]
    update?: ErpLogsLineItemsUpdateWithWhereUniqueWithoutErp_logsInput | ErpLogsLineItemsUpdateWithWhereUniqueWithoutErp_logsInput[]
    updateMany?: ErpLogsLineItemsUpdateManyWithWhereWithoutErp_logsInput | ErpLogsLineItemsUpdateManyWithWhereWithoutErp_logsInput[]
    deleteMany?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
  }

  export type ErpLogsCreateNestedOneWithoutErp_logs_line_itemsInput = {
    create?: XOR<ErpLogsCreateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedCreateWithoutErp_logs_line_itemsInput>
    connectOrCreate?: ErpLogsCreateOrConnectWithoutErp_logs_line_itemsInput
    connect?: ErpLogsWhereUniqueInput
  }

  export type StatusCreateNestedOneWithoutErp_logs_line_itemsInput = {
    create?: XOR<StatusCreateWithoutErp_logs_line_itemsInput, StatusUncheckedCreateWithoutErp_logs_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutErp_logs_line_itemsInput
    connect?: StatusWhereUniqueInput
  }

  export type NullableEnumLineItemSyncStatusFieldUpdateOperationsInput = {
    set?: $Enums.LineItemSyncStatus | null
  }

  export type ErpLogsUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput = {
    create?: XOR<ErpLogsCreateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedCreateWithoutErp_logs_line_itemsInput>
    connectOrCreate?: ErpLogsCreateOrConnectWithoutErp_logs_line_itemsInput
    upsert?: ErpLogsUpsertWithoutErp_logs_line_itemsInput
    connect?: ErpLogsWhereUniqueInput
    update?: XOR<XOR<ErpLogsUpdateToOneWithWhereWithoutErp_logs_line_itemsInput, ErpLogsUpdateWithoutErp_logs_line_itemsInput>, ErpLogsUncheckedUpdateWithoutErp_logs_line_itemsInput>
  }

  export type StatusUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput = {
    create?: XOR<StatusCreateWithoutErp_logs_line_itemsInput, StatusUncheckedCreateWithoutErp_logs_line_itemsInput>
    connectOrCreate?: StatusCreateOrConnectWithoutErp_logs_line_itemsInput
    upsert?: StatusUpsertWithoutErp_logs_line_itemsInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutErp_logs_line_itemsInput, StatusUpdateWithoutErp_logs_line_itemsInput>, StatusUncheckedUpdateWithoutErp_logs_line_itemsInput>
  }

  export type StatusCreateNestedOneWithoutTemp_session_dataInput = {
    create?: XOR<StatusCreateWithoutTemp_session_dataInput, StatusUncheckedCreateWithoutTemp_session_dataInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTemp_session_dataInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutTemp_session_dataNestedInput = {
    create?: XOR<StatusCreateWithoutTemp_session_dataInput, StatusUncheckedCreateWithoutTemp_session_dataInput>
    connectOrCreate?: StatusCreateOrConnectWithoutTemp_session_dataInput
    upsert?: StatusUpsertWithoutTemp_session_dataInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutTemp_session_dataInput, StatusUpdateWithoutTemp_session_dataInput>, StatusUncheckedUpdateWithoutTemp_session_dataInput>
  }

  export type StatusCreateNestedOneWithoutShipment_statusInput = {
    create?: XOR<StatusCreateWithoutShipment_statusInput, StatusUncheckedCreateWithoutShipment_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_statusInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentsCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput> | ShipmentsCreateWithoutShipment_statusInput[] | ShipmentsUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_statusInput | ShipmentsCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentsCreateManyShipment_statusInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type ShipmentCustomersCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput> | ShipmentCustomersCreateWithoutShipment_statusInput[] | ShipmentCustomersUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_statusInput | ShipmentCustomersCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentCustomersCreateManyShipment_statusInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput> | ShipmentsLocationCreateWithoutShipment_statusInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_statusInput | ShipmentsLocationCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentsLocationCreateManyShipment_statusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput> | ShipmentDeliveryNotesCreateWithoutShipment_statusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_statusInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput> | ShipmentsCreateWithoutShipment_statusInput[] | ShipmentsUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_statusInput | ShipmentsCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentsCreateManyShipment_statusInputEnvelope
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
  }

  export type ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput> | ShipmentCustomersCreateWithoutShipment_statusInput[] | ShipmentCustomersUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_statusInput | ShipmentCustomersCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentCustomersCreateManyShipment_statusInputEnvelope
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput> | ShipmentsLocationCreateWithoutShipment_statusInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_statusInput | ShipmentsLocationCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentsLocationCreateManyShipment_statusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput> | ShipmentDeliveryNotesCreateWithoutShipment_statusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_statusInputEnvelope
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutShipment_statusNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_statusInput, StatusUncheckedCreateWithoutShipment_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_statusInput
    upsert?: StatusUpsertWithoutShipment_statusInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_statusInput, StatusUpdateWithoutShipment_statusInput>, StatusUncheckedUpdateWithoutShipment_statusInput>
  }

  export type ShipmentsUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput> | ShipmentsCreateWithoutShipment_statusInput[] | ShipmentsUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_statusInput | ShipmentsCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentsUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentsCreateManyShipment_statusInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentsUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutShipment_statusInput | ShipmentsUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput> | ShipmentCustomersCreateWithoutShipment_statusInput[] | ShipmentCustomersUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_statusInput | ShipmentCustomersCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentCustomersUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentCustomersCreateManyShipment_statusInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentCustomersUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutShipment_statusInput | ShipmentCustomersUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput> | ShipmentsLocationCreateWithoutShipment_statusInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_statusInput | ShipmentsLocationCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentsLocationCreateManyShipment_statusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipment_statusInput | ShipmentsLocationUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput> | ShipmentDeliveryNotesCreateWithoutShipment_statusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_statusInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_statusInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput> | ShipmentsCreateWithoutShipment_statusInput[] | ShipmentsUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsCreateOrConnectWithoutShipment_statusInput | ShipmentsCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentsUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentsUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentsCreateManyShipment_statusInputEnvelope
    set?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    disconnect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    delete?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    connect?: ShipmentsWhereUniqueInput | ShipmentsWhereUniqueInput[]
    update?: ShipmentsUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentsUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentsUpdateManyWithWhereWithoutShipment_statusInput | ShipmentsUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput> | ShipmentCustomersCreateWithoutShipment_statusInput[] | ShipmentCustomersUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentCustomersCreateOrConnectWithoutShipment_statusInput | ShipmentCustomersCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentCustomersUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentCustomersUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentCustomersCreateManyShipment_statusInputEnvelope
    set?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    disconnect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    delete?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    connect?: ShipmentCustomersWhereUniqueInput | ShipmentCustomersWhereUniqueInput[]
    update?: ShipmentCustomersUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentCustomersUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentCustomersUpdateManyWithWhereWithoutShipment_statusInput | ShipmentCustomersUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput> | ShipmentsLocationCreateWithoutShipment_statusInput[] | ShipmentsLocationUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutShipment_statusInput | ShipmentsLocationCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentsLocationCreateManyShipment_statusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutShipment_statusInput | ShipmentsLocationUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput = {
    create?: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput> | ShipmentDeliveryNotesCreateWithoutShipment_statusInput[] | ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput[]
    connectOrCreate?: ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput | ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput[]
    upsert?: ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_statusInput | ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_statusInput[]
    createMany?: ShipmentDeliveryNotesCreateManyShipment_statusInputEnvelope
    set?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    disconnect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    delete?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    connect?: ShipmentDeliveryNotesWhereUniqueInput | ShipmentDeliveryNotesWhereUniqueInput[]
    update?: ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_statusInput | ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_statusInput[]
    updateMany?: ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_statusInput | ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_statusInput[]
    deleteMany?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutShipment_status_historyInput = {
    create?: XOR<StatusCreateWithoutShipment_status_historyInput, StatusUncheckedCreateWithoutShipment_status_historyInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_status_historyInput
    connect?: StatusWhereUniqueInput
  }

  export type EnumETablesFieldUpdateOperationsInput = {
    set?: $Enums.ETables
  }

  export type StatusUpdateOneRequiredWithoutShipment_status_historyNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_status_historyInput, StatusUncheckedCreateWithoutShipment_status_historyInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_status_historyInput
    upsert?: StatusUpsertWithoutShipment_status_historyInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_status_historyInput, StatusUpdateWithoutShipment_status_historyInput>, StatusUncheckedUpdateWithoutShipment_status_historyInput>
  }

  export type StatusCreateNestedOneWithoutPod_statusInput = {
    create?: XOR<StatusCreateWithoutPod_statusInput, StatusUncheckedCreateWithoutPod_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPod_statusInput
    connect?: StatusWhereUniqueInput
  }

  export type ShipmentsLocationCreateNestedManyWithoutPod_statusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput> | ShipmentsLocationCreateWithoutPod_statusInput[] | ShipmentsLocationUncheckedCreateWithoutPod_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutPod_statusInput | ShipmentsLocationCreateOrConnectWithoutPod_statusInput[]
    createMany?: ShipmentsLocationCreateManyPod_statusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type ShipmentsLocationUncheckedCreateNestedManyWithoutPod_statusInput = {
    create?: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput> | ShipmentsLocationCreateWithoutPod_statusInput[] | ShipmentsLocationUncheckedCreateWithoutPod_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutPod_statusInput | ShipmentsLocationCreateOrConnectWithoutPod_statusInput[]
    createMany?: ShipmentsLocationCreateManyPod_statusInputEnvelope
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
  }

  export type StatusUpdateOneRequiredWithoutPod_statusNestedInput = {
    create?: XOR<StatusCreateWithoutPod_statusInput, StatusUncheckedCreateWithoutPod_statusInput>
    connectOrCreate?: StatusCreateOrConnectWithoutPod_statusInput
    upsert?: StatusUpsertWithoutPod_statusInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutPod_statusInput, StatusUpdateWithoutPod_statusInput>, StatusUncheckedUpdateWithoutPod_statusInput>
  }

  export type ShipmentsLocationUpdateManyWithoutPod_statusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput> | ShipmentsLocationCreateWithoutPod_statusInput[] | ShipmentsLocationUncheckedCreateWithoutPod_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutPod_statusInput | ShipmentsLocationCreateOrConnectWithoutPod_statusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutPod_statusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutPod_statusInput[]
    createMany?: ShipmentsLocationCreateManyPod_statusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutPod_statusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutPod_statusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutPod_statusInput | ShipmentsLocationUpdateManyWithWhereWithoutPod_statusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutPod_statusNestedInput = {
    create?: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput> | ShipmentsLocationCreateWithoutPod_statusInput[] | ShipmentsLocationUncheckedCreateWithoutPod_statusInput[]
    connectOrCreate?: ShipmentsLocationCreateOrConnectWithoutPod_statusInput | ShipmentsLocationCreateOrConnectWithoutPod_statusInput[]
    upsert?: ShipmentsLocationUpsertWithWhereUniqueWithoutPod_statusInput | ShipmentsLocationUpsertWithWhereUniqueWithoutPod_statusInput[]
    createMany?: ShipmentsLocationCreateManyPod_statusInputEnvelope
    set?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    disconnect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    delete?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    connect?: ShipmentsLocationWhereUniqueInput | ShipmentsLocationWhereUniqueInput[]
    update?: ShipmentsLocationUpdateWithWhereUniqueWithoutPod_statusInput | ShipmentsLocationUpdateWithWhereUniqueWithoutPod_statusInput[]
    updateMany?: ShipmentsLocationUpdateManyWithWhereWithoutPod_statusInput | ShipmentsLocationUpdateManyWithWhereWithoutPod_statusInput[]
    deleteMany?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
  }

  export type StatusCreateNestedOneWithoutShipment_location_contact_info_historiesInput = {
    create?: XOR<StatusCreateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedCreateWithoutShipment_location_contact_info_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_location_contact_info_historiesInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneRequiredWithoutShipment_location_contact_info_historiesNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedCreateWithoutShipment_location_contact_info_historiesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_location_contact_info_historiesInput
    upsert?: StatusUpsertWithoutShipment_location_contact_info_historiesInput
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_location_contact_info_historiesInput, StatusUpdateWithoutShipment_location_contact_info_historiesInput>, StatusUncheckedUpdateWithoutShipment_location_contact_info_historiesInput>
  }

  export type StatusCreateNestedOneWithoutShipment_imagesInput = {
    create?: XOR<StatusCreateWithoutShipment_imagesInput, StatusUncheckedCreateWithoutShipment_imagesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_imagesInput
    connect?: StatusWhereUniqueInput
  }

  export type StatusUpdateOneWithoutShipment_imagesNestedInput = {
    create?: XOR<StatusCreateWithoutShipment_imagesInput, StatusUncheckedCreateWithoutShipment_imagesInput>
    connectOrCreate?: StatusCreateOrConnectWithoutShipment_imagesInput
    upsert?: StatusUpsertWithoutShipment_imagesInput
    disconnect?: StatusWhereInput | boolean
    delete?: StatusWhereInput | boolean
    connect?: StatusWhereUniqueInput
    update?: XOR<XOR<StatusUpdateToOneWithWhereWithoutShipment_imagesInput, StatusUpdateWithoutShipment_imagesInput>, StatusUncheckedUpdateWithoutShipment_imagesInput>
  }

  export type NestedIntFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel>
    in?: number[] | ListIntFieldRefInput<$PrismaModel>
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntFilter<$PrismaModel> | number
  }

  export type NestedUuidFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedUuidFilter<$PrismaModel> | string
  }

  export type NestedStringFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedStringFilter<$PrismaModel> | string
  }

  export type NestedBoolFilter<$PrismaModel = never> = {
    equals?: boolean | BooleanFieldRefInput<$PrismaModel>
    not?: NestedBoolFilter<$PrismaModel> | boolean
  }

  export type NestedStringNullableFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedStringNullableFilter<$PrismaModel> | string | null
  }

  export type NestedEnumUserRoleFilter<$PrismaModel = never> = {
    equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel>
    in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    not?: NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole
  }

  export type NestedEnumProcessStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.ProcessStatus | EnumProcessStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumProcessStatusFilter<$PrismaModel> | $Enums.ProcessStatus
  }

  export type NestedIntNullableFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel> | null
    in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntNullableFilter<$PrismaModel> | number | null
  }

  export type NestedDateTimeFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeFilter<$PrismaModel> | Date | string
  }

  export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
  }

  export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel>
    in?: number[] | ListIntFieldRefInput<$PrismaModel>
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedFloatFilter<$PrismaModel>
    _sum?: NestedIntFilter<$PrismaModel>
    _min?: NestedIntFilter<$PrismaModel>
    _max?: NestedIntFilter<$PrismaModel>
  }

  export type NestedFloatFilter<$PrismaModel = never> = {
    equals?: number | FloatFieldRefInput<$PrismaModel>
    in?: number[] | ListFloatFieldRefInput<$PrismaModel>
    notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
    lt?: number | FloatFieldRefInput<$PrismaModel>
    lte?: number | FloatFieldRefInput<$PrismaModel>
    gt?: number | FloatFieldRefInput<$PrismaModel>
    gte?: number | FloatFieldRefInput<$PrismaModel>
    not?: NestedFloatFilter<$PrismaModel> | number
  }

  export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedStringFilter<$PrismaModel>
    _max?: NestedStringFilter<$PrismaModel>
  }

  export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel>
    in?: string[] | ListStringFieldRefInput<$PrismaModel>
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedStringFilter<$PrismaModel>
    _max?: NestedStringFilter<$PrismaModel>
  }

  export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
    equals?: boolean | BooleanFieldRefInput<$PrismaModel>
    not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedBoolFilter<$PrismaModel>
    _max?: NestedBoolFilter<$PrismaModel>
  }

  export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    contains?: string | StringFieldRefInput<$PrismaModel>
    startsWith?: string | StringFieldRefInput<$PrismaModel>
    endsWith?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedStringNullableFilter<$PrismaModel>
    _max?: NestedStringNullableFilter<$PrismaModel>
  }

  export type NestedEnumUserRoleWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.UserRole | EnumUserRoleFieldRefInput<$PrismaModel>
    in?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    notIn?: $Enums.UserRole[] | ListEnumUserRoleFieldRefInput<$PrismaModel>
    not?: NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumUserRoleFilter<$PrismaModel>
    _max?: NestedEnumUserRoleFilter<$PrismaModel>
  }

  export type NestedEnumProcessStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ProcessStatus | EnumProcessStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ProcessStatus[] | ListEnumProcessStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumProcessStatusWithAggregatesFilter<$PrismaModel> | $Enums.ProcessStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumProcessStatusFilter<$PrismaModel>
    _max?: NestedEnumProcessStatusFilter<$PrismaModel>
  }

  export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | IntFieldRefInput<$PrismaModel> | null
    in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
    lt?: number | IntFieldRefInput<$PrismaModel>
    lte?: number | IntFieldRefInput<$PrismaModel>
    gt?: number | IntFieldRefInput<$PrismaModel>
    gte?: number | IntFieldRefInput<$PrismaModel>
    not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedFloatNullableFilter<$PrismaModel>
    _sum?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedIntNullableFilter<$PrismaModel>
    _max?: NestedIntNullableFilter<$PrismaModel>
  }

  export type NestedFloatNullableFilter<$PrismaModel = never> = {
    equals?: number | FloatFieldRefInput<$PrismaModel> | null
    in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    lt?: number | FloatFieldRefInput<$PrismaModel>
    lte?: number | FloatFieldRefInput<$PrismaModel>
    gt?: number | FloatFieldRefInput<$PrismaModel>
    gte?: number | FloatFieldRefInput<$PrismaModel>
    not?: NestedFloatNullableFilter<$PrismaModel> | number | null
  }

  export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedDateTimeFilter<$PrismaModel>
    _max?: NestedDateTimeFilter<$PrismaModel>
  }

  export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
    in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
    lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
    not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedDateTimeNullableFilter<$PrismaModel>
    _max?: NestedDateTimeNullableFilter<$PrismaModel>
  }

  export type NestedEnumGenderFilter<$PrismaModel = never> = {
    equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel>
    in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    not?: NestedEnumGenderFilter<$PrismaModel> | $Enums.Gender
  }

  export type NestedEnumGenderWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel>
    in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel>
    not?: NestedEnumGenderWithAggregatesFilter<$PrismaModel> | $Enums.Gender
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGenderFilter<$PrismaModel>
    _max?: NestedEnumGenderFilter<$PrismaModel>
  }

  export type NestedBigIntFilter<$PrismaModel = never> = {
    equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    not?: NestedBigIntFilter<$PrismaModel> | bigint | number
  }

  export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
    equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
    lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
    not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedFloatFilter<$PrismaModel>
    _sum?: NestedBigIntFilter<$PrismaModel>
    _min?: NestedBigIntFilter<$PrismaModel>
    _max?: NestedBigIntFilter<$PrismaModel>
  }

  export type NestedDecimalFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string
  }

  export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel>
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string
    _count?: NestedIntFilter<$PrismaModel>
    _avg?: NestedDecimalFilter<$PrismaModel>
    _sum?: NestedDecimalFilter<$PrismaModel>
    _min?: NestedDecimalFilter<$PrismaModel>
    _max?: NestedDecimalFilter<$PrismaModel>
  }

  export type NestedEnumOtpTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpType | EnumOtpTypeFieldRefInput<$PrismaModel>
    in?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumOtpTypeFilter<$PrismaModel> | $Enums.OtpType
  }

  export type NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpType | EnumOtpTypeFieldRefInput<$PrismaModel>
    in?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.OtpType[] | ListEnumOtpTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel> | $Enums.OtpType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumOtpTypeFilter<$PrismaModel>
    _max?: NestedEnumOtpTypeFilter<$PrismaModel>
  }

  export type NestedEnumaboutTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.aboutType | EnumaboutTypeFieldRefInput<$PrismaModel>
    in?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumaboutTypeFilter<$PrismaModel> | $Enums.aboutType
  }

  export type NestedDecimalNullableFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null
  }

  export type NestedEnumaboutTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.aboutType | EnumaboutTypeFieldRefInput<$PrismaModel>
    in?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.aboutType[] | ListEnumaboutTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumaboutTypeWithAggregatesFilter<$PrismaModel> | $Enums.aboutType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumaboutTypeFilter<$PrismaModel>
    _max?: NestedEnumaboutTypeFilter<$PrismaModel>
  }

  export type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
    in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
    lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>
    not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedDecimalNullableFilter<$PrismaModel>
    _sum?: NestedDecimalNullableFilter<$PrismaModel>
    _min?: NestedDecimalNullableFilter<$PrismaModel>
    _max?: NestedDecimalNullableFilter<$PrismaModel>
  }
  export type NestedJsonNullableFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
        Required<NestedJsonNullableFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>

  export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
  }

  export type NestedEnumReportTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumReportTypeFilter<$PrismaModel> | $Enums.ReportType
  }

  export type NestedEnumReportTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ReportType | EnumReportTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ReportType[] | ListEnumReportTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumReportTypeWithAggregatesFilter<$PrismaModel> | $Enums.ReportType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumReportTypeFilter<$PrismaModel>
    _max?: NestedEnumReportTypeFilter<$PrismaModel>
  }

  export type NestedEnumClauseTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ClauseType | EnumClauseTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumClauseTypeFilter<$PrismaModel> | $Enums.ClauseType
  }

  export type NestedEnumClauseTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ClauseType | EnumClauseTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ClauseType[] | ListEnumClauseTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumClauseTypeWithAggregatesFilter<$PrismaModel> | $Enums.ClauseType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumClauseTypeFilter<$PrismaModel>
    _max?: NestedEnumClauseTypeFilter<$PrismaModel>
  }

  export type NestedEnumNotificationTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.NotificationType | EnumNotificationTypeFieldRefInput<$PrismaModel>
    in?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumNotificationTypeFilter<$PrismaModel> | $Enums.NotificationType
  }

  export type NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.NotificationType | EnumNotificationTypeFieldRefInput<$PrismaModel>
    in?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.NotificationType[] | ListEnumNotificationTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumNotificationTypeFilter<$PrismaModel>
    _max?: NestedEnumNotificationTypeFilter<$PrismaModel>
  }

  export type NestedEnumRecipientTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.RecipientType | EnumRecipientTypeFieldRefInput<$PrismaModel>
    in?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumRecipientTypeFilter<$PrismaModel> | $Enums.RecipientType
  }

  export type NestedEnumRecipientTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.RecipientType | EnumRecipientTypeFieldRefInput<$PrismaModel>
    in?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.RecipientType[] | ListEnumRecipientTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumRecipientTypeWithAggregatesFilter<$PrismaModel> | $Enums.RecipientType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumRecipientTypeFilter<$PrismaModel>
    _max?: NestedEnumRecipientTypeFilter<$PrismaModel>
  }

  export type NestedEnumsendMailTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.sendMailType | EnumsendMailTypeFieldRefInput<$PrismaModel>
    in?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumsendMailTypeFilter<$PrismaModel> | $Enums.sendMailType
  }

  export type NestedEnumsendMailTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.sendMailType | EnumsendMailTypeFieldRefInput<$PrismaModel>
    in?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.sendMailType[] | ListEnumsendMailTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumsendMailTypeWithAggregatesFilter<$PrismaModel> | $Enums.sendMailType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumsendMailTypeFilter<$PrismaModel>
    _max?: NestedEnumsendMailTypeFilter<$PrismaModel>
  }

  export type NestedEnumTemplateTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.TemplateType | EnumTemplateTypeFieldRefInput<$PrismaModel>
    in?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumTemplateTypeFilter<$PrismaModel> | $Enums.TemplateType
  }

  export type NestedEnumTemplateTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.TemplateType | EnumTemplateTypeFieldRefInput<$PrismaModel>
    in?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.TemplateType[] | ListEnumTemplateTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumTemplateTypeWithAggregatesFilter<$PrismaModel> | $Enums.TemplateType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumTemplateTypeFilter<$PrismaModel>
    _max?: NestedEnumTemplateTypeFilter<$PrismaModel>
  }

  export type NestedEnumApproverTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ApproverType | EnumApproverTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumApproverTypeFilter<$PrismaModel> | $Enums.ApproverType
  }

  export type NestedEnumApproverTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ApproverType | EnumApproverTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApproverType[] | ListEnumApproverTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumApproverTypeWithAggregatesFilter<$PrismaModel> | $Enums.ApproverType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumApproverTypeFilter<$PrismaModel>
    _max?: NestedEnumApproverTypeFilter<$PrismaModel>
  }

  export type NestedEnumApprovalStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumApprovalStatusFilter<$PrismaModel> | $Enums.ApprovalStatus
  }

  export type NestedEnumApprovalStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel>
    in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumApprovalStatusWithAggregatesFilter<$PrismaModel> | $Enums.ApprovalStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumApprovalStatusFilter<$PrismaModel>
    _max?: NestedEnumApprovalStatusFilter<$PrismaModel>
  }

  export type NestedEnumLoginStatusFilter<$PrismaModel = never> = {
    equals?: $Enums.LoginStatus | EnumLoginStatusFieldRefInput<$PrismaModel>
    in?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumLoginStatusFilter<$PrismaModel> | $Enums.LoginStatus
  }

  export type NestedEnumLoginStatusWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.LoginStatus | EnumLoginStatusFieldRefInput<$PrismaModel>
    in?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    notIn?: $Enums.LoginStatus[] | ListEnumLoginStatusFieldRefInput<$PrismaModel>
    not?: NestedEnumLoginStatusWithAggregatesFilter<$PrismaModel> | $Enums.LoginStatus
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumLoginStatusFilter<$PrismaModel>
    _max?: NestedEnumLoginStatusFilter<$PrismaModel>
  }

  export type NestedEnumOtpStatusNullableFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpStatus | EnumOtpStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumOtpStatusNullableFilter<$PrismaModel> | $Enums.OtpStatus | null
  }

  export type NestedEnumOtpStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.OtpStatus | EnumOtpStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.OtpStatus[] | ListEnumOtpStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumOtpStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.OtpStatus | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedEnumOtpStatusNullableFilter<$PrismaModel>
    _max?: NestedEnumOtpStatusNullableFilter<$PrismaModel>
  }

  export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: number | FloatFieldRefInput<$PrismaModel> | null
    in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
    lt?: number | FloatFieldRefInput<$PrismaModel>
    lte?: number | FloatFieldRefInput<$PrismaModel>
    gt?: number | FloatFieldRefInput<$PrismaModel>
    gte?: number | FloatFieldRefInput<$PrismaModel>
    not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _avg?: NestedFloatNullableFilter<$PrismaModel>
    _sum?: NestedFloatNullableFilter<$PrismaModel>
    _min?: NestedFloatNullableFilter<$PrismaModel>
    _max?: NestedFloatNullableFilter<$PrismaModel>
  }

  export type NestedEnumZoneTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.ZoneType | EnumZoneTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumZoneTypeFilter<$PrismaModel> | $Enums.ZoneType
  }

  export type NestedEnumGeoCategoryFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoCategory | EnumGeoCategoryFieldRefInput<$PrismaModel>
    in?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoCategoryFilter<$PrismaModel> | $Enums.GeoCategory
  }

  export type NestedEnumZoneTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ZoneType | EnumZoneTypeFieldRefInput<$PrismaModel>
    in?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.ZoneType[] | ListEnumZoneTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumZoneTypeWithAggregatesFilter<$PrismaModel> | $Enums.ZoneType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumZoneTypeFilter<$PrismaModel>
    _max?: NestedEnumZoneTypeFilter<$PrismaModel>
  }

  export type NestedEnumGeoCategoryWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoCategory | EnumGeoCategoryFieldRefInput<$PrismaModel>
    in?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoCategory[] | ListEnumGeoCategoryFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoCategoryWithAggregatesFilter<$PrismaModel> | $Enums.GeoCategory
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoCategoryFilter<$PrismaModel>
    _max?: NestedEnumGeoCategoryFilter<$PrismaModel>
  }

  export type NestedEnumGeoTracActivityFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoTracActivity | EnumGeoTracActivityFieldRefInput<$PrismaModel>
    in?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoTracActivityFilter<$PrismaModel> | $Enums.GeoTracActivity
  }

  export type NestedEnumGeoTracActivityWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoTracActivity | EnumGeoTracActivityFieldRefInput<$PrismaModel>
    in?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoTracActivity[] | ListEnumGeoTracActivityFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoTracActivityWithAggregatesFilter<$PrismaModel> | $Enums.GeoTracActivity
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoTracActivityFilter<$PrismaModel>
    _max?: NestedEnumGeoTracActivityFilter<$PrismaModel>
  }

  export type NestedEnumGeoFenceEventTypeFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoFenceEventType | EnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    in?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel> | $Enums.GeoFenceEventType
  }

  export type NestedEnumGeoFenceEventTypeWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.GeoFenceEventType | EnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    in?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    notIn?: $Enums.GeoFenceEventType[] | ListEnumGeoFenceEventTypeFieldRefInput<$PrismaModel>
    not?: NestedEnumGeoFenceEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.GeoFenceEventType
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel>
    _max?: NestedEnumGeoFenceEventTypeFilter<$PrismaModel>
  }

  export type NestedEnumSyncDataFilter<$PrismaModel = never> = {
    equals?: $Enums.SyncData | EnumSyncDataFieldRefInput<$PrismaModel>
    in?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    notIn?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    not?: NestedEnumSyncDataFilter<$PrismaModel> | $Enums.SyncData
  }
  export type NestedJsonFilter<$PrismaModel = never> = 
    | PatchUndefined<
        Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
        Required<NestedJsonFilterBase<$PrismaModel>>
      >
    | OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>

  export type NestedJsonFilterBase<$PrismaModel = never> = {
    equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
    path?: string[]
    string_contains?: string | StringFieldRefInput<$PrismaModel>
    string_starts_with?: string | StringFieldRefInput<$PrismaModel>
    string_ends_with?: string | StringFieldRefInput<$PrismaModel>
    array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
    lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
    not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
  }

  export type NestedEnumSyncDataWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.SyncData | EnumSyncDataFieldRefInput<$PrismaModel>
    in?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    notIn?: $Enums.SyncData[] | ListEnumSyncDataFieldRefInput<$PrismaModel>
    not?: NestedEnumSyncDataWithAggregatesFilter<$PrismaModel> | $Enums.SyncData
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumSyncDataFilter<$PrismaModel>
    _max?: NestedEnumSyncDataFilter<$PrismaModel>
  }

  export type NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel = never> = {
    equals?: $Enums.LineItemSyncStatus | EnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel> | $Enums.LineItemSyncStatus | null
  }

  export type NestedEnumLineItemSyncStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.LineItemSyncStatus | EnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    in?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    notIn?: $Enums.LineItemSyncStatus[] | ListEnumLineItemSyncStatusFieldRefInput<$PrismaModel> | null
    not?: NestedEnumLineItemSyncStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.LineItemSyncStatus | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel>
    _max?: NestedEnumLineItemSyncStatusNullableFilter<$PrismaModel>
  }

  export type NestedEnumETablesFilter<$PrismaModel = never> = {
    equals?: $Enums.ETables | EnumETablesFieldRefInput<$PrismaModel>
    in?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    notIn?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    not?: NestedEnumETablesFilter<$PrismaModel> | $Enums.ETables
  }

  export type NestedEnumETablesWithAggregatesFilter<$PrismaModel = never> = {
    equals?: $Enums.ETables | EnumETablesFieldRefInput<$PrismaModel>
    in?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    notIn?: $Enums.ETables[] | ListEnumETablesFieldRefInput<$PrismaModel>
    not?: NestedEnumETablesWithAggregatesFilter<$PrismaModel> | $Enums.ETables
    _count?: NestedIntFilter<$PrismaModel>
    _min?: NestedEnumETablesFilter<$PrismaModel>
    _max?: NestedEnumETablesFilter<$PrismaModel>
  }

  export type NestedUuidNullableFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedUuidNullableFilter<$PrismaModel> | string | null
  }

  export type NestedUuidNullableWithAggregatesFilter<$PrismaModel = never> = {
    equals?: string | StringFieldRefInput<$PrismaModel> | null
    in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
    lt?: string | StringFieldRefInput<$PrismaModel>
    lte?: string | StringFieldRefInput<$PrismaModel>
    gt?: string | StringFieldRefInput<$PrismaModel>
    gte?: string | StringFieldRefInput<$PrismaModel>
    search?: string
    not?: NestedUuidNullableWithAggregatesFilter<$PrismaModel> | string | null
    _count?: NestedIntNullableFilter<$PrismaModel>
    _min?: NestedStringNullableFilter<$PrismaModel>
    _max?: NestedStringNullableFilter<$PrismaModel>
  }

  export type StatusCreateWithoutUsersInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutUsersInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutUsersInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutUsersInput, StatusUncheckedCreateWithoutUsersInput>
  }

  export type UserDetailCreateWithoutUserInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    department?: DepartmentCreateNestedOneWithoutUsersInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutUserInput = {
    id?: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutUserInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
  }

  export type RequestLogCreateWithoutUserInput = {
    id?: bigint | number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRequest_logsInput
  }

  export type RequestLogUncheckedCreateWithoutUserInput = {
    id?: bigint | number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    status_id?: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RequestLogCreateOrConnectWithoutUserInput = {
    where: RequestLogWhereUniqueInput
    create: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput>
  }

  export type RequestLogCreateManyUserInputEnvelope = {
    data: RequestLogCreateManyUserInput | RequestLogCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type UserRolesCreateWithoutUserInput = {
    role: RoleCreateNestedOneWithoutUsersInput
  }

  export type UserRolesUncheckedCreateWithoutUserInput = {
    role_id: number
  }

  export type UserRolesCreateOrConnectWithoutUserInput = {
    where: UserRolesWhereUniqueInput
    create: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput>
  }

  export type UserRolesCreateManyUserInputEnvelope = {
    data: UserRolesCreateManyUserInput | UserRolesCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type UserPermissionsCreateWithoutUserInput = {
    permission: PermissionsCreateNestedOneWithoutUsersInput
  }

  export type UserPermissionsUncheckedCreateWithoutUserInput = {
    permission_id: number
  }

  export type UserPermissionsCreateOrConnectWithoutUserInput = {
    where: UserPermissionsWhereUniqueInput
    create: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput>
  }

  export type UserPermissionsCreateManyUserInputEnvelope = {
    data: UserPermissionsCreateManyUserInput | UserPermissionsCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type OtpCreateWithoutUserInput = {
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    created_at?: Date | string
    verified_at?: Date | string | null
  }

  export type OtpUncheckedCreateWithoutUserInput = {
    id?: number
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    created_at?: Date | string
    verified_at?: Date | string | null
  }

  export type OtpCreateOrConnectWithoutUserInput = {
    where: OtpWhereUniqueInput
    create: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput>
  }

  export type OtpCreateManyUserInputEnvelope = {
    data: OtpCreateManyUserInput | OtpCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_usersInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_usersInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_usersInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_usersInput, UserUncheckedCreateWithoutCreated_usersInput>
  }

  export type UserCreateWithoutUpdated_usersInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_usersInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_usersInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_usersInput, UserUncheckedCreateWithoutUpdated_usersInput>
  }

  export type UserCreateWithoutDeleted_usersInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_usersInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_usersInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_usersInput, UserUncheckedCreateWithoutDeleted_usersInput>
  }

  export type UserCreateWithoutCreatedInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreatedInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput>
  }

  export type UserCreateManyCreatedInputEnvelope = {
    data: UserCreateManyCreatedInput | UserCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutUpdatedInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdatedInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput>
  }

  export type UserCreateManyUpdatedInputEnvelope = {
    data: UserCreateManyUpdatedInput | UserCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutDeletedInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeletedInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput>
  }

  export type UserCreateManyDeletedInputEnvelope = {
    data: UserCreateManyDeletedInput | UserCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type UserDetailCreateWithoutCreatedInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    department?: DepartmentCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutCreatedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutCreatedInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput>
  }

  export type UserDetailCreateManyCreatedInputEnvelope = {
    data: UserDetailCreateManyCreatedInput | UserDetailCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type UserDetailCreateWithoutUpdatedInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    department?: DepartmentCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutUpdatedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutUpdatedInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput>
  }

  export type UserDetailCreateManyUpdatedInputEnvelope = {
    data: UserDetailCreateManyUpdatedInput | UserDetailCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type UserDetailCreateWithoutDeletedInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    department?: DepartmentCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutDeletedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutDeletedInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput>
  }

  export type UserDetailCreateManyDeletedInputEnvelope = {
    data: UserDetailCreateManyDeletedInput | UserDetailCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type RoleCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutCreatedInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput>
  }

  export type RoleCreateManyCreatedInputEnvelope = {
    data: RoleCreateManyCreatedInput | RoleCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type RoleCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutUpdatedInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput>
  }

  export type RoleCreateManyUpdatedInputEnvelope = {
    data: RoleCreateManyUpdatedInput | RoleCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type RoleCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
  }

  export type RoleUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutDeletedInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput>
  }

  export type RoleCreateManyDeletedInputEnvelope = {
    data: RoleCreateManyDeletedInput | RoleCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type LanguageCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutLanguagesInput
    translations?: LanguageContentCreateNestedManyWithoutLanguageInput
    updated?: UserCreateNestedOneWithoutUpdated_languagesInput
    deleted?: UserCreateNestedOneWithoutDeleted_languagesInput
  }

  export type LanguageUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentUncheckedCreateNestedManyWithoutLanguageInput
  }

  export type LanguageCreateOrConnectWithoutCreatedInput = {
    where: LanguageWhereUniqueInput
    create: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput>
  }

  export type LanguageCreateManyCreatedInputEnvelope = {
    data: LanguageCreateManyCreatedInput | LanguageCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type LanguageCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutLanguagesInput
    translations?: LanguageContentCreateNestedManyWithoutLanguageInput
    created?: UserCreateNestedOneWithoutCreated_languagesInput
    deleted?: UserCreateNestedOneWithoutDeleted_languagesInput
  }

  export type LanguageUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentUncheckedCreateNestedManyWithoutLanguageInput
  }

  export type LanguageCreateOrConnectWithoutUpdatedInput = {
    where: LanguageWhereUniqueInput
    create: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput>
  }

  export type LanguageCreateManyUpdatedInputEnvelope = {
    data: LanguageCreateManyUpdatedInput | LanguageCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type LanguageCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutLanguagesInput
    translations?: LanguageContentCreateNestedManyWithoutLanguageInput
    created?: UserCreateNestedOneWithoutCreated_languagesInput
    updated?: UserCreateNestedOneWithoutUpdated_languagesInput
  }

  export type LanguageUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentUncheckedCreateNestedManyWithoutLanguageInput
  }

  export type LanguageCreateOrConnectWithoutDeletedInput = {
    where: LanguageWhereUniqueInput
    create: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput>
  }

  export type LanguageCreateManyDeletedInputEnvelope = {
    data: LanguageCreateManyDeletedInput | LanguageCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type MenusCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenusInput
    menuitems?: MenuItemsCreateNestedManyWithoutMenusInput
    updated?: UserCreateNestedOneWithoutUpdated_menusInput
    deleted?: UserCreateNestedOneWithoutDeleted_menusInput
  }

  export type MenusUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutMenusInput
  }

  export type MenusCreateOrConnectWithoutCreatedInput = {
    where: MenusWhereUniqueInput
    create: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput>
  }

  export type MenusCreateManyCreatedInputEnvelope = {
    data: MenusCreateManyCreatedInput | MenusCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type MenusCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenusInput
    menuitems?: MenuItemsCreateNestedManyWithoutMenusInput
    created?: UserCreateNestedOneWithoutCreated_menusInput
    deleted?: UserCreateNestedOneWithoutDeleted_menusInput
  }

  export type MenusUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutMenusInput
  }

  export type MenusCreateOrConnectWithoutUpdatedInput = {
    where: MenusWhereUniqueInput
    create: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput>
  }

  export type MenusCreateManyUpdatedInputEnvelope = {
    data: MenusCreateManyUpdatedInput | MenusCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type MenusCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenusInput
    menuitems?: MenuItemsCreateNestedManyWithoutMenusInput
    created?: UserCreateNestedOneWithoutCreated_menusInput
    updated?: UserCreateNestedOneWithoutUpdated_menusInput
  }

  export type MenusUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutMenusInput
  }

  export type MenusCreateOrConnectWithoutDeletedInput = {
    where: MenusWhereUniqueInput
    create: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput>
  }

  export type MenusCreateManyDeletedInputEnvelope = {
    data: MenusCreateManyDeletedInput | MenusCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutCreatedInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutCreatedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutCreatedInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput>
  }

  export type MenuItemsCreateManyCreatedInputEnvelope = {
    data: MenuItemsCreateManyCreatedInput | MenuItemsCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutUpdatedInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutUpdatedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutUpdatedInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput>
  }

  export type MenuItemsCreateManyUpdatedInputEnvelope = {
    data: MenuItemsCreateManyUpdatedInput | MenuItemsCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutDeletedInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutDeletedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutDeletedInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput>
  }

  export type MenuItemsCreateManyDeletedInputEnvelope = {
    data: MenuItemsCreateManyDeletedInput | MenuItemsCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateCreateWithoutCreatedInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutCreatedInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationTemplateCreateManyCreatedInputEnvelope = {
    data: NotificationTemplateCreateManyCreatedInput | NotificationTemplateCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateCreateWithoutUpdatedInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    deleted_by?: number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutUpdatedInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type NotificationTemplateCreateManyUpdatedInputEnvelope = {
    data: NotificationTemplateCreateManyUpdatedInput | NotificationTemplateCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateCreateWithoutDeletedInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutDeletedInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type NotificationTemplateCreateManyDeletedInputEnvelope = {
    data: NotificationTemplateCreateManyDeletedInput | NotificationTemplateCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateAssignmentCreateWithoutCreatedInput = {
    uuid?: string
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_assignmentsInput
    notification_template: NotificationTemplateCreateNestedOneWithoutNotification_template_assignmentsInput
    email_template_cc_bcc?: EmailTemplateCcBccCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentCreateOrConnectWithoutCreatedInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    create: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationTemplateAssignmentCreateManyCreatedInputEnvelope = {
    data: NotificationTemplateAssignmentCreateManyCreatedInput | NotificationTemplateAssignmentCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationProcessJobCreateWithoutCreatedInput = {
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutNotification_process_jobsInput
  }

  export type NotificationProcessJobUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    status_id?: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
  }

  export type NotificationProcessJobCreateOrConnectWithoutCreatedInput = {
    where: NotificationProcessJobWhereUniqueInput
    create: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationProcessJobCreateManyCreatedInputEnvelope = {
    data: NotificationProcessJobCreateManyCreatedInput | NotificationProcessJobCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type NotificationJobCreateWithoutCreatedInput = {
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    sent_at?: Date | string | null
    read_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_jobInput
  }

  export type NotificationJobUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    status_id?: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type NotificationJobCreateOrConnectWithoutCreatedInput = {
    where: NotificationJobWhereUniqueInput
    create: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationJobCreateManyCreatedInputEnvelope = {
    data: NotificationJobCreateManyCreatedInput | NotificationJobCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutCreatedInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type ImportTemplateCreateManyCreatedInputEnvelope = {
    data: ImportTemplateCreateManyCreatedInput | ImportTemplateCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutUpdatedInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type ImportTemplateCreateManyUpdatedInputEnvelope = {
    data: ImportTemplateCreateManyUpdatedInput | ImportTemplateCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutDeletedInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type ImportTemplateCreateManyDeletedInputEnvelope = {
    data: ImportTemplateCreateManyDeletedInput | ImportTemplateCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type CarouselTemplateCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutCarousel_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_carousel_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_carousel_templatesInput
    line_items?: CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateCreateOrConnectWithoutCreatedInput = {
    where: CarouselTemplateWhereUniqueInput
    create: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type CarouselTemplateCreateManyCreatedInputEnvelope = {
    data: CarouselTemplateCreateManyCreatedInput | CarouselTemplateCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type CarouselTemplateCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutCarousel_templatesInput
    created?: UserCreateNestedOneWithoutCreated_carousel_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_carousel_templatesInput
    line_items?: CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateCreateOrConnectWithoutUpdatedInput = {
    where: CarouselTemplateWhereUniqueInput
    create: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type CarouselTemplateCreateManyUpdatedInputEnvelope = {
    data: CarouselTemplateCreateManyUpdatedInput | CarouselTemplateCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type CarouselTemplateCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutCarousel_templatesInput
    created?: UserCreateNestedOneWithoutCreated_carousel_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_carousel_templatesInput
    line_items?: CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateCreateOrConnectWithoutDeletedInput = {
    where: CarouselTemplateWhereUniqueInput
    create: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type CarouselTemplateCreateManyDeletedInputEnvelope = {
    data: CarouselTemplateCreateManyDeletedInput | CarouselTemplateCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutCreatedInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type ExportTemplateCreateManyCreatedInputEnvelope = {
    data: ExportTemplateCreateManyCreatedInput | ExportTemplateCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutUpdatedInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type ExportTemplateCreateManyUpdatedInputEnvelope = {
    data: ExportTemplateCreateManyUpdatedInput | ExportTemplateCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutDeletedInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type ExportTemplateCreateManyDeletedInputEnvelope = {
    data: ExportTemplateCreateManyDeletedInput | ExportTemplateCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type DepartmentCreateWithoutCreatedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentCreateOrConnectWithoutCreatedInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput>
  }

  export type DepartmentCreateManyCreatedInputEnvelope = {
    data: DepartmentCreateManyCreatedInput | DepartmentCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type DepartmentCreateWithoutDepartment_headInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutDepartment_headInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentCreateOrConnectWithoutDepartment_headInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput>
  }

  export type DepartmentCreateManyDepartment_headInputEnvelope = {
    data: DepartmentCreateManyDepartment_headInput | DepartmentCreateManyDepartment_headInput[]
    skipDuplicates?: boolean
  }

  export type DepartmentCreateWithoutUpdatedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentCreateOrConnectWithoutUpdatedInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput>
  }

  export type DepartmentCreateManyUpdatedInputEnvelope = {
    data: DepartmentCreateManyUpdatedInput | DepartmentCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type DepartmentCreateWithoutDeletedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentCreateOrConnectWithoutDeletedInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput>
  }

  export type DepartmentCreateManyDeletedInputEnvelope = {
    data: DepartmentCreateManyDeletedInput | DepartmentCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type DesignationCreateWithoutCreatedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDesignationsInput
    users?: UserDetailCreateNestedManyWithoutDesignationInput
    updated?: UserCreateNestedOneWithoutUpdated_designationsInput
    deleted?: UserCreateNestedOneWithoutDeleted_designationsInput
  }

  export type DesignationUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDesignationInput
  }

  export type DesignationCreateOrConnectWithoutCreatedInput = {
    where: DesignationWhereUniqueInput
    create: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput>
  }

  export type DesignationCreateManyCreatedInputEnvelope = {
    data: DesignationCreateManyCreatedInput | DesignationCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type DesignationCreateWithoutUpdatedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDesignationsInput
    users?: UserDetailCreateNestedManyWithoutDesignationInput
    created?: UserCreateNestedOneWithoutCreated_designationsInput
    deleted?: UserCreateNestedOneWithoutDeleted_designationsInput
  }

  export type DesignationUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDesignationInput
  }

  export type DesignationCreateOrConnectWithoutUpdatedInput = {
    where: DesignationWhereUniqueInput
    create: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput>
  }

  export type DesignationCreateManyUpdatedInputEnvelope = {
    data: DesignationCreateManyUpdatedInput | DesignationCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type DesignationCreateWithoutDeletedInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDesignationsInput
    users?: UserDetailCreateNestedManyWithoutDesignationInput
    created?: UserCreateNestedOneWithoutCreated_designationsInput
    updated?: UserCreateNestedOneWithoutUpdated_designationsInput
  }

  export type DesignationUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDesignationInput
  }

  export type DesignationCreateOrConnectWithoutDeletedInput = {
    where: DesignationWhereUniqueInput
    create: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput>
  }

  export type DesignationCreateManyDeletedInputEnvelope = {
    data: DesignationCreateManyDeletedInput | DesignationCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type AuditLogCreateWithoutUserInput = {
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    company_id?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutAudit_logsInput
  }

  export type AuditLogUncheckedCreateWithoutUserInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    status_id?: number
    company_id?: number | null
    created_at?: Date | string
  }

  export type AuditLogCreateOrConnectWithoutUserInput = {
    where: AuditLogWhereUniqueInput
    create: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput>
  }

  export type AuditLogCreateManyUserInputEnvelope = {
    data: AuditLogCreateManyUserInput | AuditLogCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type CategoryTypesCreateWithoutCreated_category_typesInput = {
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    updated_category_types?: UserCreateNestedOneWithoutUpdated_category_typesInput
    deleted_category_types?: UserCreateNestedOneWithoutDeleted_category_typesInput
    categories?: CategoriesCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesUncheckedCreateWithoutCreated_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    categories?: CategoriesUncheckedCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesCreateOrConnectWithoutCreated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    create: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput>
  }

  export type CategoryTypesCreateManyCreated_category_typesInputEnvelope = {
    data: CategoryTypesCreateManyCreated_category_typesInput | CategoryTypesCreateManyCreated_category_typesInput[]
    skipDuplicates?: boolean
  }

  export type CategoryTypesCreateWithoutUpdated_category_typesInput = {
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_category_types?: UserCreateNestedOneWithoutCreated_category_typesInput
    deleted_category_types?: UserCreateNestedOneWithoutDeleted_category_typesInput
    categories?: CategoriesCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    categories?: CategoriesUncheckedCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesCreateOrConnectWithoutUpdated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    create: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput>
  }

  export type CategoryTypesCreateManyUpdated_category_typesInputEnvelope = {
    data: CategoryTypesCreateManyUpdated_category_typesInput | CategoryTypesCreateManyUpdated_category_typesInput[]
    skipDuplicates?: boolean
  }

  export type CategoryTypesCreateWithoutDeleted_category_typesInput = {
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_category_types?: UserCreateNestedOneWithoutCreated_category_typesInput
    updated_category_types?: UserCreateNestedOneWithoutUpdated_category_typesInput
    categories?: CategoriesCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    categories?: CategoriesUncheckedCreateNestedManyWithoutCategory_typeInput
  }

  export type CategoryTypesCreateOrConnectWithoutDeleted_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    create: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput>
  }

  export type CategoryTypesCreateManyDeleted_category_typesInputEnvelope = {
    data: CategoryTypesCreateManyDeleted_category_typesInput | CategoryTypesCreateManyDeleted_category_typesInput[]
    skipDuplicates?: boolean
  }

  export type CategoriesCreateWithoutCreated_categoriesInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutCreated_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutCreated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput>
  }

  export type CategoriesCreateManyCreated_categoriesInputEnvelope = {
    data: CategoriesCreateManyCreated_categoriesInput | CategoriesCreateManyCreated_categoriesInput[]
    skipDuplicates?: boolean
  }

  export type CategoriesCreateWithoutUpdated_categoriesInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutUpdated_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutUpdated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput>
  }

  export type CategoriesCreateManyUpdated_categoriesInputEnvelope = {
    data: CategoriesCreateManyUpdated_categoriesInput | CategoriesCreateManyUpdated_categoriesInput[]
    skipDuplicates?: boolean
  }

  export type CategoriesCreateWithoutDeleted_categoriesInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutDeleted_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutDeleted_categoriesInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput>
  }

  export type CategoriesCreateManyDeleted_categoriesInputEnvelope = {
    data: CategoriesCreateManyDeleted_categoriesInput | CategoriesCreateManyDeleted_categoriesInput[]
    skipDuplicates?: boolean
  }

  export type ConfigurationsCreateWithoutCreated_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutConfigurationsInput
    updated_configurations?: UserCreateNestedOneWithoutUpdated_configurationsInput
    deleted_configurations?: UserCreateNestedOneWithoutDeleted_configurationsInput
  }

  export type ConfigurationsUncheckedCreateWithoutCreated_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateOrConnectWithoutCreated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    create: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput>
  }

  export type ConfigurationsCreateManyCreated_configurationsInputEnvelope = {
    data: ConfigurationsCreateManyCreated_configurationsInput | ConfigurationsCreateManyCreated_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type ConfigurationsCreateWithoutUpdated_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutConfigurationsInput
    created_configurations?: UserCreateNestedOneWithoutCreated_configurationsInput
    deleted_configurations?: UserCreateNestedOneWithoutDeleted_configurationsInput
  }

  export type ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateOrConnectWithoutUpdated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    create: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput>
  }

  export type ConfigurationsCreateManyUpdated_configurationsInputEnvelope = {
    data: ConfigurationsCreateManyUpdated_configurationsInput | ConfigurationsCreateManyUpdated_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type ConfigurationsCreateWithoutDeleted_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutConfigurationsInput
    created_configurations?: UserCreateNestedOneWithoutCreated_configurationsInput
    updated_configurations?: UserCreateNestedOneWithoutUpdated_configurationsInput
  }

  export type ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateOrConnectWithoutDeleted_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    create: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput>
  }

  export type ConfigurationsCreateManyDeleted_configurationsInputEnvelope = {
    data: ConfigurationsCreateManyDeleted_configurationsInput | ConfigurationsCreateManyDeleted_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type UserConfigurationsCreateWithoutCreated_user_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutUser_configurationsInput
    updated_user_configurations?: UserCreateNestedOneWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserCreateNestedOneWithoutDeleted_user_configurationsInput
  }

  export type UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateOrConnectWithoutCreated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    create: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput>
  }

  export type UserConfigurationsCreateManyCreated_user_configurationsInputEnvelope = {
    data: UserConfigurationsCreateManyCreated_user_configurationsInput | UserConfigurationsCreateManyCreated_user_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type UserConfigurationsCreateWithoutUpdated_user_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutUser_configurationsInput
    created_user_configurations?: UserCreateNestedOneWithoutCreated_user_configurationsInput
    deleted_user_configurations?: UserCreateNestedOneWithoutDeleted_user_configurationsInput
  }

  export type UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateOrConnectWithoutUpdated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    create: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput>
  }

  export type UserConfigurationsCreateManyUpdated_user_configurationsInputEnvelope = {
    data: UserConfigurationsCreateManyUpdated_user_configurationsInput | UserConfigurationsCreateManyUpdated_user_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type UserConfigurationsCreateWithoutDeleted_user_configurationsInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    category?: CategoriesCreateNestedOneWithoutUser_configurationsInput
    created_user_configurations?: UserCreateNestedOneWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserCreateNestedOneWithoutUpdated_user_configurationsInput
  }

  export type UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateOrConnectWithoutDeleted_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    create: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput>
  }

  export type UserConfigurationsCreateManyDeleted_user_configurationsInputEnvelope = {
    data: UserConfigurationsCreateManyDeleted_user_configurationsInput | UserConfigurationsCreateManyDeleted_user_configurationsInput[]
    skipDuplicates?: boolean
  }

  export type FinancialYearCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutFinancial_yearsInput
    document_sequence?: DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput
    updated?: UserCreateNestedOneWithoutUpdated_fin_yearsInput
    deleted?: UserCreateNestedOneWithoutDeleted_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput
  }

  export type FinancialYearCreateOrConnectWithoutCreatedInput = {
    where: FinancialYearWhereUniqueInput
    create: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput>
  }

  export type FinancialYearCreateManyCreatedInputEnvelope = {
    data: FinancialYearCreateManyCreatedInput | FinancialYearCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type FinancialYearCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutFinancial_yearsInput
    document_sequence?: DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput
    created?: UserCreateNestedOneWithoutCreated_fin_yearsInput
    deleted?: UserCreateNestedOneWithoutDeleted_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput
  }

  export type FinancialYearCreateOrConnectWithoutUpdatedInput = {
    where: FinancialYearWhereUniqueInput
    create: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput>
  }

  export type FinancialYearCreateManyUpdatedInputEnvelope = {
    data: FinancialYearCreateManyUpdatedInput | FinancialYearCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type FinancialYearCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutFinancial_yearsInput
    document_sequence?: DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput
    created?: UserCreateNestedOneWithoutCreated_fin_yearsInput
    updated?: UserCreateNestedOneWithoutUpdated_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput
  }

  export type FinancialYearCreateOrConnectWithoutDeletedInput = {
    where: FinancialYearWhereUniqueInput
    create: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput>
  }

  export type FinancialYearCreateManyDeletedInputEnvelope = {
    data: FinancialYearCreateManyDeletedInput | FinancialYearCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type DocumentSequenceCreateWithoutCreatedInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDocument_sequencesInput
    finanicial_year?: FinancialYearCreateNestedOneWithoutDocument_sequenceInput
    updated?: UserCreateNestedOneWithoutUpdated_doc_sequencesInput
    deleted?: UserCreateNestedOneWithoutDeleted_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateOrConnectWithoutCreatedInput = {
    where: DocumentSequenceWhereUniqueInput
    create: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput>
  }

  export type DocumentSequenceCreateManyCreatedInputEnvelope = {
    data: DocumentSequenceCreateManyCreatedInput | DocumentSequenceCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type DocumentSequenceCreateWithoutUpdatedInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDocument_sequencesInput
    finanicial_year?: FinancialYearCreateNestedOneWithoutDocument_sequenceInput
    created?: UserCreateNestedOneWithoutCreated_doc_sequencesInput
    deleted?: UserCreateNestedOneWithoutDeleted_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateOrConnectWithoutUpdatedInput = {
    where: DocumentSequenceWhereUniqueInput
    create: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput>
  }

  export type DocumentSequenceCreateManyUpdatedInputEnvelope = {
    data: DocumentSequenceCreateManyUpdatedInput | DocumentSequenceCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type DocumentSequenceCreateWithoutDeletedInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDocument_sequencesInput
    finanicial_year?: FinancialYearCreateNestedOneWithoutDocument_sequenceInput
    created?: UserCreateNestedOneWithoutCreated_doc_sequencesInput
    updated?: UserCreateNestedOneWithoutUpdated_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateOrConnectWithoutDeletedInput = {
    where: DocumentSequenceWhereUniqueInput
    create: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput>
  }

  export type DocumentSequenceCreateManyDeletedInputEnvelope = {
    data: DocumentSequenceCreateManyDeletedInput | DocumentSequenceCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type DeviceRegistrationCreateWithoutCreated_device_registrationInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDevice_registrationInput
    updated_device_registration?: UserCreateNestedOneWithoutUpdated_device_registrationInput
    deleted_device_registration?: UserCreateNestedOneWithoutDeleted_device_registrationInput
    user: UserCreateNestedOneWithoutDeviceRegistrationInput
  }

  export type DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateOrConnectWithoutCreated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    create: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput>
  }

  export type DeviceRegistrationCreateManyCreated_device_registrationInputEnvelope = {
    data: DeviceRegistrationCreateManyCreated_device_registrationInput | DeviceRegistrationCreateManyCreated_device_registrationInput[]
    skipDuplicates?: boolean
  }

  export type DeviceRegistrationCreateWithoutUpdated_device_registrationInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDevice_registrationInput
    created_device_registration: UserCreateNestedOneWithoutCreated_device_registrationInput
    deleted_device_registration?: UserCreateNestedOneWithoutDeleted_device_registrationInput
    user: UserCreateNestedOneWithoutDeviceRegistrationInput
  }

  export type DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateOrConnectWithoutUpdated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    create: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput>
  }

  export type DeviceRegistrationCreateManyUpdated_device_registrationInputEnvelope = {
    data: DeviceRegistrationCreateManyUpdated_device_registrationInput | DeviceRegistrationCreateManyUpdated_device_registrationInput[]
    skipDuplicates?: boolean
  }

  export type DeviceRegistrationCreateWithoutDeleted_device_registrationInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDevice_registrationInput
    created_device_registration: UserCreateNestedOneWithoutCreated_device_registrationInput
    updated_device_registration?: UserCreateNestedOneWithoutUpdated_device_registrationInput
    user: UserCreateNestedOneWithoutDeviceRegistrationInput
  }

  export type DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateOrConnectWithoutDeleted_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    create: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput>
  }

  export type DeviceRegistrationCreateManyDeleted_device_registrationInputEnvelope = {
    data: DeviceRegistrationCreateManyDeleted_device_registrationInput | DeviceRegistrationCreateManyDeleted_device_registrationInput[]
    skipDuplicates?: boolean
  }

  export type DeviceRegistrationCreateWithoutUserInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDevice_registrationInput
    created_device_registration: UserCreateNestedOneWithoutCreated_device_registrationInput
    updated_device_registration?: UserCreateNestedOneWithoutUpdated_device_registrationInput
    deleted_device_registration?: UserCreateNestedOneWithoutDeleted_device_registrationInput
  }

  export type DeviceRegistrationUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateOrConnectWithoutUserInput = {
    where: DeviceRegistrationWhereUniqueInput
    create: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput>
  }

  export type DeviceRegistrationCreateManyUserInputEnvelope = {
    data: DeviceRegistrationCreateManyUserInput | DeviceRegistrationCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobCreateWithoutCreatedInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobCreateOrConnectWithoutCreatedInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput>
  }

  export type ImportJobCreateManyCreatedInputEnvelope = {
    data: ImportJobCreateManyCreatedInput | ImportJobCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobCreateWithoutUpdatedInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobCreateOrConnectWithoutUpdatedInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput>
  }

  export type ImportJobCreateManyUpdatedInputEnvelope = {
    data: ImportJobCreateManyUpdatedInput | ImportJobCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobCreateWithoutDeletedInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobCreateOrConnectWithoutDeletedInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput>
  }

  export type ImportJobCreateManyDeletedInputEnvelope = {
    data: ImportJobCreateManyDeletedInput | ImportJobCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type DirectImportDetailsCreateWithoutCreatedInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDirect_import_detailsInput
    import_template?: ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_direct_import_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateWithoutCreatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateOrConnectWithoutCreatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    create: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput>
  }

  export type DirectImportDetailsCreateManyCreatedInputEnvelope = {
    data: DirectImportDetailsCreateManyCreatedInput | DirectImportDetailsCreateManyCreatedInput[]
    skipDuplicates?: boolean
  }

  export type DirectImportDetailsCreateWithoutUpdatedInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDirect_import_detailsInput
    import_template?: ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput
    created?: UserCreateNestedOneWithoutCreated_direct_import_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateWithoutUpdatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateOrConnectWithoutUpdatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    create: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput>
  }

  export type DirectImportDetailsCreateManyUpdatedInputEnvelope = {
    data: DirectImportDetailsCreateManyUpdatedInput | DirectImportDetailsCreateManyUpdatedInput[]
    skipDuplicates?: boolean
  }

  export type DirectImportDetailsCreateWithoutDeletedInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDirect_import_detailsInput
    import_template?: ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput
    created?: UserCreateNestedOneWithoutCreated_direct_import_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateWithoutDeletedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateOrConnectWithoutDeletedInput = {
    where: DirectImportDetailsWhereUniqueInput
    create: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput>
  }

  export type DirectImportDetailsCreateManyDeletedInputEnvelope = {
    data: DirectImportDetailsCreateManyDeletedInput | DirectImportDetailsCreateManyDeletedInput[]
    skipDuplicates?: boolean
  }

  export type UserPoliciesCreateWithoutUserInput = {
    policy: PoliciesCreateNestedOneWithoutUser_policyInput
  }

  export type UserPoliciesUncheckedCreateWithoutUserInput = {
    policy_id: number
  }

  export type UserPoliciesCreateOrConnectWithoutUserInput = {
    where: UserPoliciesWhereUniqueInput
    create: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput>
  }

  export type UserPoliciesCreateManyUserInputEnvelope = {
    data: UserPoliciesCreateManyUserInput | UserPoliciesCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type PoliciesCreateWithoutCreated_policyInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateWithoutCreated_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutCreated_policyInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput>
  }

  export type PoliciesCreateManyCreated_policyInputEnvelope = {
    data: PoliciesCreateManyCreated_policyInput | PoliciesCreateManyCreated_policyInput[]
    skipDuplicates?: boolean
  }

  export type PoliciesCreateWithoutUpdated_policyInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateWithoutUpdated_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutUpdated_policyInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput>
  }

  export type PoliciesCreateManyUpdated_policyInputEnvelope = {
    data: PoliciesCreateManyUpdated_policyInput | PoliciesCreateManyUpdated_policyInput[]
    skipDuplicates?: boolean
  }

  export type PoliciesCreateWithoutDeleted_policyInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
  }

  export type PoliciesUncheckedCreateWithoutDeleted_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutDeleted_policyInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput>
  }

  export type PoliciesCreateManyDeleted_policyInputEnvelope = {
    data: PoliciesCreateManyDeleted_policyInput | PoliciesCreateManyDeleted_policyInput[]
    skipDuplicates?: boolean
  }

  export type AppversionsCreateWithoutCreated_app_versionsInput = {
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
    status?: StatusCreateNestedOneWithoutApp_versionsInput
    updated_app_versions?: UserCreateNestedOneWithoutUpdated_app_versionsInput
    deleted_app_versions?: UserCreateNestedOneWithoutDeleted_app_versionsInput
  }

  export type AppversionsUncheckedCreateWithoutCreated_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateOrConnectWithoutCreated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    create: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput>
  }

  export type AppversionsCreateManyCreated_app_versionsInputEnvelope = {
    data: AppversionsCreateManyCreated_app_versionsInput | AppversionsCreateManyCreated_app_versionsInput[]
    skipDuplicates?: boolean
  }

  export type AppversionsCreateWithoutUpdated_app_versionsInput = {
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
    status?: StatusCreateNestedOneWithoutApp_versionsInput
    created_app_versions: UserCreateNestedOneWithoutCreated_app_versionsInput
    deleted_app_versions?: UserCreateNestedOneWithoutDeleted_app_versionsInput
  }

  export type AppversionsUncheckedCreateWithoutUpdated_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateOrConnectWithoutUpdated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    create: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput>
  }

  export type AppversionsCreateManyUpdated_app_versionsInputEnvelope = {
    data: AppversionsCreateManyUpdated_app_versionsInput | AppversionsCreateManyUpdated_app_versionsInput[]
    skipDuplicates?: boolean
  }

  export type AppversionsCreateWithoutDeleted_app_versionsInput = {
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
    status?: StatusCreateNestedOneWithoutApp_versionsInput
    created_app_versions: UserCreateNestedOneWithoutCreated_app_versionsInput
    updated_app_versions?: UserCreateNestedOneWithoutUpdated_app_versionsInput
  }

  export type AppversionsUncheckedCreateWithoutDeleted_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateOrConnectWithoutDeleted_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    create: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput>
  }

  export type AppversionsCreateManyDeleted_app_versionsInputEnvelope = {
    data: AppversionsCreateManyDeleted_app_versionsInput | AppversionsCreateManyDeleted_app_versionsInput[]
    skipDuplicates?: boolean
  }

  export type ThemesCreateWithoutCreatedThemeInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutThemesInput
    theme_attributes?: ThemeLineItemsCreateNestedManyWithoutThemesInput
    UpdatedTheme?: UserCreateNestedOneWithoutUpdatedThemeInput
    DeletedTheme?: UserCreateNestedOneWithoutDeletedThemeInput
  }

  export type ThemesUncheckedCreateWithoutCreatedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput
  }

  export type ThemesCreateOrConnectWithoutCreatedThemeInput = {
    where: ThemesWhereUniqueInput
    create: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput>
  }

  export type ThemesCreateManyCreatedThemeInputEnvelope = {
    data: ThemesCreateManyCreatedThemeInput | ThemesCreateManyCreatedThemeInput[]
    skipDuplicates?: boolean
  }

  export type ThemesCreateWithoutUpdatedThemeInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutThemesInput
    theme_attributes?: ThemeLineItemsCreateNestedManyWithoutThemesInput
    CreatedTheme?: UserCreateNestedOneWithoutCreatedThemeInput
    DeletedTheme?: UserCreateNestedOneWithoutDeletedThemeInput
  }

  export type ThemesUncheckedCreateWithoutUpdatedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput
  }

  export type ThemesCreateOrConnectWithoutUpdatedThemeInput = {
    where: ThemesWhereUniqueInput
    create: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput>
  }

  export type ThemesCreateManyUpdatedThemeInputEnvelope = {
    data: ThemesCreateManyUpdatedThemeInput | ThemesCreateManyUpdatedThemeInput[]
    skipDuplicates?: boolean
  }

  export type ThemesCreateWithoutDeletedThemeInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutThemesInput
    theme_attributes?: ThemeLineItemsCreateNestedManyWithoutThemesInput
    CreatedTheme?: UserCreateNestedOneWithoutCreatedThemeInput
    UpdatedTheme?: UserCreateNestedOneWithoutUpdatedThemeInput
  }

  export type ThemesUncheckedCreateWithoutDeletedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput
  }

  export type ThemesCreateOrConnectWithoutDeletedThemeInput = {
    where: ThemesWhereUniqueInput
    create: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput>
  }

  export type ThemesCreateManyDeletedThemeInputEnvelope = {
    data: ThemesCreateManyDeletedThemeInput | ThemesCreateManyDeletedThemeInput[]
    skipDuplicates?: boolean
  }

  export type ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_line_itemsInput
    themes: ThemesCreateNestedOneWithoutTheme_attributesInput
    UpdatedThemeLineItems?: UserCreateNestedOneWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: UserCreateNestedOneWithoutDeletedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateOrConnectWithoutCreatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    create: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput>
  }

  export type ThemeLineItemsCreateManyCreatedThemeLineItemsInputEnvelope = {
    data: ThemeLineItemsCreateManyCreatedThemeLineItemsInput | ThemeLineItemsCreateManyCreatedThemeLineItemsInput[]
    skipDuplicates?: boolean
  }

  export type ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_line_itemsInput
    themes: ThemesCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeLineItems?: UserCreateNestedOneWithoutCreatedThemeLineItemsInput
    DeletedThemeLineItems?: UserCreateNestedOneWithoutDeletedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateOrConnectWithoutUpdatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    create: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput>
  }

  export type ThemeLineItemsCreateManyUpdatedThemeLineItemsInputEnvelope = {
    data: ThemeLineItemsCreateManyUpdatedThemeLineItemsInput | ThemeLineItemsCreateManyUpdatedThemeLineItemsInput[]
    skipDuplicates?: boolean
  }

  export type ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_line_itemsInput
    themes: ThemesCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeLineItems?: UserCreateNestedOneWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: UserCreateNestedOneWithoutUpdatedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateOrConnectWithoutDeletedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    create: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput>
  }

  export type ThemeLineItemsCreateManyDeletedThemeLineItemsInputEnvelope = {
    data: ThemeLineItemsCreateManyDeletedThemeLineItemsInput | ThemeLineItemsCreateManyDeletedThemeLineItemsInput[]
    skipDuplicates?: boolean
  }

  export type ThemeAttributesCreateWithoutCreatedThemeAttributesInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_attributesInput
    UpdatedThemeAttributes?: UserCreateNestedOneWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: UserCreateNestedOneWithoutDeletedThemeAttributesInput
  }

  export type ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateOrConnectWithoutCreatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    create: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput>
  }

  export type ThemeAttributesCreateManyCreatedThemeAttributesInputEnvelope = {
    data: ThemeAttributesCreateManyCreatedThemeAttributesInput | ThemeAttributesCreateManyCreatedThemeAttributesInput[]
    skipDuplicates?: boolean
  }

  export type ThemeAttributesCreateWithoutUpdatedThemeAttributesInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeAttributes?: UserCreateNestedOneWithoutCreatedThemeAttributesInput
    DeletedThemeAttributes?: UserCreateNestedOneWithoutDeletedThemeAttributesInput
  }

  export type ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateOrConnectWithoutUpdatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    create: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput>
  }

  export type ThemeAttributesCreateManyUpdatedThemeAttributesInputEnvelope = {
    data: ThemeAttributesCreateManyUpdatedThemeAttributesInput | ThemeAttributesCreateManyUpdatedThemeAttributesInput[]
    skipDuplicates?: boolean
  }

  export type ThemeAttributesCreateWithoutDeletedThemeAttributesInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeAttributes?: UserCreateNestedOneWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: UserCreateNestedOneWithoutUpdatedThemeAttributesInput
  }

  export type ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateOrConnectWithoutDeletedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    create: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput>
  }

  export type ThemeAttributesCreateManyDeletedThemeAttributesInputEnvelope = {
    data: ThemeAttributesCreateManyDeletedThemeAttributesInput | ThemeAttributesCreateManyDeletedThemeAttributesInput[]
    skipDuplicates?: boolean
  }

  export type ChildProcessLogCreateWithoutInitiatorInput = {
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutChild_process_logsInput
    child_process: ChildProcessCreateNestedOneWithoutChild_process_logsInput
  }

  export type ChildProcessLogUncheckedCreateWithoutInitiatorInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogCreateOrConnectWithoutInitiatorInput = {
    where: ChildProcessLogWhereUniqueInput
    create: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput>
  }

  export type ChildProcessLogCreateManyInitiatorInputEnvelope = {
    data: ChildProcessLogCreateManyInitiatorInput | ChildProcessLogCreateManyInitiatorInput[]
    skipDuplicates?: boolean
  }

  export type CustomerGeoFenceMappingCreateWithoutUserInput = {
    uuid?: string
    company_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutCustomer_geofence_mappingInput
    geofence: GeoFencesCreateNestedOneWithoutCustomer_geofence_mappingInput
  }

  export type CustomerGeoFenceMappingUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    geofence_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type CustomerGeoFenceMappingCreateOrConnectWithoutUserInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    create: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput>
  }

  export type CustomerGeoFenceMappingCreateManyUserInputEnvelope = {
    data: CustomerGeoFenceMappingCreateManyUserInput | CustomerGeoFenceMappingCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type VehicleUserMappingCreateWithoutUserInput = {
    uuid?: string
    created_by?: number | null
    created_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehicle_user_mappingInput
    vehicle: VehiclesCreateNestedOneWithoutVehicle_user_mappingInput
  }

  export type VehicleUserMappingUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    status_id?: number
    vehicle_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleUserMappingCreateOrConnectWithoutUserInput = {
    where: VehicleUserMappingWhereUniqueInput
    create: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput>
  }

  export type VehicleUserMappingCreateManyUserInputEnvelope = {
    data: VehicleUserMappingCreateManyUserInput | VehicleUserMappingCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type DeliveryNotesCreateWithoutCustomerInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutCustomerInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutCustomerInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput>
  }

  export type DeliveryNotesCreateManyCustomerInputEnvelope = {
    data: DeliveryNotesCreateManyCustomerInput | DeliveryNotesCreateManyCustomerInput[]
    skipDuplicates?: boolean
  }

  export type VehiclesGpsDataCreateWithoutUserInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_gps_dataInput
    status?: StatusCreateNestedOneWithoutVehicle_gps_dataInput
  }

  export type VehiclesGpsDataUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataCreateOrConnectWithoutUserInput = {
    where: VehiclesGpsDataWhereUniqueInput
    create: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput>
  }

  export type VehiclesGpsDataCreateManyUserInputEnvelope = {
    data: VehiclesGpsDataCreateManyUserInput | VehiclesGpsDataCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type VehiclesGpsDataLogCreateWithoutUserInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_gps_data_logInput
  }

  export type VehiclesGpsDataLogUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogCreateOrConnectWithoutUserInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    create: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput>
  }

  export type VehiclesGpsDataLogCreateManyUserInputEnvelope = {
    data: VehiclesGpsDataLogCreateManyUserInput | VehiclesGpsDataLogCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutDriverInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutDriverInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput>
  }

  export type VehicleGeofenceHistoryCreateManyDriverInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyDriverInput | VehicleGeofenceHistoryCreateManyDriverInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutCustomerInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutCustomerInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput>
  }

  export type VehicleGeofenceHistoryCreateManyCustomerInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyCustomerInput | VehicleGeofenceHistoryCreateManyCustomerInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentCustomersCreateWithoutCustomerInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipments: ShipmentsCreateNestedOneWithoutShipment_customersInput
    status?: StatusCreateNestedOneWithoutShipment_customersInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_customersInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateWithoutCustomerInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersCreateOrConnectWithoutCustomerInput = {
    where: ShipmentCustomersWhereUniqueInput
    create: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput>
  }

  export type ShipmentCustomersCreateManyCustomerInputEnvelope = {
    data: ShipmentCustomersCreateManyCustomerInput | ShipmentCustomersCreateManyCustomerInput[]
    skipDuplicates?: boolean
  }

  export type VehicleTripHistoriesCreateWithoutUserInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_trip_historiesInput
    status?: StatusCreateNestedOneWithoutVehicle_trip_historiesInput
  }

  export type VehicleTripHistoriesUncheckedCreateWithoutUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehicleTripHistoriesCreateOrConnectWithoutUserInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    create: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput>
  }

  export type VehicleTripHistoriesCreateManyUserInputEnvelope = {
    data: VehicleTripHistoriesCreateManyUserInput | VehicleTripHistoriesCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput = {
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutBarcodeTemplatesInput
    updated_barcode_templates?: UserCreateNestedOneWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: UserCreateNestedOneWithoutDeleted_barcode_templatesInput
  }

  export type BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateOrConnectWithoutCreated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    create: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput>
  }

  export type BarcodeTemplatesCreateManyCreated_barcode_templatesInputEnvelope = {
    data: BarcodeTemplatesCreateManyCreated_barcode_templatesInput | BarcodeTemplatesCreateManyCreated_barcode_templatesInput[]
    skipDuplicates?: boolean
  }

  export type BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput = {
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutBarcodeTemplatesInput
    created_barcode_templates: UserCreateNestedOneWithoutCreated_barcode_templatesInput
    deleted_barcode_templates?: UserCreateNestedOneWithoutDeleted_barcode_templatesInput
  }

  export type BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateOrConnectWithoutUpdated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    create: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput>
  }

  export type BarcodeTemplatesCreateManyUpdated_barcode_templatesInputEnvelope = {
    data: BarcodeTemplatesCreateManyUpdated_barcode_templatesInput | BarcodeTemplatesCreateManyUpdated_barcode_templatesInput[]
    skipDuplicates?: boolean
  }

  export type BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput = {
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutBarcodeTemplatesInput
    created_barcode_templates: UserCreateNestedOneWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: UserCreateNestedOneWithoutUpdated_barcode_templatesInput
  }

  export type BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateOrConnectWithoutDeleted_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    create: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput>
  }

  export type BarcodeTemplatesCreateManyDeleted_barcode_templatesInputEnvelope = {
    data: BarcodeTemplatesCreateManyDeleted_barcode_templatesInput | BarcodeTemplatesCreateManyDeleted_barcode_templatesInput[]
    skipDuplicates?: boolean
  }

  export type UserLoginHistoryCreateWithoutUserInput = {
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
    status?: StatusCreateNestedOneWithoutUser_login_historiesInput
  }

  export type UserLoginHistoryUncheckedCreateWithoutUserInput = {
    id?: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    status_id?: number
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type UserLoginHistoryCreateOrConnectWithoutUserInput = {
    where: UserLoginHistoryWhereUniqueInput
    create: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput>
  }

  export type UserLoginHistoryCreateManyUserInputEnvelope = {
    data: UserLoginHistoryCreateManyUserInput | UserLoginHistoryCreateManyUserInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutUsersInput = {
    update: XOR<StatusUpdateWithoutUsersInput, StatusUncheckedUpdateWithoutUsersInput>
    create: XOR<StatusCreateWithoutUsersInput, StatusUncheckedCreateWithoutUsersInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutUsersInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutUsersInput, StatusUncheckedUpdateWithoutUsersInput>
  }

  export type StatusUpdateWithoutUsersInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutUsersInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserDetailUpsertWithoutUserInput = {
    update: XOR<UserDetailUpdateWithoutUserInput, UserDetailUncheckedUpdateWithoutUserInput>
    create: XOR<UserDetailCreateWithoutUserInput, UserDetailUncheckedCreateWithoutUserInput>
    where?: UserDetailWhereInput
  }

  export type UserDetailUpdateToOneWithWhereWithoutUserInput = {
    where?: UserDetailWhereInput
    data: XOR<UserDetailUpdateWithoutUserInput, UserDetailUncheckedUpdateWithoutUserInput>
  }

  export type UserDetailUpdateWithoutUserInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type RequestLogUpsertWithWhereUniqueWithoutUserInput = {
    where: RequestLogWhereUniqueInput
    update: XOR<RequestLogUpdateWithoutUserInput, RequestLogUncheckedUpdateWithoutUserInput>
    create: XOR<RequestLogCreateWithoutUserInput, RequestLogUncheckedCreateWithoutUserInput>
  }

  export type RequestLogUpdateWithWhereUniqueWithoutUserInput = {
    where: RequestLogWhereUniqueInput
    data: XOR<RequestLogUpdateWithoutUserInput, RequestLogUncheckedUpdateWithoutUserInput>
  }

  export type RequestLogUpdateManyWithWhereWithoutUserInput = {
    where: RequestLogScalarWhereInput
    data: XOR<RequestLogUpdateManyMutationInput, RequestLogUncheckedUpdateManyWithoutUserInput>
  }

  export type RequestLogScalarWhereInput = {
    AND?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
    OR?: RequestLogScalarWhereInput[]
    NOT?: RequestLogScalarWhereInput | RequestLogScalarWhereInput[]
    id?: BigIntFilter<"RequestLog"> | bigint | number
    uuid?: UuidFilter<"RequestLog"> | string
    user_id?: IntNullableFilter<"RequestLog"> | number | null
    req_method?: StringNullableFilter<"RequestLog"> | string | null
    req_url?: StringNullableFilter<"RequestLog"> | string | null
    req_body?: StringNullableFilter<"RequestLog"> | string | null
    res_status?: BoolFilter<"RequestLog"> | boolean
    res_code?: IntFilter<"RequestLog"> | number
    res_message?: StringNullableFilter<"RequestLog"> | string | null
    req_response?: StringNullableFilter<"RequestLog"> | string | null
    req_headers?: StringNullableFilter<"RequestLog"> | string | null
    req_ip?: StringNullableFilter<"RequestLog"> | string | null
    req_device?: StringNullableFilter<"RequestLog"> | string | null
    status_id?: IntFilter<"RequestLog"> | number
    company_id?: IntFilter<"RequestLog"> | number
    created_at?: DateTimeFilter<"RequestLog"> | Date | string
    updated_at?: DateTimeFilter<"RequestLog"> | Date | string
    deleted_at?: DateTimeNullableFilter<"RequestLog"> | Date | string | null
  }

  export type UserRolesUpsertWithWhereUniqueWithoutUserInput = {
    where: UserRolesWhereUniqueInput
    update: XOR<UserRolesUpdateWithoutUserInput, UserRolesUncheckedUpdateWithoutUserInput>
    create: XOR<UserRolesCreateWithoutUserInput, UserRolesUncheckedCreateWithoutUserInput>
  }

  export type UserRolesUpdateWithWhereUniqueWithoutUserInput = {
    where: UserRolesWhereUniqueInput
    data: XOR<UserRolesUpdateWithoutUserInput, UserRolesUncheckedUpdateWithoutUserInput>
  }

  export type UserRolesUpdateManyWithWhereWithoutUserInput = {
    where: UserRolesScalarWhereInput
    data: XOR<UserRolesUpdateManyMutationInput, UserRolesUncheckedUpdateManyWithoutUserInput>
  }

  export type UserRolesScalarWhereInput = {
    AND?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
    OR?: UserRolesScalarWhereInput[]
    NOT?: UserRolesScalarWhereInput | UserRolesScalarWhereInput[]
    user_id?: IntFilter<"UserRoles"> | number
    role_id?: IntFilter<"UserRoles"> | number
    company_id?: IntFilter<"UserRoles"> | number
  }

  export type UserPermissionsUpsertWithWhereUniqueWithoutUserInput = {
    where: UserPermissionsWhereUniqueInput
    update: XOR<UserPermissionsUpdateWithoutUserInput, UserPermissionsUncheckedUpdateWithoutUserInput>
    create: XOR<UserPermissionsCreateWithoutUserInput, UserPermissionsUncheckedCreateWithoutUserInput>
  }

  export type UserPermissionsUpdateWithWhereUniqueWithoutUserInput = {
    where: UserPermissionsWhereUniqueInput
    data: XOR<UserPermissionsUpdateWithoutUserInput, UserPermissionsUncheckedUpdateWithoutUserInput>
  }

  export type UserPermissionsUpdateManyWithWhereWithoutUserInput = {
    where: UserPermissionsScalarWhereInput
    data: XOR<UserPermissionsUpdateManyMutationInput, UserPermissionsUncheckedUpdateManyWithoutUserInput>
  }

  export type UserPermissionsScalarWhereInput = {
    AND?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
    OR?: UserPermissionsScalarWhereInput[]
    NOT?: UserPermissionsScalarWhereInput | UserPermissionsScalarWhereInput[]
    user_id?: IntFilter<"UserPermissions"> | number
    permission_id?: IntFilter<"UserPermissions"> | number
    company_id?: IntFilter<"UserPermissions"> | number
  }

  export type OtpUpsertWithWhereUniqueWithoutUserInput = {
    where: OtpWhereUniqueInput
    update: XOR<OtpUpdateWithoutUserInput, OtpUncheckedUpdateWithoutUserInput>
    create: XOR<OtpCreateWithoutUserInput, OtpUncheckedCreateWithoutUserInput>
  }

  export type OtpUpdateWithWhereUniqueWithoutUserInput = {
    where: OtpWhereUniqueInput
    data: XOR<OtpUpdateWithoutUserInput, OtpUncheckedUpdateWithoutUserInput>
  }

  export type OtpUpdateManyWithWhereWithoutUserInput = {
    where: OtpScalarWhereInput
    data: XOR<OtpUpdateManyMutationInput, OtpUncheckedUpdateManyWithoutUserInput>
  }

  export type OtpScalarWhereInput = {
    AND?: OtpScalarWhereInput | OtpScalarWhereInput[]
    OR?: OtpScalarWhereInput[]
    NOT?: OtpScalarWhereInput | OtpScalarWhereInput[]
    id?: IntFilter<"Otp"> | number
    user_id?: IntFilter<"Otp"> | number
    otp?: StringFilter<"Otp"> | string
    type?: EnumOtpTypeFilter<"Otp"> | $Enums.OtpType
    notification_template_process_slug?: StringFilter<"Otp"> | string
    company_id?: IntFilter<"Otp"> | number
    created_at?: DateTimeFilter<"Otp"> | Date | string
    verified_at?: DateTimeNullableFilter<"Otp"> | Date | string | null
  }

  export type UserUpsertWithoutCreated_usersInput = {
    update: XOR<UserUpdateWithoutCreated_usersInput, UserUncheckedUpdateWithoutCreated_usersInput>
    create: XOR<UserCreateWithoutCreated_usersInput, UserUncheckedCreateWithoutCreated_usersInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_usersInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_usersInput, UserUncheckedUpdateWithoutCreated_usersInput>
  }

  export type UserUpdateWithoutCreated_usersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_usersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_usersInput = {
    update: XOR<UserUpdateWithoutUpdated_usersInput, UserUncheckedUpdateWithoutUpdated_usersInput>
    create: XOR<UserCreateWithoutUpdated_usersInput, UserUncheckedCreateWithoutUpdated_usersInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_usersInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_usersInput, UserUncheckedUpdateWithoutUpdated_usersInput>
  }

  export type UserUpdateWithoutUpdated_usersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_usersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_usersInput = {
    update: XOR<UserUpdateWithoutDeleted_usersInput, UserUncheckedUpdateWithoutDeleted_usersInput>
    create: XOR<UserCreateWithoutDeleted_usersInput, UserUncheckedCreateWithoutDeleted_usersInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_usersInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_usersInput, UserUncheckedUpdateWithoutDeleted_usersInput>
  }

  export type UserUpdateWithoutDeleted_usersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_usersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithWhereUniqueWithoutCreatedInput = {
    where: UserWhereUniqueInput
    update: XOR<UserUpdateWithoutCreatedInput, UserUncheckedUpdateWithoutCreatedInput>
    create: XOR<UserCreateWithoutCreatedInput, UserUncheckedCreateWithoutCreatedInput>
  }

  export type UserUpdateWithWhereUniqueWithoutCreatedInput = {
    where: UserWhereUniqueInput
    data: XOR<UserUpdateWithoutCreatedInput, UserUncheckedUpdateWithoutCreatedInput>
  }

  export type UserUpdateManyWithWhereWithoutCreatedInput = {
    where: UserScalarWhereInput
    data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyWithoutCreatedInput>
  }

  export type UserScalarWhereInput = {
    AND?: UserScalarWhereInput | UserScalarWhereInput[]
    OR?: UserScalarWhereInput[]
    NOT?: UserScalarWhereInput | UserScalarWhereInput[]
    id?: IntFilter<"User"> | number
    uuid?: UuidFilter<"User"> | string
    username?: StringFilter<"User"> | string
    email?: StringFilter<"User"> | string
    email_verified?: BoolFilter<"User"> | boolean
    password?: StringNullableFilter<"User"> | string | null
    status_id?: IntFilter<"User"> | number
    role?: EnumUserRoleFilter<"User"> | $Enums.UserRole
    process_status?: EnumProcessStatusFilter<"User"> | $Enums.ProcessStatus
    is_drafted?: BoolFilter<"User"> | boolean
    reason?: StringNullableFilter<"User"> | string | null
    company_id?: IntFilter<"User"> | number
    created_by?: IntNullableFilter<"User"> | number | null
    updated_by?: IntNullableFilter<"User"> | number | null
    deleted_by?: IntNullableFilter<"User"> | number | null
    created_at?: DateTimeFilter<"User"> | Date | string
    updated_at?: DateTimeFilter<"User"> | Date | string
    deleted_at?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login?: DateTimeNullableFilter<"User"> | Date | string | null
    last_login_device?: StringNullableFilter<"User"> | string | null
    allow_login_web?: IntFilter<"User"> | number
    allow_login_mobile?: IntFilter<"User"> | number
  }

  export type UserUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: UserWhereUniqueInput
    update: XOR<UserUpdateWithoutUpdatedInput, UserUncheckedUpdateWithoutUpdatedInput>
    create: XOR<UserCreateWithoutUpdatedInput, UserUncheckedCreateWithoutUpdatedInput>
  }

  export type UserUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: UserWhereUniqueInput
    data: XOR<UserUpdateWithoutUpdatedInput, UserUncheckedUpdateWithoutUpdatedInput>
  }

  export type UserUpdateManyWithWhereWithoutUpdatedInput = {
    where: UserScalarWhereInput
    data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type UserUpsertWithWhereUniqueWithoutDeletedInput = {
    where: UserWhereUniqueInput
    update: XOR<UserUpdateWithoutDeletedInput, UserUncheckedUpdateWithoutDeletedInput>
    create: XOR<UserCreateWithoutDeletedInput, UserUncheckedCreateWithoutDeletedInput>
  }

  export type UserUpdateWithWhereUniqueWithoutDeletedInput = {
    where: UserWhereUniqueInput
    data: XOR<UserUpdateWithoutDeletedInput, UserUncheckedUpdateWithoutDeletedInput>
  }

  export type UserUpdateManyWithWhereWithoutDeletedInput = {
    where: UserScalarWhereInput
    data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyWithoutDeletedInput>
  }

  export type UserDetailUpsertWithWhereUniqueWithoutCreatedInput = {
    where: UserDetailWhereUniqueInput
    update: XOR<UserDetailUpdateWithoutCreatedInput, UserDetailUncheckedUpdateWithoutCreatedInput>
    create: XOR<UserDetailCreateWithoutCreatedInput, UserDetailUncheckedCreateWithoutCreatedInput>
  }

  export type UserDetailUpdateWithWhereUniqueWithoutCreatedInput = {
    where: UserDetailWhereUniqueInput
    data: XOR<UserDetailUpdateWithoutCreatedInput, UserDetailUncheckedUpdateWithoutCreatedInput>
  }

  export type UserDetailUpdateManyWithWhereWithoutCreatedInput = {
    where: UserDetailScalarWhereInput
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyWithoutCreatedInput>
  }

  export type UserDetailScalarWhereInput = {
    AND?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
    OR?: UserDetailScalarWhereInput[]
    NOT?: UserDetailScalarWhereInput | UserDetailScalarWhereInput[]
    id?: IntFilter<"UserDetail"> | number
    user_id?: IntFilter<"UserDetail"> | number
    code?: StringFilter<"UserDetail"> | string
    first_name?: StringFilter<"UserDetail"> | string
    last_name?: StringNullableFilter<"UserDetail"> | string | null
    designation_id?: IntNullableFilter<"UserDetail"> | number | null
    department_id?: IntNullableFilter<"UserDetail"> | number | null
    profile_pic?: StringNullableFilter<"UserDetail"> | string | null
    dob?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    country_code?: StringNullableFilter<"UserDetail"> | string | null
    phone_number?: StringNullableFilter<"UserDetail"> | string | null
    gender?: EnumGenderFilter<"UserDetail"> | $Enums.Gender
    user_time_zone?: StringNullableFilter<"UserDetail"> | string | null
    address?: StringNullableFilter<"UserDetail"> | string | null
    culture?: StringNullableFilter<"UserDetail"> | string | null
    company_id?: IntFilter<"UserDetail"> | number
    created_by?: IntNullableFilter<"UserDetail"> | number | null
    updated_by?: IntNullableFilter<"UserDetail"> | number | null
    deleted_by?: IntNullableFilter<"UserDetail"> | number | null
    created_at?: DateTimeFilter<"UserDetail"> | Date | string
    updated_at?: DateTimeFilter<"UserDetail"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserDetail"> | Date | string | null
    resident_id?: StringNullableFilter<"UserDetail"> | string | null
    passport_number?: StringNullableFilter<"UserDetail"> | string | null
  }

  export type UserDetailUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: UserDetailWhereUniqueInput
    update: XOR<UserDetailUpdateWithoutUpdatedInput, UserDetailUncheckedUpdateWithoutUpdatedInput>
    create: XOR<UserDetailCreateWithoutUpdatedInput, UserDetailUncheckedCreateWithoutUpdatedInput>
  }

  export type UserDetailUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: UserDetailWhereUniqueInput
    data: XOR<UserDetailUpdateWithoutUpdatedInput, UserDetailUncheckedUpdateWithoutUpdatedInput>
  }

  export type UserDetailUpdateManyWithWhereWithoutUpdatedInput = {
    where: UserDetailScalarWhereInput
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type UserDetailUpsertWithWhereUniqueWithoutDeletedInput = {
    where: UserDetailWhereUniqueInput
    update: XOR<UserDetailUpdateWithoutDeletedInput, UserDetailUncheckedUpdateWithoutDeletedInput>
    create: XOR<UserDetailCreateWithoutDeletedInput, UserDetailUncheckedCreateWithoutDeletedInput>
  }

  export type UserDetailUpdateWithWhereUniqueWithoutDeletedInput = {
    where: UserDetailWhereUniqueInput
    data: XOR<UserDetailUpdateWithoutDeletedInput, UserDetailUncheckedUpdateWithoutDeletedInput>
  }

  export type UserDetailUpdateManyWithWhereWithoutDeletedInput = {
    where: UserDetailScalarWhereInput
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyWithoutDeletedInput>
  }

  export type RoleUpsertWithWhereUniqueWithoutCreatedInput = {
    where: RoleWhereUniqueInput
    update: XOR<RoleUpdateWithoutCreatedInput, RoleUncheckedUpdateWithoutCreatedInput>
    create: XOR<RoleCreateWithoutCreatedInput, RoleUncheckedCreateWithoutCreatedInput>
  }

  export type RoleUpdateWithWhereUniqueWithoutCreatedInput = {
    where: RoleWhereUniqueInput
    data: XOR<RoleUpdateWithoutCreatedInput, RoleUncheckedUpdateWithoutCreatedInput>
  }

  export type RoleUpdateManyWithWhereWithoutCreatedInput = {
    where: RoleScalarWhereInput
    data: XOR<RoleUpdateManyMutationInput, RoleUncheckedUpdateManyWithoutCreatedInput>
  }

  export type RoleScalarWhereInput = {
    AND?: RoleScalarWhereInput | RoleScalarWhereInput[]
    OR?: RoleScalarWhereInput[]
    NOT?: RoleScalarWhereInput | RoleScalarWhereInput[]
    id?: IntFilter<"Role"> | number
    uuid?: UuidFilter<"Role"> | string
    name?: StringFilter<"Role"> | string
    description?: StringNullableFilter<"Role"> | string | null
    status_id?: IntFilter<"Role"> | number
    company_id?: IntFilter<"Role"> | number
    created_by?: IntNullableFilter<"Role"> | number | null
    updated_by?: IntNullableFilter<"Role"> | number | null
    deleted_by?: IntNullableFilter<"Role"> | number | null
    created_at?: DateTimeFilter<"Role"> | Date | string
    updated_at?: DateTimeFilter<"Role"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Role"> | Date | string | null
  }

  export type RoleUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: RoleWhereUniqueInput
    update: XOR<RoleUpdateWithoutUpdatedInput, RoleUncheckedUpdateWithoutUpdatedInput>
    create: XOR<RoleCreateWithoutUpdatedInput, RoleUncheckedCreateWithoutUpdatedInput>
  }

  export type RoleUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: RoleWhereUniqueInput
    data: XOR<RoleUpdateWithoutUpdatedInput, RoleUncheckedUpdateWithoutUpdatedInput>
  }

  export type RoleUpdateManyWithWhereWithoutUpdatedInput = {
    where: RoleScalarWhereInput
    data: XOR<RoleUpdateManyMutationInput, RoleUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type RoleUpsertWithWhereUniqueWithoutDeletedInput = {
    where: RoleWhereUniqueInput
    update: XOR<RoleUpdateWithoutDeletedInput, RoleUncheckedUpdateWithoutDeletedInput>
    create: XOR<RoleCreateWithoutDeletedInput, RoleUncheckedCreateWithoutDeletedInput>
  }

  export type RoleUpdateWithWhereUniqueWithoutDeletedInput = {
    where: RoleWhereUniqueInput
    data: XOR<RoleUpdateWithoutDeletedInput, RoleUncheckedUpdateWithoutDeletedInput>
  }

  export type RoleUpdateManyWithWhereWithoutDeletedInput = {
    where: RoleScalarWhereInput
    data: XOR<RoleUpdateManyMutationInput, RoleUncheckedUpdateManyWithoutDeletedInput>
  }

  export type LanguageUpsertWithWhereUniqueWithoutCreatedInput = {
    where: LanguageWhereUniqueInput
    update: XOR<LanguageUpdateWithoutCreatedInput, LanguageUncheckedUpdateWithoutCreatedInput>
    create: XOR<LanguageCreateWithoutCreatedInput, LanguageUncheckedCreateWithoutCreatedInput>
  }

  export type LanguageUpdateWithWhereUniqueWithoutCreatedInput = {
    where: LanguageWhereUniqueInput
    data: XOR<LanguageUpdateWithoutCreatedInput, LanguageUncheckedUpdateWithoutCreatedInput>
  }

  export type LanguageUpdateManyWithWhereWithoutCreatedInput = {
    where: LanguageScalarWhereInput
    data: XOR<LanguageUpdateManyMutationInput, LanguageUncheckedUpdateManyWithoutCreatedInput>
  }

  export type LanguageScalarWhereInput = {
    AND?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
    OR?: LanguageScalarWhereInput[]
    NOT?: LanguageScalarWhereInput | LanguageScalarWhereInput[]
    id?: IntFilter<"Language"> | number
    uuid?: UuidFilter<"Language"> | string
    name?: StringFilter<"Language"> | string
    name_in_english?: StringNullableFilter<"Language"> | string | null
    flag?: StringNullableFilter<"Language"> | string | null
    code?: StringNullableFilter<"Language"> | string | null
    rtl?: BoolFilter<"Language"> | boolean
    description?: StringFilter<"Language"> | string
    status_id?: IntFilter<"Language"> | number
    company_id?: IntFilter<"Language"> | number
    created_by?: IntNullableFilter<"Language"> | number | null
    updated_by?: IntNullableFilter<"Language"> | number | null
    deleted_by?: IntNullableFilter<"Language"> | number | null
    created_at?: DateTimeFilter<"Language"> | Date | string
    updated_at?: DateTimeFilter<"Language"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Language"> | Date | string | null
  }

  export type LanguageUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: LanguageWhereUniqueInput
    update: XOR<LanguageUpdateWithoutUpdatedInput, LanguageUncheckedUpdateWithoutUpdatedInput>
    create: XOR<LanguageCreateWithoutUpdatedInput, LanguageUncheckedCreateWithoutUpdatedInput>
  }

  export type LanguageUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: LanguageWhereUniqueInput
    data: XOR<LanguageUpdateWithoutUpdatedInput, LanguageUncheckedUpdateWithoutUpdatedInput>
  }

  export type LanguageUpdateManyWithWhereWithoutUpdatedInput = {
    where: LanguageScalarWhereInput
    data: XOR<LanguageUpdateManyMutationInput, LanguageUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type LanguageUpsertWithWhereUniqueWithoutDeletedInput = {
    where: LanguageWhereUniqueInput
    update: XOR<LanguageUpdateWithoutDeletedInput, LanguageUncheckedUpdateWithoutDeletedInput>
    create: XOR<LanguageCreateWithoutDeletedInput, LanguageUncheckedCreateWithoutDeletedInput>
  }

  export type LanguageUpdateWithWhereUniqueWithoutDeletedInput = {
    where: LanguageWhereUniqueInput
    data: XOR<LanguageUpdateWithoutDeletedInput, LanguageUncheckedUpdateWithoutDeletedInput>
  }

  export type LanguageUpdateManyWithWhereWithoutDeletedInput = {
    where: LanguageScalarWhereInput
    data: XOR<LanguageUpdateManyMutationInput, LanguageUncheckedUpdateManyWithoutDeletedInput>
  }

  export type MenusUpsertWithWhereUniqueWithoutCreatedInput = {
    where: MenusWhereUniqueInput
    update: XOR<MenusUpdateWithoutCreatedInput, MenusUncheckedUpdateWithoutCreatedInput>
    create: XOR<MenusCreateWithoutCreatedInput, MenusUncheckedCreateWithoutCreatedInput>
  }

  export type MenusUpdateWithWhereUniqueWithoutCreatedInput = {
    where: MenusWhereUniqueInput
    data: XOR<MenusUpdateWithoutCreatedInput, MenusUncheckedUpdateWithoutCreatedInput>
  }

  export type MenusUpdateManyWithWhereWithoutCreatedInput = {
    where: MenusScalarWhereInput
    data: XOR<MenusUpdateManyMutationInput, MenusUncheckedUpdateManyWithoutCreatedInput>
  }

  export type MenusScalarWhereInput = {
    AND?: MenusScalarWhereInput | MenusScalarWhereInput[]
    OR?: MenusScalarWhereInput[]
    NOT?: MenusScalarWhereInput | MenusScalarWhereInput[]
    id?: IntFilter<"Menus"> | number
    uuid?: UuidFilter<"Menus"> | string
    name?: StringFilter<"Menus"> | string
    slug?: StringNullableFilter<"Menus"> | string | null
    description?: StringNullableFilter<"Menus"> | string | null
    menu_type?: IntFilter<"Menus"> | number
    status_id?: IntFilter<"Menus"> | number
    company_id?: IntFilter<"Menus"> | number
    created_by?: IntNullableFilter<"Menus"> | number | null
    updated_by?: IntNullableFilter<"Menus"> | number | null
    deleted_by?: IntNullableFilter<"Menus"> | number | null
    created_at?: DateTimeFilter<"Menus"> | Date | string
    updated_at?: DateTimeFilter<"Menus"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Menus"> | Date | string | null
  }

  export type MenusUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: MenusWhereUniqueInput
    update: XOR<MenusUpdateWithoutUpdatedInput, MenusUncheckedUpdateWithoutUpdatedInput>
    create: XOR<MenusCreateWithoutUpdatedInput, MenusUncheckedCreateWithoutUpdatedInput>
  }

  export type MenusUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: MenusWhereUniqueInput
    data: XOR<MenusUpdateWithoutUpdatedInput, MenusUncheckedUpdateWithoutUpdatedInput>
  }

  export type MenusUpdateManyWithWhereWithoutUpdatedInput = {
    where: MenusScalarWhereInput
    data: XOR<MenusUpdateManyMutationInput, MenusUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type MenusUpsertWithWhereUniqueWithoutDeletedInput = {
    where: MenusWhereUniqueInput
    update: XOR<MenusUpdateWithoutDeletedInput, MenusUncheckedUpdateWithoutDeletedInput>
    create: XOR<MenusCreateWithoutDeletedInput, MenusUncheckedCreateWithoutDeletedInput>
  }

  export type MenusUpdateWithWhereUniqueWithoutDeletedInput = {
    where: MenusWhereUniqueInput
    data: XOR<MenusUpdateWithoutDeletedInput, MenusUncheckedUpdateWithoutDeletedInput>
  }

  export type MenusUpdateManyWithWhereWithoutDeletedInput = {
    where: MenusScalarWhereInput
    data: XOR<MenusUpdateManyMutationInput, MenusUncheckedUpdateManyWithoutDeletedInput>
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutCreatedInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutCreatedInput, MenuItemsUncheckedUpdateWithoutCreatedInput>
    create: XOR<MenuItemsCreateWithoutCreatedInput, MenuItemsUncheckedCreateWithoutCreatedInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutCreatedInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutCreatedInput, MenuItemsUncheckedUpdateWithoutCreatedInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutCreatedInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutCreatedInput>
  }

  export type MenuItemsScalarWhereInput = {
    AND?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
    OR?: MenuItemsScalarWhereInput[]
    NOT?: MenuItemsScalarWhereInput | MenuItemsScalarWhereInput[]
    id?: IntFilter<"MenuItems"> | number
    menu_id?: IntFilter<"MenuItems"> | number
    name?: StringFilter<"MenuItems"> | string
    target?: StringNullableFilter<"MenuItems"> | string | null
    parent_id?: IntNullableFilter<"MenuItems"> | number | null
    permission_id?: IntNullableFilter<"MenuItems"> | number | null
    entity_id?: IntNullableFilter<"MenuItems"> | number | null
    link_type?: IntNullableFilter<"MenuItems"> | number | null
    order_no?: DecimalFilter<"MenuItems"> | Decimal | DecimalJsLike | number | string
    menu_img?: StringNullableFilter<"MenuItems"> | string | null
    short_cut_keys?: StringNullableFilter<"MenuItems"> | string | null
    status_id?: IntFilter<"MenuItems"> | number
    company_id?: IntFilter<"MenuItems"> | number
    created_by?: IntNullableFilter<"MenuItems"> | number | null
    updated_by?: IntNullableFilter<"MenuItems"> | number | null
    deleted_by?: IntNullableFilter<"MenuItems"> | number | null
    created_at?: DateTimeFilter<"MenuItems"> | Date | string
    updated_at?: DateTimeFilter<"MenuItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MenuItems"> | Date | string | null
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutUpdatedInput, MenuItemsUncheckedUpdateWithoutUpdatedInput>
    create: XOR<MenuItemsCreateWithoutUpdatedInput, MenuItemsUncheckedCreateWithoutUpdatedInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutUpdatedInput, MenuItemsUncheckedUpdateWithoutUpdatedInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutUpdatedInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutDeletedInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutDeletedInput, MenuItemsUncheckedUpdateWithoutDeletedInput>
    create: XOR<MenuItemsCreateWithoutDeletedInput, MenuItemsUncheckedCreateWithoutDeletedInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutDeletedInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutDeletedInput, MenuItemsUncheckedUpdateWithoutDeletedInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutDeletedInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutDeletedInput>
  }

  export type NotificationTemplateUpsertWithWhereUniqueWithoutCreatedInput = {
    where: NotificationTemplateWhereUniqueInput
    update: XOR<NotificationTemplateUpdateWithoutCreatedInput, NotificationTemplateUncheckedUpdateWithoutCreatedInput>
    create: XOR<NotificationTemplateCreateWithoutCreatedInput, NotificationTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationTemplateUpdateWithWhereUniqueWithoutCreatedInput = {
    where: NotificationTemplateWhereUniqueInput
    data: XOR<NotificationTemplateUpdateWithoutCreatedInput, NotificationTemplateUncheckedUpdateWithoutCreatedInput>
  }

  export type NotificationTemplateUpdateManyWithWhereWithoutCreatedInput = {
    where: NotificationTemplateScalarWhereInput
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyWithoutCreatedInput>
  }

  export type NotificationTemplateScalarWhereInput = {
    AND?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
    OR?: NotificationTemplateScalarWhereInput[]
    NOT?: NotificationTemplateScalarWhereInput | NotificationTemplateScalarWhereInput[]
    id?: IntFilter<"NotificationTemplate"> | number
    uuid?: UuidFilter<"NotificationTemplate"> | string
    slug?: StringFilter<"NotificationTemplate"> | string
    name?: StringFilter<"NotificationTemplate"> | string
    email_subject?: StringNullableFilter<"NotificationTemplate"> | string | null
    message?: StringNullableFilter<"NotificationTemplate"> | string | null
    components?: JsonNullableFilter<"NotificationTemplate">
    parameter_format?: StringNullableFilter<"NotificationTemplate"> | string | null
    category?: StringNullableFilter<"NotificationTemplate"> | string | null
    language?: StringNullableFilter<"NotificationTemplate"> | string | null
    email_body?: StringNullableFilter<"NotificationTemplate"> | string | null
    notification_template_process_id?: IntFilter<"NotificationTemplate"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplate"> | $Enums.NotificationType
    status_id?: IntFilter<"NotificationTemplate"> | number
    created_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    created_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    updated_at?: DateTimeFilter<"NotificationTemplate"> | Date | string
    updated_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"NotificationTemplate"> | Date | string | null
    deleted_by?: IntNullableFilter<"NotificationTemplate"> | number | null
    company_id?: IntFilter<"NotificationTemplate"> | number
  }

  export type NotificationTemplateUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: NotificationTemplateWhereUniqueInput
    update: XOR<NotificationTemplateUpdateWithoutUpdatedInput, NotificationTemplateUncheckedUpdateWithoutUpdatedInput>
    create: XOR<NotificationTemplateCreateWithoutUpdatedInput, NotificationTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type NotificationTemplateUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: NotificationTemplateWhereUniqueInput
    data: XOR<NotificationTemplateUpdateWithoutUpdatedInput, NotificationTemplateUncheckedUpdateWithoutUpdatedInput>
  }

  export type NotificationTemplateUpdateManyWithWhereWithoutUpdatedInput = {
    where: NotificationTemplateScalarWhereInput
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type NotificationTemplateUpsertWithWhereUniqueWithoutDeletedInput = {
    where: NotificationTemplateWhereUniqueInput
    update: XOR<NotificationTemplateUpdateWithoutDeletedInput, NotificationTemplateUncheckedUpdateWithoutDeletedInput>
    create: XOR<NotificationTemplateCreateWithoutDeletedInput, NotificationTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type NotificationTemplateUpdateWithWhereUniqueWithoutDeletedInput = {
    where: NotificationTemplateWhereUniqueInput
    data: XOR<NotificationTemplateUpdateWithoutDeletedInput, NotificationTemplateUncheckedUpdateWithoutDeletedInput>
  }

  export type NotificationTemplateUpdateManyWithWhereWithoutDeletedInput = {
    where: NotificationTemplateScalarWhereInput
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyWithoutDeletedInput>
  }

  export type NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutCreatedInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    update: XOR<NotificationTemplateAssignmentUpdateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedUpdateWithoutCreatedInput>
    create: XOR<NotificationTemplateAssignmentCreateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutCreatedInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    data: XOR<NotificationTemplateAssignmentUpdateWithoutCreatedInput, NotificationTemplateAssignmentUncheckedUpdateWithoutCreatedInput>
  }

  export type NotificationTemplateAssignmentUpdateManyWithWhereWithoutCreatedInput = {
    where: NotificationTemplateAssignmentScalarWhereInput
    data: XOR<NotificationTemplateAssignmentUpdateManyMutationInput, NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedInput>
  }

  export type NotificationTemplateAssignmentScalarWhereInput = {
    AND?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
    OR?: NotificationTemplateAssignmentScalarWhereInput[]
    NOT?: NotificationTemplateAssignmentScalarWhereInput | NotificationTemplateAssignmentScalarWhereInput[]
    id?: IntFilter<"NotificationTemplateAssignment"> | number
    uuid?: UuidFilter<"NotificationTemplateAssignment"> | string
    notification_template_process_id?: IntFilter<"NotificationTemplateAssignment"> | number
    template_id?: IntFilter<"NotificationTemplateAssignment"> | number
    recipient_type?: EnumRecipientTypeFilter<"NotificationTemplateAssignment"> | $Enums.RecipientType
    notification_to?: StringNullableFilter<"NotificationTemplateAssignment"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateAssignment"> | $Enums.NotificationType
    company_id?: IntFilter<"NotificationTemplateAssignment"> | number
    created_at?: DateTimeFilter<"NotificationTemplateAssignment"> | Date | string
    created_by?: IntFilter<"NotificationTemplateAssignment"> | number
  }

  export type NotificationProcessJobUpsertWithWhereUniqueWithoutCreatedInput = {
    where: NotificationProcessJobWhereUniqueInput
    update: XOR<NotificationProcessJobUpdateWithoutCreatedInput, NotificationProcessJobUncheckedUpdateWithoutCreatedInput>
    create: XOR<NotificationProcessJobCreateWithoutCreatedInput, NotificationProcessJobUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationProcessJobUpdateWithWhereUniqueWithoutCreatedInput = {
    where: NotificationProcessJobWhereUniqueInput
    data: XOR<NotificationProcessJobUpdateWithoutCreatedInput, NotificationProcessJobUncheckedUpdateWithoutCreatedInput>
  }

  export type NotificationProcessJobUpdateManyWithWhereWithoutCreatedInput = {
    where: NotificationProcessJobScalarWhereInput
    data: XOR<NotificationProcessJobUpdateManyMutationInput, NotificationProcessJobUncheckedUpdateManyWithoutCreatedInput>
  }

  export type NotificationProcessJobScalarWhereInput = {
    AND?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
    OR?: NotificationProcessJobScalarWhereInput[]
    NOT?: NotificationProcessJobScalarWhereInput | NotificationProcessJobScalarWhereInput[]
    id?: IntFilter<"NotificationProcessJob"> | number
    uuid?: UuidFilter<"NotificationProcessJob"> | string
    notification_template_process_slug?: StringFilter<"NotificationProcessJob"> | string
    unique_id?: StringFilter<"NotificationProcessJob"> | string
    user_id?: IntFilter<"NotificationProcessJob"> | number
    prefill_data?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationProcessJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationProcessJob"> | string | null
    company_id?: IntFilter<"NotificationProcessJob"> | number
    status_id?: IntFilter<"NotificationProcessJob"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationProcessJob"> | $Enums.NotificationType
    created_at?: DateTimeFilter<"NotificationProcessJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationProcessJob"> | number | null
  }

  export type NotificationJobUpsertWithWhereUniqueWithoutCreatedInput = {
    where: NotificationJobWhereUniqueInput
    update: XOR<NotificationJobUpdateWithoutCreatedInput, NotificationJobUncheckedUpdateWithoutCreatedInput>
    create: XOR<NotificationJobCreateWithoutCreatedInput, NotificationJobUncheckedCreateWithoutCreatedInput>
  }

  export type NotificationJobUpdateWithWhereUniqueWithoutCreatedInput = {
    where: NotificationJobWhereUniqueInput
    data: XOR<NotificationJobUpdateWithoutCreatedInput, NotificationJobUncheckedUpdateWithoutCreatedInput>
  }

  export type NotificationJobUpdateManyWithWhereWithoutCreatedInput = {
    where: NotificationJobScalarWhereInput
    data: XOR<NotificationJobUpdateManyMutationInput, NotificationJobUncheckedUpdateManyWithoutCreatedInput>
  }

  export type NotificationJobScalarWhereInput = {
    AND?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
    OR?: NotificationJobScalarWhereInput[]
    NOT?: NotificationJobScalarWhereInput | NotificationJobScalarWhereInput[]
    id?: IntFilter<"NotificationJob"> | number
    uuid?: UuidFilter<"NotificationJob"> | string
    process_slug?: StringFilter<"NotificationJob"> | string
    notification_to?: StringNullableFilter<"NotificationJob"> | string | null
    notification_subject?: StringNullableFilter<"NotificationJob"> | string | null
    notification_content?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_path?: StringNullableFilter<"NotificationJob"> | string | null
    attachments_name?: StringNullableFilter<"NotificationJob"> | string | null
    notification_cc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_bcc?: StringNullableFilter<"NotificationJob"> | string | null
    notification_type_id?: StringFilter<"NotificationJob"> | string
    notification_status_id?: StringFilter<"NotificationJob"> | string
    notification_type?: EnumNotificationTypeFilter<"NotificationJob"> | $Enums.NotificationType
    whatsapp_notification_data?: JsonNullableFilter<"NotificationJob">
    last_attempt_message?: StringNullableFilter<"NotificationJob"> | string | null
    company_id?: IntFilter<"NotificationJob"> | number
    status_id?: IntFilter<"NotificationJob"> | number
    parent_id?: IntFilter<"NotificationJob"> | number
    no_of_attempts?: IntFilter<"NotificationJob"> | number
    created_at?: DateTimeFilter<"NotificationJob"> | Date | string
    updated_at?: DateTimeFilter<"NotificationJob"> | Date | string
    created_by?: IntNullableFilter<"NotificationJob"> | number | null
    sent_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
    read_at?: DateTimeNullableFilter<"NotificationJob"> | Date | string | null
  }

  export type ImportTemplateUpsertWithWhereUniqueWithoutCreatedInput = {
    where: ImportTemplateWhereUniqueInput
    update: XOR<ImportTemplateUpdateWithoutCreatedInput, ImportTemplateUncheckedUpdateWithoutCreatedInput>
    create: XOR<ImportTemplateCreateWithoutCreatedInput, ImportTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type ImportTemplateUpdateWithWhereUniqueWithoutCreatedInput = {
    where: ImportTemplateWhereUniqueInput
    data: XOR<ImportTemplateUpdateWithoutCreatedInput, ImportTemplateUncheckedUpdateWithoutCreatedInput>
  }

  export type ImportTemplateUpdateManyWithWhereWithoutCreatedInput = {
    where: ImportTemplateScalarWhereInput
    data: XOR<ImportTemplateUpdateManyMutationInput, ImportTemplateUncheckedUpdateManyWithoutCreatedInput>
  }

  export type ImportTemplateScalarWhereInput = {
    AND?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
    OR?: ImportTemplateScalarWhereInput[]
    NOT?: ImportTemplateScalarWhereInput | ImportTemplateScalarWhereInput[]
    id?: IntFilter<"ImportTemplate"> | number
    uuid?: UuidFilter<"ImportTemplate"> | string
    name?: StringFilter<"ImportTemplate"> | string
    slug?: StringFilter<"ImportTemplate"> | string
    description?: StringNullableFilter<"ImportTemplate"> | string | null
    max_row_count?: IntFilter<"ImportTemplate"> | number
    header_row?: IntFilter<"ImportTemplate"> | number
    data_start_row?: IntFilter<"ImportTemplate"> | number
    data_end_row?: IntFilter<"ImportTemplate"> | number
    ignore_error_rows?: BoolFilter<"ImportTemplate"> | boolean
    is_admin_module?: BoolFilter<"ImportTemplate"> | boolean
    is_send_mail?: BoolFilter<"ImportTemplate"> | boolean
    email_process_slug?: StringNullableFilter<"ImportTemplate"> | string | null
    job_type?: StringNullableFilter<"ImportTemplate"> | string | null
    batch_process_count?: IntNullableFilter<"ImportTemplate"> | number | null
    status_id?: IntFilter<"ImportTemplate"> | number
    company_id?: IntFilter<"ImportTemplate"> | number
    created_by?: IntNullableFilter<"ImportTemplate"> | number | null
    created_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ImportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ImportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ImportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportTemplate"> | Date | string | null
  }

  export type ImportTemplateUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: ImportTemplateWhereUniqueInput
    update: XOR<ImportTemplateUpdateWithoutUpdatedInput, ImportTemplateUncheckedUpdateWithoutUpdatedInput>
    create: XOR<ImportTemplateCreateWithoutUpdatedInput, ImportTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type ImportTemplateUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: ImportTemplateWhereUniqueInput
    data: XOR<ImportTemplateUpdateWithoutUpdatedInput, ImportTemplateUncheckedUpdateWithoutUpdatedInput>
  }

  export type ImportTemplateUpdateManyWithWhereWithoutUpdatedInput = {
    where: ImportTemplateScalarWhereInput
    data: XOR<ImportTemplateUpdateManyMutationInput, ImportTemplateUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type ImportTemplateUpsertWithWhereUniqueWithoutDeletedInput = {
    where: ImportTemplateWhereUniqueInput
    update: XOR<ImportTemplateUpdateWithoutDeletedInput, ImportTemplateUncheckedUpdateWithoutDeletedInput>
    create: XOR<ImportTemplateCreateWithoutDeletedInput, ImportTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type ImportTemplateUpdateWithWhereUniqueWithoutDeletedInput = {
    where: ImportTemplateWhereUniqueInput
    data: XOR<ImportTemplateUpdateWithoutDeletedInput, ImportTemplateUncheckedUpdateWithoutDeletedInput>
  }

  export type ImportTemplateUpdateManyWithWhereWithoutDeletedInput = {
    where: ImportTemplateScalarWhereInput
    data: XOR<ImportTemplateUpdateManyMutationInput, ImportTemplateUncheckedUpdateManyWithoutDeletedInput>
  }

  export type CarouselTemplateUpsertWithWhereUniqueWithoutCreatedInput = {
    where: CarouselTemplateWhereUniqueInput
    update: XOR<CarouselTemplateUpdateWithoutCreatedInput, CarouselTemplateUncheckedUpdateWithoutCreatedInput>
    create: XOR<CarouselTemplateCreateWithoutCreatedInput, CarouselTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type CarouselTemplateUpdateWithWhereUniqueWithoutCreatedInput = {
    where: CarouselTemplateWhereUniqueInput
    data: XOR<CarouselTemplateUpdateWithoutCreatedInput, CarouselTemplateUncheckedUpdateWithoutCreatedInput>
  }

  export type CarouselTemplateUpdateManyWithWhereWithoutCreatedInput = {
    where: CarouselTemplateScalarWhereInput
    data: XOR<CarouselTemplateUpdateManyMutationInput, CarouselTemplateUncheckedUpdateManyWithoutCreatedInput>
  }

  export type CarouselTemplateScalarWhereInput = {
    AND?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
    OR?: CarouselTemplateScalarWhereInput[]
    NOT?: CarouselTemplateScalarWhereInput | CarouselTemplateScalarWhereInput[]
    id?: IntFilter<"CarouselTemplate"> | number
    uuid?: UuidFilter<"CarouselTemplate"> | string
    name?: StringFilter<"CarouselTemplate"> | string
    slug?: StringFilter<"CarouselTemplate"> | string
    description?: StringNullableFilter<"CarouselTemplate"> | string | null
    status_id?: IntFilter<"CarouselTemplate"> | number
    company_id?: IntFilter<"CarouselTemplate"> | number
    created_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    created_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    updated_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    updated_at?: DateTimeFilter<"CarouselTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"CarouselTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"CarouselTemplate"> | Date | string | null
  }

  export type CarouselTemplateUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: CarouselTemplateWhereUniqueInput
    update: XOR<CarouselTemplateUpdateWithoutUpdatedInput, CarouselTemplateUncheckedUpdateWithoutUpdatedInput>
    create: XOR<CarouselTemplateCreateWithoutUpdatedInput, CarouselTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type CarouselTemplateUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: CarouselTemplateWhereUniqueInput
    data: XOR<CarouselTemplateUpdateWithoutUpdatedInput, CarouselTemplateUncheckedUpdateWithoutUpdatedInput>
  }

  export type CarouselTemplateUpdateManyWithWhereWithoutUpdatedInput = {
    where: CarouselTemplateScalarWhereInput
    data: XOR<CarouselTemplateUpdateManyMutationInput, CarouselTemplateUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type CarouselTemplateUpsertWithWhereUniqueWithoutDeletedInput = {
    where: CarouselTemplateWhereUniqueInput
    update: XOR<CarouselTemplateUpdateWithoutDeletedInput, CarouselTemplateUncheckedUpdateWithoutDeletedInput>
    create: XOR<CarouselTemplateCreateWithoutDeletedInput, CarouselTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type CarouselTemplateUpdateWithWhereUniqueWithoutDeletedInput = {
    where: CarouselTemplateWhereUniqueInput
    data: XOR<CarouselTemplateUpdateWithoutDeletedInput, CarouselTemplateUncheckedUpdateWithoutDeletedInput>
  }

  export type CarouselTemplateUpdateManyWithWhereWithoutDeletedInput = {
    where: CarouselTemplateScalarWhereInput
    data: XOR<CarouselTemplateUpdateManyMutationInput, CarouselTemplateUncheckedUpdateManyWithoutDeletedInput>
  }

  export type ExportTemplateUpsertWithWhereUniqueWithoutCreatedInput = {
    where: ExportTemplateWhereUniqueInput
    update: XOR<ExportTemplateUpdateWithoutCreatedInput, ExportTemplateUncheckedUpdateWithoutCreatedInput>
    create: XOR<ExportTemplateCreateWithoutCreatedInput, ExportTemplateUncheckedCreateWithoutCreatedInput>
  }

  export type ExportTemplateUpdateWithWhereUniqueWithoutCreatedInput = {
    where: ExportTemplateWhereUniqueInput
    data: XOR<ExportTemplateUpdateWithoutCreatedInput, ExportTemplateUncheckedUpdateWithoutCreatedInput>
  }

  export type ExportTemplateUpdateManyWithWhereWithoutCreatedInput = {
    where: ExportTemplateScalarWhereInput
    data: XOR<ExportTemplateUpdateManyMutationInput, ExportTemplateUncheckedUpdateManyWithoutCreatedInput>
  }

  export type ExportTemplateScalarWhereInput = {
    AND?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
    OR?: ExportTemplateScalarWhereInput[]
    NOT?: ExportTemplateScalarWhereInput | ExportTemplateScalarWhereInput[]
    id?: IntFilter<"ExportTemplate"> | number
    uuid?: UuidFilter<"ExportTemplate"> | string
    name?: StringFilter<"ExportTemplate"> | string
    slug?: StringFilter<"ExportTemplate"> | string
    description?: StringNullableFilter<"ExportTemplate"> | string | null
    max_row_count?: IntFilter<"ExportTemplate"> | number
    header_row?: IntFilter<"ExportTemplate"> | number
    data_start_row?: IntFilter<"ExportTemplate"> | number
    data_end_row?: IntFilter<"ExportTemplate"> | number
    data_filepath?: StringNullableFilter<"ExportTemplate"> | string | null
    template_type?: EnumTemplateTypeFilter<"ExportTemplate"> | $Enums.TemplateType
    pdf_configurations?: JsonNullableFilter<"ExportTemplate">
    status_id?: IntFilter<"ExportTemplate"> | number
    company_id?: IntFilter<"ExportTemplate"> | number
    created_by?: IntNullableFilter<"ExportTemplate"> | number | null
    created_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    updated_by?: IntNullableFilter<"ExportTemplate"> | number | null
    updated_at?: DateTimeFilter<"ExportTemplate"> | Date | string
    deleted_by?: IntNullableFilter<"ExportTemplate"> | number | null
    deleted_at?: DateTimeNullableFilter<"ExportTemplate"> | Date | string | null
  }

  export type ExportTemplateUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: ExportTemplateWhereUniqueInput
    update: XOR<ExportTemplateUpdateWithoutUpdatedInput, ExportTemplateUncheckedUpdateWithoutUpdatedInput>
    create: XOR<ExportTemplateCreateWithoutUpdatedInput, ExportTemplateUncheckedCreateWithoutUpdatedInput>
  }

  export type ExportTemplateUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: ExportTemplateWhereUniqueInput
    data: XOR<ExportTemplateUpdateWithoutUpdatedInput, ExportTemplateUncheckedUpdateWithoutUpdatedInput>
  }

  export type ExportTemplateUpdateManyWithWhereWithoutUpdatedInput = {
    where: ExportTemplateScalarWhereInput
    data: XOR<ExportTemplateUpdateManyMutationInput, ExportTemplateUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type ExportTemplateUpsertWithWhereUniqueWithoutDeletedInput = {
    where: ExportTemplateWhereUniqueInput
    update: XOR<ExportTemplateUpdateWithoutDeletedInput, ExportTemplateUncheckedUpdateWithoutDeletedInput>
    create: XOR<ExportTemplateCreateWithoutDeletedInput, ExportTemplateUncheckedCreateWithoutDeletedInput>
  }

  export type ExportTemplateUpdateWithWhereUniqueWithoutDeletedInput = {
    where: ExportTemplateWhereUniqueInput
    data: XOR<ExportTemplateUpdateWithoutDeletedInput, ExportTemplateUncheckedUpdateWithoutDeletedInput>
  }

  export type ExportTemplateUpdateManyWithWhereWithoutDeletedInput = {
    where: ExportTemplateScalarWhereInput
    data: XOR<ExportTemplateUpdateManyMutationInput, ExportTemplateUncheckedUpdateManyWithoutDeletedInput>
  }

  export type DepartmentUpsertWithWhereUniqueWithoutCreatedInput = {
    where: DepartmentWhereUniqueInput
    update: XOR<DepartmentUpdateWithoutCreatedInput, DepartmentUncheckedUpdateWithoutCreatedInput>
    create: XOR<DepartmentCreateWithoutCreatedInput, DepartmentUncheckedCreateWithoutCreatedInput>
  }

  export type DepartmentUpdateWithWhereUniqueWithoutCreatedInput = {
    where: DepartmentWhereUniqueInput
    data: XOR<DepartmentUpdateWithoutCreatedInput, DepartmentUncheckedUpdateWithoutCreatedInput>
  }

  export type DepartmentUpdateManyWithWhereWithoutCreatedInput = {
    where: DepartmentScalarWhereInput
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyWithoutCreatedInput>
  }

  export type DepartmentScalarWhereInput = {
    AND?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
    OR?: DepartmentScalarWhereInput[]
    NOT?: DepartmentScalarWhereInput | DepartmentScalarWhereInput[]
    id?: IntFilter<"Department"> | number
    uuid?: UuidFilter<"Department"> | string
    code?: StringFilter<"Department"> | string
    name?: StringFilter<"Department"> | string
    description?: StringNullableFilter<"Department"> | string | null
    status_id?: IntFilter<"Department"> | number
    department_head_id?: IntNullableFilter<"Department"> | number | null
    company_id?: IntFilter<"Department"> | number
    created_by?: IntNullableFilter<"Department"> | number | null
    updated_by?: IntNullableFilter<"Department"> | number | null
    deleted_by?: IntNullableFilter<"Department"> | number | null
    created_at?: DateTimeFilter<"Department"> | Date | string
    updated_at?: DateTimeFilter<"Department"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Department"> | Date | string | null
  }

  export type DepartmentUpsertWithWhereUniqueWithoutDepartment_headInput = {
    where: DepartmentWhereUniqueInput
    update: XOR<DepartmentUpdateWithoutDepartment_headInput, DepartmentUncheckedUpdateWithoutDepartment_headInput>
    create: XOR<DepartmentCreateWithoutDepartment_headInput, DepartmentUncheckedCreateWithoutDepartment_headInput>
  }

  export type DepartmentUpdateWithWhereUniqueWithoutDepartment_headInput = {
    where: DepartmentWhereUniqueInput
    data: XOR<DepartmentUpdateWithoutDepartment_headInput, DepartmentUncheckedUpdateWithoutDepartment_headInput>
  }

  export type DepartmentUpdateManyWithWhereWithoutDepartment_headInput = {
    where: DepartmentScalarWhereInput
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyWithoutDepartment_headInput>
  }

  export type DepartmentUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: DepartmentWhereUniqueInput
    update: XOR<DepartmentUpdateWithoutUpdatedInput, DepartmentUncheckedUpdateWithoutUpdatedInput>
    create: XOR<DepartmentCreateWithoutUpdatedInput, DepartmentUncheckedCreateWithoutUpdatedInput>
  }

  export type DepartmentUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: DepartmentWhereUniqueInput
    data: XOR<DepartmentUpdateWithoutUpdatedInput, DepartmentUncheckedUpdateWithoutUpdatedInput>
  }

  export type DepartmentUpdateManyWithWhereWithoutUpdatedInput = {
    where: DepartmentScalarWhereInput
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type DepartmentUpsertWithWhereUniqueWithoutDeletedInput = {
    where: DepartmentWhereUniqueInput
    update: XOR<DepartmentUpdateWithoutDeletedInput, DepartmentUncheckedUpdateWithoutDeletedInput>
    create: XOR<DepartmentCreateWithoutDeletedInput, DepartmentUncheckedCreateWithoutDeletedInput>
  }

  export type DepartmentUpdateWithWhereUniqueWithoutDeletedInput = {
    where: DepartmentWhereUniqueInput
    data: XOR<DepartmentUpdateWithoutDeletedInput, DepartmentUncheckedUpdateWithoutDeletedInput>
  }

  export type DepartmentUpdateManyWithWhereWithoutDeletedInput = {
    where: DepartmentScalarWhereInput
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyWithoutDeletedInput>
  }

  export type DesignationUpsertWithWhereUniqueWithoutCreatedInput = {
    where: DesignationWhereUniqueInput
    update: XOR<DesignationUpdateWithoutCreatedInput, DesignationUncheckedUpdateWithoutCreatedInput>
    create: XOR<DesignationCreateWithoutCreatedInput, DesignationUncheckedCreateWithoutCreatedInput>
  }

  export type DesignationUpdateWithWhereUniqueWithoutCreatedInput = {
    where: DesignationWhereUniqueInput
    data: XOR<DesignationUpdateWithoutCreatedInput, DesignationUncheckedUpdateWithoutCreatedInput>
  }

  export type DesignationUpdateManyWithWhereWithoutCreatedInput = {
    where: DesignationScalarWhereInput
    data: XOR<DesignationUpdateManyMutationInput, DesignationUncheckedUpdateManyWithoutCreatedInput>
  }

  export type DesignationScalarWhereInput = {
    AND?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
    OR?: DesignationScalarWhereInput[]
    NOT?: DesignationScalarWhereInput | DesignationScalarWhereInput[]
    id?: IntFilter<"Designation"> | number
    uuid?: UuidFilter<"Designation"> | string
    code?: StringFilter<"Designation"> | string
    name?: StringFilter<"Designation"> | string
    description?: StringNullableFilter<"Designation"> | string | null
    status_id?: IntFilter<"Designation"> | number
    company_id?: IntFilter<"Designation"> | number
    created_by?: IntNullableFilter<"Designation"> | number | null
    updated_by?: IntNullableFilter<"Designation"> | number | null
    deleted_by?: IntNullableFilter<"Designation"> | number | null
    created_at?: DateTimeFilter<"Designation"> | Date | string
    updated_at?: DateTimeFilter<"Designation"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Designation"> | Date | string | null
  }

  export type DesignationUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: DesignationWhereUniqueInput
    update: XOR<DesignationUpdateWithoutUpdatedInput, DesignationUncheckedUpdateWithoutUpdatedInput>
    create: XOR<DesignationCreateWithoutUpdatedInput, DesignationUncheckedCreateWithoutUpdatedInput>
  }

  export type DesignationUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: DesignationWhereUniqueInput
    data: XOR<DesignationUpdateWithoutUpdatedInput, DesignationUncheckedUpdateWithoutUpdatedInput>
  }

  export type DesignationUpdateManyWithWhereWithoutUpdatedInput = {
    where: DesignationScalarWhereInput
    data: XOR<DesignationUpdateManyMutationInput, DesignationUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type DesignationUpsertWithWhereUniqueWithoutDeletedInput = {
    where: DesignationWhereUniqueInput
    update: XOR<DesignationUpdateWithoutDeletedInput, DesignationUncheckedUpdateWithoutDeletedInput>
    create: XOR<DesignationCreateWithoutDeletedInput, DesignationUncheckedCreateWithoutDeletedInput>
  }

  export type DesignationUpdateWithWhereUniqueWithoutDeletedInput = {
    where: DesignationWhereUniqueInput
    data: XOR<DesignationUpdateWithoutDeletedInput, DesignationUncheckedUpdateWithoutDeletedInput>
  }

  export type DesignationUpdateManyWithWhereWithoutDeletedInput = {
    where: DesignationScalarWhereInput
    data: XOR<DesignationUpdateManyMutationInput, DesignationUncheckedUpdateManyWithoutDeletedInput>
  }

  export type AuditLogUpsertWithWhereUniqueWithoutUserInput = {
    where: AuditLogWhereUniqueInput
    update: XOR<AuditLogUpdateWithoutUserInput, AuditLogUncheckedUpdateWithoutUserInput>
    create: XOR<AuditLogCreateWithoutUserInput, AuditLogUncheckedCreateWithoutUserInput>
  }

  export type AuditLogUpdateWithWhereUniqueWithoutUserInput = {
    where: AuditLogWhereUniqueInput
    data: XOR<AuditLogUpdateWithoutUserInput, AuditLogUncheckedUpdateWithoutUserInput>
  }

  export type AuditLogUpdateManyWithWhereWithoutUserInput = {
    where: AuditLogScalarWhereInput
    data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyWithoutUserInput>
  }

  export type AuditLogScalarWhereInput = {
    AND?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
    OR?: AuditLogScalarWhereInput[]
    NOT?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[]
    id?: IntFilter<"AuditLog"> | number
    operation_type?: StringFilter<"AuditLog"> | string
    table_name?: StringFilter<"AuditLog"> | string
    field_name?: StringFilter<"AuditLog"> | string
    old_value?: StringNullableFilter<"AuditLog"> | string | null
    new_value?: StringNullableFilter<"AuditLog"> | string | null
    entity_id?: IntFilter<"AuditLog"> | number
    user_id?: IntNullableFilter<"AuditLog"> | number | null
    status_id?: IntFilter<"AuditLog"> | number
    company_id?: IntNullableFilter<"AuditLog"> | number | null
    created_at?: DateTimeFilter<"AuditLog"> | Date | string
  }

  export type CategoryTypesUpsertWithWhereUniqueWithoutCreated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    update: XOR<CategoryTypesUpdateWithoutCreated_category_typesInput, CategoryTypesUncheckedUpdateWithoutCreated_category_typesInput>
    create: XOR<CategoryTypesCreateWithoutCreated_category_typesInput, CategoryTypesUncheckedCreateWithoutCreated_category_typesInput>
  }

  export type CategoryTypesUpdateWithWhereUniqueWithoutCreated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    data: XOR<CategoryTypesUpdateWithoutCreated_category_typesInput, CategoryTypesUncheckedUpdateWithoutCreated_category_typesInput>
  }

  export type CategoryTypesUpdateManyWithWhereWithoutCreated_category_typesInput = {
    where: CategoryTypesScalarWhereInput
    data: XOR<CategoryTypesUpdateManyMutationInput, CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesInput>
  }

  export type CategoryTypesScalarWhereInput = {
    AND?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
    OR?: CategoryTypesScalarWhereInput[]
    NOT?: CategoryTypesScalarWhereInput | CategoryTypesScalarWhereInput[]
    id?: IntFilter<"CategoryTypes"> | number
    uuid?: UuidFilter<"CategoryTypes"> | string
    category_type_id?: StringFilter<"CategoryTypes"> | string
    name?: StringFilter<"CategoryTypes"> | string
    description?: StringNullableFilter<"CategoryTypes"> | string | null
    company_id?: IntFilter<"CategoryTypes"> | number
    created_by?: IntNullableFilter<"CategoryTypes"> | number | null
    updated_by?: IntNullableFilter<"CategoryTypes"> | number | null
    deleted_by?: IntNullableFilter<"CategoryTypes"> | number | null
    created_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    updated_at?: DateTimeFilter<"CategoryTypes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"CategoryTypes"> | Date | string | null
  }

  export type CategoryTypesUpsertWithWhereUniqueWithoutUpdated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    update: XOR<CategoryTypesUpdateWithoutUpdated_category_typesInput, CategoryTypesUncheckedUpdateWithoutUpdated_category_typesInput>
    create: XOR<CategoryTypesCreateWithoutUpdated_category_typesInput, CategoryTypesUncheckedCreateWithoutUpdated_category_typesInput>
  }

  export type CategoryTypesUpdateWithWhereUniqueWithoutUpdated_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    data: XOR<CategoryTypesUpdateWithoutUpdated_category_typesInput, CategoryTypesUncheckedUpdateWithoutUpdated_category_typesInput>
  }

  export type CategoryTypesUpdateManyWithWhereWithoutUpdated_category_typesInput = {
    where: CategoryTypesScalarWhereInput
    data: XOR<CategoryTypesUpdateManyMutationInput, CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesInput>
  }

  export type CategoryTypesUpsertWithWhereUniqueWithoutDeleted_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    update: XOR<CategoryTypesUpdateWithoutDeleted_category_typesInput, CategoryTypesUncheckedUpdateWithoutDeleted_category_typesInput>
    create: XOR<CategoryTypesCreateWithoutDeleted_category_typesInput, CategoryTypesUncheckedCreateWithoutDeleted_category_typesInput>
  }

  export type CategoryTypesUpdateWithWhereUniqueWithoutDeleted_category_typesInput = {
    where: CategoryTypesWhereUniqueInput
    data: XOR<CategoryTypesUpdateWithoutDeleted_category_typesInput, CategoryTypesUncheckedUpdateWithoutDeleted_category_typesInput>
  }

  export type CategoryTypesUpdateManyWithWhereWithoutDeleted_category_typesInput = {
    where: CategoryTypesScalarWhereInput
    data: XOR<CategoryTypesUpdateManyMutationInput, CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesInput>
  }

  export type CategoriesUpsertWithWhereUniqueWithoutCreated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    update: XOR<CategoriesUpdateWithoutCreated_categoriesInput, CategoriesUncheckedUpdateWithoutCreated_categoriesInput>
    create: XOR<CategoriesCreateWithoutCreated_categoriesInput, CategoriesUncheckedCreateWithoutCreated_categoriesInput>
  }

  export type CategoriesUpdateWithWhereUniqueWithoutCreated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    data: XOR<CategoriesUpdateWithoutCreated_categoriesInput, CategoriesUncheckedUpdateWithoutCreated_categoriesInput>
  }

  export type CategoriesUpdateManyWithWhereWithoutCreated_categoriesInput = {
    where: CategoriesScalarWhereInput
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyWithoutCreated_categoriesInput>
  }

  export type CategoriesScalarWhereInput = {
    AND?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
    OR?: CategoriesScalarWhereInput[]
    NOT?: CategoriesScalarWhereInput | CategoriesScalarWhereInput[]
    id?: IntFilter<"Categories"> | number
    uuid?: UuidFilter<"Categories"> | string
    category_type_id?: StringFilter<"Categories"> | string
    category_id?: StringFilter<"Categories"> | string
    parent_id?: StringNullableFilter<"Categories"> | string | null
    name?: StringFilter<"Categories"> | string
    description?: StringNullableFilter<"Categories"> | string | null
    status_id?: IntFilter<"Categories"> | number
    company_id?: IntFilter<"Categories"> | number
    created_by?: IntNullableFilter<"Categories"> | number | null
    updated_by?: IntNullableFilter<"Categories"> | number | null
    deleted_by?: IntNullableFilter<"Categories"> | number | null
    created_at?: DateTimeFilter<"Categories"> | Date | string
    updated_at?: DateTimeFilter<"Categories"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Categories"> | Date | string | null
  }

  export type CategoriesUpsertWithWhereUniqueWithoutUpdated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    update: XOR<CategoriesUpdateWithoutUpdated_categoriesInput, CategoriesUncheckedUpdateWithoutUpdated_categoriesInput>
    create: XOR<CategoriesCreateWithoutUpdated_categoriesInput, CategoriesUncheckedCreateWithoutUpdated_categoriesInput>
  }

  export type CategoriesUpdateWithWhereUniqueWithoutUpdated_categoriesInput = {
    where: CategoriesWhereUniqueInput
    data: XOR<CategoriesUpdateWithoutUpdated_categoriesInput, CategoriesUncheckedUpdateWithoutUpdated_categoriesInput>
  }

  export type CategoriesUpdateManyWithWhereWithoutUpdated_categoriesInput = {
    where: CategoriesScalarWhereInput
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyWithoutUpdated_categoriesInput>
  }

  export type CategoriesUpsertWithWhereUniqueWithoutDeleted_categoriesInput = {
    where: CategoriesWhereUniqueInput
    update: XOR<CategoriesUpdateWithoutDeleted_categoriesInput, CategoriesUncheckedUpdateWithoutDeleted_categoriesInput>
    create: XOR<CategoriesCreateWithoutDeleted_categoriesInput, CategoriesUncheckedCreateWithoutDeleted_categoriesInput>
  }

  export type CategoriesUpdateWithWhereUniqueWithoutDeleted_categoriesInput = {
    where: CategoriesWhereUniqueInput
    data: XOR<CategoriesUpdateWithoutDeleted_categoriesInput, CategoriesUncheckedUpdateWithoutDeleted_categoriesInput>
  }

  export type CategoriesUpdateManyWithWhereWithoutDeleted_categoriesInput = {
    where: CategoriesScalarWhereInput
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyWithoutDeleted_categoriesInput>
  }

  export type ConfigurationsUpsertWithWhereUniqueWithoutCreated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    update: XOR<ConfigurationsUpdateWithoutCreated_configurationsInput, ConfigurationsUncheckedUpdateWithoutCreated_configurationsInput>
    create: XOR<ConfigurationsCreateWithoutCreated_configurationsInput, ConfigurationsUncheckedCreateWithoutCreated_configurationsInput>
  }

  export type ConfigurationsUpdateWithWhereUniqueWithoutCreated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    data: XOR<ConfigurationsUpdateWithoutCreated_configurationsInput, ConfigurationsUncheckedUpdateWithoutCreated_configurationsInput>
  }

  export type ConfigurationsUpdateManyWithWhereWithoutCreated_configurationsInput = {
    where: ConfigurationsScalarWhereInput
    data: XOR<ConfigurationsUpdateManyMutationInput, ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsInput>
  }

  export type ConfigurationsScalarWhereInput = {
    AND?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
    OR?: ConfigurationsScalarWhereInput[]
    NOT?: ConfigurationsScalarWhereInput | ConfigurationsScalarWhereInput[]
    id?: IntFilter<"Configurations"> | number
    uuid?: UuidFilter<"Configurations"> | string
    order_no?: DecimalFilter<"Configurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"Configurations"> | string
    category_id?: StringFilter<"Configurations"> | string
    category_type_id?: StringNullableFilter<"Configurations"> | string | null
    config_select_json?: JsonNullableFilter<"Configurations">
    config_file_value?: StringNullableFilter<"Configurations"> | string | null
    config_value_type?: StringFilter<"Configurations"> | string
    config_field_type?: StringFilter<"Configurations"> | string
    display_config?: BoolFilter<"Configurations"> | boolean
    config_value?: StringNullableFilter<"Configurations"> | string | null
    company_id?: IntFilter<"Configurations"> | number
    created_by?: IntNullableFilter<"Configurations"> | number | null
    updated_by?: IntNullableFilter<"Configurations"> | number | null
    deleted_by?: IntNullableFilter<"Configurations"> | number | null
    created_at?: DateTimeFilter<"Configurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"Configurations"> | Date | string | null
  }

  export type ConfigurationsUpsertWithWhereUniqueWithoutUpdated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    update: XOR<ConfigurationsUpdateWithoutUpdated_configurationsInput, ConfigurationsUncheckedUpdateWithoutUpdated_configurationsInput>
    create: XOR<ConfigurationsCreateWithoutUpdated_configurationsInput, ConfigurationsUncheckedCreateWithoutUpdated_configurationsInput>
  }

  export type ConfigurationsUpdateWithWhereUniqueWithoutUpdated_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    data: XOR<ConfigurationsUpdateWithoutUpdated_configurationsInput, ConfigurationsUncheckedUpdateWithoutUpdated_configurationsInput>
  }

  export type ConfigurationsUpdateManyWithWhereWithoutUpdated_configurationsInput = {
    where: ConfigurationsScalarWhereInput
    data: XOR<ConfigurationsUpdateManyMutationInput, ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsInput>
  }

  export type ConfigurationsUpsertWithWhereUniqueWithoutDeleted_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    update: XOR<ConfigurationsUpdateWithoutDeleted_configurationsInput, ConfigurationsUncheckedUpdateWithoutDeleted_configurationsInput>
    create: XOR<ConfigurationsCreateWithoutDeleted_configurationsInput, ConfigurationsUncheckedCreateWithoutDeleted_configurationsInput>
  }

  export type ConfigurationsUpdateWithWhereUniqueWithoutDeleted_configurationsInput = {
    where: ConfigurationsWhereUniqueInput
    data: XOR<ConfigurationsUpdateWithoutDeleted_configurationsInput, ConfigurationsUncheckedUpdateWithoutDeleted_configurationsInput>
  }

  export type ConfigurationsUpdateManyWithWhereWithoutDeleted_configurationsInput = {
    where: ConfigurationsScalarWhereInput
    data: XOR<ConfigurationsUpdateManyMutationInput, ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsInput>
  }

  export type UserConfigurationsUpsertWithWhereUniqueWithoutCreated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    update: XOR<UserConfigurationsUpdateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutCreated_user_configurationsInput>
    create: XOR<UserConfigurationsCreateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutCreated_user_configurationsInput>
  }

  export type UserConfigurationsUpdateWithWhereUniqueWithoutCreated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    data: XOR<UserConfigurationsUpdateWithoutCreated_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutCreated_user_configurationsInput>
  }

  export type UserConfigurationsUpdateManyWithWhereWithoutCreated_user_configurationsInput = {
    where: UserConfigurationsScalarWhereInput
    data: XOR<UserConfigurationsUpdateManyMutationInput, UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsInput>
  }

  export type UserConfigurationsScalarWhereInput = {
    AND?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
    OR?: UserConfigurationsScalarWhereInput[]
    NOT?: UserConfigurationsScalarWhereInput | UserConfigurationsScalarWhereInput[]
    id?: IntFilter<"UserConfigurations"> | number
    uuid?: UuidFilter<"UserConfigurations"> | string
    order_no?: DecimalFilter<"UserConfigurations"> | Decimal | DecimalJsLike | number | string
    config_key?: StringFilter<"UserConfigurations"> | string
    category_id?: StringFilter<"UserConfigurations"> | string
    category_type_id?: StringNullableFilter<"UserConfigurations"> | string | null
    config_select_json?: JsonNullableFilter<"UserConfigurations">
    config_file_value?: StringNullableFilter<"UserConfigurations"> | string | null
    config_value_type?: StringFilter<"UserConfigurations"> | string
    config_field_type?: StringFilter<"UserConfigurations"> | string
    display_config?: BoolFilter<"UserConfigurations"> | boolean
    config_value?: StringNullableFilter<"UserConfigurations"> | string | null
    user_id?: IntFilter<"UserConfigurations"> | number
    company_id?: IntFilter<"UserConfigurations"> | number
    created_by?: IntNullableFilter<"UserConfigurations"> | number | null
    updated_by?: IntNullableFilter<"UserConfigurations"> | number | null
    deleted_by?: IntNullableFilter<"UserConfigurations"> | number | null
    created_at?: DateTimeFilter<"UserConfigurations"> | Date | string
    updated_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
    deleted_at?: DateTimeNullableFilter<"UserConfigurations"> | Date | string | null
  }

  export type UserConfigurationsUpsertWithWhereUniqueWithoutUpdated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    update: XOR<UserConfigurationsUpdateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutUpdated_user_configurationsInput>
    create: XOR<UserConfigurationsCreateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutUpdated_user_configurationsInput>
  }

  export type UserConfigurationsUpdateWithWhereUniqueWithoutUpdated_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    data: XOR<UserConfigurationsUpdateWithoutUpdated_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutUpdated_user_configurationsInput>
  }

  export type UserConfigurationsUpdateManyWithWhereWithoutUpdated_user_configurationsInput = {
    where: UserConfigurationsScalarWhereInput
    data: XOR<UserConfigurationsUpdateManyMutationInput, UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsInput>
  }

  export type UserConfigurationsUpsertWithWhereUniqueWithoutDeleted_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    update: XOR<UserConfigurationsUpdateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutDeleted_user_configurationsInput>
    create: XOR<UserConfigurationsCreateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedCreateWithoutDeleted_user_configurationsInput>
  }

  export type UserConfigurationsUpdateWithWhereUniqueWithoutDeleted_user_configurationsInput = {
    where: UserConfigurationsWhereUniqueInput
    data: XOR<UserConfigurationsUpdateWithoutDeleted_user_configurationsInput, UserConfigurationsUncheckedUpdateWithoutDeleted_user_configurationsInput>
  }

  export type UserConfigurationsUpdateManyWithWhereWithoutDeleted_user_configurationsInput = {
    where: UserConfigurationsScalarWhereInput
    data: XOR<UserConfigurationsUpdateManyMutationInput, UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsInput>
  }

  export type FinancialYearUpsertWithWhereUniqueWithoutCreatedInput = {
    where: FinancialYearWhereUniqueInput
    update: XOR<FinancialYearUpdateWithoutCreatedInput, FinancialYearUncheckedUpdateWithoutCreatedInput>
    create: XOR<FinancialYearCreateWithoutCreatedInput, FinancialYearUncheckedCreateWithoutCreatedInput>
  }

  export type FinancialYearUpdateWithWhereUniqueWithoutCreatedInput = {
    where: FinancialYearWhereUniqueInput
    data: XOR<FinancialYearUpdateWithoutCreatedInput, FinancialYearUncheckedUpdateWithoutCreatedInput>
  }

  export type FinancialYearUpdateManyWithWhereWithoutCreatedInput = {
    where: FinancialYearScalarWhereInput
    data: XOR<FinancialYearUpdateManyMutationInput, FinancialYearUncheckedUpdateManyWithoutCreatedInput>
  }

  export type FinancialYearScalarWhereInput = {
    AND?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
    OR?: FinancialYearScalarWhereInput[]
    NOT?: FinancialYearScalarWhereInput | FinancialYearScalarWhereInput[]
    id?: IntFilter<"FinancialYear"> | number
    uuid?: UuidFilter<"FinancialYear"> | string
    name?: StringFilter<"FinancialYear"> | string
    code?: StringFilter<"FinancialYear"> | string
    is_freezed?: BoolFilter<"FinancialYear"> | boolean
    start_date?: DateTimeFilter<"FinancialYear"> | Date | string
    end_date?: DateTimeFilter<"FinancialYear"> | Date | string
    status_id?: IntFilter<"FinancialYear"> | number
    company_id?: IntFilter<"FinancialYear"> | number
    created_by?: IntNullableFilter<"FinancialYear"> | number | null
    updated_by?: IntNullableFilter<"FinancialYear"> | number | null
    deleted_by?: IntNullableFilter<"FinancialYear"> | number | null
    created_at?: DateTimeFilter<"FinancialYear"> | Date | string
    updated_at?: DateTimeFilter<"FinancialYear"> | Date | string
    deleted_at?: DateTimeNullableFilter<"FinancialYear"> | Date | string | null
  }

  export type FinancialYearUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: FinancialYearWhereUniqueInput
    update: XOR<FinancialYearUpdateWithoutUpdatedInput, FinancialYearUncheckedUpdateWithoutUpdatedInput>
    create: XOR<FinancialYearCreateWithoutUpdatedInput, FinancialYearUncheckedCreateWithoutUpdatedInput>
  }

  export type FinancialYearUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: FinancialYearWhereUniqueInput
    data: XOR<FinancialYearUpdateWithoutUpdatedInput, FinancialYearUncheckedUpdateWithoutUpdatedInput>
  }

  export type FinancialYearUpdateManyWithWhereWithoutUpdatedInput = {
    where: FinancialYearScalarWhereInput
    data: XOR<FinancialYearUpdateManyMutationInput, FinancialYearUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type FinancialYearUpsertWithWhereUniqueWithoutDeletedInput = {
    where: FinancialYearWhereUniqueInput
    update: XOR<FinancialYearUpdateWithoutDeletedInput, FinancialYearUncheckedUpdateWithoutDeletedInput>
    create: XOR<FinancialYearCreateWithoutDeletedInput, FinancialYearUncheckedCreateWithoutDeletedInput>
  }

  export type FinancialYearUpdateWithWhereUniqueWithoutDeletedInput = {
    where: FinancialYearWhereUniqueInput
    data: XOR<FinancialYearUpdateWithoutDeletedInput, FinancialYearUncheckedUpdateWithoutDeletedInput>
  }

  export type FinancialYearUpdateManyWithWhereWithoutDeletedInput = {
    where: FinancialYearScalarWhereInput
    data: XOR<FinancialYearUpdateManyMutationInput, FinancialYearUncheckedUpdateManyWithoutDeletedInput>
  }

  export type DocumentSequenceUpsertWithWhereUniqueWithoutCreatedInput = {
    where: DocumentSequenceWhereUniqueInput
    update: XOR<DocumentSequenceUpdateWithoutCreatedInput, DocumentSequenceUncheckedUpdateWithoutCreatedInput>
    create: XOR<DocumentSequenceCreateWithoutCreatedInput, DocumentSequenceUncheckedCreateWithoutCreatedInput>
  }

  export type DocumentSequenceUpdateWithWhereUniqueWithoutCreatedInput = {
    where: DocumentSequenceWhereUniqueInput
    data: XOR<DocumentSequenceUpdateWithoutCreatedInput, DocumentSequenceUncheckedUpdateWithoutCreatedInput>
  }

  export type DocumentSequenceUpdateManyWithWhereWithoutCreatedInput = {
    where: DocumentSequenceScalarWhereInput
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyWithoutCreatedInput>
  }

  export type DocumentSequenceScalarWhereInput = {
    AND?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
    OR?: DocumentSequenceScalarWhereInput[]
    NOT?: DocumentSequenceScalarWhereInput | DocumentSequenceScalarWhereInput[]
    id?: IntFilter<"DocumentSequence"> | number
    uuid?: UuidFilter<"DocumentSequence"> | string
    module_name?: StringFilter<"DocumentSequence"> | string
    financial_year_id?: IntNullableFilter<"DocumentSequence"> | number | null
    current_sequence_no?: IntFilter<"DocumentSequence"> | number
    start_sequence_no?: IntFilter<"DocumentSequence"> | number
    end_sequence_no?: IntFilter<"DocumentSequence"> | number
    sequence_length?: IntFilter<"DocumentSequence"> | number
    status_id?: IntFilter<"DocumentSequence"> | number
    code_format?: StringNullableFilter<"DocumentSequence"> | string | null
    company_id?: IntFilter<"DocumentSequence"> | number
    created_by?: IntNullableFilter<"DocumentSequence"> | number | null
    updated_by?: IntNullableFilter<"DocumentSequence"> | number | null
    deleted_by?: IntNullableFilter<"DocumentSequence"> | number | null
    created_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    updated_at?: DateTimeFilter<"DocumentSequence"> | Date | string
    deleted_at?: DateTimeNullableFilter<"DocumentSequence"> | Date | string | null
  }

  export type DocumentSequenceUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: DocumentSequenceWhereUniqueInput
    update: XOR<DocumentSequenceUpdateWithoutUpdatedInput, DocumentSequenceUncheckedUpdateWithoutUpdatedInput>
    create: XOR<DocumentSequenceCreateWithoutUpdatedInput, DocumentSequenceUncheckedCreateWithoutUpdatedInput>
  }

  export type DocumentSequenceUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: DocumentSequenceWhereUniqueInput
    data: XOR<DocumentSequenceUpdateWithoutUpdatedInput, DocumentSequenceUncheckedUpdateWithoutUpdatedInput>
  }

  export type DocumentSequenceUpdateManyWithWhereWithoutUpdatedInput = {
    where: DocumentSequenceScalarWhereInput
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type DocumentSequenceUpsertWithWhereUniqueWithoutDeletedInput = {
    where: DocumentSequenceWhereUniqueInput
    update: XOR<DocumentSequenceUpdateWithoutDeletedInput, DocumentSequenceUncheckedUpdateWithoutDeletedInput>
    create: XOR<DocumentSequenceCreateWithoutDeletedInput, DocumentSequenceUncheckedCreateWithoutDeletedInput>
  }

  export type DocumentSequenceUpdateWithWhereUniqueWithoutDeletedInput = {
    where: DocumentSequenceWhereUniqueInput
    data: XOR<DocumentSequenceUpdateWithoutDeletedInput, DocumentSequenceUncheckedUpdateWithoutDeletedInput>
  }

  export type DocumentSequenceUpdateManyWithWhereWithoutDeletedInput = {
    where: DocumentSequenceScalarWhereInput
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyWithoutDeletedInput>
  }

  export type DeviceRegistrationUpsertWithWhereUniqueWithoutCreated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    update: XOR<DeviceRegistrationUpdateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutCreated_device_registrationInput>
    create: XOR<DeviceRegistrationCreateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutCreated_device_registrationInput>
  }

  export type DeviceRegistrationUpdateWithWhereUniqueWithoutCreated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    data: XOR<DeviceRegistrationUpdateWithoutCreated_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutCreated_device_registrationInput>
  }

  export type DeviceRegistrationUpdateManyWithWhereWithoutCreated_device_registrationInput = {
    where: DeviceRegistrationScalarWhereInput
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationInput>
  }

  export type DeviceRegistrationScalarWhereInput = {
    AND?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
    OR?: DeviceRegistrationScalarWhereInput[]
    NOT?: DeviceRegistrationScalarWhereInput | DeviceRegistrationScalarWhereInput[]
    id?: IntFilter<"DeviceRegistration"> | number
    uuid?: UuidFilter<"DeviceRegistration"> | string
    company_id?: IntFilter<"DeviceRegistration"> | number
    device_name?: StringFilter<"DeviceRegistration"> | string
    device_unique_id?: StringFilter<"DeviceRegistration"> | string
    user_id?: IntFilter<"DeviceRegistration"> | number
    status_id?: IntFilter<"DeviceRegistration"> | number
    created_by?: IntFilter<"DeviceRegistration"> | number
    created_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    updated_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    updated_at?: DateTimeFilter<"DeviceRegistration"> | Date | string
    deleted_by?: IntNullableFilter<"DeviceRegistration"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeviceRegistration"> | Date | string | null
  }

  export type DeviceRegistrationUpsertWithWhereUniqueWithoutUpdated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    update: XOR<DeviceRegistrationUpdateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutUpdated_device_registrationInput>
    create: XOR<DeviceRegistrationCreateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutUpdated_device_registrationInput>
  }

  export type DeviceRegistrationUpdateWithWhereUniqueWithoutUpdated_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    data: XOR<DeviceRegistrationUpdateWithoutUpdated_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutUpdated_device_registrationInput>
  }

  export type DeviceRegistrationUpdateManyWithWhereWithoutUpdated_device_registrationInput = {
    where: DeviceRegistrationScalarWhereInput
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationInput>
  }

  export type DeviceRegistrationUpsertWithWhereUniqueWithoutDeleted_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    update: XOR<DeviceRegistrationUpdateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutDeleted_device_registrationInput>
    create: XOR<DeviceRegistrationCreateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedCreateWithoutDeleted_device_registrationInput>
  }

  export type DeviceRegistrationUpdateWithWhereUniqueWithoutDeleted_device_registrationInput = {
    where: DeviceRegistrationWhereUniqueInput
    data: XOR<DeviceRegistrationUpdateWithoutDeleted_device_registrationInput, DeviceRegistrationUncheckedUpdateWithoutDeleted_device_registrationInput>
  }

  export type DeviceRegistrationUpdateManyWithWhereWithoutDeleted_device_registrationInput = {
    where: DeviceRegistrationScalarWhereInput
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationInput>
  }

  export type DeviceRegistrationUpsertWithWhereUniqueWithoutUserInput = {
    where: DeviceRegistrationWhereUniqueInput
    update: XOR<DeviceRegistrationUpdateWithoutUserInput, DeviceRegistrationUncheckedUpdateWithoutUserInput>
    create: XOR<DeviceRegistrationCreateWithoutUserInput, DeviceRegistrationUncheckedCreateWithoutUserInput>
  }

  export type DeviceRegistrationUpdateWithWhereUniqueWithoutUserInput = {
    where: DeviceRegistrationWhereUniqueInput
    data: XOR<DeviceRegistrationUpdateWithoutUserInput, DeviceRegistrationUncheckedUpdateWithoutUserInput>
  }

  export type DeviceRegistrationUpdateManyWithWhereWithoutUserInput = {
    where: DeviceRegistrationScalarWhereInput
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyWithoutUserInput>
  }

  export type ImportJobUpsertWithWhereUniqueWithoutCreatedInput = {
    where: ImportJobWhereUniqueInput
    update: XOR<ImportJobUpdateWithoutCreatedInput, ImportJobUncheckedUpdateWithoutCreatedInput>
    create: XOR<ImportJobCreateWithoutCreatedInput, ImportJobUncheckedCreateWithoutCreatedInput>
  }

  export type ImportJobUpdateWithWhereUniqueWithoutCreatedInput = {
    where: ImportJobWhereUniqueInput
    data: XOR<ImportJobUpdateWithoutCreatedInput, ImportJobUncheckedUpdateWithoutCreatedInput>
  }

  export type ImportJobUpdateManyWithWhereWithoutCreatedInput = {
    where: ImportJobScalarWhereInput
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyWithoutCreatedInput>
  }

  export type ImportJobScalarWhereInput = {
    AND?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
    OR?: ImportJobScalarWhereInput[]
    NOT?: ImportJobScalarWhereInput | ImportJobScalarWhereInput[]
    id?: IntFilter<"ImportJob"> | number
    uuid?: UuidFilter<"ImportJob"> | string
    import_template_id?: IntNullableFilter<"ImportJob"> | number | null
    name?: StringFilter<"ImportJob"> | string
    description?: StringNullableFilter<"ImportJob"> | string | null
    sequence_number?: StringNullableFilter<"ImportJob"> | string | null
    ignore_error_rows?: BoolFilter<"ImportJob"> | boolean
    header_details?: JsonNullableFilter<"ImportJob">
    table_config?: JsonNullableFilter<"ImportJob">
    total_rows?: IntFilter<"ImportJob"> | number
    completed_rows?: IntFilter<"ImportJob"> | number
    error_rows?: IntFilter<"ImportJob"> | number
    batch_process_count?: IntNullableFilter<"ImportJob"> | number | null
    job_status?: StringNullableFilter<"ImportJob"> | string | null
    last_processed_row_id?: IntNullableFilter<"ImportJob"> | number | null
    file_path?: StringNullableFilter<"ImportJob"> | string | null
    file_name?: StringNullableFilter<"ImportJob"> | string | null
    validation_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    validation_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_started_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    processing_completed_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    expected_completion_time?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
    status_id?: IntFilter<"ImportJob"> | number
    company_id?: IntFilter<"ImportJob"> | number
    created_by?: IntNullableFilter<"ImportJob"> | number | null
    created_at?: DateTimeFilter<"ImportJob"> | Date | string
    updated_by?: IntNullableFilter<"ImportJob"> | number | null
    updated_at?: DateTimeFilter<"ImportJob"> | Date | string
    deleted_by?: IntNullableFilter<"ImportJob"> | number | null
    deleted_at?: DateTimeNullableFilter<"ImportJob"> | Date | string | null
  }

  export type ImportJobUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: ImportJobWhereUniqueInput
    update: XOR<ImportJobUpdateWithoutUpdatedInput, ImportJobUncheckedUpdateWithoutUpdatedInput>
    create: XOR<ImportJobCreateWithoutUpdatedInput, ImportJobUncheckedCreateWithoutUpdatedInput>
  }

  export type ImportJobUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: ImportJobWhereUniqueInput
    data: XOR<ImportJobUpdateWithoutUpdatedInput, ImportJobUncheckedUpdateWithoutUpdatedInput>
  }

  export type ImportJobUpdateManyWithWhereWithoutUpdatedInput = {
    where: ImportJobScalarWhereInput
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type ImportJobUpsertWithWhereUniqueWithoutDeletedInput = {
    where: ImportJobWhereUniqueInput
    update: XOR<ImportJobUpdateWithoutDeletedInput, ImportJobUncheckedUpdateWithoutDeletedInput>
    create: XOR<ImportJobCreateWithoutDeletedInput, ImportJobUncheckedCreateWithoutDeletedInput>
  }

  export type ImportJobUpdateWithWhereUniqueWithoutDeletedInput = {
    where: ImportJobWhereUniqueInput
    data: XOR<ImportJobUpdateWithoutDeletedInput, ImportJobUncheckedUpdateWithoutDeletedInput>
  }

  export type ImportJobUpdateManyWithWhereWithoutDeletedInput = {
    where: ImportJobScalarWhereInput
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyWithoutDeletedInput>
  }

  export type DirectImportDetailsUpsertWithWhereUniqueWithoutCreatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    update: XOR<DirectImportDetailsUpdateWithoutCreatedInput, DirectImportDetailsUncheckedUpdateWithoutCreatedInput>
    create: XOR<DirectImportDetailsCreateWithoutCreatedInput, DirectImportDetailsUncheckedCreateWithoutCreatedInput>
  }

  export type DirectImportDetailsUpdateWithWhereUniqueWithoutCreatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    data: XOR<DirectImportDetailsUpdateWithoutCreatedInput, DirectImportDetailsUncheckedUpdateWithoutCreatedInput>
  }

  export type DirectImportDetailsUpdateManyWithWhereWithoutCreatedInput = {
    where: DirectImportDetailsScalarWhereInput
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyWithoutCreatedInput>
  }

  export type DirectImportDetailsScalarWhereInput = {
    AND?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
    OR?: DirectImportDetailsScalarWhereInput[]
    NOT?: DirectImportDetailsScalarWhereInput | DirectImportDetailsScalarWhereInput[]
    id?: IntFilter<"DirectImportDetails"> | number
    uuid?: UuidFilter<"DirectImportDetails"> | string
    import_template_id?: IntNullableFilter<"DirectImportDetails"> | number | null
    file_path?: StringNullableFilter<"DirectImportDetails"> | string | null
    file_name?: StringNullableFilter<"DirectImportDetails"> | string | null
    status_id?: IntFilter<"DirectImportDetails"> | number
    company_id?: IntFilter<"DirectImportDetails"> | number
    created_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    created_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    updated_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    updated_at?: DateTimeFilter<"DirectImportDetails"> | Date | string
    deleted_by?: IntNullableFilter<"DirectImportDetails"> | number | null
    deleted_at?: DateTimeNullableFilter<"DirectImportDetails"> | Date | string | null
  }

  export type DirectImportDetailsUpsertWithWhereUniqueWithoutUpdatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    update: XOR<DirectImportDetailsUpdateWithoutUpdatedInput, DirectImportDetailsUncheckedUpdateWithoutUpdatedInput>
    create: XOR<DirectImportDetailsCreateWithoutUpdatedInput, DirectImportDetailsUncheckedCreateWithoutUpdatedInput>
  }

  export type DirectImportDetailsUpdateWithWhereUniqueWithoutUpdatedInput = {
    where: DirectImportDetailsWhereUniqueInput
    data: XOR<DirectImportDetailsUpdateWithoutUpdatedInput, DirectImportDetailsUncheckedUpdateWithoutUpdatedInput>
  }

  export type DirectImportDetailsUpdateManyWithWhereWithoutUpdatedInput = {
    where: DirectImportDetailsScalarWhereInput
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyWithoutUpdatedInput>
  }

  export type DirectImportDetailsUpsertWithWhereUniqueWithoutDeletedInput = {
    where: DirectImportDetailsWhereUniqueInput
    update: XOR<DirectImportDetailsUpdateWithoutDeletedInput, DirectImportDetailsUncheckedUpdateWithoutDeletedInput>
    create: XOR<DirectImportDetailsCreateWithoutDeletedInput, DirectImportDetailsUncheckedCreateWithoutDeletedInput>
  }

  export type DirectImportDetailsUpdateWithWhereUniqueWithoutDeletedInput = {
    where: DirectImportDetailsWhereUniqueInput
    data: XOR<DirectImportDetailsUpdateWithoutDeletedInput, DirectImportDetailsUncheckedUpdateWithoutDeletedInput>
  }

  export type DirectImportDetailsUpdateManyWithWhereWithoutDeletedInput = {
    where: DirectImportDetailsScalarWhereInput
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyWithoutDeletedInput>
  }

  export type UserPoliciesUpsertWithWhereUniqueWithoutUserInput = {
    where: UserPoliciesWhereUniqueInput
    update: XOR<UserPoliciesUpdateWithoutUserInput, UserPoliciesUncheckedUpdateWithoutUserInput>
    create: XOR<UserPoliciesCreateWithoutUserInput, UserPoliciesUncheckedCreateWithoutUserInput>
  }

  export type UserPoliciesUpdateWithWhereUniqueWithoutUserInput = {
    where: UserPoliciesWhereUniqueInput
    data: XOR<UserPoliciesUpdateWithoutUserInput, UserPoliciesUncheckedUpdateWithoutUserInput>
  }

  export type UserPoliciesUpdateManyWithWhereWithoutUserInput = {
    where: UserPoliciesScalarWhereInput
    data: XOR<UserPoliciesUpdateManyMutationInput, UserPoliciesUncheckedUpdateManyWithoutUserInput>
  }

  export type UserPoliciesScalarWhereInput = {
    AND?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
    OR?: UserPoliciesScalarWhereInput[]
    NOT?: UserPoliciesScalarWhereInput | UserPoliciesScalarWhereInput[]
    company_id?: IntFilter<"UserPolicies"> | number
    policy_id?: IntFilter<"UserPolicies"> | number
    user_id?: IntFilter<"UserPolicies"> | number
  }

  export type PoliciesUpsertWithWhereUniqueWithoutCreated_policyInput = {
    where: PoliciesWhereUniqueInput
    update: XOR<PoliciesUpdateWithoutCreated_policyInput, PoliciesUncheckedUpdateWithoutCreated_policyInput>
    create: XOR<PoliciesCreateWithoutCreated_policyInput, PoliciesUncheckedCreateWithoutCreated_policyInput>
  }

  export type PoliciesUpdateWithWhereUniqueWithoutCreated_policyInput = {
    where: PoliciesWhereUniqueInput
    data: XOR<PoliciesUpdateWithoutCreated_policyInput, PoliciesUncheckedUpdateWithoutCreated_policyInput>
  }

  export type PoliciesUpdateManyWithWhereWithoutCreated_policyInput = {
    where: PoliciesScalarWhereInput
    data: XOR<PoliciesUpdateManyMutationInput, PoliciesUncheckedUpdateManyWithoutCreated_policyInput>
  }

  export type PoliciesScalarWhereInput = {
    AND?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
    OR?: PoliciesScalarWhereInput[]
    NOT?: PoliciesScalarWhereInput | PoliciesScalarWhereInput[]
    id?: IntFilter<"Policies"> | number
    uuid?: UuidFilter<"Policies"> | string
    company_id?: IntFilter<"Policies"> | number
    slug?: StringFilter<"Policies"> | string
    name?: StringFilter<"Policies"> | string
    description?: StringFilter<"Policies"> | string
    query_information?: JsonNullableFilter<"Policies">
    status_id?: IntFilter<"Policies"> | number
    created_by?: IntFilter<"Policies"> | number
    created_at?: DateTimeFilter<"Policies"> | Date | string
    updated_by?: IntNullableFilter<"Policies"> | number | null
    updated_at?: DateTimeFilter<"Policies"> | Date | string
    deleted_by?: IntNullableFilter<"Policies"> | number | null
    deleted_at?: DateTimeNullableFilter<"Policies"> | Date | string | null
  }

  export type PoliciesUpsertWithWhereUniqueWithoutUpdated_policyInput = {
    where: PoliciesWhereUniqueInput
    update: XOR<PoliciesUpdateWithoutUpdated_policyInput, PoliciesUncheckedUpdateWithoutUpdated_policyInput>
    create: XOR<PoliciesCreateWithoutUpdated_policyInput, PoliciesUncheckedCreateWithoutUpdated_policyInput>
  }

  export type PoliciesUpdateWithWhereUniqueWithoutUpdated_policyInput = {
    where: PoliciesWhereUniqueInput
    data: XOR<PoliciesUpdateWithoutUpdated_policyInput, PoliciesUncheckedUpdateWithoutUpdated_policyInput>
  }

  export type PoliciesUpdateManyWithWhereWithoutUpdated_policyInput = {
    where: PoliciesScalarWhereInput
    data: XOR<PoliciesUpdateManyMutationInput, PoliciesUncheckedUpdateManyWithoutUpdated_policyInput>
  }

  export type PoliciesUpsertWithWhereUniqueWithoutDeleted_policyInput = {
    where: PoliciesWhereUniqueInput
    update: XOR<PoliciesUpdateWithoutDeleted_policyInput, PoliciesUncheckedUpdateWithoutDeleted_policyInput>
    create: XOR<PoliciesCreateWithoutDeleted_policyInput, PoliciesUncheckedCreateWithoutDeleted_policyInput>
  }

  export type PoliciesUpdateWithWhereUniqueWithoutDeleted_policyInput = {
    where: PoliciesWhereUniqueInput
    data: XOR<PoliciesUpdateWithoutDeleted_policyInput, PoliciesUncheckedUpdateWithoutDeleted_policyInput>
  }

  export type PoliciesUpdateManyWithWhereWithoutDeleted_policyInput = {
    where: PoliciesScalarWhereInput
    data: XOR<PoliciesUpdateManyMutationInput, PoliciesUncheckedUpdateManyWithoutDeleted_policyInput>
  }

  export type AppversionsUpsertWithWhereUniqueWithoutCreated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    update: XOR<AppversionsUpdateWithoutCreated_app_versionsInput, AppversionsUncheckedUpdateWithoutCreated_app_versionsInput>
    create: XOR<AppversionsCreateWithoutCreated_app_versionsInput, AppversionsUncheckedCreateWithoutCreated_app_versionsInput>
  }

  export type AppversionsUpdateWithWhereUniqueWithoutCreated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    data: XOR<AppversionsUpdateWithoutCreated_app_versionsInput, AppversionsUncheckedUpdateWithoutCreated_app_versionsInput>
  }

  export type AppversionsUpdateManyWithWhereWithoutCreated_app_versionsInput = {
    where: AppversionsScalarWhereInput
    data: XOR<AppversionsUpdateManyMutationInput, AppversionsUncheckedUpdateManyWithoutCreated_app_versionsInput>
  }

  export type AppversionsScalarWhereInput = {
    AND?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
    OR?: AppversionsScalarWhereInput[]
    NOT?: AppversionsScalarWhereInput | AppversionsScalarWhereInput[]
    id?: IntFilter<"Appversions"> | number
    uuid?: UuidFilter<"Appversions"> | string
    company_id?: IntFilter<"Appversions"> | number
    type?: StringFilter<"Appversions"> | string
    version_type?: StringFilter<"Appversions"> | string
    version?: StringFilter<"Appversions"> | string
    description?: StringFilter<"Appversions"> | string
    is_frontend_changed?: BoolFilter<"Appversions"> | boolean
    is_backend_changed?: BoolFilter<"Appversions"> | boolean
    is_database_changed?: BoolFilter<"Appversions"> | boolean
    developed_by?: StringNullableFilter<"Appversions"> | string | null
    status_id?: IntFilter<"Appversions"> | number
    created_by?: IntFilter<"Appversions"> | number
    created_at?: DateTimeFilter<"Appversions"> | Date | string
    updated_by?: IntNullableFilter<"Appversions"> | number | null
    updated_at?: DateTimeFilter<"Appversions"> | Date | string
    deleted_by?: IntNullableFilter<"Appversions"> | number | null
    deleted_at?: DateTimeNullableFilter<"Appversions"> | Date | string | null
    app_url?: StringNullableFilter<"Appversions"> | string | null
  }

  export type AppversionsUpsertWithWhereUniqueWithoutUpdated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    update: XOR<AppversionsUpdateWithoutUpdated_app_versionsInput, AppversionsUncheckedUpdateWithoutUpdated_app_versionsInput>
    create: XOR<AppversionsCreateWithoutUpdated_app_versionsInput, AppversionsUncheckedCreateWithoutUpdated_app_versionsInput>
  }

  export type AppversionsUpdateWithWhereUniqueWithoutUpdated_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    data: XOR<AppversionsUpdateWithoutUpdated_app_versionsInput, AppversionsUncheckedUpdateWithoutUpdated_app_versionsInput>
  }

  export type AppversionsUpdateManyWithWhereWithoutUpdated_app_versionsInput = {
    where: AppversionsScalarWhereInput
    data: XOR<AppversionsUpdateManyMutationInput, AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsInput>
  }

  export type AppversionsUpsertWithWhereUniqueWithoutDeleted_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    update: XOR<AppversionsUpdateWithoutDeleted_app_versionsInput, AppversionsUncheckedUpdateWithoutDeleted_app_versionsInput>
    create: XOR<AppversionsCreateWithoutDeleted_app_versionsInput, AppversionsUncheckedCreateWithoutDeleted_app_versionsInput>
  }

  export type AppversionsUpdateWithWhereUniqueWithoutDeleted_app_versionsInput = {
    where: AppversionsWhereUniqueInput
    data: XOR<AppversionsUpdateWithoutDeleted_app_versionsInput, AppversionsUncheckedUpdateWithoutDeleted_app_versionsInput>
  }

  export type AppversionsUpdateManyWithWhereWithoutDeleted_app_versionsInput = {
    where: AppversionsScalarWhereInput
    data: XOR<AppversionsUpdateManyMutationInput, AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsInput>
  }

  export type ThemesUpsertWithWhereUniqueWithoutCreatedThemeInput = {
    where: ThemesWhereUniqueInput
    update: XOR<ThemesUpdateWithoutCreatedThemeInput, ThemesUncheckedUpdateWithoutCreatedThemeInput>
    create: XOR<ThemesCreateWithoutCreatedThemeInput, ThemesUncheckedCreateWithoutCreatedThemeInput>
  }

  export type ThemesUpdateWithWhereUniqueWithoutCreatedThemeInput = {
    where: ThemesWhereUniqueInput
    data: XOR<ThemesUpdateWithoutCreatedThemeInput, ThemesUncheckedUpdateWithoutCreatedThemeInput>
  }

  export type ThemesUpdateManyWithWhereWithoutCreatedThemeInput = {
    where: ThemesScalarWhereInput
    data: XOR<ThemesUpdateManyMutationInput, ThemesUncheckedUpdateManyWithoutCreatedThemeInput>
  }

  export type ThemesScalarWhereInput = {
    AND?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
    OR?: ThemesScalarWhereInput[]
    NOT?: ThemesScalarWhereInput | ThemesScalarWhereInput[]
    id?: IntFilter<"Themes"> | number
    uuid?: UuidFilter<"Themes"> | string
    name?: StringFilter<"Themes"> | string
    description?: StringNullableFilter<"Themes"> | string | null
    reference_images?: StringNullableFilter<"Themes"> | string | null
    status_id?: IntFilter<"Themes"> | number
    company_id?: IntFilter<"Themes"> | number
    created_by?: IntNullableFilter<"Themes"> | number | null
    updated_by?: IntNullableFilter<"Themes"> | number | null
    deleted_by?: IntNullableFilter<"Themes"> | number | null
    created_at?: DateTimeFilter<"Themes"> | Date | string
    updated_at?: DateTimeFilter<"Themes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"Themes"> | Date | string | null
  }

  export type ThemesUpsertWithWhereUniqueWithoutUpdatedThemeInput = {
    where: ThemesWhereUniqueInput
    update: XOR<ThemesUpdateWithoutUpdatedThemeInput, ThemesUncheckedUpdateWithoutUpdatedThemeInput>
    create: XOR<ThemesCreateWithoutUpdatedThemeInput, ThemesUncheckedCreateWithoutUpdatedThemeInput>
  }

  export type ThemesUpdateWithWhereUniqueWithoutUpdatedThemeInput = {
    where: ThemesWhereUniqueInput
    data: XOR<ThemesUpdateWithoutUpdatedThemeInput, ThemesUncheckedUpdateWithoutUpdatedThemeInput>
  }

  export type ThemesUpdateManyWithWhereWithoutUpdatedThemeInput = {
    where: ThemesScalarWhereInput
    data: XOR<ThemesUpdateManyMutationInput, ThemesUncheckedUpdateManyWithoutUpdatedThemeInput>
  }

  export type ThemesUpsertWithWhereUniqueWithoutDeletedThemeInput = {
    where: ThemesWhereUniqueInput
    update: XOR<ThemesUpdateWithoutDeletedThemeInput, ThemesUncheckedUpdateWithoutDeletedThemeInput>
    create: XOR<ThemesCreateWithoutDeletedThemeInput, ThemesUncheckedCreateWithoutDeletedThemeInput>
  }

  export type ThemesUpdateWithWhereUniqueWithoutDeletedThemeInput = {
    where: ThemesWhereUniqueInput
    data: XOR<ThemesUpdateWithoutDeletedThemeInput, ThemesUncheckedUpdateWithoutDeletedThemeInput>
  }

  export type ThemesUpdateManyWithWhereWithoutDeletedThemeInput = {
    where: ThemesScalarWhereInput
    data: XOR<ThemesUpdateManyMutationInput, ThemesUncheckedUpdateManyWithoutDeletedThemeInput>
  }

  export type ThemeLineItemsUpsertWithWhereUniqueWithoutCreatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    update: XOR<ThemeLineItemsUpdateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutCreatedThemeLineItemsInput>
    create: XOR<ThemeLineItemsCreateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutCreatedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateWithWhereUniqueWithoutCreatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    data: XOR<ThemeLineItemsUpdateWithoutCreatedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutCreatedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateManyWithWhereWithoutCreatedThemeLineItemsInput = {
    where: ThemeLineItemsScalarWhereInput
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsInput>
  }

  export type ThemeLineItemsScalarWhereInput = {
    AND?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
    OR?: ThemeLineItemsScalarWhereInput[]
    NOT?: ThemeLineItemsScalarWhereInput | ThemeLineItemsScalarWhereInput[]
    id?: IntFilter<"ThemeLineItems"> | number
    uuid?: UuidFilter<"ThemeLineItems"> | string
    theme_id?: IntFilter<"ThemeLineItems"> | number
    attribute?: StringFilter<"ThemeLineItems"> | string
    value?: StringNullableFilter<"ThemeLineItems"> | string | null
    description?: StringNullableFilter<"ThemeLineItems"> | string | null
    status_id?: IntFilter<"ThemeLineItems"> | number
    company_id?: IntFilter<"ThemeLineItems"> | number
    created_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    updated_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ThemeLineItems"> | number | null
    created_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    updated_at?: DateTimeFilter<"ThemeLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeLineItems"> | Date | string | null
  }

  export type ThemeLineItemsUpsertWithWhereUniqueWithoutUpdatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    update: XOR<ThemeLineItemsUpdateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutUpdatedThemeLineItemsInput>
    create: XOR<ThemeLineItemsCreateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutUpdatedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateWithWhereUniqueWithoutUpdatedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    data: XOR<ThemeLineItemsUpdateWithoutUpdatedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutUpdatedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateManyWithWhereWithoutUpdatedThemeLineItemsInput = {
    where: ThemeLineItemsScalarWhereInput
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpsertWithWhereUniqueWithoutDeletedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    update: XOR<ThemeLineItemsUpdateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutDeletedThemeLineItemsInput>
    create: XOR<ThemeLineItemsCreateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedCreateWithoutDeletedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateWithWhereUniqueWithoutDeletedThemeLineItemsInput = {
    where: ThemeLineItemsWhereUniqueInput
    data: XOR<ThemeLineItemsUpdateWithoutDeletedThemeLineItemsInput, ThemeLineItemsUncheckedUpdateWithoutDeletedThemeLineItemsInput>
  }

  export type ThemeLineItemsUpdateManyWithWhereWithoutDeletedThemeLineItemsInput = {
    where: ThemeLineItemsScalarWhereInput
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsInput>
  }

  export type ThemeAttributesUpsertWithWhereUniqueWithoutCreatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    update: XOR<ThemeAttributesUpdateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutCreatedThemeAttributesInput>
    create: XOR<ThemeAttributesCreateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutCreatedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateWithWhereUniqueWithoutCreatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    data: XOR<ThemeAttributesUpdateWithoutCreatedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutCreatedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateManyWithWhereWithoutCreatedThemeAttributesInput = {
    where: ThemeAttributesScalarWhereInput
    data: XOR<ThemeAttributesUpdateManyMutationInput, ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesInput>
  }

  export type ThemeAttributesScalarWhereInput = {
    AND?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
    OR?: ThemeAttributesScalarWhereInput[]
    NOT?: ThemeAttributesScalarWhereInput | ThemeAttributesScalarWhereInput[]
    id?: IntFilter<"ThemeAttributes"> | number
    uuid?: UuidFilter<"ThemeAttributes"> | string
    attribute?: StringFilter<"ThemeAttributes"> | string
    value?: StringNullableFilter<"ThemeAttributes"> | string | null
    description?: StringNullableFilter<"ThemeAttributes"> | string | null
    status_id?: IntFilter<"ThemeAttributes"> | number
    company_id?: IntFilter<"ThemeAttributes"> | number
    created_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    updated_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    deleted_by?: IntNullableFilter<"ThemeAttributes"> | number | null
    created_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    updated_at?: DateTimeFilter<"ThemeAttributes"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ThemeAttributes"> | Date | string | null
  }

  export type ThemeAttributesUpsertWithWhereUniqueWithoutUpdatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    update: XOR<ThemeAttributesUpdateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutUpdatedThemeAttributesInput>
    create: XOR<ThemeAttributesCreateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutUpdatedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateWithWhereUniqueWithoutUpdatedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    data: XOR<ThemeAttributesUpdateWithoutUpdatedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutUpdatedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateManyWithWhereWithoutUpdatedThemeAttributesInput = {
    where: ThemeAttributesScalarWhereInput
    data: XOR<ThemeAttributesUpdateManyMutationInput, ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesInput>
  }

  export type ThemeAttributesUpsertWithWhereUniqueWithoutDeletedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    update: XOR<ThemeAttributesUpdateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutDeletedThemeAttributesInput>
    create: XOR<ThemeAttributesCreateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedCreateWithoutDeletedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateWithWhereUniqueWithoutDeletedThemeAttributesInput = {
    where: ThemeAttributesWhereUniqueInput
    data: XOR<ThemeAttributesUpdateWithoutDeletedThemeAttributesInput, ThemeAttributesUncheckedUpdateWithoutDeletedThemeAttributesInput>
  }

  export type ThemeAttributesUpdateManyWithWhereWithoutDeletedThemeAttributesInput = {
    where: ThemeAttributesScalarWhereInput
    data: XOR<ThemeAttributesUpdateManyMutationInput, ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesInput>
  }

  export type ChildProcessLogUpsertWithWhereUniqueWithoutInitiatorInput = {
    where: ChildProcessLogWhereUniqueInput
    update: XOR<ChildProcessLogUpdateWithoutInitiatorInput, ChildProcessLogUncheckedUpdateWithoutInitiatorInput>
    create: XOR<ChildProcessLogCreateWithoutInitiatorInput, ChildProcessLogUncheckedCreateWithoutInitiatorInput>
  }

  export type ChildProcessLogUpdateWithWhereUniqueWithoutInitiatorInput = {
    where: ChildProcessLogWhereUniqueInput
    data: XOR<ChildProcessLogUpdateWithoutInitiatorInput, ChildProcessLogUncheckedUpdateWithoutInitiatorInput>
  }

  export type ChildProcessLogUpdateManyWithWhereWithoutInitiatorInput = {
    where: ChildProcessLogScalarWhereInput
    data: XOR<ChildProcessLogUpdateManyMutationInput, ChildProcessLogUncheckedUpdateManyWithoutInitiatorInput>
  }

  export type ChildProcessLogScalarWhereInput = {
    AND?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
    OR?: ChildProcessLogScalarWhereInput[]
    NOT?: ChildProcessLogScalarWhereInput | ChildProcessLogScalarWhereInput[]
    id?: IntFilter<"ChildProcessLog"> | number
    uuid?: UuidFilter<"ChildProcessLog"> | string
    child_process_id?: IntFilter<"ChildProcessLog"> | number
    process_status?: StringNullableFilter<"ChildProcessLog"> | string | null
    downloadables?: StringNullableFilter<"ChildProcessLog"> | string | null
    output?: StringFilter<"ChildProcessLog"> | string
    initiated_by?: IntFilter<"ChildProcessLog"> | number
    status_id?: IntFilter<"ChildProcessLog"> | number
    company_id?: IntFilter<"ChildProcessLog"> | number
    created_by?: IntFilter<"ChildProcessLog"> | number
    created_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    updated_at?: DateTimeFilter<"ChildProcessLog"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcessLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcessLog"> | Date | string | null
  }

  export type CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutUserInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    update: XOR<CustomerGeoFenceMappingUpdateWithoutUserInput, CustomerGeoFenceMappingUncheckedUpdateWithoutUserInput>
    create: XOR<CustomerGeoFenceMappingCreateWithoutUserInput, CustomerGeoFenceMappingUncheckedCreateWithoutUserInput>
  }

  export type CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutUserInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    data: XOR<CustomerGeoFenceMappingUpdateWithoutUserInput, CustomerGeoFenceMappingUncheckedUpdateWithoutUserInput>
  }

  export type CustomerGeoFenceMappingUpdateManyWithWhereWithoutUserInput = {
    where: CustomerGeoFenceMappingScalarWhereInput
    data: XOR<CustomerGeoFenceMappingUpdateManyMutationInput, CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserInput>
  }

  export type CustomerGeoFenceMappingScalarWhereInput = {
    AND?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
    OR?: CustomerGeoFenceMappingScalarWhereInput[]
    NOT?: CustomerGeoFenceMappingScalarWhereInput | CustomerGeoFenceMappingScalarWhereInput[]
    id?: IntFilter<"CustomerGeoFenceMapping"> | number
    uuid?: UuidFilter<"CustomerGeoFenceMapping"> | string
    company_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    status_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    geofence_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    order_no?: IntFilter<"CustomerGeoFenceMapping"> | number
    customer_id?: IntFilter<"CustomerGeoFenceMapping"> | number
    description?: StringNullableFilter<"CustomerGeoFenceMapping"> | string | null
    created_by?: IntNullableFilter<"CustomerGeoFenceMapping"> | number | null
    created_at?: DateTimeFilter<"CustomerGeoFenceMapping"> | Date | string
  }

  export type VehicleUserMappingUpsertWithWhereUniqueWithoutUserInput = {
    where: VehicleUserMappingWhereUniqueInput
    update: XOR<VehicleUserMappingUpdateWithoutUserInput, VehicleUserMappingUncheckedUpdateWithoutUserInput>
    create: XOR<VehicleUserMappingCreateWithoutUserInput, VehicleUserMappingUncheckedCreateWithoutUserInput>
  }

  export type VehicleUserMappingUpdateWithWhereUniqueWithoutUserInput = {
    where: VehicleUserMappingWhereUniqueInput
    data: XOR<VehicleUserMappingUpdateWithoutUserInput, VehicleUserMappingUncheckedUpdateWithoutUserInput>
  }

  export type VehicleUserMappingUpdateManyWithWhereWithoutUserInput = {
    where: VehicleUserMappingScalarWhereInput
    data: XOR<VehicleUserMappingUpdateManyMutationInput, VehicleUserMappingUncheckedUpdateManyWithoutUserInput>
  }

  export type VehicleUserMappingScalarWhereInput = {
    AND?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
    OR?: VehicleUserMappingScalarWhereInput[]
    NOT?: VehicleUserMappingScalarWhereInput | VehicleUserMappingScalarWhereInput[]
    id?: IntFilter<"VehicleUserMapping"> | number
    uuid?: UuidFilter<"VehicleUserMapping"> | string
    company_id?: IntFilter<"VehicleUserMapping"> | number
    status_id?: IntFilter<"VehicleUserMapping"> | number
    vehicle_id?: IntFilter<"VehicleUserMapping"> | number
    user_id?: IntFilter<"VehicleUserMapping"> | number
    created_by?: IntNullableFilter<"VehicleUserMapping"> | number | null
    created_at?: DateTimeNullableFilter<"VehicleUserMapping"> | Date | string | null
  }

  export type DeliveryNotesUpsertWithWhereUniqueWithoutCustomerInput = {
    where: DeliveryNotesWhereUniqueInput
    update: XOR<DeliveryNotesUpdateWithoutCustomerInput, DeliveryNotesUncheckedUpdateWithoutCustomerInput>
    create: XOR<DeliveryNotesCreateWithoutCustomerInput, DeliveryNotesUncheckedCreateWithoutCustomerInput>
  }

  export type DeliveryNotesUpdateWithWhereUniqueWithoutCustomerInput = {
    where: DeliveryNotesWhereUniqueInput
    data: XOR<DeliveryNotesUpdateWithoutCustomerInput, DeliveryNotesUncheckedUpdateWithoutCustomerInput>
  }

  export type DeliveryNotesUpdateManyWithWhereWithoutCustomerInput = {
    where: DeliveryNotesScalarWhereInput
    data: XOR<DeliveryNotesUpdateManyMutationInput, DeliveryNotesUncheckedUpdateManyWithoutCustomerInput>
  }

  export type DeliveryNotesScalarWhereInput = {
    AND?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
    OR?: DeliveryNotesScalarWhereInput[]
    NOT?: DeliveryNotesScalarWhereInput | DeliveryNotesScalarWhereInput[]
    id?: IntFilter<"DeliveryNotes"> | number
    uuid?: UuidFilter<"DeliveryNotes"> | string
    delivery_note_number?: StringFilter<"DeliveryNotes"> | string
    date_of_issue?: DateTimeFilter<"DeliveryNotes"> | Date | string
    customer_order_number?: StringFilter<"DeliveryNotes"> | string
    reference_number?: StringFilter<"DeliveryNotes"> | string
    shipment_type?: StringNullableFilter<"DeliveryNotes"> | string | null
    supply_agreement?: StringNullableFilter<"DeliveryNotes"> | string | null
    purchase_reference?: StringNullableFilter<"DeliveryNotes"> | string | null
    alloy?: StringNullableFilter<"DeliveryNotes"> | string | null
    temper?: StringNullableFilter<"DeliveryNotes"> | string | null
    color?: StringNullableFilter<"DeliveryNotes"> | string | null
    aluminium_profiles?: StringNullableFilter<"DeliveryNotes"> | string | null
    number_of_boxes?: IntNullableFilter<"DeliveryNotes"> | number | null
    number_of_bundles?: IntNullableFilter<"DeliveryNotes"> | number | null
    customer_delivery_address_id?: IntFilter<"DeliveryNotes"> | number
    customer_id?: IntFilter<"DeliveryNotes"> | number
    status_id?: IntFilter<"DeliveryNotes"> | number
    dn_status_id?: IntFilter<"DeliveryNotes"> | number
    company_id?: IntFilter<"DeliveryNotes"> | number
    created_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    created_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNotes"> | Date | string | null
    customer_delivery_contact_info?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_name?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"DeliveryNotes"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"DeliveryNotes"> | string | null
  }

  export type VehiclesGpsDataUpsertWithWhereUniqueWithoutUserInput = {
    where: VehiclesGpsDataWhereUniqueInput
    update: XOR<VehiclesGpsDataUpdateWithoutUserInput, VehiclesGpsDataUncheckedUpdateWithoutUserInput>
    create: XOR<VehiclesGpsDataCreateWithoutUserInput, VehiclesGpsDataUncheckedCreateWithoutUserInput>
  }

  export type VehiclesGpsDataUpdateWithWhereUniqueWithoutUserInput = {
    where: VehiclesGpsDataWhereUniqueInput
    data: XOR<VehiclesGpsDataUpdateWithoutUserInput, VehiclesGpsDataUncheckedUpdateWithoutUserInput>
  }

  export type VehiclesGpsDataUpdateManyWithWhereWithoutUserInput = {
    where: VehiclesGpsDataScalarWhereInput
    data: XOR<VehiclesGpsDataUpdateManyMutationInput, VehiclesGpsDataUncheckedUpdateManyWithoutUserInput>
  }

  export type VehiclesGpsDataScalarWhereInput = {
    AND?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
    OR?: VehiclesGpsDataScalarWhereInput[]
    NOT?: VehiclesGpsDataScalarWhereInput | VehiclesGpsDataScalarWhereInput[]
    id?: IntFilter<"VehiclesGpsData"> | number
    uuid?: UuidFilter<"VehiclesGpsData"> | string
    vehicle_id?: IntFilter<"VehiclesGpsData"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsData"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    unique_gps_data_id?: StringFilter<"VehiclesGpsData"> | string
    driver_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsData"> | Date | string
    company_id?: IntFilter<"VehiclesGpsData"> | number
    status_id?: IntFilter<"VehiclesGpsData"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsData"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsData"> | Date | string | null
  }

  export type VehiclesGpsDataLogUpsertWithWhereUniqueWithoutUserInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    update: XOR<VehiclesGpsDataLogUpdateWithoutUserInput, VehiclesGpsDataLogUncheckedUpdateWithoutUserInput>
    create: XOR<VehiclesGpsDataLogCreateWithoutUserInput, VehiclesGpsDataLogUncheckedCreateWithoutUserInput>
  }

  export type VehiclesGpsDataLogUpdateWithWhereUniqueWithoutUserInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    data: XOR<VehiclesGpsDataLogUpdateWithoutUserInput, VehiclesGpsDataLogUncheckedUpdateWithoutUserInput>
  }

  export type VehiclesGpsDataLogUpdateManyWithWhereWithoutUserInput = {
    where: VehiclesGpsDataLogScalarWhereInput
    data: XOR<VehiclesGpsDataLogUpdateManyMutationInput, VehiclesGpsDataLogUncheckedUpdateManyWithoutUserInput>
  }

  export type VehiclesGpsDataLogScalarWhereInput = {
    AND?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
    OR?: VehiclesGpsDataLogScalarWhereInput[]
    NOT?: VehiclesGpsDataLogScalarWhereInput | VehiclesGpsDataLogScalarWhereInput[]
    id?: IntFilter<"VehiclesGpsDataLog"> | number
    uuid?: UuidFilter<"VehiclesGpsDataLog"> | string
    vehicle_id?: IntFilter<"VehiclesGpsDataLog"> | number
    latitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    longitude?: FloatNullableFilter<"VehiclesGpsDataLog"> | number | null
    gps_timestamp?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    unique_gps_data_id?: StringFilter<"VehiclesGpsDataLog"> | string
    driver_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    created_at?: DateTimeFilter<"VehiclesGpsDataLog"> | Date | string
    company_id?: IntFilter<"VehiclesGpsDataLog"> | number
    status_id?: IntFilter<"VehiclesGpsDataLog"> | number
    shipment_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    process_status_id?: IntNullableFilter<"VehiclesGpsDataLog"> | number | null
    processed_at?: DateTimeNullableFilter<"VehiclesGpsDataLog"> | Date | string | null
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutDriverInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutDriverInput, VehicleGeofenceHistoryUncheckedUpdateWithoutDriverInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutDriverInput, VehicleGeofenceHistoryUncheckedCreateWithoutDriverInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutDriverInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutDriverInput, VehicleGeofenceHistoryUncheckedUpdateWithoutDriverInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutDriverInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverInput>
  }

  export type VehicleGeofenceHistoryScalarWhereInput = {
    AND?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
    OR?: VehicleGeofenceHistoryScalarWhereInput[]
    NOT?: VehicleGeofenceHistoryScalarWhereInput | VehicleGeofenceHistoryScalarWhereInput[]
    id?: IntFilter<"VehicleGeofenceHistory"> | number
    uuid?: UuidFilter<"VehicleGeofenceHistory"> | string
    vehicle_id?: IntFilter<"VehicleGeofenceHistory"> | number
    driver_id?: IntNullableFilter<"VehicleGeofenceHistory"> | number | null
    customer_id?: IntFilter<"VehicleGeofenceHistory"> | number
    geofence_id?: IntFilter<"VehicleGeofenceHistory"> | number
    event_type?: EnumGeoFenceEventTypeFilter<"VehicleGeofenceHistory"> | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
    shipment_id?: IntFilter<"VehicleGeofenceHistory"> | number
    company_id?: IntFilter<"VehicleGeofenceHistory"> | number
    status_id?: IntFilter<"VehicleGeofenceHistory"> | number
    latitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    longitude?: FloatNullableFilter<"VehicleGeofenceHistory"> | number | null
    created_at?: DateTimeFilter<"VehicleGeofenceHistory"> | Date | string
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutCustomerInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedUpdateWithoutCustomerInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedCreateWithoutCustomerInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutCustomerInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutCustomerInput, VehicleGeofenceHistoryUncheckedUpdateWithoutCustomerInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutCustomerInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerInput>
  }

  export type ShipmentCustomersUpsertWithWhereUniqueWithoutCustomerInput = {
    where: ShipmentCustomersWhereUniqueInput
    update: XOR<ShipmentCustomersUpdateWithoutCustomerInput, ShipmentCustomersUncheckedUpdateWithoutCustomerInput>
    create: XOR<ShipmentCustomersCreateWithoutCustomerInput, ShipmentCustomersUncheckedCreateWithoutCustomerInput>
  }

  export type ShipmentCustomersUpdateWithWhereUniqueWithoutCustomerInput = {
    where: ShipmentCustomersWhereUniqueInput
    data: XOR<ShipmentCustomersUpdateWithoutCustomerInput, ShipmentCustomersUncheckedUpdateWithoutCustomerInput>
  }

  export type ShipmentCustomersUpdateManyWithWhereWithoutCustomerInput = {
    where: ShipmentCustomersScalarWhereInput
    data: XOR<ShipmentCustomersUpdateManyMutationInput, ShipmentCustomersUncheckedUpdateManyWithoutCustomerInput>
  }

  export type ShipmentCustomersScalarWhereInput = {
    AND?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
    OR?: ShipmentCustomersScalarWhereInput[]
    NOT?: ShipmentCustomersScalarWhereInput | ShipmentCustomersScalarWhereInput[]
    id?: IntFilter<"ShipmentCustomers"> | number
    uuid?: UuidFilter<"ShipmentCustomers"> | string
    shipment_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_customer_uid?: StringFilter<"ShipmentCustomers"> | string
    company_id?: IntFilter<"ShipmentCustomers"> | number
    status_id?: IntFilter<"ShipmentCustomers"> | number
    shipment_status_id?: IntFilter<"ShipmentCustomers"> | number
    customer_id?: IntFilter<"ShipmentCustomers"> | number
    created_by?: IntFilter<"ShipmentCustomers"> | number
    created_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    updated_at?: DateTimeFilter<"ShipmentCustomers"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentCustomers"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentCustomers"> | Date | string | null
  }

  export type VehicleTripHistoriesUpsertWithWhereUniqueWithoutUserInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    update: XOR<VehicleTripHistoriesUpdateWithoutUserInput, VehicleTripHistoriesUncheckedUpdateWithoutUserInput>
    create: XOR<VehicleTripHistoriesCreateWithoutUserInput, VehicleTripHistoriesUncheckedCreateWithoutUserInput>
  }

  export type VehicleTripHistoriesUpdateWithWhereUniqueWithoutUserInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    data: XOR<VehicleTripHistoriesUpdateWithoutUserInput, VehicleTripHistoriesUncheckedUpdateWithoutUserInput>
  }

  export type VehicleTripHistoriesUpdateManyWithWhereWithoutUserInput = {
    where: VehicleTripHistoriesScalarWhereInput
    data: XOR<VehicleTripHistoriesUpdateManyMutationInput, VehicleTripHistoriesUncheckedUpdateManyWithoutUserInput>
  }

  export type VehicleTripHistoriesScalarWhereInput = {
    AND?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
    OR?: VehicleTripHistoriesScalarWhereInput[]
    NOT?: VehicleTripHistoriesScalarWhereInput | VehicleTripHistoriesScalarWhereInput[]
    id?: IntFilter<"VehicleTripHistories"> | number
    uuid?: UuidFilter<"VehicleTripHistories"> | string
    vehicle_id?: IntFilter<"VehicleTripHistories"> | number
    latitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    longitude?: FloatNullableFilter<"VehicleTripHistories"> | number | null
    gps_timestamp?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    unique_gps_data_id?: StringFilter<"VehicleTripHistories"> | string
    driver_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
    created_at?: DateTimeFilter<"VehicleTripHistories"> | Date | string
    company_id?: IntFilter<"VehicleTripHistories"> | number
    status_id?: IntFilter<"VehicleTripHistories"> | number
    shipment_location_uid?: StringNullableFilter<"VehicleTripHistories"> | string | null
    trip_type?: StringNullableFilter<"VehicleTripHistories"> | string | null
    shipment_id?: IntNullableFilter<"VehicleTripHistories"> | number | null
  }

  export type BarcodeTemplatesUpsertWithWhereUniqueWithoutCreated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    update: XOR<BarcodeTemplatesUpdateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutCreated_barcode_templatesInput>
    create: XOR<BarcodeTemplatesCreateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutCreated_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateWithWhereUniqueWithoutCreated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    data: XOR<BarcodeTemplatesUpdateWithoutCreated_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutCreated_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateManyWithWhereWithoutCreated_barcode_templatesInput = {
    where: BarcodeTemplatesScalarWhereInput
    data: XOR<BarcodeTemplatesUpdateManyMutationInput, BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesInput>
  }

  export type BarcodeTemplatesScalarWhereInput = {
    AND?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
    OR?: BarcodeTemplatesScalarWhereInput[]
    NOT?: BarcodeTemplatesScalarWhereInput | BarcodeTemplatesScalarWhereInput[]
    id?: IntFilter<"BarcodeTemplates"> | number
    uuid?: UuidFilter<"BarcodeTemplates"> | string
    company_id?: IntFilter<"BarcodeTemplates"> | number
    prefix?: StringFilter<"BarcodeTemplates"> | string
    label_start?: StringFilter<"BarcodeTemplates"> | string
    label_end?: StringFilter<"BarcodeTemplates"> | string
    name?: StringFilter<"BarcodeTemplates"> | string
    page_width?: IntFilter<"BarcodeTemplates"> | number
    page_height?: IntFilter<"BarcodeTemplates"> | number
    zpl_code?: StringFilter<"BarcodeTemplates"> | string
    status_id?: IntFilter<"BarcodeTemplates"> | number
    created_by?: IntFilter<"BarcodeTemplates"> | number
    created_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    updated_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    updated_at?: DateTimeFilter<"BarcodeTemplates"> | Date | string
    deleted_by?: IntNullableFilter<"BarcodeTemplates"> | number | null
    deleted_at?: DateTimeNullableFilter<"BarcodeTemplates"> | Date | string | null
  }

  export type BarcodeTemplatesUpsertWithWhereUniqueWithoutUpdated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    update: XOR<BarcodeTemplatesUpdateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutUpdated_barcode_templatesInput>
    create: XOR<BarcodeTemplatesCreateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutUpdated_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateWithWhereUniqueWithoutUpdated_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    data: XOR<BarcodeTemplatesUpdateWithoutUpdated_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutUpdated_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateManyWithWhereWithoutUpdated_barcode_templatesInput = {
    where: BarcodeTemplatesScalarWhereInput
    data: XOR<BarcodeTemplatesUpdateManyMutationInput, BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpsertWithWhereUniqueWithoutDeleted_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    update: XOR<BarcodeTemplatesUpdateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutDeleted_barcode_templatesInput>
    create: XOR<BarcodeTemplatesCreateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedCreateWithoutDeleted_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateWithWhereUniqueWithoutDeleted_barcode_templatesInput = {
    where: BarcodeTemplatesWhereUniqueInput
    data: XOR<BarcodeTemplatesUpdateWithoutDeleted_barcode_templatesInput, BarcodeTemplatesUncheckedUpdateWithoutDeleted_barcode_templatesInput>
  }

  export type BarcodeTemplatesUpdateManyWithWhereWithoutDeleted_barcode_templatesInput = {
    where: BarcodeTemplatesScalarWhereInput
    data: XOR<BarcodeTemplatesUpdateManyMutationInput, BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesInput>
  }

  export type UserLoginHistoryUpsertWithWhereUniqueWithoutUserInput = {
    where: UserLoginHistoryWhereUniqueInput
    update: XOR<UserLoginHistoryUpdateWithoutUserInput, UserLoginHistoryUncheckedUpdateWithoutUserInput>
    create: XOR<UserLoginHistoryCreateWithoutUserInput, UserLoginHistoryUncheckedCreateWithoutUserInput>
  }

  export type UserLoginHistoryUpdateWithWhereUniqueWithoutUserInput = {
    where: UserLoginHistoryWhereUniqueInput
    data: XOR<UserLoginHistoryUpdateWithoutUserInput, UserLoginHistoryUncheckedUpdateWithoutUserInput>
  }

  export type UserLoginHistoryUpdateManyWithWhereWithoutUserInput = {
    where: UserLoginHistoryScalarWhereInput
    data: XOR<UserLoginHistoryUpdateManyMutationInput, UserLoginHistoryUncheckedUpdateManyWithoutUserInput>
  }

  export type UserLoginHistoryScalarWhereInput = {
    AND?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
    OR?: UserLoginHistoryScalarWhereInput[]
    NOT?: UserLoginHistoryScalarWhereInput | UserLoginHistoryScalarWhereInput[]
    id?: IntFilter<"UserLoginHistory"> | number
    user_id?: IntFilter<"UserLoginHistory"> | number
    session_id?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_time?: DateTimeFilter<"UserLoginHistory"> | Date | string
    logout_time?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    ip_address?: StringNullableFilter<"UserLoginHistory"> | string | null
    user_agent?: StringNullableFilter<"UserLoginHistory"> | string | null
    login_status?: EnumLoginStatusFilter<"UserLoginHistory"> | $Enums.LoginStatus
    status_id?: IntFilter<"UserLoginHistory"> | number
    failure_reason?: StringNullableFilter<"UserLoginHistory"> | string | null
    created_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    updated_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    deleted_by?: IntNullableFilter<"UserLoginHistory"> | number | null
    created_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    updated_at?: DateTimeFilter<"UserLoginHistory"> | Date | string
    deleted_at?: DateTimeNullableFilter<"UserLoginHistory"> | Date | string | null
    company_id?: IntFilter<"UserLoginHistory"> | number
    device_id?: StringNullableFilter<"UserLoginHistory"> | string | null
  }

  export type DesignationCreateWithoutUsersInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDesignationsInput
    created?: UserCreateNestedOneWithoutCreated_designationsInput
    updated?: UserCreateNestedOneWithoutUpdated_designationsInput
    deleted?: UserCreateNestedOneWithoutDeleted_designationsInput
  }

  export type DesignationUncheckedCreateWithoutUsersInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DesignationCreateOrConnectWithoutUsersInput = {
    where: DesignationWhereUniqueInput
    create: XOR<DesignationCreateWithoutUsersInput, DesignationUncheckedCreateWithoutUsersInput>
  }

  export type DepartmentCreateWithoutUsersInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDepartmentsInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutUsersInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateOrConnectWithoutUsersInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutUsersInput, DepartmentUncheckedCreateWithoutUsersInput>
  }

  export type UserCreateWithoutUser_detailInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUser_detailInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUser_detailInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUser_detailInput, UserUncheckedCreateWithoutUser_detailInput>
  }

  export type UserCreateWithoutCreated_user_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_user_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_user_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_user_detailsInput, UserUncheckedCreateWithoutCreated_user_detailsInput>
  }

  export type UserCreateWithoutUpdated_user_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_user_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_user_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_user_detailsInput, UserUncheckedCreateWithoutUpdated_user_detailsInput>
  }

  export type UserCreateWithoutDeleted_user_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_user_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_user_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_user_detailsInput, UserUncheckedCreateWithoutDeleted_user_detailsInput>
  }

  export type DesignationUpsertWithoutUsersInput = {
    update: XOR<DesignationUpdateWithoutUsersInput, DesignationUncheckedUpdateWithoutUsersInput>
    create: XOR<DesignationCreateWithoutUsersInput, DesignationUncheckedCreateWithoutUsersInput>
    where?: DesignationWhereInput
  }

  export type DesignationUpdateToOneWithWhereWithoutUsersInput = {
    where?: DesignationWhereInput
    data: XOR<DesignationUpdateWithoutUsersInput, DesignationUncheckedUpdateWithoutUsersInput>
  }

  export type DesignationUpdateWithoutUsersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDesignationsNestedInput
    created?: UserUpdateOneWithoutCreated_designationsNestedInput
    updated?: UserUpdateOneWithoutUpdated_designationsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_designationsNestedInput
  }

  export type DesignationUncheckedUpdateWithoutUsersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpsertWithoutUsersInput = {
    update: XOR<DepartmentUpdateWithoutUsersInput, DepartmentUncheckedUpdateWithoutUsersInput>
    create: XOR<DepartmentCreateWithoutUsersInput, DepartmentUncheckedCreateWithoutUsersInput>
    where?: DepartmentWhereInput
  }

  export type DepartmentUpdateToOneWithWhereWithoutUsersInput = {
    where?: DepartmentWhereInput
    data: XOR<DepartmentUpdateWithoutUsersInput, DepartmentUncheckedUpdateWithoutUsersInput>
  }

  export type DepartmentUpdateWithoutUsersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutUsersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpsertWithoutUser_detailInput = {
    update: XOR<UserUpdateWithoutUser_detailInput, UserUncheckedUpdateWithoutUser_detailInput>
    create: XOR<UserCreateWithoutUser_detailInput, UserUncheckedCreateWithoutUser_detailInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUser_detailInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUser_detailInput, UserUncheckedUpdateWithoutUser_detailInput>
  }

  export type UserUpdateWithoutUser_detailInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUser_detailInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutCreated_user_detailsInput = {
    update: XOR<UserUpdateWithoutCreated_user_detailsInput, UserUncheckedUpdateWithoutCreated_user_detailsInput>
    create: XOR<UserCreateWithoutCreated_user_detailsInput, UserUncheckedCreateWithoutCreated_user_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_user_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_user_detailsInput, UserUncheckedUpdateWithoutCreated_user_detailsInput>
  }

  export type UserUpdateWithoutCreated_user_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_user_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_user_detailsInput = {
    update: XOR<UserUpdateWithoutUpdated_user_detailsInput, UserUncheckedUpdateWithoutUpdated_user_detailsInput>
    create: XOR<UserCreateWithoutUpdated_user_detailsInput, UserUncheckedCreateWithoutUpdated_user_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_user_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_user_detailsInput, UserUncheckedUpdateWithoutUpdated_user_detailsInput>
  }

  export type UserUpdateWithoutUpdated_user_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_user_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_user_detailsInput = {
    update: XOR<UserUpdateWithoutDeleted_user_detailsInput, UserUncheckedUpdateWithoutDeleted_user_detailsInput>
    create: XOR<UserCreateWithoutDeleted_user_detailsInput, UserUncheckedCreateWithoutDeleted_user_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_user_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_user_detailsInput, UserUncheckedUpdateWithoutDeleted_user_detailsInput>
  }

  export type UserUpdateWithoutDeleted_user_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_user_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutDesignationsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDesignationsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDesignationsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDesignationsInput, StatusUncheckedCreateWithoutDesignationsInput>
  }

  export type UserDetailCreateWithoutDesignationInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    department?: DepartmentCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutDesignationInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutDesignationInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput>
  }

  export type UserDetailCreateManyDesignationInputEnvelope = {
    data: UserDetailCreateManyDesignationInput | UserDetailCreateManyDesignationInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_designationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_designationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_designationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_designationsInput, UserUncheckedCreateWithoutCreated_designationsInput>
  }

  export type UserCreateWithoutUpdated_designationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_designationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_designationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_designationsInput, UserUncheckedCreateWithoutUpdated_designationsInput>
  }

  export type UserCreateWithoutDeleted_designationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_designationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_designationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_designationsInput, UserUncheckedCreateWithoutDeleted_designationsInput>
  }

  export type StatusUpsertWithoutDesignationsInput = {
    update: XOR<StatusUpdateWithoutDesignationsInput, StatusUncheckedUpdateWithoutDesignationsInput>
    create: XOR<StatusCreateWithoutDesignationsInput, StatusUncheckedCreateWithoutDesignationsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDesignationsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDesignationsInput, StatusUncheckedUpdateWithoutDesignationsInput>
  }

  export type StatusUpdateWithoutDesignationsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDesignationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserDetailUpsertWithWhereUniqueWithoutDesignationInput = {
    where: UserDetailWhereUniqueInput
    update: XOR<UserDetailUpdateWithoutDesignationInput, UserDetailUncheckedUpdateWithoutDesignationInput>
    create: XOR<UserDetailCreateWithoutDesignationInput, UserDetailUncheckedCreateWithoutDesignationInput>
  }

  export type UserDetailUpdateWithWhereUniqueWithoutDesignationInput = {
    where: UserDetailWhereUniqueInput
    data: XOR<UserDetailUpdateWithoutDesignationInput, UserDetailUncheckedUpdateWithoutDesignationInput>
  }

  export type UserDetailUpdateManyWithWhereWithoutDesignationInput = {
    where: UserDetailScalarWhereInput
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyWithoutDesignationInput>
  }

  export type UserUpsertWithoutCreated_designationsInput = {
    update: XOR<UserUpdateWithoutCreated_designationsInput, UserUncheckedUpdateWithoutCreated_designationsInput>
    create: XOR<UserCreateWithoutCreated_designationsInput, UserUncheckedCreateWithoutCreated_designationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_designationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_designationsInput, UserUncheckedUpdateWithoutCreated_designationsInput>
  }

  export type UserUpdateWithoutCreated_designationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_designationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_designationsInput = {
    update: XOR<UserUpdateWithoutUpdated_designationsInput, UserUncheckedUpdateWithoutUpdated_designationsInput>
    create: XOR<UserCreateWithoutUpdated_designationsInput, UserUncheckedCreateWithoutUpdated_designationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_designationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_designationsInput, UserUncheckedUpdateWithoutUpdated_designationsInput>
  }

  export type UserUpdateWithoutUpdated_designationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_designationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_designationsInput = {
    update: XOR<UserUpdateWithoutDeleted_designationsInput, UserUncheckedUpdateWithoutDeleted_designationsInput>
    create: XOR<UserCreateWithoutDeleted_designationsInput, UserUncheckedCreateWithoutDeleted_designationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_designationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_designationsInput, UserUncheckedUpdateWithoutDeleted_designationsInput>
  }

  export type UserUpdateWithoutDeleted_designationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_designationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutDepartmentsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDepartmentsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDepartmentsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDepartmentsInput, StatusUncheckedCreateWithoutDepartmentsInput>
  }

  export type UserDetailCreateWithoutDepartmentInput = {
    code: string
    first_name: string
    last_name?: string | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
    designation?: DesignationCreateNestedOneWithoutUsersInput
    user: UserCreateNestedOneWithoutUser_detailInput
    created?: UserCreateNestedOneWithoutCreated_user_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_user_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_user_detailsInput
  }

  export type UserDetailUncheckedCreateWithoutDepartmentInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateOrConnectWithoutDepartmentInput = {
    where: UserDetailWhereUniqueInput
    create: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput>
  }

  export type UserDetailCreateManyDepartmentInputEnvelope = {
    data: UserDetailCreateManyDepartmentInput | UserDetailCreateManyDepartmentInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutHead_departmentsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutHead_departmentsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutHead_departmentsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutHead_departmentsInput, UserUncheckedCreateWithoutHead_departmentsInput>
  }

  export type UserCreateWithoutCreated_departmentsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_departmentsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_departmentsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_departmentsInput, UserUncheckedCreateWithoutCreated_departmentsInput>
  }

  export type UserCreateWithoutUpdated_departmentsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_departmentsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_departmentsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_departmentsInput, UserUncheckedCreateWithoutUpdated_departmentsInput>
  }

  export type UserCreateWithoutDeleted_departmentsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_departmentsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_departmentsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_departmentsInput, UserUncheckedCreateWithoutDeleted_departmentsInput>
  }

  export type StatusUpsertWithoutDepartmentsInput = {
    update: XOR<StatusUpdateWithoutDepartmentsInput, StatusUncheckedUpdateWithoutDepartmentsInput>
    create: XOR<StatusCreateWithoutDepartmentsInput, StatusUncheckedCreateWithoutDepartmentsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDepartmentsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDepartmentsInput, StatusUncheckedUpdateWithoutDepartmentsInput>
  }

  export type StatusUpdateWithoutDepartmentsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDepartmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserDetailUpsertWithWhereUniqueWithoutDepartmentInput = {
    where: UserDetailWhereUniqueInput
    update: XOR<UserDetailUpdateWithoutDepartmentInput, UserDetailUncheckedUpdateWithoutDepartmentInput>
    create: XOR<UserDetailCreateWithoutDepartmentInput, UserDetailUncheckedCreateWithoutDepartmentInput>
  }

  export type UserDetailUpdateWithWhereUniqueWithoutDepartmentInput = {
    where: UserDetailWhereUniqueInput
    data: XOR<UserDetailUpdateWithoutDepartmentInput, UserDetailUncheckedUpdateWithoutDepartmentInput>
  }

  export type UserDetailUpdateManyWithWhereWithoutDepartmentInput = {
    where: UserDetailScalarWhereInput
    data: XOR<UserDetailUpdateManyMutationInput, UserDetailUncheckedUpdateManyWithoutDepartmentInput>
  }

  export type UserUpsertWithoutHead_departmentsInput = {
    update: XOR<UserUpdateWithoutHead_departmentsInput, UserUncheckedUpdateWithoutHead_departmentsInput>
    create: XOR<UserCreateWithoutHead_departmentsInput, UserUncheckedCreateWithoutHead_departmentsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutHead_departmentsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutHead_departmentsInput, UserUncheckedUpdateWithoutHead_departmentsInput>
  }

  export type UserUpdateWithoutHead_departmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutHead_departmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutCreated_departmentsInput = {
    update: XOR<UserUpdateWithoutCreated_departmentsInput, UserUncheckedUpdateWithoutCreated_departmentsInput>
    create: XOR<UserCreateWithoutCreated_departmentsInput, UserUncheckedCreateWithoutCreated_departmentsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_departmentsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_departmentsInput, UserUncheckedUpdateWithoutCreated_departmentsInput>
  }

  export type UserUpdateWithoutCreated_departmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_departmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_departmentsInput = {
    update: XOR<UserUpdateWithoutUpdated_departmentsInput, UserUncheckedUpdateWithoutUpdated_departmentsInput>
    create: XOR<UserCreateWithoutUpdated_departmentsInput, UserUncheckedCreateWithoutUpdated_departmentsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_departmentsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_departmentsInput, UserUncheckedUpdateWithoutUpdated_departmentsInput>
  }

  export type UserUpdateWithoutUpdated_departmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_departmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_departmentsInput = {
    update: XOR<UserUpdateWithoutDeleted_departmentsInput, UserUncheckedUpdateWithoutDeleted_departmentsInput>
    create: XOR<UserCreateWithoutDeleted_departmentsInput, UserUncheckedCreateWithoutDeleted_departmentsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_departmentsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_departmentsInput, UserUncheckedUpdateWithoutDeleted_departmentsInput>
  }

  export type UserUpdateWithoutDeleted_departmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_departmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutRequest_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutRequest_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutRequest_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutRequest_logsInput, StatusUncheckedCreateWithoutRequest_logsInput>
  }

  export type UserCreateWithoutRequest_logsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutRequest_logsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutRequest_logsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutRequest_logsInput, UserUncheckedCreateWithoutRequest_logsInput>
  }

  export type StatusUpsertWithoutRequest_logsInput = {
    update: XOR<StatusUpdateWithoutRequest_logsInput, StatusUncheckedUpdateWithoutRequest_logsInput>
    create: XOR<StatusCreateWithoutRequest_logsInput, StatusUncheckedCreateWithoutRequest_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutRequest_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutRequest_logsInput, StatusUncheckedUpdateWithoutRequest_logsInput>
  }

  export type StatusUpdateWithoutRequest_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutRequest_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutRequest_logsInput = {
    update: XOR<UserUpdateWithoutRequest_logsInput, UserUncheckedUpdateWithoutRequest_logsInput>
    create: XOR<UserCreateWithoutRequest_logsInput, UserUncheckedCreateWithoutRequest_logsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutRequest_logsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutRequest_logsInput, UserUncheckedUpdateWithoutRequest_logsInput>
  }

  export type UserUpdateWithoutRequest_logsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutRequest_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutFinancial_yearsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutFinancial_yearsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutFinancial_yearsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutFinancial_yearsInput, StatusUncheckedCreateWithoutFinancial_yearsInput>
  }

  export type DocumentSequenceCreateWithoutFinanicial_yearInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDocument_sequencesInput
    created?: UserCreateNestedOneWithoutCreated_doc_sequencesInput
    updated?: UserCreateNestedOneWithoutUpdated_doc_sequencesInput
    deleted?: UserCreateNestedOneWithoutDeleted_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput = {
    id?: number
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateOrConnectWithoutFinanicial_yearInput = {
    where: DocumentSequenceWhereUniqueInput
    create: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput>
  }

  export type DocumentSequenceCreateManyFinanicial_yearInputEnvelope = {
    data: DocumentSequenceCreateManyFinanicial_yearInput | DocumentSequenceCreateManyFinanicial_yearInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_fin_yearsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_fin_yearsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_fin_yearsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_fin_yearsInput, UserUncheckedCreateWithoutCreated_fin_yearsInput>
  }

  export type UserCreateWithoutUpdated_fin_yearsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_fin_yearsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_fin_yearsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_fin_yearsInput, UserUncheckedCreateWithoutUpdated_fin_yearsInput>
  }

  export type UserCreateWithoutDeleted_fin_yearsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_fin_yearsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_fin_yearsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_fin_yearsInput, UserUncheckedCreateWithoutDeleted_fin_yearsInput>
  }

  export type StatusUpsertWithoutFinancial_yearsInput = {
    update: XOR<StatusUpdateWithoutFinancial_yearsInput, StatusUncheckedUpdateWithoutFinancial_yearsInput>
    create: XOR<StatusCreateWithoutFinancial_yearsInput, StatusUncheckedCreateWithoutFinancial_yearsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutFinancial_yearsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutFinancial_yearsInput, StatusUncheckedUpdateWithoutFinancial_yearsInput>
  }

  export type StatusUpdateWithoutFinancial_yearsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutFinancial_yearsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type DocumentSequenceUpsertWithWhereUniqueWithoutFinanicial_yearInput = {
    where: DocumentSequenceWhereUniqueInput
    update: XOR<DocumentSequenceUpdateWithoutFinanicial_yearInput, DocumentSequenceUncheckedUpdateWithoutFinanicial_yearInput>
    create: XOR<DocumentSequenceCreateWithoutFinanicial_yearInput, DocumentSequenceUncheckedCreateWithoutFinanicial_yearInput>
  }

  export type DocumentSequenceUpdateWithWhereUniqueWithoutFinanicial_yearInput = {
    where: DocumentSequenceWhereUniqueInput
    data: XOR<DocumentSequenceUpdateWithoutFinanicial_yearInput, DocumentSequenceUncheckedUpdateWithoutFinanicial_yearInput>
  }

  export type DocumentSequenceUpdateManyWithWhereWithoutFinanicial_yearInput = {
    where: DocumentSequenceScalarWhereInput
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearInput>
  }

  export type UserUpsertWithoutCreated_fin_yearsInput = {
    update: XOR<UserUpdateWithoutCreated_fin_yearsInput, UserUncheckedUpdateWithoutCreated_fin_yearsInput>
    create: XOR<UserCreateWithoutCreated_fin_yearsInput, UserUncheckedCreateWithoutCreated_fin_yearsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_fin_yearsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_fin_yearsInput, UserUncheckedUpdateWithoutCreated_fin_yearsInput>
  }

  export type UserUpdateWithoutCreated_fin_yearsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_fin_yearsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_fin_yearsInput = {
    update: XOR<UserUpdateWithoutUpdated_fin_yearsInput, UserUncheckedUpdateWithoutUpdated_fin_yearsInput>
    create: XOR<UserCreateWithoutUpdated_fin_yearsInput, UserUncheckedCreateWithoutUpdated_fin_yearsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_fin_yearsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_fin_yearsInput, UserUncheckedUpdateWithoutUpdated_fin_yearsInput>
  }

  export type UserUpdateWithoutUpdated_fin_yearsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_fin_yearsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_fin_yearsInput = {
    update: XOR<UserUpdateWithoutDeleted_fin_yearsInput, UserUncheckedUpdateWithoutDeleted_fin_yearsInput>
    create: XOR<UserCreateWithoutDeleted_fin_yearsInput, UserUncheckedCreateWithoutDeleted_fin_yearsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_fin_yearsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_fin_yearsInput, UserUncheckedUpdateWithoutDeleted_fin_yearsInput>
  }

  export type UserUpdateWithoutDeleted_fin_yearsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_fin_yearsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutDocument_sequencesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDocument_sequencesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDocument_sequencesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDocument_sequencesInput, StatusUncheckedCreateWithoutDocument_sequencesInput>
  }

  export type FinancialYearCreateWithoutDocument_sequenceInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutFinancial_yearsInput
    created?: UserCreateNestedOneWithoutCreated_fin_yearsInput
    updated?: UserCreateNestedOneWithoutUpdated_fin_yearsInput
    deleted?: UserCreateNestedOneWithoutDeleted_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateWithoutDocument_sequenceInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type FinancialYearCreateOrConnectWithoutDocument_sequenceInput = {
    where: FinancialYearWhereUniqueInput
    create: XOR<FinancialYearCreateWithoutDocument_sequenceInput, FinancialYearUncheckedCreateWithoutDocument_sequenceInput>
  }

  export type UserCreateWithoutCreated_doc_sequencesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_doc_sequencesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_doc_sequencesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_doc_sequencesInput, UserUncheckedCreateWithoutCreated_doc_sequencesInput>
  }

  export type UserCreateWithoutUpdated_doc_sequencesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_doc_sequencesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_doc_sequencesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_doc_sequencesInput, UserUncheckedCreateWithoutUpdated_doc_sequencesInput>
  }

  export type UserCreateWithoutDeleted_doc_sequencesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_doc_sequencesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_doc_sequencesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_doc_sequencesInput, UserUncheckedCreateWithoutDeleted_doc_sequencesInput>
  }

  export type StatusUpsertWithoutDocument_sequencesInput = {
    update: XOR<StatusUpdateWithoutDocument_sequencesInput, StatusUncheckedUpdateWithoutDocument_sequencesInput>
    create: XOR<StatusCreateWithoutDocument_sequencesInput, StatusUncheckedCreateWithoutDocument_sequencesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDocument_sequencesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDocument_sequencesInput, StatusUncheckedUpdateWithoutDocument_sequencesInput>
  }

  export type StatusUpdateWithoutDocument_sequencesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDocument_sequencesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type FinancialYearUpsertWithoutDocument_sequenceInput = {
    update: XOR<FinancialYearUpdateWithoutDocument_sequenceInput, FinancialYearUncheckedUpdateWithoutDocument_sequenceInput>
    create: XOR<FinancialYearCreateWithoutDocument_sequenceInput, FinancialYearUncheckedCreateWithoutDocument_sequenceInput>
    where?: FinancialYearWhereInput
  }

  export type FinancialYearUpdateToOneWithWhereWithoutDocument_sequenceInput = {
    where?: FinancialYearWhereInput
    data: XOR<FinancialYearUpdateWithoutDocument_sequenceInput, FinancialYearUncheckedUpdateWithoutDocument_sequenceInput>
  }

  export type FinancialYearUpdateWithoutDocument_sequenceInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput
    created?: UserUpdateOneWithoutCreated_fin_yearsNestedInput
    updated?: UserUpdateOneWithoutUpdated_fin_yearsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateWithoutDocument_sequenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpsertWithoutCreated_doc_sequencesInput = {
    update: XOR<UserUpdateWithoutCreated_doc_sequencesInput, UserUncheckedUpdateWithoutCreated_doc_sequencesInput>
    create: XOR<UserCreateWithoutCreated_doc_sequencesInput, UserUncheckedCreateWithoutCreated_doc_sequencesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_doc_sequencesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_doc_sequencesInput, UserUncheckedUpdateWithoutCreated_doc_sequencesInput>
  }

  export type UserUpdateWithoutCreated_doc_sequencesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_doc_sequencesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_doc_sequencesInput = {
    update: XOR<UserUpdateWithoutUpdated_doc_sequencesInput, UserUncheckedUpdateWithoutUpdated_doc_sequencesInput>
    create: XOR<UserCreateWithoutUpdated_doc_sequencesInput, UserUncheckedCreateWithoutUpdated_doc_sequencesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_doc_sequencesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_doc_sequencesInput, UserUncheckedUpdateWithoutUpdated_doc_sequencesInput>
  }

  export type UserUpdateWithoutUpdated_doc_sequencesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_doc_sequencesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_doc_sequencesInput = {
    update: XOR<UserUpdateWithoutDeleted_doc_sequencesInput, UserUncheckedUpdateWithoutDeleted_doc_sequencesInput>
    create: XOR<UserCreateWithoutDeleted_doc_sequencesInput, UserUncheckedCreateWithoutDeleted_doc_sequencesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_doc_sequencesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_doc_sequencesInput, UserUncheckedUpdateWithoutDeleted_doc_sequencesInput>
  }

  export type UserUpdateWithoutDeleted_doc_sequencesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_doc_sequencesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutAudit_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutAudit_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutAudit_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutAudit_logsInput, StatusUncheckedCreateWithoutAudit_logsInput>
  }

  export type UserCreateWithoutAudit_logsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutAudit_logsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutAudit_logsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutAudit_logsInput, UserUncheckedCreateWithoutAudit_logsInput>
  }

  export type StatusUpsertWithoutAudit_logsInput = {
    update: XOR<StatusUpdateWithoutAudit_logsInput, StatusUncheckedUpdateWithoutAudit_logsInput>
    create: XOR<StatusCreateWithoutAudit_logsInput, StatusUncheckedCreateWithoutAudit_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutAudit_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutAudit_logsInput, StatusUncheckedUpdateWithoutAudit_logsInput>
  }

  export type StatusUpdateWithoutAudit_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutAudit_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutAudit_logsInput = {
    update: XOR<UserUpdateWithoutAudit_logsInput, UserUncheckedUpdateWithoutAudit_logsInput>
    create: XOR<UserCreateWithoutAudit_logsInput, UserUncheckedCreateWithoutAudit_logsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutAudit_logsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutAudit_logsInput, UserUncheckedUpdateWithoutAudit_logsInput>
  }

  export type UserUpdateWithoutAudit_logsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutAudit_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutPermissionsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutPermissionsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutPermissionsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutPermissionsInput, StatusUncheckedCreateWithoutPermissionsInput>
  }

  export type MasterEntityCreateWithoutPermissionsInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateWithoutPermissionsInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityCreateOrConnectWithoutPermissionsInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutPermissionsInput, MasterEntityUncheckedCreateWithoutPermissionsInput>
  }

  export type RolePermissionsCreateWithoutPermissionInput = {
    role: RoleCreateNestedOneWithoutPermissionsInput
  }

  export type RolePermissionsUncheckedCreateWithoutPermissionInput = {
    role_id: number
  }

  export type RolePermissionsCreateOrConnectWithoutPermissionInput = {
    where: RolePermissionsWhereUniqueInput
    create: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput>
  }

  export type RolePermissionsCreateManyPermissionInputEnvelope = {
    data: RolePermissionsCreateManyPermissionInput | RolePermissionsCreateManyPermissionInput[]
    skipDuplicates?: boolean
  }

  export type UserPermissionsCreateWithoutPermissionInput = {
    user: UserCreateNestedOneWithoutPermissionsInput
  }

  export type UserPermissionsUncheckedCreateWithoutPermissionInput = {
    user_id: number
  }

  export type UserPermissionsCreateOrConnectWithoutPermissionInput = {
    where: UserPermissionsWhereUniqueInput
    create: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput>
  }

  export type UserPermissionsCreateManyPermissionInputEnvelope = {
    data: UserPermissionsCreateManyPermissionInput | UserPermissionsCreateManyPermissionInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutPermissionInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutPermissionInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutPermissionInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput>
  }

  export type MenuItemsCreateManyPermissionInputEnvelope = {
    data: MenuItemsCreateManyPermissionInput | MenuItemsCreateManyPermissionInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutPermissionsInput = {
    update: XOR<StatusUpdateWithoutPermissionsInput, StatusUncheckedUpdateWithoutPermissionsInput>
    create: XOR<StatusCreateWithoutPermissionsInput, StatusUncheckedCreateWithoutPermissionsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutPermissionsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutPermissionsInput, StatusUncheckedUpdateWithoutPermissionsInput>
  }

  export type StatusUpdateWithoutPermissionsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutPermissionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MasterEntityUpsertWithoutPermissionsInput = {
    update: XOR<MasterEntityUpdateWithoutPermissionsInput, MasterEntityUncheckedUpdateWithoutPermissionsInput>
    create: XOR<MasterEntityCreateWithoutPermissionsInput, MasterEntityUncheckedCreateWithoutPermissionsInput>
    where?: MasterEntityWhereInput
  }

  export type MasterEntityUpdateToOneWithWhereWithoutPermissionsInput = {
    where?: MasterEntityWhereInput
    data: XOR<MasterEntityUpdateWithoutPermissionsInput, MasterEntityUncheckedUpdateWithoutPermissionsInput>
  }

  export type MasterEntityUpdateWithoutPermissionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutPermissionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type RolePermissionsUpsertWithWhereUniqueWithoutPermissionInput = {
    where: RolePermissionsWhereUniqueInput
    update: XOR<RolePermissionsUpdateWithoutPermissionInput, RolePermissionsUncheckedUpdateWithoutPermissionInput>
    create: XOR<RolePermissionsCreateWithoutPermissionInput, RolePermissionsUncheckedCreateWithoutPermissionInput>
  }

  export type RolePermissionsUpdateWithWhereUniqueWithoutPermissionInput = {
    where: RolePermissionsWhereUniqueInput
    data: XOR<RolePermissionsUpdateWithoutPermissionInput, RolePermissionsUncheckedUpdateWithoutPermissionInput>
  }

  export type RolePermissionsUpdateManyWithWhereWithoutPermissionInput = {
    where: RolePermissionsScalarWhereInput
    data: XOR<RolePermissionsUpdateManyMutationInput, RolePermissionsUncheckedUpdateManyWithoutPermissionInput>
  }

  export type RolePermissionsScalarWhereInput = {
    AND?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
    OR?: RolePermissionsScalarWhereInput[]
    NOT?: RolePermissionsScalarWhereInput | RolePermissionsScalarWhereInput[]
    role_id?: IntFilter<"RolePermissions"> | number
    permission_id?: IntFilter<"RolePermissions"> | number
    company_id?: IntFilter<"RolePermissions"> | number
  }

  export type UserPermissionsUpsertWithWhereUniqueWithoutPermissionInput = {
    where: UserPermissionsWhereUniqueInput
    update: XOR<UserPermissionsUpdateWithoutPermissionInput, UserPermissionsUncheckedUpdateWithoutPermissionInput>
    create: XOR<UserPermissionsCreateWithoutPermissionInput, UserPermissionsUncheckedCreateWithoutPermissionInput>
  }

  export type UserPermissionsUpdateWithWhereUniqueWithoutPermissionInput = {
    where: UserPermissionsWhereUniqueInput
    data: XOR<UserPermissionsUpdateWithoutPermissionInput, UserPermissionsUncheckedUpdateWithoutPermissionInput>
  }

  export type UserPermissionsUpdateManyWithWhereWithoutPermissionInput = {
    where: UserPermissionsScalarWhereInput
    data: XOR<UserPermissionsUpdateManyMutationInput, UserPermissionsUncheckedUpdateManyWithoutPermissionInput>
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutPermissionInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutPermissionInput, MenuItemsUncheckedUpdateWithoutPermissionInput>
    create: XOR<MenuItemsCreateWithoutPermissionInput, MenuItemsUncheckedCreateWithoutPermissionInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutPermissionInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutPermissionInput, MenuItemsUncheckedUpdateWithoutPermissionInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutPermissionInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutPermissionInput>
  }

  export type StatusCreateWithoutRolesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutRolesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutRolesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutRolesInput, StatusUncheckedCreateWithoutRolesInput>
  }

  export type RolePermissionsCreateWithoutRoleInput = {
    permission: PermissionsCreateNestedOneWithoutRolesInput
  }

  export type RolePermissionsUncheckedCreateWithoutRoleInput = {
    permission_id: number
  }

  export type RolePermissionsCreateOrConnectWithoutRoleInput = {
    where: RolePermissionsWhereUniqueInput
    create: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput>
  }

  export type RolePermissionsCreateManyRoleInputEnvelope = {
    data: RolePermissionsCreateManyRoleInput | RolePermissionsCreateManyRoleInput[]
    skipDuplicates?: boolean
  }

  export type UserRolesCreateWithoutRoleInput = {
    user: UserCreateNestedOneWithoutRolesInput
  }

  export type UserRolesUncheckedCreateWithoutRoleInput = {
    user_id: number
  }

  export type UserRolesCreateOrConnectWithoutRoleInput = {
    where: UserRolesWhereUniqueInput
    create: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput>
  }

  export type UserRolesCreateManyRoleInputEnvelope = {
    data: UserRolesCreateManyRoleInput | UserRolesCreateManyRoleInput[]
    skipDuplicates?: boolean
  }

  export type RolePoliciesCreateWithoutRoleInput = {
    policy: PoliciesCreateNestedOneWithoutRole_policyInput
  }

  export type RolePoliciesUncheckedCreateWithoutRoleInput = {
    policy_id: number
  }

  export type RolePoliciesCreateOrConnectWithoutRoleInput = {
    where: RolePoliciesWhereUniqueInput
    create: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput>
  }

  export type RolePoliciesCreateManyRoleInputEnvelope = {
    data: RolePoliciesCreateManyRoleInput | RolePoliciesCreateManyRoleInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_rolesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_rolesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_rolesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_rolesInput, UserUncheckedCreateWithoutCreated_rolesInput>
  }

  export type UserCreateWithoutUpdated_rolesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_rolesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_rolesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_rolesInput, UserUncheckedCreateWithoutUpdated_rolesInput>
  }

  export type UserCreateWithoutDeleted_rolesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_rolesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_rolesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_rolesInput, UserUncheckedCreateWithoutDeleted_rolesInput>
  }

  export type StatusUpsertWithoutRolesInput = {
    update: XOR<StatusUpdateWithoutRolesInput, StatusUncheckedUpdateWithoutRolesInput>
    create: XOR<StatusCreateWithoutRolesInput, StatusUncheckedCreateWithoutRolesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutRolesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutRolesInput, StatusUncheckedUpdateWithoutRolesInput>
  }

  export type StatusUpdateWithoutRolesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutRolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type RolePermissionsUpsertWithWhereUniqueWithoutRoleInput = {
    where: RolePermissionsWhereUniqueInput
    update: XOR<RolePermissionsUpdateWithoutRoleInput, RolePermissionsUncheckedUpdateWithoutRoleInput>
    create: XOR<RolePermissionsCreateWithoutRoleInput, RolePermissionsUncheckedCreateWithoutRoleInput>
  }

  export type RolePermissionsUpdateWithWhereUniqueWithoutRoleInput = {
    where: RolePermissionsWhereUniqueInput
    data: XOR<RolePermissionsUpdateWithoutRoleInput, RolePermissionsUncheckedUpdateWithoutRoleInput>
  }

  export type RolePermissionsUpdateManyWithWhereWithoutRoleInput = {
    where: RolePermissionsScalarWhereInput
    data: XOR<RolePermissionsUpdateManyMutationInput, RolePermissionsUncheckedUpdateManyWithoutRoleInput>
  }

  export type UserRolesUpsertWithWhereUniqueWithoutRoleInput = {
    where: UserRolesWhereUniqueInput
    update: XOR<UserRolesUpdateWithoutRoleInput, UserRolesUncheckedUpdateWithoutRoleInput>
    create: XOR<UserRolesCreateWithoutRoleInput, UserRolesUncheckedCreateWithoutRoleInput>
  }

  export type UserRolesUpdateWithWhereUniqueWithoutRoleInput = {
    where: UserRolesWhereUniqueInput
    data: XOR<UserRolesUpdateWithoutRoleInput, UserRolesUncheckedUpdateWithoutRoleInput>
  }

  export type UserRolesUpdateManyWithWhereWithoutRoleInput = {
    where: UserRolesScalarWhereInput
    data: XOR<UserRolesUpdateManyMutationInput, UserRolesUncheckedUpdateManyWithoutRoleInput>
  }

  export type RolePoliciesUpsertWithWhereUniqueWithoutRoleInput = {
    where: RolePoliciesWhereUniqueInput
    update: XOR<RolePoliciesUpdateWithoutRoleInput, RolePoliciesUncheckedUpdateWithoutRoleInput>
    create: XOR<RolePoliciesCreateWithoutRoleInput, RolePoliciesUncheckedCreateWithoutRoleInput>
  }

  export type RolePoliciesUpdateWithWhereUniqueWithoutRoleInput = {
    where: RolePoliciesWhereUniqueInput
    data: XOR<RolePoliciesUpdateWithoutRoleInput, RolePoliciesUncheckedUpdateWithoutRoleInput>
  }

  export type RolePoliciesUpdateManyWithWhereWithoutRoleInput = {
    where: RolePoliciesScalarWhereInput
    data: XOR<RolePoliciesUpdateManyMutationInput, RolePoliciesUncheckedUpdateManyWithoutRoleInput>
  }

  export type RolePoliciesScalarWhereInput = {
    AND?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
    OR?: RolePoliciesScalarWhereInput[]
    NOT?: RolePoliciesScalarWhereInput | RolePoliciesScalarWhereInput[]
    company_id?: IntFilter<"RolePolicies"> | number
    policy_id?: IntFilter<"RolePolicies"> | number
    role_id?: IntFilter<"RolePolicies"> | number
  }

  export type UserUpsertWithoutCreated_rolesInput = {
    update: XOR<UserUpdateWithoutCreated_rolesInput, UserUncheckedUpdateWithoutCreated_rolesInput>
    create: XOR<UserCreateWithoutCreated_rolesInput, UserUncheckedCreateWithoutCreated_rolesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_rolesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_rolesInput, UserUncheckedUpdateWithoutCreated_rolesInput>
  }

  export type UserUpdateWithoutCreated_rolesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_rolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_rolesInput = {
    update: XOR<UserUpdateWithoutUpdated_rolesInput, UserUncheckedUpdateWithoutUpdated_rolesInput>
    create: XOR<UserCreateWithoutUpdated_rolesInput, UserUncheckedCreateWithoutUpdated_rolesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_rolesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_rolesInput, UserUncheckedUpdateWithoutUpdated_rolesInput>
  }

  export type UserUpdateWithoutUpdated_rolesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_rolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_rolesInput = {
    update: XOR<UserUpdateWithoutDeleted_rolesInput, UserUncheckedUpdateWithoutDeleted_rolesInput>
    create: XOR<UserCreateWithoutDeleted_rolesInput, UserUncheckedCreateWithoutDeleted_rolesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_rolesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_rolesInput, UserUncheckedUpdateWithoutDeleted_rolesInput>
  }

  export type UserUpdateWithoutDeleted_rolesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_rolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type RoleCreateWithoutPermissionsInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutPermissionsInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutPermissionsInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutPermissionsInput, RoleUncheckedCreateWithoutPermissionsInput>
  }

  export type PermissionsCreateWithoutRolesInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutPermissionsInput
    entity?: MasterEntityCreateNestedOneWithoutPermissionsInput
    users?: UserPermissionsCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateWithoutRolesInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    users?: UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsCreateOrConnectWithoutRolesInput = {
    where: PermissionsWhereUniqueInput
    create: XOR<PermissionsCreateWithoutRolesInput, PermissionsUncheckedCreateWithoutRolesInput>
  }

  export type RoleUpsertWithoutPermissionsInput = {
    update: XOR<RoleUpdateWithoutPermissionsInput, RoleUncheckedUpdateWithoutPermissionsInput>
    create: XOR<RoleCreateWithoutPermissionsInput, RoleUncheckedCreateWithoutPermissionsInput>
    where?: RoleWhereInput
  }

  export type RoleUpdateToOneWithWhereWithoutPermissionsInput = {
    where?: RoleWhereInput
    data: XOR<RoleUpdateWithoutPermissionsInput, RoleUncheckedUpdateWithoutPermissionsInput>
  }

  export type RoleUpdateWithoutPermissionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutPermissionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type PermissionsUpsertWithoutRolesInput = {
    update: XOR<PermissionsUpdateWithoutRolesInput, PermissionsUncheckedUpdateWithoutRolesInput>
    create: XOR<PermissionsCreateWithoutRolesInput, PermissionsUncheckedCreateWithoutRolesInput>
    where?: PermissionsWhereInput
  }

  export type PermissionsUpdateToOneWithWhereWithoutRolesInput = {
    where?: PermissionsWhereInput
    data: XOR<PermissionsUpdateWithoutRolesInput, PermissionsUncheckedUpdateWithoutRolesInput>
  }

  export type PermissionsUpdateWithoutRolesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutPermissionsNestedInput
    entity?: MasterEntityUpdateOneWithoutPermissionsNestedInput
    users?: UserPermissionsUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateWithoutRolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    users?: UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type UserCreateWithoutRolesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutRolesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutRolesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutRolesInput, UserUncheckedCreateWithoutRolesInput>
  }

  export type RoleCreateWithoutUsersInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutUsersInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutUsersInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutUsersInput, RoleUncheckedCreateWithoutUsersInput>
  }

  export type UserUpsertWithoutRolesInput = {
    update: XOR<UserUpdateWithoutRolesInput, UserUncheckedUpdateWithoutRolesInput>
    create: XOR<UserCreateWithoutRolesInput, UserUncheckedCreateWithoutRolesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutRolesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutRolesInput, UserUncheckedUpdateWithoutRolesInput>
  }

  export type UserUpdateWithoutRolesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutRolesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type RoleUpsertWithoutUsersInput = {
    update: XOR<RoleUpdateWithoutUsersInput, RoleUncheckedUpdateWithoutUsersInput>
    create: XOR<RoleCreateWithoutUsersInput, RoleUncheckedCreateWithoutUsersInput>
    where?: RoleWhereInput
  }

  export type RoleUpdateToOneWithWhereWithoutUsersInput = {
    where?: RoleWhereInput
    data: XOR<RoleUpdateWithoutUsersInput, RoleUncheckedUpdateWithoutUsersInput>
  }

  export type RoleUpdateWithoutUsersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutUsersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type UserCreateWithoutPermissionsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutPermissionsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutPermissionsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutPermissionsInput, UserUncheckedCreateWithoutPermissionsInput>
  }

  export type PermissionsCreateWithoutUsersInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutPermissionsInput
    entity?: MasterEntityCreateNestedOneWithoutPermissionsInput
    roles?: RolePermissionsCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateWithoutUsersInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    roles?: RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsCreateOrConnectWithoutUsersInput = {
    where: PermissionsWhereUniqueInput
    create: XOR<PermissionsCreateWithoutUsersInput, PermissionsUncheckedCreateWithoutUsersInput>
  }

  export type UserUpsertWithoutPermissionsInput = {
    update: XOR<UserUpdateWithoutPermissionsInput, UserUncheckedUpdateWithoutPermissionsInput>
    create: XOR<UserCreateWithoutPermissionsInput, UserUncheckedCreateWithoutPermissionsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutPermissionsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutPermissionsInput, UserUncheckedUpdateWithoutPermissionsInput>
  }

  export type UserUpdateWithoutPermissionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutPermissionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type PermissionsUpsertWithoutUsersInput = {
    update: XOR<PermissionsUpdateWithoutUsersInput, PermissionsUncheckedUpdateWithoutUsersInput>
    create: XOR<PermissionsCreateWithoutUsersInput, PermissionsUncheckedCreateWithoutUsersInput>
    where?: PermissionsWhereInput
  }

  export type PermissionsUpdateToOneWithWhereWithoutUsersInput = {
    where?: PermissionsWhereInput
    data: XOR<PermissionsUpdateWithoutUsersInput, PermissionsUncheckedUpdateWithoutUsersInput>
  }

  export type PermissionsUpdateWithoutUsersInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutPermissionsNestedInput
    entity?: MasterEntityUpdateOneWithoutPermissionsNestedInput
    roles?: RolePermissionsUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateWithoutUsersInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    roles?: RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type UserCreateWithoutOtpsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutOtpsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutOtpsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutOtpsInput, UserUncheckedCreateWithoutOtpsInput>
  }

  export type UserUpsertWithoutOtpsInput = {
    update: XOR<UserUpdateWithoutOtpsInput, UserUncheckedUpdateWithoutOtpsInput>
    create: XOR<UserCreateWithoutOtpsInput, UserUncheckedCreateWithoutOtpsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutOtpsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutOtpsInput, UserUncheckedUpdateWithoutOtpsInput>
  }

  export type UserUpdateWithoutOtpsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutOtpsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutLanguagesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutLanguagesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutLanguagesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutLanguagesInput, StatusUncheckedCreateWithoutLanguagesInput>
  }

  export type LanguageContentCreateWithoutLanguageInput = {
    key_content: string
    values: string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutLanguage_contentsInput
  }

  export type LanguageContentUncheckedCreateWithoutLanguageInput = {
    id?: number
    key_content: string
    values: string
    status_id?: number
    created_at?: Date | string
  }

  export type LanguageContentCreateOrConnectWithoutLanguageInput = {
    where: LanguageContentWhereUniqueInput
    create: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput>
  }

  export type LanguageContentCreateManyLanguageInputEnvelope = {
    data: LanguageContentCreateManyLanguageInput | LanguageContentCreateManyLanguageInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_languagesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_languagesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_languagesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_languagesInput, UserUncheckedCreateWithoutCreated_languagesInput>
  }

  export type UserCreateWithoutUpdated_languagesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_languagesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_languagesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_languagesInput, UserUncheckedCreateWithoutUpdated_languagesInput>
  }

  export type UserCreateWithoutDeleted_languagesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_languagesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_languagesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_languagesInput, UserUncheckedCreateWithoutDeleted_languagesInput>
  }

  export type StatusUpsertWithoutLanguagesInput = {
    update: XOR<StatusUpdateWithoutLanguagesInput, StatusUncheckedUpdateWithoutLanguagesInput>
    create: XOR<StatusCreateWithoutLanguagesInput, StatusUncheckedCreateWithoutLanguagesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutLanguagesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutLanguagesInput, StatusUncheckedUpdateWithoutLanguagesInput>
  }

  export type StatusUpdateWithoutLanguagesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutLanguagesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type LanguageContentUpsertWithWhereUniqueWithoutLanguageInput = {
    where: LanguageContentWhereUniqueInput
    update: XOR<LanguageContentUpdateWithoutLanguageInput, LanguageContentUncheckedUpdateWithoutLanguageInput>
    create: XOR<LanguageContentCreateWithoutLanguageInput, LanguageContentUncheckedCreateWithoutLanguageInput>
  }

  export type LanguageContentUpdateWithWhereUniqueWithoutLanguageInput = {
    where: LanguageContentWhereUniqueInput
    data: XOR<LanguageContentUpdateWithoutLanguageInput, LanguageContentUncheckedUpdateWithoutLanguageInput>
  }

  export type LanguageContentUpdateManyWithWhereWithoutLanguageInput = {
    where: LanguageContentScalarWhereInput
    data: XOR<LanguageContentUpdateManyMutationInput, LanguageContentUncheckedUpdateManyWithoutLanguageInput>
  }

  export type LanguageContentScalarWhereInput = {
    AND?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
    OR?: LanguageContentScalarWhereInput[]
    NOT?: LanguageContentScalarWhereInput | LanguageContentScalarWhereInput[]
    id?: IntFilter<"LanguageContent"> | number
    language_id?: IntFilter<"LanguageContent"> | number
    key_content?: StringFilter<"LanguageContent"> | string
    values?: StringFilter<"LanguageContent"> | string
    status_id?: IntFilter<"LanguageContent"> | number
    company_id?: IntFilter<"LanguageContent"> | number
    created_at?: DateTimeFilter<"LanguageContent"> | Date | string
  }

  export type UserUpsertWithoutCreated_languagesInput = {
    update: XOR<UserUpdateWithoutCreated_languagesInput, UserUncheckedUpdateWithoutCreated_languagesInput>
    create: XOR<UserCreateWithoutCreated_languagesInput, UserUncheckedCreateWithoutCreated_languagesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_languagesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_languagesInput, UserUncheckedUpdateWithoutCreated_languagesInput>
  }

  export type UserUpdateWithoutCreated_languagesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_languagesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_languagesInput = {
    update: XOR<UserUpdateWithoutUpdated_languagesInput, UserUncheckedUpdateWithoutUpdated_languagesInput>
    create: XOR<UserCreateWithoutUpdated_languagesInput, UserUncheckedCreateWithoutUpdated_languagesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_languagesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_languagesInput, UserUncheckedUpdateWithoutUpdated_languagesInput>
  }

  export type UserUpdateWithoutUpdated_languagesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_languagesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_languagesInput = {
    update: XOR<UserUpdateWithoutDeleted_languagesInput, UserUncheckedUpdateWithoutDeleted_languagesInput>
    create: XOR<UserCreateWithoutDeleted_languagesInput, UserUncheckedCreateWithoutDeleted_languagesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_languagesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_languagesInput, UserUncheckedUpdateWithoutDeleted_languagesInput>
  }

  export type UserUpdateWithoutDeleted_languagesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_languagesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutLanguage_contentsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutLanguage_contentsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutLanguage_contentsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutLanguage_contentsInput, StatusUncheckedCreateWithoutLanguage_contentsInput>
  }

  export type LanguageCreateWithoutTranslationsInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutLanguagesInput
    created?: UserCreateNestedOneWithoutCreated_languagesInput
    updated?: UserCreateNestedOneWithoutUpdated_languagesInput
    deleted?: UserCreateNestedOneWithoutDeleted_languagesInput
  }

  export type LanguageUncheckedCreateWithoutTranslationsInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageCreateOrConnectWithoutTranslationsInput = {
    where: LanguageWhereUniqueInput
    create: XOR<LanguageCreateWithoutTranslationsInput, LanguageUncheckedCreateWithoutTranslationsInput>
  }

  export type StatusUpsertWithoutLanguage_contentsInput = {
    update: XOR<StatusUpdateWithoutLanguage_contentsInput, StatusUncheckedUpdateWithoutLanguage_contentsInput>
    create: XOR<StatusCreateWithoutLanguage_contentsInput, StatusUncheckedCreateWithoutLanguage_contentsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutLanguage_contentsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutLanguage_contentsInput, StatusUncheckedUpdateWithoutLanguage_contentsInput>
  }

  export type StatusUpdateWithoutLanguage_contentsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutLanguage_contentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type LanguageUpsertWithoutTranslationsInput = {
    update: XOR<LanguageUpdateWithoutTranslationsInput, LanguageUncheckedUpdateWithoutTranslationsInput>
    create: XOR<LanguageCreateWithoutTranslationsInput, LanguageUncheckedCreateWithoutTranslationsInput>
    where?: LanguageWhereInput
  }

  export type LanguageUpdateToOneWithWhereWithoutTranslationsInput = {
    where?: LanguageWhereInput
    data: XOR<LanguageUpdateWithoutTranslationsInput, LanguageUncheckedUpdateWithoutTranslationsInput>
  }

  export type LanguageUpdateWithoutTranslationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutLanguagesNestedInput
    created?: UserUpdateOneWithoutCreated_languagesNestedInput
    updated?: UserUpdateOneWithoutUpdated_languagesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_languagesNestedInput
  }

  export type LanguageUncheckedUpdateWithoutTranslationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type StatusCreateWithoutMenusInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutMenusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutMenusInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutMenusInput, StatusUncheckedCreateWithoutMenusInput>
  }

  export type MenuItemsCreateWithoutMenusInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutMenusInput = {
    id?: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutMenusInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput>
  }

  export type MenuItemsCreateManyMenusInputEnvelope = {
    data: MenuItemsCreateManyMenusInput | MenuItemsCreateManyMenusInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_menusInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_menusInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_menusInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_menusInput, UserUncheckedCreateWithoutCreated_menusInput>
  }

  export type UserCreateWithoutUpdated_menusInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_menusInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_menusInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_menusInput, UserUncheckedCreateWithoutUpdated_menusInput>
  }

  export type UserCreateWithoutDeleted_menusInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_menusInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_menusInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_menusInput, UserUncheckedCreateWithoutDeleted_menusInput>
  }

  export type StatusUpsertWithoutMenusInput = {
    update: XOR<StatusUpdateWithoutMenusInput, StatusUncheckedUpdateWithoutMenusInput>
    create: XOR<StatusCreateWithoutMenusInput, StatusUncheckedCreateWithoutMenusInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutMenusInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutMenusInput, StatusUncheckedUpdateWithoutMenusInput>
  }

  export type StatusUpdateWithoutMenusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutMenusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutMenusInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutMenusInput, MenuItemsUncheckedUpdateWithoutMenusInput>
    create: XOR<MenuItemsCreateWithoutMenusInput, MenuItemsUncheckedCreateWithoutMenusInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutMenusInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutMenusInput, MenuItemsUncheckedUpdateWithoutMenusInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutMenusInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutMenusInput>
  }

  export type UserUpsertWithoutCreated_menusInput = {
    update: XOR<UserUpdateWithoutCreated_menusInput, UserUncheckedUpdateWithoutCreated_menusInput>
    create: XOR<UserCreateWithoutCreated_menusInput, UserUncheckedCreateWithoutCreated_menusInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_menusInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_menusInput, UserUncheckedUpdateWithoutCreated_menusInput>
  }

  export type UserUpdateWithoutCreated_menusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_menusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_menusInput = {
    update: XOR<UserUpdateWithoutUpdated_menusInput, UserUncheckedUpdateWithoutUpdated_menusInput>
    create: XOR<UserCreateWithoutUpdated_menusInput, UserUncheckedCreateWithoutUpdated_menusInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_menusInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_menusInput, UserUncheckedUpdateWithoutUpdated_menusInput>
  }

  export type UserUpdateWithoutUpdated_menusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_menusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_menusInput = {
    update: XOR<UserUpdateWithoutDeleted_menusInput, UserUncheckedUpdateWithoutDeleted_menusInput>
    create: XOR<UserCreateWithoutDeleted_menusInput, UserUncheckedCreateWithoutDeleted_menusInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_menusInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_menusInput, UserUncheckedUpdateWithoutDeleted_menusInput>
  }

  export type UserUpdateWithoutDeleted_menusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_menusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutMenuitemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutMenuitemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutMenuitemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutMenuitemsInput, StatusUncheckedCreateWithoutMenuitemsInput>
  }

  export type MenusCreateWithoutMenuitemsInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenusInput
    created?: UserCreateNestedOneWithoutCreated_menusInput
    updated?: UserCreateNestedOneWithoutUpdated_menusInput
    deleted?: UserCreateNestedOneWithoutDeleted_menusInput
  }

  export type MenusUncheckedCreateWithoutMenuitemsInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusCreateOrConnectWithoutMenuitemsInput = {
    where: MenusWhereUniqueInput
    create: XOR<MenusCreateWithoutMenuitemsInput, MenusUncheckedCreateWithoutMenuitemsInput>
  }

  export type MasterEntityCreateWithoutMenusInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
  }

  export type MasterEntityUncheckedCreateWithoutMenusInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
  }

  export type MasterEntityCreateOrConnectWithoutMenusInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutMenusInput, MasterEntityUncheckedCreateWithoutMenusInput>
  }

  export type PermissionsCreateWithoutMenusInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutPermissionsInput
    entity?: MasterEntityCreateNestedOneWithoutPermissionsInput
    roles?: RolePermissionsCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateWithoutMenusInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    company_id: number
    created_at?: Date | string
    roles?: RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsCreateOrConnectWithoutMenusInput = {
    where: PermissionsWhereUniqueInput
    create: XOR<PermissionsCreateWithoutMenusInput, PermissionsUncheckedCreateWithoutMenusInput>
  }

  export type MenuItemsCreateWithoutChildrenInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutChildrenInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsCreateOrConnectWithoutChildrenInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutChildrenInput, MenuItemsUncheckedCreateWithoutChildrenInput>
  }

  export type MenuItemsCreateWithoutParentInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutParentInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutParentInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput>
  }

  export type MenuItemsCreateManyParentInputEnvelope = {
    data: MenuItemsCreateManyParentInput | MenuItemsCreateManyParentInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_menu_itemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_menu_itemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_menu_itemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_menu_itemsInput, UserUncheckedCreateWithoutCreated_menu_itemsInput>
  }

  export type UserCreateWithoutUpdated_menu_itemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_menu_itemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_menu_itemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_menu_itemsInput, UserUncheckedCreateWithoutUpdated_menu_itemsInput>
  }

  export type UserCreateWithoutDeleted_menu_itemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_menu_itemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_menu_itemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_menu_itemsInput, UserUncheckedCreateWithoutDeleted_menu_itemsInput>
  }

  export type StatusUpsertWithoutMenuitemsInput = {
    update: XOR<StatusUpdateWithoutMenuitemsInput, StatusUncheckedUpdateWithoutMenuitemsInput>
    create: XOR<StatusCreateWithoutMenuitemsInput, StatusUncheckedCreateWithoutMenuitemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutMenuitemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutMenuitemsInput, StatusUncheckedUpdateWithoutMenuitemsInput>
  }

  export type StatusUpdateWithoutMenuitemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutMenuitemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MenusUpsertWithoutMenuitemsInput = {
    update: XOR<MenusUpdateWithoutMenuitemsInput, MenusUncheckedUpdateWithoutMenuitemsInput>
    create: XOR<MenusCreateWithoutMenuitemsInput, MenusUncheckedCreateWithoutMenuitemsInput>
    where?: MenusWhereInput
  }

  export type MenusUpdateToOneWithWhereWithoutMenuitemsInput = {
    where?: MenusWhereInput
    data: XOR<MenusUpdateWithoutMenuitemsInput, MenusUncheckedUpdateWithoutMenuitemsInput>
  }

  export type MenusUpdateWithoutMenuitemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenusNestedInput
    created?: UserUpdateOneWithoutCreated_menusNestedInput
    updated?: UserUpdateOneWithoutUpdated_menusNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menusNestedInput
  }

  export type MenusUncheckedUpdateWithoutMenuitemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityUpsertWithoutMenusInput = {
    update: XOR<MasterEntityUpdateWithoutMenusInput, MasterEntityUncheckedUpdateWithoutMenusInput>
    create: XOR<MasterEntityCreateWithoutMenusInput, MasterEntityUncheckedCreateWithoutMenusInput>
    where?: MasterEntityWhereInput
  }

  export type MasterEntityUpdateToOneWithWhereWithoutMenusInput = {
    where?: MasterEntityWhereInput
    data: XOR<MasterEntityUpdateWithoutMenusInput, MasterEntityUncheckedUpdateWithoutMenusInput>
  }

  export type MasterEntityUpdateWithoutMenusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutMenusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
  }

  export type PermissionsUpsertWithoutMenusInput = {
    update: XOR<PermissionsUpdateWithoutMenusInput, PermissionsUncheckedUpdateWithoutMenusInput>
    create: XOR<PermissionsCreateWithoutMenusInput, PermissionsUncheckedCreateWithoutMenusInput>
    where?: PermissionsWhereInput
  }

  export type PermissionsUpdateToOneWithWhereWithoutMenusInput = {
    where?: PermissionsWhereInput
    data: XOR<PermissionsUpdateWithoutMenusInput, PermissionsUncheckedUpdateWithoutMenusInput>
  }

  export type PermissionsUpdateWithoutMenusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutPermissionsNestedInput
    entity?: MasterEntityUpdateOneWithoutPermissionsNestedInput
    roles?: RolePermissionsUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateWithoutMenusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    roles?: RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type MenuItemsUpsertWithoutChildrenInput = {
    update: XOR<MenuItemsUpdateWithoutChildrenInput, MenuItemsUncheckedUpdateWithoutChildrenInput>
    create: XOR<MenuItemsCreateWithoutChildrenInput, MenuItemsUncheckedCreateWithoutChildrenInput>
    where?: MenuItemsWhereInput
  }

  export type MenuItemsUpdateToOneWithWhereWithoutChildrenInput = {
    where?: MenuItemsWhereInput
    data: XOR<MenuItemsUpdateWithoutChildrenInput, MenuItemsUncheckedUpdateWithoutChildrenInput>
  }

  export type MenuItemsUpdateWithoutChildrenInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutChildrenInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutParentInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutParentInput, MenuItemsUncheckedUpdateWithoutParentInput>
    create: XOR<MenuItemsCreateWithoutParentInput, MenuItemsUncheckedCreateWithoutParentInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutParentInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutParentInput, MenuItemsUncheckedUpdateWithoutParentInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutParentInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutParentInput>
  }

  export type UserUpsertWithoutCreated_menu_itemsInput = {
    update: XOR<UserUpdateWithoutCreated_menu_itemsInput, UserUncheckedUpdateWithoutCreated_menu_itemsInput>
    create: XOR<UserCreateWithoutCreated_menu_itemsInput, UserUncheckedCreateWithoutCreated_menu_itemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_menu_itemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_menu_itemsInput, UserUncheckedUpdateWithoutCreated_menu_itemsInput>
  }

  export type UserUpdateWithoutCreated_menu_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_menu_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_menu_itemsInput = {
    update: XOR<UserUpdateWithoutUpdated_menu_itemsInput, UserUncheckedUpdateWithoutUpdated_menu_itemsInput>
    create: XOR<UserCreateWithoutUpdated_menu_itemsInput, UserUncheckedCreateWithoutUpdated_menu_itemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_menu_itemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_menu_itemsInput, UserUncheckedUpdateWithoutUpdated_menu_itemsInput>
  }

  export type UserUpdateWithoutUpdated_menu_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_menu_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_menu_itemsInput = {
    update: XOR<UserUpdateWithoutDeleted_menu_itemsInput, UserUncheckedUpdateWithoutDeleted_menu_itemsInput>
    create: XOR<UserCreateWithoutDeleted_menu_itemsInput, UserUncheckedCreateWithoutDeleted_menu_itemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_menu_itemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_menu_itemsInput, UserUncheckedUpdateWithoutDeleted_menu_itemsInput>
  }

  export type UserUpdateWithoutDeleted_menu_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_menu_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutAbout_lcpInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutAbout_lcpInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutAbout_lcpInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutAbout_lcpInput, StatusUncheckedCreateWithoutAbout_lcpInput>
  }

  export type StatusUpsertWithoutAbout_lcpInput = {
    update: XOR<StatusUpdateWithoutAbout_lcpInput, StatusUncheckedUpdateWithoutAbout_lcpInput>
    create: XOR<StatusCreateWithoutAbout_lcpInput, StatusUncheckedCreateWithoutAbout_lcpInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutAbout_lcpInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutAbout_lcpInput, StatusUncheckedUpdateWithoutAbout_lcpInput>
  }

  export type StatusUpdateWithoutAbout_lcpInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutAbout_lcpInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutUser_search_configurationsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutUser_search_configurationsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutUser_search_configurationsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutUser_search_configurationsInput, StatusUncheckedCreateWithoutUser_search_configurationsInput>
  }

  export type StatusUpsertWithoutUser_search_configurationsInput = {
    update: XOR<StatusUpdateWithoutUser_search_configurationsInput, StatusUncheckedUpdateWithoutUser_search_configurationsInput>
    create: XOR<StatusCreateWithoutUser_search_configurationsInput, StatusUncheckedCreateWithoutUser_search_configurationsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutUser_search_configurationsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutUser_search_configurationsInput, StatusUncheckedUpdateWithoutUser_search_configurationsInput>
  }

  export type StatusUpdateWithoutUser_search_configurationsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutUser_search_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MasterEntityCreateWithoutChildrenInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateWithoutChildrenInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityCreateOrConnectWithoutChildrenInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutChildrenInput, MasterEntityUncheckedCreateWithoutChildrenInput>
  }

  export type MasterEntityCreateWithoutAssociated_entityInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateWithoutAssociated_entityInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityCreateOrConnectWithoutAssociated_entityInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput>
  }

  export type MasterEntityCreateManyAssociated_entityInputEnvelope = {
    data: MasterEntityCreateManyAssociated_entityInput | MasterEntityCreateManyAssociated_entityInput[]
    skipDuplicates?: boolean
  }

  export type StatusCreateWithoutMaster_gridsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutMaster_gridsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutMaster_gridsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutMaster_gridsInput, StatusUncheckedCreateWithoutMaster_gridsInput>
  }

  export type PermissionsCreateWithoutEntityInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutPermissionsInput
    roles?: RolePermissionsCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateWithoutEntityInput = {
    id?: number
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
    roles?: RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsCreateOrConnectWithoutEntityInput = {
    where: PermissionsWhereUniqueInput
    create: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput>
  }

  export type PermissionsCreateManyEntityInputEnvelope = {
    data: PermissionsCreateManyEntityInput | PermissionsCreateManyEntityInput[]
    skipDuplicates?: boolean
  }

  export type MasterEntityLineItemCreateWithoutMaster_gridInput = {
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutMaster_grid_line_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutMaster_grid_lineitemInput
  }

  export type MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput = {
    id?: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemCreateOrConnectWithoutMaster_gridInput = {
    where: MasterEntityLineItemWhereUniqueInput
    create: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput>
  }

  export type MasterEntityLineItemCreateManyMaster_gridInputEnvelope = {
    data: MasterEntityLineItemCreateManyMaster_gridInput | MasterEntityLineItemCreateManyMaster_gridInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutEntityInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutMenuitemsInput
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutEntityInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutEntityInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput>
  }

  export type MenuItemsCreateManyEntityInputEnvelope = {
    data: MenuItemsCreateManyEntityInput | MenuItemsCreateManyEntityInput[]
    skipDuplicates?: boolean
  }

  export type MasterEntityUpsertWithoutChildrenInput = {
    update: XOR<MasterEntityUpdateWithoutChildrenInput, MasterEntityUncheckedUpdateWithoutChildrenInput>
    create: XOR<MasterEntityCreateWithoutChildrenInput, MasterEntityUncheckedCreateWithoutChildrenInput>
    where?: MasterEntityWhereInput
  }

  export type MasterEntityUpdateToOneWithWhereWithoutChildrenInput = {
    where?: MasterEntityWhereInput
    data: XOR<MasterEntityUpdateWithoutChildrenInput, MasterEntityUncheckedUpdateWithoutChildrenInput>
  }

  export type MasterEntityUpdateWithoutChildrenInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutChildrenInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUpsertWithWhereUniqueWithoutAssociated_entityInput = {
    where: MasterEntityWhereUniqueInput
    update: XOR<MasterEntityUpdateWithoutAssociated_entityInput, MasterEntityUncheckedUpdateWithoutAssociated_entityInput>
    create: XOR<MasterEntityCreateWithoutAssociated_entityInput, MasterEntityUncheckedCreateWithoutAssociated_entityInput>
  }

  export type MasterEntityUpdateWithWhereUniqueWithoutAssociated_entityInput = {
    where: MasterEntityWhereUniqueInput
    data: XOR<MasterEntityUpdateWithoutAssociated_entityInput, MasterEntityUncheckedUpdateWithoutAssociated_entityInput>
  }

  export type MasterEntityUpdateManyWithWhereWithoutAssociated_entityInput = {
    where: MasterEntityScalarWhereInput
    data: XOR<MasterEntityUpdateManyMutationInput, MasterEntityUncheckedUpdateManyWithoutAssociated_entityInput>
  }

  export type MasterEntityScalarWhereInput = {
    AND?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
    OR?: MasterEntityScalarWhereInput[]
    NOT?: MasterEntityScalarWhereInput | MasterEntityScalarWhereInput[]
    id?: IntFilter<"MasterEntity"> | number
    uuid?: UuidFilter<"MasterEntity"> | string
    name?: StringFilter<"MasterEntity"> | string
    entity_name?: StringFilter<"MasterEntity"> | string
    entity_type?: StringFilter<"MasterEntity"> | string
    report_type?: EnumReportTypeFilter<"MasterEntity"> | $Enums.ReportType
    primary_table?: StringNullableFilter<"MasterEntity"> | string | null
    is_admin_module?: BoolFilter<"MasterEntity"> | boolean
    draft_mode?: BoolFilter<"MasterEntity"> | boolean
    associated_tables?: JsonNullableFilter<"MasterEntity">
    associated_entity_name?: StringNullableFilter<"MasterEntity"> | string | null
    query_information?: JsonNullableFilter<"MasterEntity">
    form_information?: JsonNullableFilter<"MasterEntity">
    report_information?: JsonNullableFilter<"MasterEntity">
    add_query_information?: JsonNullableFilter<"MasterEntity">
    edit_query_information?: JsonNullableFilter<"MasterEntity">
    preset_query_information?: JsonNullableFilter<"MasterEntity">
    static_page_content?: StringNullableFilter<"MasterEntity"> | string | null
    header_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    footer_entity_id?: StringNullableFilter<"MasterEntity"> | string | null
    export_template_id?: IntNullableFilter<"MasterEntity"> | number | null
    export_template_file_name?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_group_id?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_type?: StringNullableFilter<"MasterEntity"> | string | null
    dashboard_wizard_rows?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_columns?: IntNullableFilter<"MasterEntity"> | number | null
    dashboard_wizard_order_no?: DecimalNullableFilter<"MasterEntity"> | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: JsonNullableFilter<"MasterEntity">
    dashboard_grid?: StringNullableFilter<"MasterEntity"> | string | null
    reload_timeout?: IntNullableFilter<"MasterEntity"> | number | null
    status_id?: IntFilter<"MasterEntity"> | number
    company_id?: IntFilter<"MasterEntity"> | number
    created_at?: DateTimeFilter<"MasterEntity"> | Date | string
    deleted_at?: DateTimeNullableFilter<"MasterEntity"> | Date | string | null
  }

  export type StatusUpsertWithoutMaster_gridsInput = {
    update: XOR<StatusUpdateWithoutMaster_gridsInput, StatusUncheckedUpdateWithoutMaster_gridsInput>
    create: XOR<StatusCreateWithoutMaster_gridsInput, StatusUncheckedCreateWithoutMaster_gridsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutMaster_gridsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutMaster_gridsInput, StatusUncheckedUpdateWithoutMaster_gridsInput>
  }

  export type StatusUpdateWithoutMaster_gridsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutMaster_gridsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type PermissionsUpsertWithWhereUniqueWithoutEntityInput = {
    where: PermissionsWhereUniqueInput
    update: XOR<PermissionsUpdateWithoutEntityInput, PermissionsUncheckedUpdateWithoutEntityInput>
    create: XOR<PermissionsCreateWithoutEntityInput, PermissionsUncheckedCreateWithoutEntityInput>
  }

  export type PermissionsUpdateWithWhereUniqueWithoutEntityInput = {
    where: PermissionsWhereUniqueInput
    data: XOR<PermissionsUpdateWithoutEntityInput, PermissionsUncheckedUpdateWithoutEntityInput>
  }

  export type PermissionsUpdateManyWithWhereWithoutEntityInput = {
    where: PermissionsScalarWhereInput
    data: XOR<PermissionsUpdateManyMutationInput, PermissionsUncheckedUpdateManyWithoutEntityInput>
  }

  export type PermissionsScalarWhereInput = {
    AND?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
    OR?: PermissionsScalarWhereInput[]
    NOT?: PermissionsScalarWhereInput | PermissionsScalarWhereInput[]
    id?: IntFilter<"Permissions"> | number
    name?: StringFilter<"Permissions"> | string
    slug?: StringFilter<"Permissions"> | string
    entity_id?: IntNullableFilter<"Permissions"> | number | null
    order_no?: DecimalFilter<"Permissions"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"Permissions"> | number
    company_id?: IntFilter<"Permissions"> | number
    created_at?: DateTimeFilter<"Permissions"> | Date | string
  }

  export type MasterEntityLineItemUpsertWithWhereUniqueWithoutMaster_gridInput = {
    where: MasterEntityLineItemWhereUniqueInput
    update: XOR<MasterEntityLineItemUpdateWithoutMaster_gridInput, MasterEntityLineItemUncheckedUpdateWithoutMaster_gridInput>
    create: XOR<MasterEntityLineItemCreateWithoutMaster_gridInput, MasterEntityLineItemUncheckedCreateWithoutMaster_gridInput>
  }

  export type MasterEntityLineItemUpdateWithWhereUniqueWithoutMaster_gridInput = {
    where: MasterEntityLineItemWhereUniqueInput
    data: XOR<MasterEntityLineItemUpdateWithoutMaster_gridInput, MasterEntityLineItemUncheckedUpdateWithoutMaster_gridInput>
  }

  export type MasterEntityLineItemUpdateManyWithWhereWithoutMaster_gridInput = {
    where: MasterEntityLineItemScalarWhereInput
    data: XOR<MasterEntityLineItemUpdateManyMutationInput, MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridInput>
  }

  export type MasterEntityLineItemScalarWhereInput = {
    AND?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
    OR?: MasterEntityLineItemScalarWhereInput[]
    NOT?: MasterEntityLineItemScalarWhereInput | MasterEntityLineItemScalarWhereInput[]
    id?: IntFilter<"MasterEntityLineItem"> | number
    master_grid_id?: IntFilter<"MasterEntityLineItem"> | number
    field_name?: StringFilter<"MasterEntityLineItem"> | string
    display_name?: StringFilter<"MasterEntityLineItem"> | string
    field_html_content?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    enum_values?: JsonNullableFilter<"MasterEntityLineItem">
    order_no?: DecimalFilter<"MasterEntityLineItem"> | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFilter<"MasterEntityLineItem"> | boolean
    is_searchable?: BoolFilter<"MasterEntityLineItem"> | boolean
    clause_type?: EnumClauseTypeFilter<"MasterEntityLineItem"> | $Enums.ClauseType
    is_sortable?: BoolFilter<"MasterEntityLineItem"> | boolean
    field_type_id?: IntFilter<"MasterEntityLineItem"> | number
    link_type?: StringFilter<"MasterEntityLineItem"> | string
    link_action?: StringNullableFilter<"MasterEntityLineItem"> | string | null
    link_mode?: StringFilter<"MasterEntityLineItem"> | string
    status_id?: IntFilter<"MasterEntityLineItem"> | number
    company_id?: IntFilter<"MasterEntityLineItem"> | number
    created_at?: DateTimeFilter<"MasterEntityLineItem"> | Date | string
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutEntityInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutEntityInput, MenuItemsUncheckedUpdateWithoutEntityInput>
    create: XOR<MenuItemsCreateWithoutEntityInput, MenuItemsUncheckedCreateWithoutEntityInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutEntityInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutEntityInput, MenuItemsUncheckedUpdateWithoutEntityInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutEntityInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutEntityInput>
  }

  export type StatusCreateWithoutMaster_grid_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutMaster_grid_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutMaster_grid_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutMaster_grid_line_itemsInput, StatusUncheckedCreateWithoutMaster_grid_line_itemsInput>
  }

  export type MasterEntityCreateWithoutLine_itemsInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    status?: StatusCreateNestedOneWithoutMaster_gridsInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateWithoutLine_itemsInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityCreateOrConnectWithoutLine_itemsInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutLine_itemsInput, MasterEntityUncheckedCreateWithoutLine_itemsInput>
  }

  export type FieldTypeCreateWithoutMaster_grid_lineitemInput = {
    field_type: string
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutField_typesInput
    importTemplateLineItem?: ImportTemplateLineItemCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUncheckedCreateWithoutMaster_grid_lineitemInput = {
    id?: number
    field_type: string
    company_id: number
    status_id?: number
    created_at?: Date | string
    importTemplateLineItem?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeCreateOrConnectWithoutMaster_grid_lineitemInput = {
    where: FieldTypeWhereUniqueInput
    create: XOR<FieldTypeCreateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedCreateWithoutMaster_grid_lineitemInput>
  }

  export type StatusUpsertWithoutMaster_grid_line_itemsInput = {
    update: XOR<StatusUpdateWithoutMaster_grid_line_itemsInput, StatusUncheckedUpdateWithoutMaster_grid_line_itemsInput>
    create: XOR<StatusCreateWithoutMaster_grid_line_itemsInput, StatusUncheckedCreateWithoutMaster_grid_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutMaster_grid_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutMaster_grid_line_itemsInput, StatusUncheckedUpdateWithoutMaster_grid_line_itemsInput>
  }

  export type StatusUpdateWithoutMaster_grid_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutMaster_grid_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MasterEntityUpsertWithoutLine_itemsInput = {
    update: XOR<MasterEntityUpdateWithoutLine_itemsInput, MasterEntityUncheckedUpdateWithoutLine_itemsInput>
    create: XOR<MasterEntityCreateWithoutLine_itemsInput, MasterEntityUncheckedCreateWithoutLine_itemsInput>
    where?: MasterEntityWhereInput
  }

  export type MasterEntityUpdateToOneWithWhereWithoutLine_itemsInput = {
    where?: MasterEntityWhereInput
    data: XOR<MasterEntityUpdateWithoutLine_itemsInput, MasterEntityUncheckedUpdateWithoutLine_itemsInput>
  }

  export type MasterEntityUpdateWithoutLine_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutLine_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type FieldTypeUpsertWithoutMaster_grid_lineitemInput = {
    update: XOR<FieldTypeUpdateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedUpdateWithoutMaster_grid_lineitemInput>
    create: XOR<FieldTypeCreateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedCreateWithoutMaster_grid_lineitemInput>
    where?: FieldTypeWhereInput
  }

  export type FieldTypeUpdateToOneWithWhereWithoutMaster_grid_lineitemInput = {
    where?: FieldTypeWhereInput
    data: XOR<FieldTypeUpdateWithoutMaster_grid_lineitemInput, FieldTypeUncheckedUpdateWithoutMaster_grid_lineitemInput>
  }

  export type FieldTypeUpdateWithoutMaster_grid_lineitemInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutField_typesNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateWithoutMaster_grid_lineitemInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    importTemplateLineItem?: ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
  }

  export type StatusCreateWithoutField_typesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutField_typesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutField_typesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutField_typesInput, StatusUncheckedCreateWithoutField_typesInput>
  }

  export type MasterEntityLineItemCreateWithoutField_typeInput = {
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutMaster_grid_line_itemsInput
    master_grid: MasterEntityCreateNestedOneWithoutLine_itemsInput
  }

  export type MasterEntityLineItemUncheckedCreateWithoutField_typeInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemCreateOrConnectWithoutField_typeInput = {
    where: MasterEntityLineItemWhereUniqueInput
    create: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type MasterEntityLineItemCreateManyField_typeInputEnvelope = {
    data: MasterEntityLineItemCreateManyField_typeInput | MasterEntityLineItemCreateManyField_typeInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateLineItemCreateWithoutField_typeInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutImport_template_line_itemsInput
    import_template: ImportTemplateCreateNestedOneWithoutLine_itemsInput
  }

  export type ImportTemplateLineItemUncheckedCreateWithoutField_typeInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    status_id?: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemCreateOrConnectWithoutField_typeInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    create: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type ImportTemplateLineItemCreateManyField_typeInputEnvelope = {
    data: ImportTemplateLineItemCreateManyField_typeInput | ImportTemplateLineItemCreateManyField_typeInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateLineItemCreateWithoutField_typeInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutExport_template_line_itemsInput
    export_template: ExportTemplateCreateNestedOneWithoutLine_itemsInput
  }

  export type ExportTemplateLineItemUncheckedCreateWithoutField_typeInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemCreateOrConnectWithoutField_typeInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    create: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type ExportTemplateLineItemCreateManyField_typeInputEnvelope = {
    data: ExportTemplateLineItemCreateManyField_typeInput | ExportTemplateLineItemCreateManyField_typeInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutField_typesInput = {
    update: XOR<StatusUpdateWithoutField_typesInput, StatusUncheckedUpdateWithoutField_typesInput>
    create: XOR<StatusCreateWithoutField_typesInput, StatusUncheckedCreateWithoutField_typesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutField_typesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutField_typesInput, StatusUncheckedUpdateWithoutField_typesInput>
  }

  export type StatusUpdateWithoutField_typesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutField_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type MasterEntityLineItemUpsertWithWhereUniqueWithoutField_typeInput = {
    where: MasterEntityLineItemWhereUniqueInput
    update: XOR<MasterEntityLineItemUpdateWithoutField_typeInput, MasterEntityLineItemUncheckedUpdateWithoutField_typeInput>
    create: XOR<MasterEntityLineItemCreateWithoutField_typeInput, MasterEntityLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type MasterEntityLineItemUpdateWithWhereUniqueWithoutField_typeInput = {
    where: MasterEntityLineItemWhereUniqueInput
    data: XOR<MasterEntityLineItemUpdateWithoutField_typeInput, MasterEntityLineItemUncheckedUpdateWithoutField_typeInput>
  }

  export type MasterEntityLineItemUpdateManyWithWhereWithoutField_typeInput = {
    where: MasterEntityLineItemScalarWhereInput
    data: XOR<MasterEntityLineItemUpdateManyMutationInput, MasterEntityLineItemUncheckedUpdateManyWithoutField_typeInput>
  }

  export type ImportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    update: XOR<ImportTemplateLineItemUpdateWithoutField_typeInput, ImportTemplateLineItemUncheckedUpdateWithoutField_typeInput>
    create: XOR<ImportTemplateLineItemCreateWithoutField_typeInput, ImportTemplateLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type ImportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    data: XOR<ImportTemplateLineItemUpdateWithoutField_typeInput, ImportTemplateLineItemUncheckedUpdateWithoutField_typeInput>
  }

  export type ImportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput = {
    where: ImportTemplateLineItemScalarWhereInput
    data: XOR<ImportTemplateLineItemUpdateManyMutationInput, ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeInput>
  }

  export type ImportTemplateLineItemScalarWhereInput = {
    AND?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
    OR?: ImportTemplateLineItemScalarWhereInput[]
    NOT?: ImportTemplateLineItemScalarWhereInput | ImportTemplateLineItemScalarWhereInput[]
    id?: IntFilter<"ImportTemplateLineItem"> | number
    import_template_id?: IntFilter<"ImportTemplateLineItem"> | number
    field_name?: StringFilter<"ImportTemplateLineItem"> | string
    display_name?: StringFilter<"ImportTemplateLineItem"> | string
    field_table?: StringFilter<"ImportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ImportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    width?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    default_value?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    check_reg_exp?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_nullable?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_unique?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_foreign?: BoolFilter<"ImportTemplateLineItem"> | boolean
    unique_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_query?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    is_enum?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_multiple?: BoolFilter<"ImportTemplateLineItem"> | boolean
    enum_values?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    expression_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    query_rules?: JsonNullableFilter<"ImportTemplateLineItem">
    foreign_table?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    foreign_can_create?: BoolFilter<"ImportTemplateLineItem"> | boolean
    is_individual?: BoolFilter<"ImportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ImportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ImportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ImportTemplateLineItem"> | number
    company_id?: IntFilter<"ImportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ImportTemplateLineItem"> | Date | string
  }

  export type ExportTemplateLineItemUpsertWithWhereUniqueWithoutField_typeInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    update: XOR<ExportTemplateLineItemUpdateWithoutField_typeInput, ExportTemplateLineItemUncheckedUpdateWithoutField_typeInput>
    create: XOR<ExportTemplateLineItemCreateWithoutField_typeInput, ExportTemplateLineItemUncheckedCreateWithoutField_typeInput>
  }

  export type ExportTemplateLineItemUpdateWithWhereUniqueWithoutField_typeInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    data: XOR<ExportTemplateLineItemUpdateWithoutField_typeInput, ExportTemplateLineItemUncheckedUpdateWithoutField_typeInput>
  }

  export type ExportTemplateLineItemUpdateManyWithWhereWithoutField_typeInput = {
    where: ExportTemplateLineItemScalarWhereInput
    data: XOR<ExportTemplateLineItemUpdateManyMutationInput, ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeInput>
  }

  export type ExportTemplateLineItemScalarWhereInput = {
    AND?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
    OR?: ExportTemplateLineItemScalarWhereInput[]
    NOT?: ExportTemplateLineItemScalarWhereInput | ExportTemplateLineItemScalarWhereInput[]
    id?: IntFilter<"ExportTemplateLineItem"> | number
    export_template_id?: IntFilter<"ExportTemplateLineItem"> | number
    field_name?: StringFilter<"ExportTemplateLineItem"> | string
    display_name?: StringFilter<"ExportTemplateLineItem"> | string
    field_table?: StringFilter<"ExportTemplateLineItem"> | string
    order_no?: DecimalFilter<"ExportTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    default_value?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    column_name?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    is_individual?: BoolFilter<"ExportTemplateLineItem"> | boolean
    individual_column?: StringNullableFilter<"ExportTemplateLineItem"> | string | null
    field_type_id?: IntNullableFilter<"ExportTemplateLineItem"> | number | null
    status_id?: IntFilter<"ExportTemplateLineItem"> | number
    company_id?: IntFilter<"ExportTemplateLineItem"> | number
    created_at?: DateTimeFilter<"ExportTemplateLineItem"> | Date | string
  }

  export type StatusCreateWithoutMenu_typesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutMenu_typesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutMenu_typesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutMenu_typesInput, StatusUncheckedCreateWithoutMenu_typesInput>
  }

  export type StatusUpsertWithoutMenu_typesInput = {
    update: XOR<StatusUpdateWithoutMenu_typesInput, StatusUncheckedUpdateWithoutMenu_typesInput>
    create: XOR<StatusCreateWithoutMenu_typesInput, StatusUncheckedCreateWithoutMenu_typesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutMenu_typesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutMenu_typesInput, StatusUncheckedUpdateWithoutMenu_typesInput>
  }

  export type StatusUpdateWithoutMenu_typesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutMenu_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutNotification_template_processesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_template_processesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_template_processesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_template_processesInput, StatusUncheckedCreateWithoutNotification_template_processesInput>
  }

  export type NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput = {
    notification_template_tag: NotificationTemplateTagCreateNestedOneWithoutNotification_template_groupsInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput = {
    notification_template_tag_id: number
  }

  export type NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_processInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    create: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInputEnvelope = {
    data: NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInput | NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateCreateWithoutNotification_template_processInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutNotification_template_processInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutNotification_template_processInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateCreateManyNotification_template_processInputEnvelope = {
    data: NotificationTemplateCreateManyNotification_template_processInput | NotificationTemplateCreateManyNotification_template_processInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateAssignmentCreateWithoutNotification_template_processInput = {
    uuid?: string
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    notification_template: NotificationTemplateCreateNestedOneWithoutNotification_template_assignmentsInput
    created: UserCreateNestedOneWithoutCreated_notification_template_assignmentsInput
    email_template_cc_bcc?: EmailTemplateCcBccCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput = {
    id?: number
    uuid?: string
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by: number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentCreateOrConnectWithoutNotification_template_processInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    create: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateAssignmentCreateManyNotification_template_processInputEnvelope = {
    data: NotificationTemplateAssignmentCreateManyNotification_template_processInput | NotificationTemplateAssignmentCreateManyNotification_template_processInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutNotification_template_processesInput = {
    update: XOR<StatusUpdateWithoutNotification_template_processesInput, StatusUncheckedUpdateWithoutNotification_template_processesInput>
    create: XOR<StatusCreateWithoutNotification_template_processesInput, StatusUncheckedCreateWithoutNotification_template_processesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_template_processesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_template_processesInput, StatusUncheckedUpdateWithoutNotification_template_processesInput>
  }

  export type StatusUpdateWithoutNotification_template_processesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_template_processesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    update: XOR<NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_processInput>
    create: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    data: XOR<NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_processInput, NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_processInput = {
    where: NotificationTemplateProcessTagsMappingScalarWhereInput
    data: XOR<NotificationTemplateProcessTagsMappingUpdateManyMutationInput, NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processInput>
  }

  export type NotificationTemplateProcessTagsMappingScalarWhereInput = {
    AND?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
    OR?: NotificationTemplateProcessTagsMappingScalarWhereInput[]
    NOT?: NotificationTemplateProcessTagsMappingScalarWhereInput | NotificationTemplateProcessTagsMappingScalarWhereInput[]
    notification_template_process_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    notification_template_tag_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
    company_id?: IntFilter<"NotificationTemplateProcessTagsMapping"> | number
  }

  export type NotificationTemplateUpsertWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateWhereUniqueInput
    update: XOR<NotificationTemplateUpdateWithoutNotification_template_processInput, NotificationTemplateUncheckedUpdateWithoutNotification_template_processInput>
    create: XOR<NotificationTemplateCreateWithoutNotification_template_processInput, NotificationTemplateUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateUpdateWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateWhereUniqueInput
    data: XOR<NotificationTemplateUpdateWithoutNotification_template_processInput, NotificationTemplateUncheckedUpdateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateUpdateManyWithWhereWithoutNotification_template_processInput = {
    where: NotificationTemplateScalarWhereInput
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processInput>
  }

  export type NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    update: XOR<NotificationTemplateAssignmentUpdateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_template_processInput>
    create: XOR<NotificationTemplateAssignmentCreateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_template_processInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    data: XOR<NotificationTemplateAssignmentUpdateWithoutNotification_template_processInput, NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_template_processInput>
  }

  export type NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_template_processInput = {
    where: NotificationTemplateAssignmentScalarWhereInput
    data: XOR<NotificationTemplateAssignmentUpdateManyMutationInput, NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processInput>
  }

  export type StatusCreateWithoutNotification_template_tagsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_template_tagsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_template_tagsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_template_tagsInput, StatusUncheckedCreateWithoutNotification_template_tagsInput>
  }

  export type NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput = {
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_groupsInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput = {
    notification_template_process_id: number
  }

  export type NotificationTemplateProcessTagsMappingCreateOrConnectWithoutNotification_template_tagInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    create: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput>
  }

  export type NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInputEnvelope = {
    data: NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInput | NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutNotification_template_tagsInput = {
    update: XOR<StatusUpdateWithoutNotification_template_tagsInput, StatusUncheckedUpdateWithoutNotification_template_tagsInput>
    create: XOR<StatusCreateWithoutNotification_template_tagsInput, StatusUncheckedCreateWithoutNotification_template_tagsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_template_tagsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_template_tagsInput, StatusUncheckedUpdateWithoutNotification_template_tagsInput>
  }

  export type StatusUpdateWithoutNotification_template_tagsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_template_tagsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type NotificationTemplateProcessTagsMappingUpsertWithWhereUniqueWithoutNotification_template_tagInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    update: XOR<NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_tagInput>
    create: XOR<NotificationTemplateProcessTagsMappingCreateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedCreateWithoutNotification_template_tagInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateWithWhereUniqueWithoutNotification_template_tagInput = {
    where: NotificationTemplateProcessTagsMappingWhereUniqueInput
    data: XOR<NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_tagInput, NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_tagInput>
  }

  export type NotificationTemplateProcessTagsMappingUpdateManyWithWhereWithoutNotification_template_tagInput = {
    where: NotificationTemplateProcessTagsMappingScalarWhereInput
    data: XOR<NotificationTemplateProcessTagsMappingUpdateManyMutationInput, NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_tagInput>
  }

  export type StatusCreateWithoutNotification_template_receiver_tagsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_template_receiver_tagsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_template_receiver_tagsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_template_receiver_tagsInput, StatusUncheckedCreateWithoutNotification_template_receiver_tagsInput>
  }

  export type StatusUpsertWithoutNotification_template_receiver_tagsInput = {
    update: XOR<StatusUpdateWithoutNotification_template_receiver_tagsInput, StatusUncheckedUpdateWithoutNotification_template_receiver_tagsInput>
    create: XOR<StatusCreateWithoutNotification_template_receiver_tagsInput, StatusUncheckedCreateWithoutNotification_template_receiver_tagsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_template_receiver_tagsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_template_receiver_tagsInput, StatusUncheckedUpdateWithoutNotification_template_receiver_tagsInput>
  }

  export type StatusUpdateWithoutNotification_template_receiver_tagsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_template_receiver_tagsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type NotificationTemplateProcessCreateWithoutNotification_template_groupsInput = {
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    status?: StatusCreateNestedOneWithoutNotification_template_processesInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUncheckedCreateWithoutNotification_template_groupsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    status_id?: number
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessCreateOrConnectWithoutNotification_template_groupsInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_groupsInput>
  }

  export type NotificationTemplateTagCreateWithoutNotification_template_groupsInput = {
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    company_id: number
    status?: StatusCreateNestedOneWithoutNotification_template_tagsInput
  }

  export type NotificationTemplateTagUncheckedCreateWithoutNotification_template_groupsInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    status_id?: number
    company_id: number
  }

  export type NotificationTemplateTagCreateOrConnectWithoutNotification_template_groupsInput = {
    where: NotificationTemplateTagWhereUniqueInput
    create: XOR<NotificationTemplateTagCreateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedCreateWithoutNotification_template_groupsInput>
  }

  export type NotificationTemplateProcessUpsertWithoutNotification_template_groupsInput = {
    update: XOR<NotificationTemplateProcessUpdateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_groupsInput>
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_groupsInput>
    where?: NotificationTemplateProcessWhereInput
  }

  export type NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_template_groupsInput = {
    where?: NotificationTemplateProcessWhereInput
    data: XOR<NotificationTemplateProcessUpdateWithoutNotification_template_groupsInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_groupsInput>
  }

  export type NotificationTemplateProcessUpdateWithoutNotification_template_groupsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status?: StatusUpdateOneRequiredWithoutNotification_template_processesNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_groupsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateTagUpsertWithoutNotification_template_groupsInput = {
    update: XOR<NotificationTemplateTagUpdateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedUpdateWithoutNotification_template_groupsInput>
    create: XOR<NotificationTemplateTagCreateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedCreateWithoutNotification_template_groupsInput>
    where?: NotificationTemplateTagWhereInput
  }

  export type NotificationTemplateTagUpdateToOneWithWhereWithoutNotification_template_groupsInput = {
    where?: NotificationTemplateTagWhereInput
    data: XOR<NotificationTemplateTagUpdateWithoutNotification_template_groupsInput, NotificationTemplateTagUncheckedUpdateWithoutNotification_template_groupsInput>
  }

  export type NotificationTemplateTagUpdateWithoutNotification_template_groupsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutNotification_template_tagsNestedInput
  }

  export type NotificationTemplateTagUncheckedUpdateWithoutNotification_template_groupsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type StatusCreateWithoutNotification_templatesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_templatesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_templatesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_templatesInput, StatusUncheckedCreateWithoutNotification_templatesInput>
  }

  export type NotificationTemplateProcessCreateWithoutNotification_templatesInput = {
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    status?: StatusCreateNestedOneWithoutNotification_template_processesInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUncheckedCreateWithoutNotification_templatesInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    status_id?: number
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessCreateOrConnectWithoutNotification_templatesInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_templatesInput>
  }

  export type NotificationTemplateAssignmentCreateWithoutNotification_templateInput = {
    uuid?: string
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_assignmentsInput
    created: UserCreateNestedOneWithoutCreated_notification_template_assignmentsInput
    email_template_cc_bcc?: EmailTemplateCcBccCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by: number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedCreateNestedManyWithoutEmail_template_assignmentInput
  }

  export type NotificationTemplateAssignmentCreateOrConnectWithoutNotification_templateInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    create: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput>
  }

  export type NotificationTemplateAssignmentCreateManyNotification_templateInputEnvelope = {
    data: NotificationTemplateAssignmentCreateManyNotification_templateInput | NotificationTemplateAssignmentCreateManyNotification_templateInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_notification_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_notification_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_notification_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_notification_templatesInput, UserUncheckedCreateWithoutCreated_notification_templatesInput>
  }

  export type UserCreateWithoutUpdated_notification_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_notification_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_notification_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_notification_templatesInput, UserUncheckedCreateWithoutUpdated_notification_templatesInput>
  }

  export type UserCreateWithoutDeleted_notification_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_notification_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_notification_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_notification_templatesInput, UserUncheckedCreateWithoutDeleted_notification_templatesInput>
  }

  export type ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyApprove_mailInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyApprove_mailInput | ApprovalWorkflowAssignmentCreateManyApprove_mailInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutApprove_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyApprove_whatsappInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyApprove_whatsappInput | ApprovalWorkflowAssignmentCreateManyApprove_whatsappInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowAssignmentCreateWithoutReject_mailInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyReject_mailInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyReject_mailInput | ApprovalWorkflowAssignmentCreateManyReject_mailInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutReject_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyReject_whatsappInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyReject_whatsappInput | ApprovalWorkflowAssignmentCreateManyReject_whatsappInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutNotification_templatesInput = {
    update: XOR<StatusUpdateWithoutNotification_templatesInput, StatusUncheckedUpdateWithoutNotification_templatesInput>
    create: XOR<StatusCreateWithoutNotification_templatesInput, StatusUncheckedCreateWithoutNotification_templatesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_templatesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_templatesInput, StatusUncheckedUpdateWithoutNotification_templatesInput>
  }

  export type StatusUpdateWithoutNotification_templatesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type NotificationTemplateProcessUpsertWithoutNotification_templatesInput = {
    update: XOR<NotificationTemplateProcessUpdateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_templatesInput>
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_templatesInput>
    where?: NotificationTemplateProcessWhereInput
  }

  export type NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_templatesInput = {
    where?: NotificationTemplateProcessWhereInput
    data: XOR<NotificationTemplateProcessUpdateWithoutNotification_templatesInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_templatesInput>
  }

  export type NotificationTemplateProcessUpdateWithoutNotification_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status?: StatusUpdateOneRequiredWithoutNotification_template_processesNestedInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateWithoutNotification_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateAssignmentUpsertWithWhereUniqueWithoutNotification_templateInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    update: XOR<NotificationTemplateAssignmentUpdateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_templateInput>
    create: XOR<NotificationTemplateAssignmentCreateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedCreateWithoutNotification_templateInput>
  }

  export type NotificationTemplateAssignmentUpdateWithWhereUniqueWithoutNotification_templateInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    data: XOR<NotificationTemplateAssignmentUpdateWithoutNotification_templateInput, NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_templateInput>
  }

  export type NotificationTemplateAssignmentUpdateManyWithWhereWithoutNotification_templateInput = {
    where: NotificationTemplateAssignmentScalarWhereInput
    data: XOR<NotificationTemplateAssignmentUpdateManyMutationInput, NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateInput>
  }

  export type UserUpsertWithoutCreated_notification_templatesInput = {
    update: XOR<UserUpdateWithoutCreated_notification_templatesInput, UserUncheckedUpdateWithoutCreated_notification_templatesInput>
    create: XOR<UserCreateWithoutCreated_notification_templatesInput, UserUncheckedCreateWithoutCreated_notification_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_notification_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_notification_templatesInput, UserUncheckedUpdateWithoutCreated_notification_templatesInput>
  }

  export type UserUpdateWithoutCreated_notification_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_notification_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_notification_templatesInput = {
    update: XOR<UserUpdateWithoutUpdated_notification_templatesInput, UserUncheckedUpdateWithoutUpdated_notification_templatesInput>
    create: XOR<UserCreateWithoutUpdated_notification_templatesInput, UserUncheckedCreateWithoutUpdated_notification_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_notification_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_notification_templatesInput, UserUncheckedUpdateWithoutUpdated_notification_templatesInput>
  }

  export type UserUpdateWithoutUpdated_notification_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_notification_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_notification_templatesInput = {
    update: XOR<UserUpdateWithoutDeleted_notification_templatesInput, UserUncheckedUpdateWithoutDeleted_notification_templatesInput>
    create: XOR<UserCreateWithoutDeleted_notification_templatesInput, UserUncheckedCreateWithoutDeleted_notification_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_notification_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_notification_templatesInput, UserUncheckedUpdateWithoutDeleted_notification_templatesInput>
  }

  export type UserUpdateWithoutDeleted_notification_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_notification_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_mailInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_mailInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutApprove_mailInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_mailInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_mailInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailInput>
  }

  export type ApprovalWorkflowAssignmentScalarWhereInput = {
    AND?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
    OR?: ApprovalWorkflowAssignmentScalarWhereInput[]
    NOT?: ApprovalWorkflowAssignmentScalarWhereInput | ApprovalWorkflowAssignmentScalarWhereInput[]
    id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    uuid?: UuidFilter<"ApprovalWorkflowAssignment"> | string
    approval_workflow_slug?: StringFilter<"ApprovalWorkflowAssignment"> | string
    approver_order_no?: DecimalFilter<"ApprovalWorkflowAssignment"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalWorkflowAssignment"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalWorkflowAssignment"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    reject_query_information?: StringNullableListFilter<"ApprovalWorkflowAssignment">
    status_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    company_id?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_by?: IntFilter<"ApprovalWorkflowAssignment"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowAssignment"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowAssignment"> | Date | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalWorkflowAssignment"> | number | null
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApprove_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_whatsappInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApprove_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApprove_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutApprove_whatsappInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApprove_whatsappInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_mailInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_mailInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_mailInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutReject_mailInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_mailInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_mailInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailInput>
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutReject_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_whatsappInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutReject_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutReject_whatsappInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutReject_whatsappInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_whatsappInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutReject_whatsappInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappInput>
  }

  export type NotificationTemplateProcessCreateWithoutNotification_template_assignmentsInput = {
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    status?: StatusCreateNestedOneWithoutNotification_template_processesInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUncheckedCreateWithoutNotification_template_assignmentsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    status_id?: number
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessCreateOrConnectWithoutNotification_template_assignmentsInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_assignmentsInput>
  }

  export type NotificationTemplateCreateWithoutNotification_template_assignmentsInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutNotification_template_assignmentsInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutNotification_template_assignmentsInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedCreateWithoutNotification_template_assignmentsInput>
  }

  export type UserCreateWithoutCreated_notification_template_assignmentsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_notification_template_assignmentsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_notification_template_assignmentsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_notification_template_assignmentsInput, UserUncheckedCreateWithoutCreated_notification_template_assignmentsInput>
  }

  export type EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput = {
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
  }

  export type EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput = {
    id?: number
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
  }

  export type EmailTemplateCcBccCreateOrConnectWithoutEmail_template_assignmentInput = {
    where: EmailTemplateCcBccWhereUniqueInput
    create: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput>
  }

  export type EmailTemplateCcBccCreateManyEmail_template_assignmentInputEnvelope = {
    data: EmailTemplateCcBccCreateManyEmail_template_assignmentInput | EmailTemplateCcBccCreateManyEmail_template_assignmentInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateProcessUpsertWithoutNotification_template_assignmentsInput = {
    update: XOR<NotificationTemplateProcessUpdateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_assignmentsInput>
    create: XOR<NotificationTemplateProcessCreateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedCreateWithoutNotification_template_assignmentsInput>
    where?: NotificationTemplateProcessWhereInput
  }

  export type NotificationTemplateProcessUpdateToOneWithWhereWithoutNotification_template_assignmentsInput = {
    where?: NotificationTemplateProcessWhereInput
    data: XOR<NotificationTemplateProcessUpdateWithoutNotification_template_assignmentsInput, NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_assignmentsInput>
  }

  export type NotificationTemplateProcessUpdateWithoutNotification_template_assignmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status?: StatusUpdateOneRequiredWithoutNotification_template_processesNestedInput
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateWithoutNotification_template_assignmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateUpsertWithoutNotification_template_assignmentsInput = {
    update: XOR<NotificationTemplateUpdateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedUpdateWithoutNotification_template_assignmentsInput>
    create: XOR<NotificationTemplateCreateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedCreateWithoutNotification_template_assignmentsInput>
    where?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateUpdateToOneWithWhereWithoutNotification_template_assignmentsInput = {
    where?: NotificationTemplateWhereInput
    data: XOR<NotificationTemplateUpdateWithoutNotification_template_assignmentsInput, NotificationTemplateUncheckedUpdateWithoutNotification_template_assignmentsInput>
  }

  export type NotificationTemplateUpdateWithoutNotification_template_assignmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutNotification_template_assignmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type UserUpsertWithoutCreated_notification_template_assignmentsInput = {
    update: XOR<UserUpdateWithoutCreated_notification_template_assignmentsInput, UserUncheckedUpdateWithoutCreated_notification_template_assignmentsInput>
    create: XOR<UserCreateWithoutCreated_notification_template_assignmentsInput, UserUncheckedCreateWithoutCreated_notification_template_assignmentsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_notification_template_assignmentsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_notification_template_assignmentsInput, UserUncheckedUpdateWithoutCreated_notification_template_assignmentsInput>
  }

  export type UserUpdateWithoutCreated_notification_template_assignmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_notification_template_assignmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type EmailTemplateCcBccUpsertWithWhereUniqueWithoutEmail_template_assignmentInput = {
    where: EmailTemplateCcBccWhereUniqueInput
    update: XOR<EmailTemplateCcBccUpdateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedUpdateWithoutEmail_template_assignmentInput>
    create: XOR<EmailTemplateCcBccCreateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedCreateWithoutEmail_template_assignmentInput>
  }

  export type EmailTemplateCcBccUpdateWithWhereUniqueWithoutEmail_template_assignmentInput = {
    where: EmailTemplateCcBccWhereUniqueInput
    data: XOR<EmailTemplateCcBccUpdateWithoutEmail_template_assignmentInput, EmailTemplateCcBccUncheckedUpdateWithoutEmail_template_assignmentInput>
  }

  export type EmailTemplateCcBccUpdateManyWithWhereWithoutEmail_template_assignmentInput = {
    where: EmailTemplateCcBccScalarWhereInput
    data: XOR<EmailTemplateCcBccUpdateManyMutationInput, EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentInput>
  }

  export type EmailTemplateCcBccScalarWhereInput = {
    AND?: EmailTemplateCcBccScalarWhereInput | EmailTemplateCcBccScalarWhereInput[]
    OR?: EmailTemplateCcBccScalarWhereInput[]
    NOT?: EmailTemplateCcBccScalarWhereInput | EmailTemplateCcBccScalarWhereInput[]
    id?: IntFilter<"EmailTemplateCcBcc"> | number
    uuid?: UuidFilter<"EmailTemplateCcBcc"> | string
    send_type?: EnumsendMailTypeFilter<"EmailTemplateCcBcc"> | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFilter<"EmailTemplateCcBcc"> | $Enums.RecipientType
    email_to?: StringNullableFilter<"EmailTemplateCcBcc"> | string | null
    company_id?: IntFilter<"EmailTemplateCcBcc"> | number
    created_at?: DateTimeFilter<"EmailTemplateCcBcc"> | Date | string
    created_by?: IntFilter<"EmailTemplateCcBcc"> | number
    email_template_assignment_id?: IntFilter<"EmailTemplateCcBcc"> | number
  }

  export type NotificationTemplateAssignmentCreateWithoutEmail_template_cc_bccInput = {
    uuid?: string
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_template_assignmentsInput
    notification_template: NotificationTemplateCreateNestedOneWithoutNotification_template_assignmentsInput
    created: UserCreateNestedOneWithoutCreated_notification_template_assignmentsInput
  }

  export type NotificationTemplateAssignmentUncheckedCreateWithoutEmail_template_cc_bccInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    company_id: number
    created_at?: Date | string
    created_by: number
  }

  export type NotificationTemplateAssignmentCreateOrConnectWithoutEmail_template_cc_bccInput = {
    where: NotificationTemplateAssignmentWhereUniqueInput
    create: XOR<NotificationTemplateAssignmentCreateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedCreateWithoutEmail_template_cc_bccInput>
  }

  export type NotificationTemplateAssignmentUpsertWithoutEmail_template_cc_bccInput = {
    update: XOR<NotificationTemplateAssignmentUpdateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedUpdateWithoutEmail_template_cc_bccInput>
    create: XOR<NotificationTemplateAssignmentCreateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedCreateWithoutEmail_template_cc_bccInput>
    where?: NotificationTemplateAssignmentWhereInput
  }

  export type NotificationTemplateAssignmentUpdateToOneWithWhereWithoutEmail_template_cc_bccInput = {
    where?: NotificationTemplateAssignmentWhereInput
    data: XOR<NotificationTemplateAssignmentUpdateWithoutEmail_template_cc_bccInput, NotificationTemplateAssignmentUncheckedUpdateWithoutEmail_template_cc_bccInput>
  }

  export type NotificationTemplateAssignmentUpdateWithoutEmail_template_cc_bccInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    notification_template?: NotificationTemplateUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    created?: UserUpdateOneRequiredWithoutCreated_notification_template_assignmentsNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateWithoutEmail_template_cc_bccInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type StatusCreateWithoutNotification_process_jobsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_process_jobsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_process_jobsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_process_jobsInput, StatusUncheckedCreateWithoutNotification_process_jobsInput>
  }

  export type UserCreateWithoutCreated_notification_process_jobsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_notification_process_jobsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_notification_process_jobsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_notification_process_jobsInput, UserUncheckedCreateWithoutCreated_notification_process_jobsInput>
  }

  export type StatusUpsertWithoutNotification_process_jobsInput = {
    update: XOR<StatusUpdateWithoutNotification_process_jobsInput, StatusUncheckedUpdateWithoutNotification_process_jobsInput>
    create: XOR<StatusCreateWithoutNotification_process_jobsInput, StatusUncheckedCreateWithoutNotification_process_jobsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_process_jobsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_process_jobsInput, StatusUncheckedUpdateWithoutNotification_process_jobsInput>
  }

  export type StatusUpdateWithoutNotification_process_jobsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_process_jobsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_notification_process_jobsInput = {
    update: XOR<UserUpdateWithoutCreated_notification_process_jobsInput, UserUncheckedUpdateWithoutCreated_notification_process_jobsInput>
    create: XOR<UserCreateWithoutCreated_notification_process_jobsInput, UserUncheckedCreateWithoutCreated_notification_process_jobsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_notification_process_jobsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_notification_process_jobsInput, UserUncheckedUpdateWithoutCreated_notification_process_jobsInput>
  }

  export type UserUpdateWithoutCreated_notification_process_jobsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_notification_process_jobsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutNotification_jobInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutNotification_jobInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutNotification_jobInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutNotification_jobInput, StatusUncheckedCreateWithoutNotification_jobInput>
  }

  export type UserCreateWithoutCreated_notification_jobInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_notification_jobInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_notification_jobInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_notification_jobInput, UserUncheckedCreateWithoutCreated_notification_jobInput>
  }

  export type StatusUpsertWithoutNotification_jobInput = {
    update: XOR<StatusUpdateWithoutNotification_jobInput, StatusUncheckedUpdateWithoutNotification_jobInput>
    create: XOR<StatusCreateWithoutNotification_jobInput, StatusUncheckedCreateWithoutNotification_jobInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutNotification_jobInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutNotification_jobInput, StatusUncheckedUpdateWithoutNotification_jobInput>
  }

  export type StatusUpdateWithoutNotification_jobInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutNotification_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_notification_jobInput = {
    update: XOR<UserUpdateWithoutCreated_notification_jobInput, UserUncheckedUpdateWithoutCreated_notification_jobInput>
    create: XOR<UserCreateWithoutCreated_notification_jobInput, UserUncheckedCreateWithoutCreated_notification_jobInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_notification_jobInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_notification_jobInput, UserUncheckedUpdateWithoutCreated_notification_jobInput>
  }

  export type UserUpdateWithoutCreated_notification_jobInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_notification_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutCarousel_templatesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutCarousel_templatesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutCarousel_templatesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutCarousel_templatesInput, StatusUncheckedCreateWithoutCarousel_templatesInput>
  }

  export type UserCreateWithoutCreated_carousel_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_carousel_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_carousel_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_carousel_templatesInput, UserUncheckedCreateWithoutCreated_carousel_templatesInput>
  }

  export type UserCreateWithoutUpdated_carousel_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_carousel_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_carousel_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_carousel_templatesInput, UserUncheckedCreateWithoutUpdated_carousel_templatesInput>
  }

  export type UserCreateWithoutDeleted_carousel_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_carousel_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_carousel_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_carousel_templatesInput, UserUncheckedCreateWithoutDeleted_carousel_templatesInput>
  }

  export type CarouselTemplateLineItemCreateWithoutCarousel_templateInput = {
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutCarousel_template_line_itemsInput
  }

  export type CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type CarouselTemplateLineItemCreateOrConnectWithoutCarousel_templateInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    create: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput>
  }

  export type CarouselTemplateLineItemCreateManyCarousel_templateInputEnvelope = {
    data: CarouselTemplateLineItemCreateManyCarousel_templateInput | CarouselTemplateLineItemCreateManyCarousel_templateInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutCarousel_templatesInput = {
    update: XOR<StatusUpdateWithoutCarousel_templatesInput, StatusUncheckedUpdateWithoutCarousel_templatesInput>
    create: XOR<StatusCreateWithoutCarousel_templatesInput, StatusUncheckedCreateWithoutCarousel_templatesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutCarousel_templatesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutCarousel_templatesInput, StatusUncheckedUpdateWithoutCarousel_templatesInput>
  }

  export type StatusUpdateWithoutCarousel_templatesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutCarousel_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_carousel_templatesInput = {
    update: XOR<UserUpdateWithoutCreated_carousel_templatesInput, UserUncheckedUpdateWithoutCreated_carousel_templatesInput>
    create: XOR<UserCreateWithoutCreated_carousel_templatesInput, UserUncheckedCreateWithoutCreated_carousel_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_carousel_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_carousel_templatesInput, UserUncheckedUpdateWithoutCreated_carousel_templatesInput>
  }

  export type UserUpdateWithoutCreated_carousel_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_carousel_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_carousel_templatesInput = {
    update: XOR<UserUpdateWithoutUpdated_carousel_templatesInput, UserUncheckedUpdateWithoutUpdated_carousel_templatesInput>
    create: XOR<UserCreateWithoutUpdated_carousel_templatesInput, UserUncheckedCreateWithoutUpdated_carousel_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_carousel_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_carousel_templatesInput, UserUncheckedUpdateWithoutUpdated_carousel_templatesInput>
  }

  export type UserUpdateWithoutUpdated_carousel_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_carousel_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_carousel_templatesInput = {
    update: XOR<UserUpdateWithoutDeleted_carousel_templatesInput, UserUncheckedUpdateWithoutDeleted_carousel_templatesInput>
    create: XOR<UserCreateWithoutDeleted_carousel_templatesInput, UserUncheckedCreateWithoutDeleted_carousel_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_carousel_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_carousel_templatesInput, UserUncheckedUpdateWithoutDeleted_carousel_templatesInput>
  }

  export type UserUpdateWithoutDeleted_carousel_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_carousel_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type CarouselTemplateLineItemUpsertWithWhereUniqueWithoutCarousel_templateInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    update: XOR<CarouselTemplateLineItemUpdateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedUpdateWithoutCarousel_templateInput>
    create: XOR<CarouselTemplateLineItemCreateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedCreateWithoutCarousel_templateInput>
  }

  export type CarouselTemplateLineItemUpdateWithWhereUniqueWithoutCarousel_templateInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    data: XOR<CarouselTemplateLineItemUpdateWithoutCarousel_templateInput, CarouselTemplateLineItemUncheckedUpdateWithoutCarousel_templateInput>
  }

  export type CarouselTemplateLineItemUpdateManyWithWhereWithoutCarousel_templateInput = {
    where: CarouselTemplateLineItemScalarWhereInput
    data: XOR<CarouselTemplateLineItemUpdateManyMutationInput, CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateInput>
  }

  export type CarouselTemplateLineItemScalarWhereInput = {
    AND?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
    OR?: CarouselTemplateLineItemScalarWhereInput[]
    NOT?: CarouselTemplateLineItemScalarWhereInput | CarouselTemplateLineItemScalarWhereInput[]
    id?: IntFilter<"CarouselTemplateLineItem"> | number
    carousel_template_id?: IntFilter<"CarouselTemplateLineItem"> | number
    name?: StringFilter<"CarouselTemplateLineItem"> | string
    slug?: StringFilter<"CarouselTemplateLineItem"> | string
    description?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    image_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    video_url?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    clickable_link?: StringNullableFilter<"CarouselTemplateLineItem"> | string | null
    order_no?: DecimalFilter<"CarouselTemplateLineItem"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"CarouselTemplateLineItem"> | number
    company_id?: IntFilter<"CarouselTemplateLineItem"> | number
    created_at?: DateTimeFilter<"CarouselTemplateLineItem"> | Date | string
  }

  export type StatusCreateWithoutCarousel_template_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutCarousel_template_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutCarousel_template_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutCarousel_template_line_itemsInput, StatusUncheckedCreateWithoutCarousel_template_line_itemsInput>
  }

  export type CarouselTemplateCreateWithoutLine_itemsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutCarousel_templatesInput
    created?: UserCreateNestedOneWithoutCreated_carousel_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_carousel_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_carousel_templatesInput
  }

  export type CarouselTemplateUncheckedCreateWithoutLine_itemsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateCreateOrConnectWithoutLine_itemsInput = {
    where: CarouselTemplateWhereUniqueInput
    create: XOR<CarouselTemplateCreateWithoutLine_itemsInput, CarouselTemplateUncheckedCreateWithoutLine_itemsInput>
  }

  export type StatusUpsertWithoutCarousel_template_line_itemsInput = {
    update: XOR<StatusUpdateWithoutCarousel_template_line_itemsInput, StatusUncheckedUpdateWithoutCarousel_template_line_itemsInput>
    create: XOR<StatusCreateWithoutCarousel_template_line_itemsInput, StatusUncheckedCreateWithoutCarousel_template_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutCarousel_template_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutCarousel_template_line_itemsInput, StatusUncheckedUpdateWithoutCarousel_template_line_itemsInput>
  }

  export type StatusUpdateWithoutCarousel_template_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutCarousel_template_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type CarouselTemplateUpsertWithoutLine_itemsInput = {
    update: XOR<CarouselTemplateUpdateWithoutLine_itemsInput, CarouselTemplateUncheckedUpdateWithoutLine_itemsInput>
    create: XOR<CarouselTemplateCreateWithoutLine_itemsInput, CarouselTemplateUncheckedCreateWithoutLine_itemsInput>
    where?: CarouselTemplateWhereInput
  }

  export type CarouselTemplateUpdateToOneWithWhereWithoutLine_itemsInput = {
    where?: CarouselTemplateWhereInput
    data: XOR<CarouselTemplateUpdateWithoutLine_itemsInput, CarouselTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type CarouselTemplateUpdateWithoutLine_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_carousel_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_carousel_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_carousel_templatesNestedInput
  }

  export type CarouselTemplateUncheckedUpdateWithoutLine_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type StatusCreateWithoutImport_templatesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutImport_templatesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutImport_templatesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutImport_templatesInput, StatusUncheckedCreateWithoutImport_templatesInput>
  }

  export type UserCreateWithoutCreated_import_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_import_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_import_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_import_templatesInput, UserUncheckedCreateWithoutCreated_import_templatesInput>
  }

  export type UserCreateWithoutUpdated_import_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_import_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_import_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_import_templatesInput, UserUncheckedCreateWithoutUpdated_import_templatesInput>
  }

  export type UserCreateWithoutDeleted_import_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_import_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_import_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_import_templatesInput, UserUncheckedCreateWithoutDeleted_import_templatesInput>
  }

  export type ImportTemplateLineItemCreateWithoutImport_templateInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutImport_template_line_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutImportTemplateLineItemInput
  }

  export type ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput = {
    id?: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemCreateOrConnectWithoutImport_templateInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    create: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportTemplateLineItemCreateManyImport_templateInputEnvelope = {
    data: ImportTemplateLineItemCreateManyImport_templateInput | ImportTemplateLineItemCreateManyImport_templateInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateQueriesCreateWithoutImport_templateInput = {
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutImport_template_queriesInput
  }

  export type ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput = {
    id?: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesCreateOrConnectWithoutImport_templateInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    create: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportTemplateQueriesCreateManyImport_templateInputEnvelope = {
    data: ImportTemplateQueriesCreateManyImport_templateInput | ImportTemplateQueriesCreateManyImport_templateInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobCreateWithoutImport_templateInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateWithoutImport_templateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobCreateOrConnectWithoutImport_templateInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportJobCreateManyImport_templateInputEnvelope = {
    data: ImportJobCreateManyImport_templateInput | ImportJobCreateManyImport_templateInput[]
    skipDuplicates?: boolean
  }

  export type DirectImportDetailsCreateWithoutImport_templateInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDirect_import_detailsInput
    created?: UserCreateNestedOneWithoutCreated_direct_import_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_direct_import_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateWithoutImport_templateInput = {
    id?: number
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateOrConnectWithoutImport_templateInput = {
    where: DirectImportDetailsWhereUniqueInput
    create: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput>
  }

  export type DirectImportDetailsCreateManyImport_templateInputEnvelope = {
    data: DirectImportDetailsCreateManyImport_templateInput | DirectImportDetailsCreateManyImport_templateInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutImport_templatesInput = {
    update: XOR<StatusUpdateWithoutImport_templatesInput, StatusUncheckedUpdateWithoutImport_templatesInput>
    create: XOR<StatusCreateWithoutImport_templatesInput, StatusUncheckedCreateWithoutImport_templatesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutImport_templatesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutImport_templatesInput, StatusUncheckedUpdateWithoutImport_templatesInput>
  }

  export type StatusUpdateWithoutImport_templatesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutImport_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_import_templatesInput = {
    update: XOR<UserUpdateWithoutCreated_import_templatesInput, UserUncheckedUpdateWithoutCreated_import_templatesInput>
    create: XOR<UserCreateWithoutCreated_import_templatesInput, UserUncheckedCreateWithoutCreated_import_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_import_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_import_templatesInput, UserUncheckedUpdateWithoutCreated_import_templatesInput>
  }

  export type UserUpdateWithoutCreated_import_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_import_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_import_templatesInput = {
    update: XOR<UserUpdateWithoutUpdated_import_templatesInput, UserUncheckedUpdateWithoutUpdated_import_templatesInput>
    create: XOR<UserCreateWithoutUpdated_import_templatesInput, UserUncheckedCreateWithoutUpdated_import_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_import_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_import_templatesInput, UserUncheckedUpdateWithoutUpdated_import_templatesInput>
  }

  export type UserUpdateWithoutUpdated_import_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_import_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_import_templatesInput = {
    update: XOR<UserUpdateWithoutDeleted_import_templatesInput, UserUncheckedUpdateWithoutDeleted_import_templatesInput>
    create: XOR<UserCreateWithoutDeleted_import_templatesInput, UserUncheckedCreateWithoutDeleted_import_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_import_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_import_templatesInput, UserUncheckedUpdateWithoutDeleted_import_templatesInput>
  }

  export type UserUpdateWithoutDeleted_import_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_import_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ImportTemplateLineItemUpsertWithWhereUniqueWithoutImport_templateInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    update: XOR<ImportTemplateLineItemUpdateWithoutImport_templateInput, ImportTemplateLineItemUncheckedUpdateWithoutImport_templateInput>
    create: XOR<ImportTemplateLineItemCreateWithoutImport_templateInput, ImportTemplateLineItemUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportTemplateLineItemUpdateWithWhereUniqueWithoutImport_templateInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    data: XOR<ImportTemplateLineItemUpdateWithoutImport_templateInput, ImportTemplateLineItemUncheckedUpdateWithoutImport_templateInput>
  }

  export type ImportTemplateLineItemUpdateManyWithWhereWithoutImport_templateInput = {
    where: ImportTemplateLineItemScalarWhereInput
    data: XOR<ImportTemplateLineItemUpdateManyMutationInput, ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateInput>
  }

  export type ImportTemplateQueriesUpsertWithWhereUniqueWithoutImport_templateInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    update: XOR<ImportTemplateQueriesUpdateWithoutImport_templateInput, ImportTemplateQueriesUncheckedUpdateWithoutImport_templateInput>
    create: XOR<ImportTemplateQueriesCreateWithoutImport_templateInput, ImportTemplateQueriesUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportTemplateQueriesUpdateWithWhereUniqueWithoutImport_templateInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    data: XOR<ImportTemplateQueriesUpdateWithoutImport_templateInput, ImportTemplateQueriesUncheckedUpdateWithoutImport_templateInput>
  }

  export type ImportTemplateQueriesUpdateManyWithWhereWithoutImport_templateInput = {
    where: ImportTemplateQueriesScalarWhereInput
    data: XOR<ImportTemplateQueriesUpdateManyMutationInput, ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateInput>
  }

  export type ImportTemplateQueriesScalarWhereInput = {
    AND?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
    OR?: ImportTemplateQueriesScalarWhereInput[]
    NOT?: ImportTemplateQueriesScalarWhereInput | ImportTemplateQueriesScalarWhereInput[]
    id?: IntFilter<"ImportTemplateQueries"> | number
    import_template_id?: IntFilter<"ImportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ImportTemplateQueries"> | string | null
    query_name?: StringFilter<"ImportTemplateQueries"> | string
    allow_multiple?: BoolFilter<"ImportTemplateQueries"> | boolean
    is_individual?: BoolFilter<"ImportTemplateQueries"> | boolean
    before_lineitems?: BoolFilter<"ImportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ImportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ImportTemplateQueries"> | number
    company_id?: IntFilter<"ImportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ImportTemplateQueries"> | Date | string
  }

  export type ImportJobUpsertWithWhereUniqueWithoutImport_templateInput = {
    where: ImportJobWhereUniqueInput
    update: XOR<ImportJobUpdateWithoutImport_templateInput, ImportJobUncheckedUpdateWithoutImport_templateInput>
    create: XOR<ImportJobCreateWithoutImport_templateInput, ImportJobUncheckedCreateWithoutImport_templateInput>
  }

  export type ImportJobUpdateWithWhereUniqueWithoutImport_templateInput = {
    where: ImportJobWhereUniqueInput
    data: XOR<ImportJobUpdateWithoutImport_templateInput, ImportJobUncheckedUpdateWithoutImport_templateInput>
  }

  export type ImportJobUpdateManyWithWhereWithoutImport_templateInput = {
    where: ImportJobScalarWhereInput
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyWithoutImport_templateInput>
  }

  export type DirectImportDetailsUpsertWithWhereUniqueWithoutImport_templateInput = {
    where: DirectImportDetailsWhereUniqueInput
    update: XOR<DirectImportDetailsUpdateWithoutImport_templateInput, DirectImportDetailsUncheckedUpdateWithoutImport_templateInput>
    create: XOR<DirectImportDetailsCreateWithoutImport_templateInput, DirectImportDetailsUncheckedCreateWithoutImport_templateInput>
  }

  export type DirectImportDetailsUpdateWithWhereUniqueWithoutImport_templateInput = {
    where: DirectImportDetailsWhereUniqueInput
    data: XOR<DirectImportDetailsUpdateWithoutImport_templateInput, DirectImportDetailsUncheckedUpdateWithoutImport_templateInput>
  }

  export type DirectImportDetailsUpdateManyWithWhereWithoutImport_templateInput = {
    where: DirectImportDetailsScalarWhereInput
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyWithoutImport_templateInput>
  }

  export type StatusCreateWithoutImport_template_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutImport_template_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutImport_template_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutImport_template_line_itemsInput, StatusUncheckedCreateWithoutImport_template_line_itemsInput>
  }

  export type ImportTemplateCreateWithoutLine_itemsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutLine_itemsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutLine_itemsInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutLine_itemsInput, ImportTemplateUncheckedCreateWithoutLine_itemsInput>
  }

  export type FieldTypeCreateWithoutImportTemplateLineItemInput = {
    field_type: string
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutField_typesInput
    master_grid_lineitem?: MasterEntityLineItemCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUncheckedCreateWithoutImportTemplateLineItemInput = {
    id?: number
    field_type: string
    company_id: number
    status_id?: number
    created_at?: Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeCreateOrConnectWithoutImportTemplateLineItemInput = {
    where: FieldTypeWhereUniqueInput
    create: XOR<FieldTypeCreateWithoutImportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutImportTemplateLineItemInput>
  }

  export type StatusUpsertWithoutImport_template_line_itemsInput = {
    update: XOR<StatusUpdateWithoutImport_template_line_itemsInput, StatusUncheckedUpdateWithoutImport_template_line_itemsInput>
    create: XOR<StatusCreateWithoutImport_template_line_itemsInput, StatusUncheckedCreateWithoutImport_template_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutImport_template_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutImport_template_line_itemsInput, StatusUncheckedUpdateWithoutImport_template_line_itemsInput>
  }

  export type StatusUpdateWithoutImport_template_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutImport_template_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ImportTemplateUpsertWithoutLine_itemsInput = {
    update: XOR<ImportTemplateUpdateWithoutLine_itemsInput, ImportTemplateUncheckedUpdateWithoutLine_itemsInput>
    create: XOR<ImportTemplateCreateWithoutLine_itemsInput, ImportTemplateUncheckedCreateWithoutLine_itemsInput>
    where?: ImportTemplateWhereInput
  }

  export type ImportTemplateUpdateToOneWithWhereWithoutLine_itemsInput = {
    where?: ImportTemplateWhereInput
    data: XOR<ImportTemplateUpdateWithoutLine_itemsInput, ImportTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type ImportTemplateUpdateWithoutLine_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutLine_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type FieldTypeUpsertWithoutImportTemplateLineItemInput = {
    update: XOR<FieldTypeUpdateWithoutImportTemplateLineItemInput, FieldTypeUncheckedUpdateWithoutImportTemplateLineItemInput>
    create: XOR<FieldTypeCreateWithoutImportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutImportTemplateLineItemInput>
    where?: FieldTypeWhereInput
  }

  export type FieldTypeUpdateToOneWithWhereWithoutImportTemplateLineItemInput = {
    where?: FieldTypeWhereInput
    data: XOR<FieldTypeUpdateWithoutImportTemplateLineItemInput, FieldTypeUncheckedUpdateWithoutImportTemplateLineItemInput>
  }

  export type FieldTypeUpdateWithoutImportTemplateLineItemInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutField_typesNestedInput
    master_grid_lineitem?: MasterEntityLineItemUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateWithoutImportTemplateLineItemInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
  }

  export type StatusCreateWithoutImport_template_queriesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutImport_template_queriesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutImport_template_queriesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutImport_template_queriesInput, StatusUncheckedCreateWithoutImport_template_queriesInput>
  }

  export type ImportTemplateCreateWithoutQueriesInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutQueriesInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutQueriesInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutQueriesInput, ImportTemplateUncheckedCreateWithoutQueriesInput>
  }

  export type StatusUpsertWithoutImport_template_queriesInput = {
    update: XOR<StatusUpdateWithoutImport_template_queriesInput, StatusUncheckedUpdateWithoutImport_template_queriesInput>
    create: XOR<StatusCreateWithoutImport_template_queriesInput, StatusUncheckedCreateWithoutImport_template_queriesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutImport_template_queriesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutImport_template_queriesInput, StatusUncheckedUpdateWithoutImport_template_queriesInput>
  }

  export type StatusUpdateWithoutImport_template_queriesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutImport_template_queriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ImportTemplateUpsertWithoutQueriesInput = {
    update: XOR<ImportTemplateUpdateWithoutQueriesInput, ImportTemplateUncheckedUpdateWithoutQueriesInput>
    create: XOR<ImportTemplateCreateWithoutQueriesInput, ImportTemplateUncheckedCreateWithoutQueriesInput>
    where?: ImportTemplateWhereInput
  }

  export type ImportTemplateUpdateToOneWithWhereWithoutQueriesInput = {
    where?: ImportTemplateWhereInput
    data: XOR<ImportTemplateUpdateWithoutQueriesInput, ImportTemplateUncheckedUpdateWithoutQueriesInput>
  }

  export type ImportTemplateUpdateWithoutQueriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutQueriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type StatusCreateWithoutDirect_import_detailsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDirect_import_detailsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDirect_import_detailsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDirect_import_detailsInput, StatusUncheckedCreateWithoutDirect_import_detailsInput>
  }

  export type ImportTemplateCreateWithoutDirect_import_detailsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutDirect_import_detailsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutDirect_import_detailsInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutDirect_import_detailsInput, ImportTemplateUncheckedCreateWithoutDirect_import_detailsInput>
  }

  export type UserCreateWithoutCreated_direct_import_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_direct_import_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_direct_import_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_direct_import_detailsInput, UserUncheckedCreateWithoutCreated_direct_import_detailsInput>
  }

  export type UserCreateWithoutUpdated_direct_import_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_direct_import_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_direct_import_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_direct_import_detailsInput, UserUncheckedCreateWithoutUpdated_direct_import_detailsInput>
  }

  export type UserCreateWithoutDeleted_direct_import_detailsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_direct_import_detailsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_direct_import_detailsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_direct_import_detailsInput, UserUncheckedCreateWithoutDeleted_direct_import_detailsInput>
  }

  export type StatusUpsertWithoutDirect_import_detailsInput = {
    update: XOR<StatusUpdateWithoutDirect_import_detailsInput, StatusUncheckedUpdateWithoutDirect_import_detailsInput>
    create: XOR<StatusCreateWithoutDirect_import_detailsInput, StatusUncheckedCreateWithoutDirect_import_detailsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDirect_import_detailsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDirect_import_detailsInput, StatusUncheckedUpdateWithoutDirect_import_detailsInput>
  }

  export type StatusUpdateWithoutDirect_import_detailsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDirect_import_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ImportTemplateUpsertWithoutDirect_import_detailsInput = {
    update: XOR<ImportTemplateUpdateWithoutDirect_import_detailsInput, ImportTemplateUncheckedUpdateWithoutDirect_import_detailsInput>
    create: XOR<ImportTemplateCreateWithoutDirect_import_detailsInput, ImportTemplateUncheckedCreateWithoutDirect_import_detailsInput>
    where?: ImportTemplateWhereInput
  }

  export type ImportTemplateUpdateToOneWithWhereWithoutDirect_import_detailsInput = {
    where?: ImportTemplateWhereInput
    data: XOR<ImportTemplateUpdateWithoutDirect_import_detailsInput, ImportTemplateUncheckedUpdateWithoutDirect_import_detailsInput>
  }

  export type ImportTemplateUpdateWithoutDirect_import_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutDirect_import_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type UserUpsertWithoutCreated_direct_import_detailsInput = {
    update: XOR<UserUpdateWithoutCreated_direct_import_detailsInput, UserUncheckedUpdateWithoutCreated_direct_import_detailsInput>
    create: XOR<UserCreateWithoutCreated_direct_import_detailsInput, UserUncheckedCreateWithoutCreated_direct_import_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_direct_import_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_direct_import_detailsInput, UserUncheckedUpdateWithoutCreated_direct_import_detailsInput>
  }

  export type UserUpdateWithoutCreated_direct_import_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_direct_import_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_direct_import_detailsInput = {
    update: XOR<UserUpdateWithoutUpdated_direct_import_detailsInput, UserUncheckedUpdateWithoutUpdated_direct_import_detailsInput>
    create: XOR<UserCreateWithoutUpdated_direct_import_detailsInput, UserUncheckedCreateWithoutUpdated_direct_import_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_direct_import_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_direct_import_detailsInput, UserUncheckedUpdateWithoutUpdated_direct_import_detailsInput>
  }

  export type UserUpdateWithoutUpdated_direct_import_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_direct_import_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_direct_import_detailsInput = {
    update: XOR<UserUpdateWithoutDeleted_direct_import_detailsInput, UserUncheckedUpdateWithoutDeleted_direct_import_detailsInput>
    create: XOR<UserCreateWithoutDeleted_direct_import_detailsInput, UserUncheckedCreateWithoutDeleted_direct_import_detailsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_direct_import_detailsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_direct_import_detailsInput, UserUncheckedUpdateWithoutDeleted_direct_import_detailsInput>
  }

  export type UserUpdateWithoutDeleted_direct_import_detailsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_direct_import_detailsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutImport_jobInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutImport_jobInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutImport_jobInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutImport_jobInput, StatusUncheckedCreateWithoutImport_jobInput>
  }

  export type ImportTemplateCreateWithoutImport_jobsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutImport_jobsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutImport_jobsInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutImport_jobsInput, ImportTemplateUncheckedCreateWithoutImport_jobsInput>
  }

  export type UserCreateWithoutCreated_import_jobInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_import_jobInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_import_jobInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_import_jobInput, UserUncheckedCreateWithoutCreated_import_jobInput>
  }

  export type UserCreateWithoutUpdated_import_jobInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_import_jobInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_import_jobInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_import_jobInput, UserUncheckedCreateWithoutUpdated_import_jobInput>
  }

  export type UserCreateWithoutDeleted_import_jobInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_import_jobInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_import_jobInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_import_jobInput, UserUncheckedCreateWithoutDeleted_import_jobInput>
  }

  export type ImportJobLineItemCreateWithoutImport_jobInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_job_line_itemsInput
  }

  export type ImportJobLineItemUncheckedCreateWithoutImport_jobInput = {
    id?: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    status_id?: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type ImportJobLineItemCreateOrConnectWithoutImport_jobInput = {
    where: ImportJobLineItemWhereUniqueInput
    create: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput>
  }

  export type ImportJobLineItemCreateManyImport_jobInputEnvelope = {
    data: ImportJobLineItemCreateManyImport_jobInput | ImportJobLineItemCreateManyImport_jobInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutImport_jobInput = {
    update: XOR<StatusUpdateWithoutImport_jobInput, StatusUncheckedUpdateWithoutImport_jobInput>
    create: XOR<StatusCreateWithoutImport_jobInput, StatusUncheckedCreateWithoutImport_jobInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutImport_jobInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutImport_jobInput, StatusUncheckedUpdateWithoutImport_jobInput>
  }

  export type StatusUpdateWithoutImport_jobInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutImport_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ImportTemplateUpsertWithoutImport_jobsInput = {
    update: XOR<ImportTemplateUpdateWithoutImport_jobsInput, ImportTemplateUncheckedUpdateWithoutImport_jobsInput>
    create: XOR<ImportTemplateCreateWithoutImport_jobsInput, ImportTemplateUncheckedCreateWithoutImport_jobsInput>
    where?: ImportTemplateWhereInput
  }

  export type ImportTemplateUpdateToOneWithWhereWithoutImport_jobsInput = {
    where?: ImportTemplateWhereInput
    data: XOR<ImportTemplateUpdateWithoutImport_jobsInput, ImportTemplateUncheckedUpdateWithoutImport_jobsInput>
  }

  export type ImportTemplateUpdateWithoutImport_jobsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutImport_jobsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type UserUpsertWithoutCreated_import_jobInput = {
    update: XOR<UserUpdateWithoutCreated_import_jobInput, UserUncheckedUpdateWithoutCreated_import_jobInput>
    create: XOR<UserCreateWithoutCreated_import_jobInput, UserUncheckedCreateWithoutCreated_import_jobInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_import_jobInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_import_jobInput, UserUncheckedUpdateWithoutCreated_import_jobInput>
  }

  export type UserUpdateWithoutCreated_import_jobInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_import_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_import_jobInput = {
    update: XOR<UserUpdateWithoutUpdated_import_jobInput, UserUncheckedUpdateWithoutUpdated_import_jobInput>
    create: XOR<UserCreateWithoutUpdated_import_jobInput, UserUncheckedCreateWithoutUpdated_import_jobInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_import_jobInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_import_jobInput, UserUncheckedUpdateWithoutUpdated_import_jobInput>
  }

  export type UserUpdateWithoutUpdated_import_jobInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_import_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_import_jobInput = {
    update: XOR<UserUpdateWithoutDeleted_import_jobInput, UserUncheckedUpdateWithoutDeleted_import_jobInput>
    create: XOR<UserCreateWithoutDeleted_import_jobInput, UserUncheckedCreateWithoutDeleted_import_jobInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_import_jobInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_import_jobInput, UserUncheckedUpdateWithoutDeleted_import_jobInput>
  }

  export type UserUpdateWithoutDeleted_import_jobInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_import_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ImportJobLineItemUpsertWithWhereUniqueWithoutImport_jobInput = {
    where: ImportJobLineItemWhereUniqueInput
    update: XOR<ImportJobLineItemUpdateWithoutImport_jobInput, ImportJobLineItemUncheckedUpdateWithoutImport_jobInput>
    create: XOR<ImportJobLineItemCreateWithoutImport_jobInput, ImportJobLineItemUncheckedCreateWithoutImport_jobInput>
  }

  export type ImportJobLineItemUpdateWithWhereUniqueWithoutImport_jobInput = {
    where: ImportJobLineItemWhereUniqueInput
    data: XOR<ImportJobLineItemUpdateWithoutImport_jobInput, ImportJobLineItemUncheckedUpdateWithoutImport_jobInput>
  }

  export type ImportJobLineItemUpdateManyWithWhereWithoutImport_jobInput = {
    where: ImportJobLineItemScalarWhereInput
    data: XOR<ImportJobLineItemUpdateManyMutationInput, ImportJobLineItemUncheckedUpdateManyWithoutImport_jobInput>
  }

  export type ImportJobLineItemScalarWhereInput = {
    AND?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
    OR?: ImportJobLineItemScalarWhereInput[]
    NOT?: ImportJobLineItemScalarWhereInput | ImportJobLineItemScalarWhereInput[]
    id?: IntFilter<"ImportJobLineItem"> | number
    import_job_id?: IntFilter<"ImportJobLineItem"> | number
    row_object?: JsonNullableFilter<"ImportJobLineItem">
    job_status?: StringNullableFilter<"ImportJobLineItem"> | string | null
    status_id?: IntFilter<"ImportJobLineItem"> | number
    company_id?: IntFilter<"ImportJobLineItem"> | number
    created_at?: DateTimeFilter<"ImportJobLineItem"> | Date | string
    validated_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ImportJobLineItem"> | Date | string | null
  }

  export type StatusCreateWithoutImport_job_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutImport_job_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutImport_job_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutImport_job_line_itemsInput, StatusUncheckedCreateWithoutImport_job_line_itemsInput>
  }

  export type ImportJobCreateWithoutLine_itemsInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutImport_jobInput
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
  }

  export type ImportJobUncheckedCreateWithoutLine_itemsInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobCreateOrConnectWithoutLine_itemsInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutLine_itemsInput, ImportJobUncheckedCreateWithoutLine_itemsInput>
  }

  export type StatusUpsertWithoutImport_job_line_itemsInput = {
    update: XOR<StatusUpdateWithoutImport_job_line_itemsInput, StatusUncheckedUpdateWithoutImport_job_line_itemsInput>
    create: XOR<StatusCreateWithoutImport_job_line_itemsInput, StatusUncheckedCreateWithoutImport_job_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutImport_job_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutImport_job_line_itemsInput, StatusUncheckedUpdateWithoutImport_job_line_itemsInput>
  }

  export type StatusUpdateWithoutImport_job_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutImport_job_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ImportJobUpsertWithoutLine_itemsInput = {
    update: XOR<ImportJobUpdateWithoutLine_itemsInput, ImportJobUncheckedUpdateWithoutLine_itemsInput>
    create: XOR<ImportJobCreateWithoutLine_itemsInput, ImportJobUncheckedCreateWithoutLine_itemsInput>
    where?: ImportJobWhereInput
  }

  export type ImportJobUpdateToOneWithWhereWithoutLine_itemsInput = {
    where?: ImportJobWhereInput
    data: XOR<ImportJobUpdateWithoutLine_itemsInput, ImportJobUncheckedUpdateWithoutLine_itemsInput>
  }

  export type ImportJobUpdateWithoutLine_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutLine_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type StatusCreateWithoutExport_templatesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutExport_templatesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutExport_templatesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutExport_templatesInput, StatusUncheckedCreateWithoutExport_templatesInput>
  }

  export type UserCreateWithoutCreated_export_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_export_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_export_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_export_templatesInput, UserUncheckedCreateWithoutCreated_export_templatesInput>
  }

  export type UserCreateWithoutUpdated_export_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_export_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_export_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_export_templatesInput, UserUncheckedCreateWithoutUpdated_export_templatesInput>
  }

  export type UserCreateWithoutDeleted_export_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_export_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_export_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_export_templatesInput, UserUncheckedCreateWithoutDeleted_export_templatesInput>
  }

  export type ExportTemplateLineItemCreateWithoutExport_templateInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutExport_template_line_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutExportTemplateLineItemInput
  }

  export type ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput = {
    id?: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemCreateOrConnectWithoutExport_templateInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    create: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput>
  }

  export type ExportTemplateLineItemCreateManyExport_templateInputEnvelope = {
    data: ExportTemplateLineItemCreateManyExport_templateInput | ExportTemplateLineItemCreateManyExport_templateInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateQueriesCreateWithoutExport_templateInput = {
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutExport_template_queriesInput
  }

  export type ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput = {
    id?: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesCreateOrConnectWithoutExport_templateInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    create: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput>
  }

  export type ExportTemplateQueriesCreateManyExport_templateInputEnvelope = {
    data: ExportTemplateQueriesCreateManyExport_templateInput | ExportTemplateQueriesCreateManyExport_templateInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutExport_templatesInput = {
    update: XOR<StatusUpdateWithoutExport_templatesInput, StatusUncheckedUpdateWithoutExport_templatesInput>
    create: XOR<StatusCreateWithoutExport_templatesInput, StatusUncheckedCreateWithoutExport_templatesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutExport_templatesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutExport_templatesInput, StatusUncheckedUpdateWithoutExport_templatesInput>
  }

  export type StatusUpdateWithoutExport_templatesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutExport_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_export_templatesInput = {
    update: XOR<UserUpdateWithoutCreated_export_templatesInput, UserUncheckedUpdateWithoutCreated_export_templatesInput>
    create: XOR<UserCreateWithoutCreated_export_templatesInput, UserUncheckedCreateWithoutCreated_export_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_export_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_export_templatesInput, UserUncheckedUpdateWithoutCreated_export_templatesInput>
  }

  export type UserUpdateWithoutCreated_export_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_export_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_export_templatesInput = {
    update: XOR<UserUpdateWithoutUpdated_export_templatesInput, UserUncheckedUpdateWithoutUpdated_export_templatesInput>
    create: XOR<UserCreateWithoutUpdated_export_templatesInput, UserUncheckedCreateWithoutUpdated_export_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_export_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_export_templatesInput, UserUncheckedUpdateWithoutUpdated_export_templatesInput>
  }

  export type UserUpdateWithoutUpdated_export_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_export_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_export_templatesInput = {
    update: XOR<UserUpdateWithoutDeleted_export_templatesInput, UserUncheckedUpdateWithoutDeleted_export_templatesInput>
    create: XOR<UserCreateWithoutDeleted_export_templatesInput, UserUncheckedCreateWithoutDeleted_export_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_export_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_export_templatesInput, UserUncheckedUpdateWithoutDeleted_export_templatesInput>
  }

  export type UserUpdateWithoutDeleted_export_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_export_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ExportTemplateLineItemUpsertWithWhereUniqueWithoutExport_templateInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    update: XOR<ExportTemplateLineItemUpdateWithoutExport_templateInput, ExportTemplateLineItemUncheckedUpdateWithoutExport_templateInput>
    create: XOR<ExportTemplateLineItemCreateWithoutExport_templateInput, ExportTemplateLineItemUncheckedCreateWithoutExport_templateInput>
  }

  export type ExportTemplateLineItemUpdateWithWhereUniqueWithoutExport_templateInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    data: XOR<ExportTemplateLineItemUpdateWithoutExport_templateInput, ExportTemplateLineItemUncheckedUpdateWithoutExport_templateInput>
  }

  export type ExportTemplateLineItemUpdateManyWithWhereWithoutExport_templateInput = {
    where: ExportTemplateLineItemScalarWhereInput
    data: XOR<ExportTemplateLineItemUpdateManyMutationInput, ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateInput>
  }

  export type ExportTemplateQueriesUpsertWithWhereUniqueWithoutExport_templateInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    update: XOR<ExportTemplateQueriesUpdateWithoutExport_templateInput, ExportTemplateQueriesUncheckedUpdateWithoutExport_templateInput>
    create: XOR<ExportTemplateQueriesCreateWithoutExport_templateInput, ExportTemplateQueriesUncheckedCreateWithoutExport_templateInput>
  }

  export type ExportTemplateQueriesUpdateWithWhereUniqueWithoutExport_templateInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    data: XOR<ExportTemplateQueriesUpdateWithoutExport_templateInput, ExportTemplateQueriesUncheckedUpdateWithoutExport_templateInput>
  }

  export type ExportTemplateQueriesUpdateManyWithWhereWithoutExport_templateInput = {
    where: ExportTemplateQueriesScalarWhereInput
    data: XOR<ExportTemplateQueriesUpdateManyMutationInput, ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateInput>
  }

  export type ExportTemplateQueriesScalarWhereInput = {
    AND?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
    OR?: ExportTemplateQueriesScalarWhereInput[]
    NOT?: ExportTemplateQueriesScalarWhereInput | ExportTemplateQueriesScalarWhereInput[]
    id?: IntFilter<"ExportTemplateQueries"> | number
    export_template_id?: IntFilter<"ExportTemplateQueries"> | number
    query_string?: StringNullableFilter<"ExportTemplateQueries"> | string | null
    query_name?: StringFilter<"ExportTemplateQueries"> | string
    query_procedure?: StringFilter<"ExportTemplateQueries"> | string
    is_individual?: BoolFilter<"ExportTemplateQueries"> | boolean
    order_no?: DecimalFilter<"ExportTemplateQueries"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"ExportTemplateQueries"> | number
    company_id?: IntFilter<"ExportTemplateQueries"> | number
    created_at?: DateTimeFilter<"ExportTemplateQueries"> | Date | string
  }

  export type StatusCreateWithoutExport_template_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutExport_template_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutExport_template_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutExport_template_line_itemsInput, StatusUncheckedCreateWithoutExport_template_line_itemsInput>
  }

  export type ExportTemplateCreateWithoutLine_itemsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutLine_itemsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutLine_itemsInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutLine_itemsInput, ExportTemplateUncheckedCreateWithoutLine_itemsInput>
  }

  export type FieldTypeCreateWithoutExportTemplateLineItemInput = {
    field_type: string
    company_id: number
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutField_typesInput
    master_grid_lineitem?: MasterEntityLineItemCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUncheckedCreateWithoutExportTemplateLineItemInput = {
    id?: number
    field_type: string
    company_id: number
    status_id?: number
    created_at?: Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeCreateOrConnectWithoutExportTemplateLineItemInput = {
    where: FieldTypeWhereUniqueInput
    create: XOR<FieldTypeCreateWithoutExportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutExportTemplateLineItemInput>
  }

  export type StatusUpsertWithoutExport_template_line_itemsInput = {
    update: XOR<StatusUpdateWithoutExport_template_line_itemsInput, StatusUncheckedUpdateWithoutExport_template_line_itemsInput>
    create: XOR<StatusCreateWithoutExport_template_line_itemsInput, StatusUncheckedCreateWithoutExport_template_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutExport_template_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutExport_template_line_itemsInput, StatusUncheckedUpdateWithoutExport_template_line_itemsInput>
  }

  export type StatusUpdateWithoutExport_template_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutExport_template_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ExportTemplateUpsertWithoutLine_itemsInput = {
    update: XOR<ExportTemplateUpdateWithoutLine_itemsInput, ExportTemplateUncheckedUpdateWithoutLine_itemsInput>
    create: XOR<ExportTemplateCreateWithoutLine_itemsInput, ExportTemplateUncheckedCreateWithoutLine_itemsInput>
    where?: ExportTemplateWhereInput
  }

  export type ExportTemplateUpdateToOneWithWhereWithoutLine_itemsInput = {
    where?: ExportTemplateWhereInput
    data: XOR<ExportTemplateUpdateWithoutLine_itemsInput, ExportTemplateUncheckedUpdateWithoutLine_itemsInput>
  }

  export type ExportTemplateUpdateWithoutLine_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutLine_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type FieldTypeUpsertWithoutExportTemplateLineItemInput = {
    update: XOR<FieldTypeUpdateWithoutExportTemplateLineItemInput, FieldTypeUncheckedUpdateWithoutExportTemplateLineItemInput>
    create: XOR<FieldTypeCreateWithoutExportTemplateLineItemInput, FieldTypeUncheckedCreateWithoutExportTemplateLineItemInput>
    where?: FieldTypeWhereInput
  }

  export type FieldTypeUpdateToOneWithWhereWithoutExportTemplateLineItemInput = {
    where?: FieldTypeWhereInput
    data: XOR<FieldTypeUpdateWithoutExportTemplateLineItemInput, FieldTypeUncheckedUpdateWithoutExportTemplateLineItemInput>
  }

  export type FieldTypeUpdateWithoutExportTemplateLineItemInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutField_typesNestedInput
    master_grid_lineitem?: MasterEntityLineItemUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateWithoutExportTemplateLineItemInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
  }

  export type StatusCreateWithoutExport_template_queriesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutExport_template_queriesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutExport_template_queriesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutExport_template_queriesInput, StatusUncheckedCreateWithoutExport_template_queriesInput>
  }

  export type ExportTemplateCreateWithoutQueriesInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutExport_templatesInput
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutQueriesInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutQueriesInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutQueriesInput, ExportTemplateUncheckedCreateWithoutQueriesInput>
  }

  export type StatusUpsertWithoutExport_template_queriesInput = {
    update: XOR<StatusUpdateWithoutExport_template_queriesInput, StatusUncheckedUpdateWithoutExport_template_queriesInput>
    create: XOR<StatusCreateWithoutExport_template_queriesInput, StatusUncheckedCreateWithoutExport_template_queriesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutExport_template_queriesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutExport_template_queriesInput, StatusUncheckedUpdateWithoutExport_template_queriesInput>
  }

  export type StatusUpdateWithoutExport_template_queriesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutExport_template_queriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ExportTemplateUpsertWithoutQueriesInput = {
    update: XOR<ExportTemplateUpdateWithoutQueriesInput, ExportTemplateUncheckedUpdateWithoutQueriesInput>
    create: XOR<ExportTemplateCreateWithoutQueriesInput, ExportTemplateUncheckedCreateWithoutQueriesInput>
    where?: ExportTemplateWhereInput
  }

  export type ExportTemplateUpdateToOneWithWhereWithoutQueriesInput = {
    where?: ExportTemplateWhereInput
    data: XOR<ExportTemplateUpdateWithoutQueriesInput, ExportTemplateUncheckedUpdateWithoutQueriesInput>
  }

  export type ExportTemplateUpdateWithoutQueriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutQueriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type StatusCreateWithoutStatus_listInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutStatus_listInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutStatus_listInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutStatus_listInput, StatusUncheckedCreateWithoutStatus_listInput>
  }

  export type StatusCreateWithoutStatusInput = {
    name: string
    slug: string
    description?: string | null
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutStatusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutStatusInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput>
  }

  export type StatusCreateManyStatusInputEnvelope = {
    data: StatusCreateManyStatusInput | StatusCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentImagesCreateWithoutStatusInput = {
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    company_id?: number | null
  }

  export type ShipmentImagesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    company_id?: number | null
  }

  export type ShipmentImagesCreateOrConnectWithoutStatusInput = {
    where: ShipmentImagesWhereUniqueInput
    create: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentImagesCreateManyStatusInputEnvelope = {
    data: ShipmentImagesCreateManyStatusInput | ShipmentImagesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutStatusInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutStatusInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput>
  }

  export type UserCreateManyStatusInputEnvelope = {
    data: UserCreateManyStatusInput | UserCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type RequestLogCreateWithoutStatusInput = {
    id?: bigint | number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    user?: UserCreateNestedOneWithoutRequest_logsInput
  }

  export type RequestLogUncheckedCreateWithoutStatusInput = {
    id?: bigint | number
    uuid?: string
    user_id?: number | null
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    company_id: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RequestLogCreateOrConnectWithoutStatusInput = {
    where: RequestLogWhereUniqueInput
    create: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput>
  }

  export type RequestLogCreateManyStatusInputEnvelope = {
    data: RequestLogCreateManyStatusInput | RequestLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type PermissionsCreateWithoutStatusInput = {
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    entity?: MasterEntityCreateNestedOneWithoutPermissionsInput
    roles?: RolePermissionsCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsUncheckedCreateWithoutStatusInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
    roles?: RolePermissionsUncheckedCreateNestedManyWithoutPermissionInput
    users?: UserPermissionsUncheckedCreateNestedManyWithoutPermissionInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutPermissionInput
  }

  export type PermissionsCreateOrConnectWithoutStatusInput = {
    where: PermissionsWhereUniqueInput
    create: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput>
  }

  export type PermissionsCreateManyStatusInputEnvelope = {
    data: PermissionsCreateManyStatusInput | PermissionsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type RoleCreateWithoutStatusInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutStatusInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput>
  }

  export type RoleCreateManyStatusInputEnvelope = {
    data: RoleCreateManyStatusInput | RoleCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type LanguageCreateWithoutStatusInput = {
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentCreateNestedManyWithoutLanguageInput
    created?: UserCreateNestedOneWithoutCreated_languagesInput
    updated?: UserCreateNestedOneWithoutUpdated_languagesInput
    deleted?: UserCreateNestedOneWithoutDeleted_languagesInput
  }

  export type LanguageUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    translations?: LanguageContentUncheckedCreateNestedManyWithoutLanguageInput
  }

  export type LanguageCreateOrConnectWithoutStatusInput = {
    where: LanguageWhereUniqueInput
    create: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput>
  }

  export type LanguageCreateManyStatusInputEnvelope = {
    data: LanguageCreateManyStatusInput | LanguageCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type LanguageContentCreateWithoutStatusInput = {
    key_content: string
    values: string
    created_at?: Date | string
    language?: LanguageCreateNestedOneWithoutTranslationsInput
  }

  export type LanguageContentUncheckedCreateWithoutStatusInput = {
    id?: number
    language_id?: number
    key_content: string
    values: string
    company_id: number
    created_at?: Date | string
  }

  export type LanguageContentCreateOrConnectWithoutStatusInput = {
    where: LanguageContentWhereUniqueInput
    create: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput>
  }

  export type LanguageContentCreateManyStatusInputEnvelope = {
    data: LanguageContentCreateManyStatusInput | LanguageContentCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type MenuItemsCreateWithoutStatusInput = {
    name: string
    target?: string | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menus?: MenusCreateNestedOneWithoutMenuitemsInput
    entity?: MasterEntityCreateNestedOneWithoutMenusInput
    permission?: PermissionsCreateNestedOneWithoutMenusInput
    parent?: MenuItemsCreateNestedOneWithoutChildrenInput
    children?: MenuItemsCreateNestedManyWithoutParentInput
    created?: UserCreateNestedOneWithoutCreated_menu_itemsInput
    updated?: UserCreateNestedOneWithoutUpdated_menu_itemsInput
    deleted?: UserCreateNestedOneWithoutDeleted_menu_itemsInput
  }

  export type MenuItemsUncheckedCreateWithoutStatusInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: MenuItemsUncheckedCreateNestedManyWithoutParentInput
  }

  export type MenuItemsCreateOrConnectWithoutStatusInput = {
    where: MenuItemsWhereUniqueInput
    create: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput>
  }

  export type MenuItemsCreateManyStatusInputEnvelope = {
    data: MenuItemsCreateManyStatusInput | MenuItemsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type MenusCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsCreateNestedManyWithoutMenusInput
    created?: UserCreateNestedOneWithoutCreated_menusInput
    updated?: UserCreateNestedOneWithoutUpdated_menusInput
    deleted?: UserCreateNestedOneWithoutDeleted_menusInput
  }

  export type MenusUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutMenusInput
  }

  export type MenusCreateOrConnectWithoutStatusInput = {
    where: MenusWhereUniqueInput
    create: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput>
  }

  export type MenusCreateManyStatusInputEnvelope = {
    data: MenusCreateManyStatusInput | MenusCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type MasterEntityCreateWithoutStatusInput = {
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    created_at?: Date | string
    deleted_at?: Date | string | null
    associated_entity?: MasterEntityCreateNestedOneWithoutChildrenInput
    children?: MasterEntityCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
    children?: MasterEntityUncheckedCreateNestedManyWithoutAssociated_entityInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutEntityInput
    line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutMaster_gridInput
    menus?: MenuItemsUncheckedCreateNestedManyWithoutEntityInput
  }

  export type MasterEntityCreateOrConnectWithoutStatusInput = {
    where: MasterEntityWhereUniqueInput
    create: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput>
  }

  export type MasterEntityCreateManyStatusInputEnvelope = {
    data: MasterEntityCreateManyStatusInput | MasterEntityCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type MasterEntityLineItemCreateWithoutStatusInput = {
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    created_at?: Date | string
    master_grid: MasterEntityCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutMaster_grid_lineitemInput
  }

  export type MasterEntityLineItemUncheckedCreateWithoutStatusInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    company_id: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemCreateOrConnectWithoutStatusInput = {
    where: MasterEntityLineItemWhereUniqueInput
    create: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput>
  }

  export type MasterEntityLineItemCreateManyStatusInputEnvelope = {
    data: MasterEntityLineItemCreateManyStatusInput | MasterEntityLineItemCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type FieldTypeCreateWithoutStatusInput = {
    field_type: string
    company_id: number
    created_at?: Date | string
    master_grid_lineitem?: MasterEntityLineItemCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeUncheckedCreateWithoutStatusInput = {
    id?: number
    field_type: string
    company_id: number
    created_at?: Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedCreateNestedManyWithoutField_typeInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutField_typeInput
  }

  export type FieldTypeCreateOrConnectWithoutStatusInput = {
    where: FieldTypeWhereUniqueInput
    create: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput>
  }

  export type FieldTypeCreateManyStatusInputEnvelope = {
    data: FieldTypeCreateManyStatusInput | FieldTypeCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type menuTypeCreateWithoutStatusInput = {
    name?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type menuTypeUncheckedCreateWithoutStatusInput = {
    id?: number
    name?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type menuTypeCreateOrConnectWithoutStatusInput = {
    where: menuTypeWhereUniqueInput
    create: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput>
  }

  export type menuTypeCreateManyStatusInputEnvelope = {
    data: menuTypeCreateManyStatusInput | menuTypeCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateProcessCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutNotification_template_processInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_template_processInput
  }

  export type NotificationTemplateProcessCreateOrConnectWithoutStatusInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    create: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateProcessCreateManyStatusInputEnvelope = {
    data: NotificationTemplateProcessCreateManyStatusInput | NotificationTemplateProcessCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateTagCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    company_id: number
    notification_template_groups?: NotificationTemplateProcessTagsMappingCreateNestedManyWithoutNotification_template_tagInput
  }

  export type NotificationTemplateTagUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    company_id: number
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedCreateNestedManyWithoutNotification_template_tagInput
  }

  export type NotificationTemplateTagCreateOrConnectWithoutStatusInput = {
    where: NotificationTemplateTagWhereUniqueInput
    create: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateTagCreateManyStatusInputEnvelope = {
    data: NotificationTemplateTagCreateManyStatusInput | NotificationTemplateTagCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateRecipientTagCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    company_id: number
  }

  export type NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    company_id: number
  }

  export type NotificationTemplateRecipientTagCreateOrConnectWithoutStatusInput = {
    where: NotificationTemplateRecipientTagWhereUniqueInput
    create: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateRecipientTagCreateManyStatusInputEnvelope = {
    data: NotificationTemplateRecipientTagCreateManyStatusInput | NotificationTemplateRecipientTagCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationTemplateCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutStatusInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateCreateManyStatusInputEnvelope = {
    data: NotificationTemplateCreateManyStatusInput | NotificationTemplateCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationProcessJobCreateWithoutStatusInput = {
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created?: UserCreateNestedOneWithoutCreated_notification_process_jobsInput
  }

  export type NotificationProcessJobUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
  }

  export type NotificationProcessJobCreateOrConnectWithoutStatusInput = {
    where: NotificationProcessJobWhereUniqueInput
    create: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput>
  }

  export type NotificationProcessJobCreateManyStatusInputEnvelope = {
    data: NotificationProcessJobCreateManyStatusInput | NotificationProcessJobCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type NotificationJobCreateWithoutStatusInput = {
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    sent_at?: Date | string | null
    read_at?: Date | string | null
    created?: UserCreateNestedOneWithoutCreated_notification_jobInput
  }

  export type NotificationJobUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    company_id: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    created_by?: number | null
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type NotificationJobCreateOrConnectWithoutStatusInput = {
    where: NotificationJobWhereUniqueInput
    create: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput>
  }

  export type NotificationJobCreateManyStatusInputEnvelope = {
    data: NotificationJobCreateManyStatusInput | NotificationJobCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created?: UserCreateNestedOneWithoutCreated_import_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_import_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_templatesInput
    line_items?: ImportTemplateLineItemCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutImport_templateInput
    queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutImport_templateInput
    import_jobs?: ImportJobUncheckedCreateNestedManyWithoutImport_templateInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutImport_templateInput
  }

  export type ImportTemplateCreateOrConnectWithoutStatusInput = {
    where: ImportTemplateWhereUniqueInput
    create: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateCreateManyStatusInputEnvelope = {
    data: ImportTemplateCreateManyStatusInput | ImportTemplateCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateLineItemCreateWithoutStatusInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    import_template: ImportTemplateCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutImportTemplateLineItemInput
  }

  export type ImportTemplateLineItemUncheckedCreateWithoutStatusInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemCreateOrConnectWithoutStatusInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    create: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateLineItemCreateManyStatusInputEnvelope = {
    data: ImportTemplateLineItemCreateManyStatusInput | ImportTemplateLineItemCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ImportTemplateQueriesCreateWithoutStatusInput = {
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    import_template: ImportTemplateCreateNestedOneWithoutQueriesInput
  }

  export type ImportTemplateQueriesUncheckedCreateWithoutStatusInput = {
    id?: number
    import_template_id: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesCreateOrConnectWithoutStatusInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    create: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateQueriesCreateManyStatusInputEnvelope = {
    data: ImportTemplateQueriesCreateManyStatusInput | ImportTemplateQueriesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created?: UserCreateNestedOneWithoutCreated_export_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_export_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_export_templatesInput
    line_items?: ExportTemplateLineItemCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutExport_templateInput
    queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutExport_templateInput
  }

  export type ExportTemplateCreateOrConnectWithoutStatusInput = {
    where: ExportTemplateWhereUniqueInput
    create: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateCreateManyStatusInputEnvelope = {
    data: ExportTemplateCreateManyStatusInput | ExportTemplateCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateLineItemCreateWithoutStatusInput = {
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    created_at?: Date | string
    export_template: ExportTemplateCreateNestedOneWithoutLine_itemsInput
    field_type?: FieldTypeCreateNestedOneWithoutExportTemplateLineItemInput
  }

  export type ExportTemplateLineItemUncheckedCreateWithoutStatusInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemCreateOrConnectWithoutStatusInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    create: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateLineItemCreateManyStatusInputEnvelope = {
    data: ExportTemplateLineItemCreateManyStatusInput | ExportTemplateLineItemCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ExportTemplateQueriesCreateWithoutStatusInput = {
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    export_template: ExportTemplateCreateNestedOneWithoutQueriesInput
  }

  export type ExportTemplateQueriesUncheckedCreateWithoutStatusInput = {
    id?: number
    export_template_id: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesCreateOrConnectWithoutStatusInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    create: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateQueriesCreateManyStatusInputEnvelope = {
    data: ExportTemplateQueriesCreateManyStatusInput | ExportTemplateQueriesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DesignationCreateWithoutStatusInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailCreateNestedManyWithoutDesignationInput
    created?: UserCreateNestedOneWithoutCreated_designationsInput
    updated?: UserCreateNestedOneWithoutUpdated_designationsInput
    deleted?: UserCreateNestedOneWithoutDeleted_designationsInput
  }

  export type DesignationUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDesignationInput
  }

  export type DesignationCreateOrConnectWithoutStatusInput = {
    where: DesignationWhereUniqueInput
    create: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput>
  }

  export type DesignationCreateManyStatusInputEnvelope = {
    data: DesignationCreateManyStatusInput | DesignationCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DepartmentCreateWithoutStatusInput = {
    uuid?: string
    code: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailCreateNestedManyWithoutDepartmentInput
    department_head?: UserCreateNestedOneWithoutHead_departmentsInput
    created?: UserCreateNestedOneWithoutCreated_departmentsInput
    updated?: UserCreateNestedOneWithoutUpdated_departmentsInput
    deleted?: UserCreateNestedOneWithoutDeleted_departmentsInput
  }

  export type DepartmentUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    department_head_id?: number | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    users?: UserDetailUncheckedCreateNestedManyWithoutDepartmentInput
  }

  export type DepartmentCreateOrConnectWithoutStatusInput = {
    where: DepartmentWhereUniqueInput
    create: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput>
  }

  export type DepartmentCreateManyStatusInputEnvelope = {
    data: DepartmentCreateManyStatusInput | DepartmentCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type AuditLogCreateWithoutStatusInput = {
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    company_id?: number | null
    created_at?: Date | string
    user?: UserCreateNestedOneWithoutAudit_logsInput
  }

  export type AuditLogUncheckedCreateWithoutStatusInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    user_id?: number | null
    company_id?: number | null
    created_at?: Date | string
  }

  export type AuditLogCreateOrConnectWithoutStatusInput = {
    where: AuditLogWhereUniqueInput
    create: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput>
  }

  export type AuditLogCreateManyStatusInputEnvelope = {
    data: AuditLogCreateManyStatusInput | AuditLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type FinancialYearCreateWithoutStatusInput = {
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceCreateNestedManyWithoutFinanicial_yearInput
    created?: UserCreateNestedOneWithoutCreated_fin_yearsInput
    updated?: UserCreateNestedOneWithoutUpdated_fin_yearsInput
    deleted?: UserCreateNestedOneWithoutDeleted_fin_yearsInput
  }

  export type FinancialYearUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    document_sequence?: DocumentSequenceUncheckedCreateNestedManyWithoutFinanicial_yearInput
  }

  export type FinancialYearCreateOrConnectWithoutStatusInput = {
    where: FinancialYearWhereUniqueInput
    create: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput>
  }

  export type FinancialYearCreateManyStatusInputEnvelope = {
    data: FinancialYearCreateManyStatusInput | FinancialYearCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DocumentSequenceCreateWithoutStatusInput = {
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    finanicial_year?: FinancialYearCreateNestedOneWithoutDocument_sequenceInput
    created?: UserCreateNestedOneWithoutCreated_doc_sequencesInput
    updated?: UserCreateNestedOneWithoutUpdated_doc_sequencesInput
    deleted?: UserCreateNestedOneWithoutDeleted_doc_sequencesInput
  }

  export type DocumentSequenceUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateOrConnectWithoutStatusInput = {
    where: DocumentSequenceWhereUniqueInput
    create: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput>
  }

  export type DocumentSequenceCreateManyStatusInputEnvelope = {
    data: DocumentSequenceCreateManyStatusInput | DocumentSequenceCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type FileUploadLogCreateWithoutStatusInput = {
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type FileUploadLogUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type FileUploadLogCreateOrConnectWithoutStatusInput = {
    where: FileUploadLogWhereUniqueInput
    create: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput>
  }

  export type FileUploadLogCreateManyStatusInputEnvelope = {
    data: FileUploadLogCreateManyStatusInput | FileUploadLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DeviceRegistrationCreateWithoutStatusInput = {
    uuid?: string
    device_name: string
    device_unique_id: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_device_registration: UserCreateNestedOneWithoutCreated_device_registrationInput
    updated_device_registration?: UserCreateNestedOneWithoutUpdated_device_registrationInput
    deleted_device_registration?: UserCreateNestedOneWithoutDeleted_device_registrationInput
    user: UserCreateNestedOneWithoutDeviceRegistrationInput
  }

  export type DeviceRegistrationUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    device_name: string
    device_unique_id: string
    user_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateOrConnectWithoutStatusInput = {
    where: DeviceRegistrationWhereUniqueInput
    create: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput>
  }

  export type DeviceRegistrationCreateManyStatusInputEnvelope = {
    data: DeviceRegistrationCreateManyStatusInput | DeviceRegistrationCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobCreateWithoutStatusInput = {
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    import_template?: ImportTemplateCreateNestedOneWithoutImport_jobsInput
    created?: UserCreateNestedOneWithoutCreated_import_jobInput
    updated?: UserCreateNestedOneWithoutUpdated_import_jobInput
    deleted?: UserCreateNestedOneWithoutDeleted_import_jobInput
    line_items?: ImportJobLineItemCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutImport_jobInput
  }

  export type ImportJobCreateOrConnectWithoutStatusInput = {
    where: ImportJobWhereUniqueInput
    create: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput>
  }

  export type ImportJobCreateManyStatusInputEnvelope = {
    data: ImportJobCreateManyStatusInput | ImportJobCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ImportJobLineItemCreateWithoutStatusInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
    import_job: ImportJobCreateNestedOneWithoutLine_itemsInput
  }

  export type ImportJobLineItemUncheckedCreateWithoutStatusInput = {
    id?: number
    import_job_id: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    company_id: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type ImportJobLineItemCreateOrConnectWithoutStatusInput = {
    where: ImportJobLineItemWhereUniqueInput
    create: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ImportJobLineItemCreateManyStatusInputEnvelope = {
    data: ImportJobLineItemCreateManyStatusInput | ImportJobLineItemCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type PoliciesCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutStatusInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput>
  }

  export type PoliciesCreateManyStatusInputEnvelope = {
    data: PoliciesCreateManyStatusInput | PoliciesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type AppversionsCreateWithoutStatusInput = {
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
    created_app_versions: UserCreateNestedOneWithoutCreated_app_versionsInput
    updated_app_versions?: UserCreateNestedOneWithoutUpdated_app_versionsInput
    deleted_app_versions?: UserCreateNestedOneWithoutDeleted_app_versionsInput
  }

  export type AppversionsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateOrConnectWithoutStatusInput = {
    where: AppversionsWhereUniqueInput
    create: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput>
  }

  export type AppversionsCreateManyStatusInputEnvelope = {
    data: AppversionsCreateManyStatusInput | AppversionsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowCreateWithoutStatusInput = {
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApproval_workflowInput
  }

  export type ApprovalWorkflowUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApproval_workflowInput
  }

  export type ApprovalWorkflowCreateOrConnectWithoutStatusInput = {
    where: ApprovalWorkflowWhereUniqueInput
    create: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowCreateManyStatusInputEnvelope = {
    data: ApprovalWorkflowCreateManyStatusInput | ApprovalWorkflowCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalProcessJobWorkflowCreateWithoutStatusInput = {
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutApproval_process_job_workflowInput
  }

  export type ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput = {
    id?: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutApproval_process_job_workflowInput
  }

  export type ApprovalProcessJobWorkflowCreateOrConnectWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowWhereUniqueInput
    create: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowCreateManyStatusInputEnvelope = {
    data: ApprovalProcessJobWorkflowCreateManyStatusInput | ApprovalProcessJobWorkflowCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowApproverTagCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowApproverTagCreateOrConnectWithoutStatusInput = {
    where: ApprovalWorkflowApproverTagWhereUniqueInput
    create: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowApproverTagCreateManyStatusInputEnvelope = {
    data: ApprovalWorkflowApproverTagCreateManyStatusInput | ApprovalWorkflowApproverTagCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalWorkflowAssignmentCreateWithoutStatusInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approval_workflow: ApprovalWorkflowCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutStatusInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyStatusInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyStatusInput | ApprovalWorkflowAssignmentCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalProcessJobCreateWithoutStatusInput = {
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    company_id: number
  }

  export type ApprovalProcessJobUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    company_id: number
  }

  export type ApprovalProcessJobCreateOrConnectWithoutStatusInput = {
    where: ApprovalProcessJobWhereUniqueInput
    create: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobCreateManyStatusInputEnvelope = {
    data: ApprovalProcessJobCreateManyStatusInput | ApprovalProcessJobCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ApprovalProcessJobWorkflowUserCreateWithoutStatusInput = {
    uuid?: string
    user_id?: number | null
    approval_process_job_workflow: ApprovalProcessJobWorkflowCreateNestedOneWithoutApproval_process_job_workflow_usersInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    approval_process_job_workflow_id: number
    user_id?: number | null
    company_id: number
  }

  export type ApprovalProcessJobWorkflowUserCreateOrConnectWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    create: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUserCreateManyStatusInputEnvelope = {
    data: ApprovalProcessJobWorkflowUserCreateManyStatusInput | ApprovalProcessJobWorkflowUserCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DelegationCreateWithoutStatusInput = {
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DelegationUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DelegationCreateOrConnectWithoutStatusInput = {
    where: DelegationWhereUniqueInput
    create: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput>
  }

  export type DelegationCreateManyStatusInputEnvelope = {
    data: DelegationCreateManyStatusInput | DelegationCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type AboutLCPCreateWithoutStatusInput = {
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AboutLCPUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AboutLCPCreateOrConnectWithoutStatusInput = {
    where: AboutLCPWhereUniqueInput
    create: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput>
  }

  export type AboutLCPCreateManyStatusInputEnvelope = {
    data: AboutLCPCreateManyStatusInput | AboutLCPCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type SchemaChunkCreateWithoutStatusInput = {
    uuid?: string
    table_name: string
    chunk: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
  }

  export type SchemaChunkUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    table_name: string
    chunk: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
  }

  export type SchemaChunkCreateOrConnectWithoutStatusInput = {
    where: SchemaChunkWhereUniqueInput
    create: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput>
  }

  export type SchemaChunkCreateManyStatusInputEnvelope = {
    data: SchemaChunkCreateManyStatusInput | SchemaChunkCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type OpenaiUsageLogCreateWithoutStatusInput = {
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type OpenaiUsageLogUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type OpenaiUsageLogCreateOrConnectWithoutStatusInput = {
    where: OpenaiUsageLogWhereUniqueInput
    create: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput>
  }

  export type OpenaiUsageLogCreateManyStatusInputEnvelope = {
    data: OpenaiUsageLogCreateManyStatusInput | OpenaiUsageLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type EmbeddingVectorLogsCreateWithoutStatusInput = {
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type EmbeddingVectorLogsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type EmbeddingVectorLogsCreateOrConnectWithoutStatusInput = {
    where: EmbeddingVectorLogsWhereUniqueInput
    create: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput>
  }

  export type EmbeddingVectorLogsCreateManyStatusInputEnvelope = {
    data: EmbeddingVectorLogsCreateManyStatusInput | EmbeddingVectorLogsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type QueryExecutionLogCreateWithoutStatusInput = {
    uuid?: string
    company_id: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type QueryExecutionLogUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type QueryExecutionLogCreateOrConnectWithoutStatusInput = {
    where: QueryExecutionLogWhereUniqueInput
    create: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput>
  }

  export type QueryExecutionLogCreateManyStatusInputEnvelope = {
    data: QueryExecutionLogCreateManyStatusInput | QueryExecutionLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ChildProcessCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutChild_processInput
  }

  export type ChildProcessUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutChild_processInput
  }

  export type ChildProcessCreateOrConnectWithoutStatusInput = {
    where: ChildProcessWhereUniqueInput
    create: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput>
  }

  export type ChildProcessCreateManyStatusInputEnvelope = {
    data: ChildProcessCreateManyStatusInput | ChildProcessCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ChildProcessLogCreateWithoutStatusInput = {
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    child_process: ChildProcessCreateNestedOneWithoutChild_process_logsInput
    initiator: UserCreateNestedOneWithoutChildProcessLogInput
  }

  export type ChildProcessLogUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogCreateOrConnectWithoutStatusInput = {
    where: ChildProcessLogWhereUniqueInput
    create: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput>
  }

  export type ChildProcessLogCreateManyStatusInputEnvelope = {
    data: ChildProcessLogCreateManyStatusInput | ChildProcessLogCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type CarouselTemplateCreateWithoutStatusInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created?: UserCreateNestedOneWithoutCreated_carousel_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_carousel_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_carousel_templatesInput
    line_items?: CarouselTemplateLineItemCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutCarousel_templateInput
  }

  export type CarouselTemplateCreateOrConnectWithoutStatusInput = {
    where: CarouselTemplateWhereUniqueInput
    create: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput>
  }

  export type CarouselTemplateCreateManyStatusInputEnvelope = {
    data: CarouselTemplateCreateManyStatusInput | CarouselTemplateCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type CarouselTemplateLineItemCreateWithoutStatusInput = {
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    created_at?: Date | string
    carousel_template: CarouselTemplateCreateNestedOneWithoutLine_itemsInput
  }

  export type CarouselTemplateLineItemUncheckedCreateWithoutStatusInput = {
    id?: number
    carousel_template_id: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type CarouselTemplateLineItemCreateOrConnectWithoutStatusInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    create: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type CarouselTemplateLineItemCreateManyStatusInputEnvelope = {
    data: CarouselTemplateLineItemCreateManyStatusInput | CarouselTemplateLineItemCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ScheduledJobLogsCreateWithoutStatusInput = {
    uuid?: string
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    scheduled_job: ScheduledJobCreateNestedOneWithoutScheduled_job_logsInput
  }

  export type ScheduledJobLogsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    scheduled_job_id: number
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
  }

  export type ScheduledJobLogsCreateOrConnectWithoutStatusInput = {
    where: ScheduledJobLogsWhereUniqueInput
    create: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput>
  }

  export type ScheduledJobLogsCreateManyStatusInputEnvelope = {
    data: ScheduledJobLogsCreateManyStatusInput | ScheduledJobLogsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ScheduledJobCreateWithoutStatusInput = {
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutScheduled_jobInput
  }

  export type ScheduledJobUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutScheduled_jobInput
  }

  export type ScheduledJobCreateOrConnectWithoutStatusInput = {
    where: ScheduledJobWhereUniqueInput
    create: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput>
  }

  export type ScheduledJobCreateManyStatusInputEnvelope = {
    data: ScheduledJobCreateManyStatusInput | ScheduledJobCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type CategoriesCreateWithoutStatusInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutStatusInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput>
  }

  export type CategoriesCreateManyStatusInputEnvelope = {
    data: CategoriesCreateManyStatusInput | CategoriesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ThemeAttributesCreateWithoutStatusInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    CreatedThemeAttributes?: UserCreateNestedOneWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: UserCreateNestedOneWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: UserCreateNestedOneWithoutDeletedThemeAttributesInput
  }

  export type ThemeAttributesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateOrConnectWithoutStatusInput = {
    where: ThemeAttributesWhereUniqueInput
    create: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput>
  }

  export type ThemeAttributesCreateManyStatusInputEnvelope = {
    data: ThemeAttributesCreateManyStatusInput | ThemeAttributesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ThemesCreateWithoutStatusInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsCreateNestedManyWithoutThemesInput
    CreatedTheme?: UserCreateNestedOneWithoutCreatedThemeInput
    UpdatedTheme?: UserCreateNestedOneWithoutUpdatedThemeInput
    DeletedTheme?: UserCreateNestedOneWithoutDeletedThemeInput
  }

  export type ThemesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedCreateNestedManyWithoutThemesInput
  }

  export type ThemesCreateOrConnectWithoutStatusInput = {
    where: ThemesWhereUniqueInput
    create: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput>
  }

  export type ThemesCreateManyStatusInputEnvelope = {
    data: ThemesCreateManyStatusInput | ThemesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ThemeLineItemsCreateWithoutStatusInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    themes: ThemesCreateNestedOneWithoutTheme_attributesInput
    CreatedThemeLineItems?: UserCreateNestedOneWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: UserCreateNestedOneWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: UserCreateNestedOneWithoutDeletedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateOrConnectWithoutStatusInput = {
    where: ThemeLineItemsWhereUniqueInput
    create: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type ThemeLineItemsCreateManyStatusInputEnvelope = {
    data: ThemeLineItemsCreateManyStatusInput | ThemeLineItemsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type BarcodeTemplatesCreateWithoutStatusInput = {
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_barcode_templates: UserCreateNestedOneWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: UserCreateNestedOneWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: UserCreateNestedOneWithoutDeleted_barcode_templatesInput
  }

  export type BarcodeTemplatesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateOrConnectWithoutStatusInput = {
    where: BarcodeTemplatesWhereUniqueInput
    create: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput>
  }

  export type BarcodeTemplatesCreateManyStatusInputEnvelope = {
    data: BarcodeTemplatesCreateManyStatusInput | BarcodeTemplatesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type UserLoginHistoryCreateWithoutStatusInput = {
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
    user: UserCreateNestedOneWithoutUser_login_historiesInput
  }

  export type UserLoginHistoryUncheckedCreateWithoutStatusInput = {
    id?: number
    user_id: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type UserLoginHistoryCreateOrConnectWithoutStatusInput = {
    where: UserLoginHistoryWhereUniqueInput
    create: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput>
  }

  export type UserLoginHistoryCreateManyStatusInputEnvelope = {
    data: UserLoginHistoryCreateManyStatusInput | UserLoginHistoryCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DirectImportDetailsCreateWithoutStatusInput = {
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    import_template?: ImportTemplateCreateNestedOneWithoutDirect_import_detailsInput
    created?: UserCreateNestedOneWithoutCreated_direct_import_detailsInput
    updated?: UserCreateNestedOneWithoutUpdated_direct_import_detailsInput
    deleted?: UserCreateNestedOneWithoutDeleted_direct_import_detailsInput
  }

  export type DirectImportDetailsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateOrConnectWithoutStatusInput = {
    where: DirectImportDetailsWhereUniqueInput
    create: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput>
  }

  export type DirectImportDetailsCreateManyStatusInputEnvelope = {
    data: DirectImportDetailsCreateManyStatusInput | DirectImportDetailsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DeliveryNotesCreateWithoutStatusInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutStatusInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNotesCreateManyStatusInputEnvelope = {
    data: DeliveryNotesCreateManyStatusInput | DeliveryNotesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DeliveryNoteLineItemsCreateWithoutStatusInput = {
    uuid?: string
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutDelivery_note_line_itemsInput
  }

  export type DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNoteLineItemsCreateOrConnectWithoutStatusInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    create: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNoteLineItemsCreateManyStatusInputEnvelope = {
    data: DeliveryNoteLineItemsCreateManyStatusInput | DeliveryNoteLineItemsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type CustomerDeliveryAddressesCreateWithoutStatusInput = {
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomer_delivery_addressInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomer_delivery_addressInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesCreateOrConnectWithoutStatusInput = {
    where: CustomerDeliveryAddressesWhereUniqueInput
    create: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput>
  }

  export type CustomerDeliveryAddressesCreateManyStatusInputEnvelope = {
    data: CustomerDeliveryAddressesCreateManyStatusInput | CustomerDeliveryAddressesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsCreateWithoutStatusInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutStatusInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentsCreateManyStatusInputEnvelope = {
    data: ShipmentsCreateManyStatusInput | ShipmentsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentCustomersCreateWithoutStatusInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipments: ShipmentsCreateNestedOneWithoutShipment_customersInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_customersInput
    customer: UserCreateNestedOneWithoutShipment_customersInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersCreateOrConnectWithoutStatusInput = {
    where: ShipmentCustomersWhereUniqueInput
    create: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentCustomersCreateManyStatusInputEnvelope = {
    data: ShipmentCustomersCreateManyStatusInput | ShipmentCustomersCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsLocationCreateWithoutStatusInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutStatusInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentsLocationCreateManyStatusInputEnvelope = {
    data: ShipmentsLocationCreateManyStatusInput | ShipmentsLocationCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentDeliveryNotesCreateWithoutStatusInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_location: ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateOrConnectWithoutStatusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    create: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentDeliveryNotesCreateManyStatusInputEnvelope = {
    data: ShipmentDeliveryNotesCreateManyStatusInput | ShipmentDeliveryNotesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type VehiclesCreateWithoutStatusInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutStatusInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput>
  }

  export type VehiclesCreateManyStatusInputEnvelope = {
    data: VehiclesCreateManyStatusInput | VehiclesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type VehiclesGpsDataCreateWithoutStatusInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_gps_dataInput
    user?: UserCreateNestedOneWithoutVehicle_gps_dataInput
  }

  export type VehiclesGpsDataUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataCreateOrConnectWithoutStatusInput = {
    where: VehiclesGpsDataWhereUniqueInput
    create: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput>
  }

  export type VehiclesGpsDataCreateManyStatusInputEnvelope = {
    data: VehiclesGpsDataCreateManyStatusInput | VehiclesGpsDataCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type GeoFencesCreateWithoutStatusInput = {
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesCreateOrConnectWithoutStatusInput = {
    where: GeoFencesWhereUniqueInput
    create: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput>
  }

  export type GeoFencesCreateManyStatusInputEnvelope = {
    data: GeoFencesCreateManyStatusInput | GeoFencesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type GeoFenceTrackingCreateWithoutStatusInput = {
    uuid?: string
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    vehicle: VehiclesCreateNestedOneWithoutGeo_fence_trackingInput
    geofence: GeoFencesCreateNestedOneWithoutGeofence_trackingInput
  }

  export type GeoFenceTrackingUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
  }

  export type GeoFenceTrackingCreateOrConnectWithoutStatusInput = {
    where: GeoFenceTrackingWhereUniqueInput
    create: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput>
  }

  export type GeoFenceTrackingCreateManyStatusInputEnvelope = {
    data: GeoFenceTrackingCreateManyStatusInput | GeoFenceTrackingCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type CustomerGeoFenceMappingCreateWithoutStatusInput = {
    uuid?: string
    company_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
    geofence: GeoFencesCreateNestedOneWithoutCustomer_geofence_mappingInput
    user: UserCreateNestedOneWithoutCustomer_geofence_mappingInput
  }

  export type CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    geofence_id: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type CustomerGeoFenceMappingCreateOrConnectWithoutStatusInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    create: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput>
  }

  export type CustomerGeoFenceMappingCreateManyStatusInputEnvelope = {
    data: CustomerGeoFenceMappingCreateManyStatusInput | CustomerGeoFenceMappingCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type DeliveryNoteStatusCreateWithoutStatusInput = {
    uuid?: string
    name: string
    code: string
    company_id: number
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutDn_statusInput
  }

  export type DeliveryNoteStatusUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutDn_statusInput
  }

  export type DeliveryNoteStatusCreateOrConnectWithoutStatusInput = {
    where: DeliveryNoteStatusWhereUniqueInput
    create: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNoteStatusCreateManyStatusInputEnvelope = {
    data: DeliveryNoteStatusCreateManyStatusInput | DeliveryNoteStatusCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ErpLogsCreateWithoutStatusInput = {
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: $Enums.SyncData
    sync_number?: string | null
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutErp_logsInput
  }

  export type ErpLogsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: $Enums.SyncData
    sync_number?: string | null
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutErp_logsInput
  }

  export type ErpLogsCreateOrConnectWithoutStatusInput = {
    where: ErpLogsWhereUniqueInput
    create: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput>
  }

  export type ErpLogsCreateManyStatusInputEnvelope = {
    data: ErpLogsCreateManyStatusInput | ErpLogsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ErpLogsLineItemsCreateWithoutStatusInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    erp_logs: ErpLogsCreateNestedOneWithoutErp_logs_line_itemsInput
  }

  export type ErpLogsLineItemsUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    erp_logs_id: number
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ErpLogsLineItemsCreateOrConnectWithoutStatusInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    create: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type ErpLogsLineItemsCreateManyStatusInputEnvelope = {
    data: ErpLogsLineItemsCreateManyStatusInput | ErpLogsLineItemsCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type VehicleUserMappingCreateWithoutStatusInput = {
    uuid?: string
    created_by?: number | null
    created_at?: Date | string | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_user_mappingInput
    user: UserCreateNestedOneWithoutVehicle_user_mappingInput
  }

  export type VehicleUserMappingUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    vehicle_id: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleUserMappingCreateOrConnectWithoutStatusInput = {
    where: VehicleUserMappingWhereUniqueInput
    create: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput>
  }

  export type VehicleUserMappingCreateManyStatusInputEnvelope = {
    data: VehicleUserMappingCreateManyStatusInput | VehicleUserMappingCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutStatusInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutStatusInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput>
  }

  export type VehicleGeofenceHistoryCreateManyStatusInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyStatusInput | VehicleGeofenceHistoryCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type TempSessionDataCreateWithoutStatusInput = {
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
  }

  export type TempSessionDataUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
  }

  export type TempSessionDataCreateOrConnectWithoutStatusInput = {
    where: TempSessionDataWhereUniqueInput
    create: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput>
  }

  export type TempSessionDataCreateManyStatusInputEnvelope = {
    data: TempSessionDataCreateManyStatusInput | TempSessionDataCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentStatusCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusCreateOrConnectWithoutStatusInput = {
    where: ShipmentStatusWhereUniqueInput
    create: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentStatusCreateManyStatusInputEnvelope = {
    data: ShipmentStatusCreateManyStatusInput | ShipmentStatusCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentStatusHistoryCreateWithoutStatusInput = {
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    company_id: number
  }

  export type ShipmentStatusHistoryUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    company_id: number
  }

  export type ShipmentStatusHistoryCreateOrConnectWithoutStatusInput = {
    where: ShipmentStatusHistoryWhereUniqueInput
    create: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentStatusHistoryCreateManyStatusInputEnvelope = {
    data: ShipmentStatusHistoryCreateManyStatusInput | ShipmentStatusHistoryCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type PodStatusCreateWithoutStatusInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code: string
    shipments_location?: ShipmentsLocationCreateNestedManyWithoutPod_statusInput
  }

  export type PodStatusUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code: string
    shipments_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutPod_statusInput
  }

  export type PodStatusCreateOrConnectWithoutStatusInput = {
    where: PodStatusWhereUniqueInput
    create: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput>
  }

  export type PodStatusCreateManyStatusInputEnvelope = {
    data: PodStatusCreateManyStatusInput | PodStatusCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type VehicleTripHistoriesCreateWithoutStatusInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
    vehicle: VehiclesCreateNestedOneWithoutVehicle_trip_historiesInput
    user?: UserCreateNestedOneWithoutVehicle_trip_historiesInput
  }

  export type VehicleTripHistoriesUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehicleTripHistoriesCreateOrConnectWithoutStatusInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    create: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput>
  }

  export type VehicleTripHistoriesCreateManyStatusInputEnvelope = {
    data: VehicleTripHistoriesCreateManyStatusInput | VehicleTripHistoriesCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentLocationContactInfoHistoryCreateWithoutStatusInput = {
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
  }

  export type ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
  }

  export type ShipmentLocationContactInfoHistoryCreateOrConnectWithoutStatusInput = {
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
    create: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentLocationContactInfoHistoryCreateManyStatusInputEnvelope = {
    data: ShipmentLocationContactInfoHistoryCreateManyStatusInput | ShipmentLocationContactInfoHistoryCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type TreeBuilderExampleCreateWithoutStatusInput = {
    uuid?: string
    name: string
    code: string
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    parent?: TreeBuilderExampleCreateNestedOneWithoutChildrenInput
    children?: TreeBuilderExampleCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    parent_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: TreeBuilderExampleUncheckedCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleCreateOrConnectWithoutStatusInput = {
    where: TreeBuilderExampleWhereUniqueInput
    create: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput>
  }

  export type TreeBuilderExampleCreateManyStatusInputEnvelope = {
    data: TreeBuilderExampleCreateManyStatusInput | TreeBuilderExampleCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type userSearchConfigurationCreateWithoutStatusInput = {
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type userSearchConfigurationUncheckedCreateWithoutStatusInput = {
    id?: number
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type userSearchConfigurationCreateOrConnectWithoutStatusInput = {
    where: userSearchConfigurationWhereUniqueInput
    create: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput>
  }

  export type userSearchConfigurationCreateManyStatusInputEnvelope = {
    data: userSearchConfigurationCreateManyStatusInput | userSearchConfigurationCreateManyStatusInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutStatus_listInput = {
    update: XOR<StatusUpdateWithoutStatus_listInput, StatusUncheckedUpdateWithoutStatus_listInput>
    create: XOR<StatusCreateWithoutStatus_listInput, StatusUncheckedCreateWithoutStatus_listInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutStatus_listInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutStatus_listInput, StatusUncheckedUpdateWithoutStatus_listInput>
  }

  export type StatusUpdateWithoutStatus_listInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutStatus_listInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusUpsertWithWhereUniqueWithoutStatusInput = {
    where: StatusWhereUniqueInput
    update: XOR<StatusUpdateWithoutStatusInput, StatusUncheckedUpdateWithoutStatusInput>
    create: XOR<StatusCreateWithoutStatusInput, StatusUncheckedCreateWithoutStatusInput>
  }

  export type StatusUpdateWithWhereUniqueWithoutStatusInput = {
    where: StatusWhereUniqueInput
    data: XOR<StatusUpdateWithoutStatusInput, StatusUncheckedUpdateWithoutStatusInput>
  }

  export type StatusUpdateManyWithWhereWithoutStatusInput = {
    where: StatusScalarWhereInput
    data: XOR<StatusUpdateManyMutationInput, StatusUncheckedUpdateManyWithoutStatusInput>
  }

  export type StatusScalarWhereInput = {
    AND?: StatusScalarWhereInput | StatusScalarWhereInput[]
    OR?: StatusScalarWhereInput[]
    NOT?: StatusScalarWhereInput | StatusScalarWhereInput[]
    id?: IntFilter<"Status"> | number
    name?: StringFilter<"Status"> | string
    slug?: StringFilter<"Status"> | string
    description?: StringNullableFilter<"Status"> | string | null
    status_id?: IntNullableFilter<"Status"> | number | null
  }

  export type ShipmentImagesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentImagesWhereUniqueInput
    update: XOR<ShipmentImagesUpdateWithoutStatusInput, ShipmentImagesUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentImagesCreateWithoutStatusInput, ShipmentImagesUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentImagesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentImagesWhereUniqueInput
    data: XOR<ShipmentImagesUpdateWithoutStatusInput, ShipmentImagesUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentImagesUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentImagesScalarWhereInput
    data: XOR<ShipmentImagesUpdateManyMutationInput, ShipmentImagesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentImagesScalarWhereInput = {
    AND?: ShipmentImagesScalarWhereInput | ShipmentImagesScalarWhereInput[]
    OR?: ShipmentImagesScalarWhereInput[]
    NOT?: ShipmentImagesScalarWhereInput | ShipmentImagesScalarWhereInput[]
    id?: IntFilter<"ShipmentImages"> | number
    uuid?: UuidNullableFilter<"ShipmentImages"> | string | null
    shipment_id?: IntNullableFilter<"ShipmentImages"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentImages"> | string | null
    image_name?: StringNullableFilter<"ShipmentImages"> | string | null
    image_format?: StringNullableFilter<"ShipmentImages"> | string | null
    image_path?: StringNullableFilter<"ShipmentImages"> | string | null
    image_type?: StringNullableFilter<"ShipmentImages"> | string | null
    created_by?: IntNullableFilter<"ShipmentImages"> | number | null
    created_at?: DateTimeNullableFilter<"ShipmentImages"> | Date | string | null
    status_id?: IntNullableFilter<"ShipmentImages"> | number | null
    company_id?: IntNullableFilter<"ShipmentImages"> | number | null
  }

  export type UserUpsertWithWhereUniqueWithoutStatusInput = {
    where: UserWhereUniqueInput
    update: XOR<UserUpdateWithoutStatusInput, UserUncheckedUpdateWithoutStatusInput>
    create: XOR<UserCreateWithoutStatusInput, UserUncheckedCreateWithoutStatusInput>
  }

  export type UserUpdateWithWhereUniqueWithoutStatusInput = {
    where: UserWhereUniqueInput
    data: XOR<UserUpdateWithoutStatusInput, UserUncheckedUpdateWithoutStatusInput>
  }

  export type UserUpdateManyWithWhereWithoutStatusInput = {
    where: UserScalarWhereInput
    data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyWithoutStatusInput>
  }

  export type RequestLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: RequestLogWhereUniqueInput
    update: XOR<RequestLogUpdateWithoutStatusInput, RequestLogUncheckedUpdateWithoutStatusInput>
    create: XOR<RequestLogCreateWithoutStatusInput, RequestLogUncheckedCreateWithoutStatusInput>
  }

  export type RequestLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: RequestLogWhereUniqueInput
    data: XOR<RequestLogUpdateWithoutStatusInput, RequestLogUncheckedUpdateWithoutStatusInput>
  }

  export type RequestLogUpdateManyWithWhereWithoutStatusInput = {
    where: RequestLogScalarWhereInput
    data: XOR<RequestLogUpdateManyMutationInput, RequestLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type PermissionsUpsertWithWhereUniqueWithoutStatusInput = {
    where: PermissionsWhereUniqueInput
    update: XOR<PermissionsUpdateWithoutStatusInput, PermissionsUncheckedUpdateWithoutStatusInput>
    create: XOR<PermissionsCreateWithoutStatusInput, PermissionsUncheckedCreateWithoutStatusInput>
  }

  export type PermissionsUpdateWithWhereUniqueWithoutStatusInput = {
    where: PermissionsWhereUniqueInput
    data: XOR<PermissionsUpdateWithoutStatusInput, PermissionsUncheckedUpdateWithoutStatusInput>
  }

  export type PermissionsUpdateManyWithWhereWithoutStatusInput = {
    where: PermissionsScalarWhereInput
    data: XOR<PermissionsUpdateManyMutationInput, PermissionsUncheckedUpdateManyWithoutStatusInput>
  }

  export type RoleUpsertWithWhereUniqueWithoutStatusInput = {
    where: RoleWhereUniqueInput
    update: XOR<RoleUpdateWithoutStatusInput, RoleUncheckedUpdateWithoutStatusInput>
    create: XOR<RoleCreateWithoutStatusInput, RoleUncheckedCreateWithoutStatusInput>
  }

  export type RoleUpdateWithWhereUniqueWithoutStatusInput = {
    where: RoleWhereUniqueInput
    data: XOR<RoleUpdateWithoutStatusInput, RoleUncheckedUpdateWithoutStatusInput>
  }

  export type RoleUpdateManyWithWhereWithoutStatusInput = {
    where: RoleScalarWhereInput
    data: XOR<RoleUpdateManyMutationInput, RoleUncheckedUpdateManyWithoutStatusInput>
  }

  export type LanguageUpsertWithWhereUniqueWithoutStatusInput = {
    where: LanguageWhereUniqueInput
    update: XOR<LanguageUpdateWithoutStatusInput, LanguageUncheckedUpdateWithoutStatusInput>
    create: XOR<LanguageCreateWithoutStatusInput, LanguageUncheckedCreateWithoutStatusInput>
  }

  export type LanguageUpdateWithWhereUniqueWithoutStatusInput = {
    where: LanguageWhereUniqueInput
    data: XOR<LanguageUpdateWithoutStatusInput, LanguageUncheckedUpdateWithoutStatusInput>
  }

  export type LanguageUpdateManyWithWhereWithoutStatusInput = {
    where: LanguageScalarWhereInput
    data: XOR<LanguageUpdateManyMutationInput, LanguageUncheckedUpdateManyWithoutStatusInput>
  }

  export type LanguageContentUpsertWithWhereUniqueWithoutStatusInput = {
    where: LanguageContentWhereUniqueInput
    update: XOR<LanguageContentUpdateWithoutStatusInput, LanguageContentUncheckedUpdateWithoutStatusInput>
    create: XOR<LanguageContentCreateWithoutStatusInput, LanguageContentUncheckedCreateWithoutStatusInput>
  }

  export type LanguageContentUpdateWithWhereUniqueWithoutStatusInput = {
    where: LanguageContentWhereUniqueInput
    data: XOR<LanguageContentUpdateWithoutStatusInput, LanguageContentUncheckedUpdateWithoutStatusInput>
  }

  export type LanguageContentUpdateManyWithWhereWithoutStatusInput = {
    where: LanguageContentScalarWhereInput
    data: XOR<LanguageContentUpdateManyMutationInput, LanguageContentUncheckedUpdateManyWithoutStatusInput>
  }

  export type MenuItemsUpsertWithWhereUniqueWithoutStatusInput = {
    where: MenuItemsWhereUniqueInput
    update: XOR<MenuItemsUpdateWithoutStatusInput, MenuItemsUncheckedUpdateWithoutStatusInput>
    create: XOR<MenuItemsCreateWithoutStatusInput, MenuItemsUncheckedCreateWithoutStatusInput>
  }

  export type MenuItemsUpdateWithWhereUniqueWithoutStatusInput = {
    where: MenuItemsWhereUniqueInput
    data: XOR<MenuItemsUpdateWithoutStatusInput, MenuItemsUncheckedUpdateWithoutStatusInput>
  }

  export type MenuItemsUpdateManyWithWhereWithoutStatusInput = {
    where: MenuItemsScalarWhereInput
    data: XOR<MenuItemsUpdateManyMutationInput, MenuItemsUncheckedUpdateManyWithoutStatusInput>
  }

  export type MenusUpsertWithWhereUniqueWithoutStatusInput = {
    where: MenusWhereUniqueInput
    update: XOR<MenusUpdateWithoutStatusInput, MenusUncheckedUpdateWithoutStatusInput>
    create: XOR<MenusCreateWithoutStatusInput, MenusUncheckedCreateWithoutStatusInput>
  }

  export type MenusUpdateWithWhereUniqueWithoutStatusInput = {
    where: MenusWhereUniqueInput
    data: XOR<MenusUpdateWithoutStatusInput, MenusUncheckedUpdateWithoutStatusInput>
  }

  export type MenusUpdateManyWithWhereWithoutStatusInput = {
    where: MenusScalarWhereInput
    data: XOR<MenusUpdateManyMutationInput, MenusUncheckedUpdateManyWithoutStatusInput>
  }

  export type MasterEntityUpsertWithWhereUniqueWithoutStatusInput = {
    where: MasterEntityWhereUniqueInput
    update: XOR<MasterEntityUpdateWithoutStatusInput, MasterEntityUncheckedUpdateWithoutStatusInput>
    create: XOR<MasterEntityCreateWithoutStatusInput, MasterEntityUncheckedCreateWithoutStatusInput>
  }

  export type MasterEntityUpdateWithWhereUniqueWithoutStatusInput = {
    where: MasterEntityWhereUniqueInput
    data: XOR<MasterEntityUpdateWithoutStatusInput, MasterEntityUncheckedUpdateWithoutStatusInput>
  }

  export type MasterEntityUpdateManyWithWhereWithoutStatusInput = {
    where: MasterEntityScalarWhereInput
    data: XOR<MasterEntityUpdateManyMutationInput, MasterEntityUncheckedUpdateManyWithoutStatusInput>
  }

  export type MasterEntityLineItemUpsertWithWhereUniqueWithoutStatusInput = {
    where: MasterEntityLineItemWhereUniqueInput
    update: XOR<MasterEntityLineItemUpdateWithoutStatusInput, MasterEntityLineItemUncheckedUpdateWithoutStatusInput>
    create: XOR<MasterEntityLineItemCreateWithoutStatusInput, MasterEntityLineItemUncheckedCreateWithoutStatusInput>
  }

  export type MasterEntityLineItemUpdateWithWhereUniqueWithoutStatusInput = {
    where: MasterEntityLineItemWhereUniqueInput
    data: XOR<MasterEntityLineItemUpdateWithoutStatusInput, MasterEntityLineItemUncheckedUpdateWithoutStatusInput>
  }

  export type MasterEntityLineItemUpdateManyWithWhereWithoutStatusInput = {
    where: MasterEntityLineItemScalarWhereInput
    data: XOR<MasterEntityLineItemUpdateManyMutationInput, MasterEntityLineItemUncheckedUpdateManyWithoutStatusInput>
  }

  export type FieldTypeUpsertWithWhereUniqueWithoutStatusInput = {
    where: FieldTypeWhereUniqueInput
    update: XOR<FieldTypeUpdateWithoutStatusInput, FieldTypeUncheckedUpdateWithoutStatusInput>
    create: XOR<FieldTypeCreateWithoutStatusInput, FieldTypeUncheckedCreateWithoutStatusInput>
  }

  export type FieldTypeUpdateWithWhereUniqueWithoutStatusInput = {
    where: FieldTypeWhereUniqueInput
    data: XOR<FieldTypeUpdateWithoutStatusInput, FieldTypeUncheckedUpdateWithoutStatusInput>
  }

  export type FieldTypeUpdateManyWithWhereWithoutStatusInput = {
    where: FieldTypeScalarWhereInput
    data: XOR<FieldTypeUpdateManyMutationInput, FieldTypeUncheckedUpdateManyWithoutStatusInput>
  }

  export type FieldTypeScalarWhereInput = {
    AND?: FieldTypeScalarWhereInput | FieldTypeScalarWhereInput[]
    OR?: FieldTypeScalarWhereInput[]
    NOT?: FieldTypeScalarWhereInput | FieldTypeScalarWhereInput[]
    id?: IntFilter<"FieldType"> | number
    field_type?: StringFilter<"FieldType"> | string
    company_id?: IntFilter<"FieldType"> | number
    status_id?: IntFilter<"FieldType"> | number
    created_at?: DateTimeFilter<"FieldType"> | Date | string
  }

  export type menuTypeUpsertWithWhereUniqueWithoutStatusInput = {
    where: menuTypeWhereUniqueInput
    update: XOR<menuTypeUpdateWithoutStatusInput, menuTypeUncheckedUpdateWithoutStatusInput>
    create: XOR<menuTypeCreateWithoutStatusInput, menuTypeUncheckedCreateWithoutStatusInput>
  }

  export type menuTypeUpdateWithWhereUniqueWithoutStatusInput = {
    where: menuTypeWhereUniqueInput
    data: XOR<menuTypeUpdateWithoutStatusInput, menuTypeUncheckedUpdateWithoutStatusInput>
  }

  export type menuTypeUpdateManyWithWhereWithoutStatusInput = {
    where: menuTypeScalarWhereInput
    data: XOR<menuTypeUpdateManyMutationInput, menuTypeUncheckedUpdateManyWithoutStatusInput>
  }

  export type menuTypeScalarWhereInput = {
    AND?: menuTypeScalarWhereInput | menuTypeScalarWhereInput[]
    OR?: menuTypeScalarWhereInput[]
    NOT?: menuTypeScalarWhereInput | menuTypeScalarWhereInput[]
    id?: IntFilter<"menuType"> | number
    name?: StringNullableFilter<"menuType"> | string | null
    status_id?: IntFilter<"menuType"> | number
    company_id?: IntFilter<"menuType"> | number
    created_at?: DateTimeFilter<"menuType"> | Date | string
  }

  export type NotificationTemplateProcessUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    update: XOR<NotificationTemplateProcessUpdateWithoutStatusInput, NotificationTemplateProcessUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationTemplateProcessCreateWithoutStatusInput, NotificationTemplateProcessUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateProcessUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateProcessWhereUniqueInput
    data: XOR<NotificationTemplateProcessUpdateWithoutStatusInput, NotificationTemplateProcessUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationTemplateProcessUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationTemplateProcessScalarWhereInput
    data: XOR<NotificationTemplateProcessUpdateManyMutationInput, NotificationTemplateProcessUncheckedUpdateManyWithoutStatusInput>
  }

  export type NotificationTemplateProcessScalarWhereInput = {
    AND?: NotificationTemplateProcessScalarWhereInput | NotificationTemplateProcessScalarWhereInput[]
    OR?: NotificationTemplateProcessScalarWhereInput[]
    NOT?: NotificationTemplateProcessScalarWhereInput | NotificationTemplateProcessScalarWhereInput[]
    id?: IntFilter<"NotificationTemplateProcess"> | number
    uuid?: UuidFilter<"NotificationTemplateProcess"> | string
    name?: StringFilter<"NotificationTemplateProcess"> | string
    slug?: StringFilter<"NotificationTemplateProcess"> | string
    query_information?: StringNullableFilter<"NotificationTemplateProcess"> | string | null
    status_id?: IntFilter<"NotificationTemplateProcess"> | number
    company_id?: IntFilter<"NotificationTemplateProcess"> | number
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateProcess"> | $Enums.NotificationType
  }

  export type NotificationTemplateTagUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateTagWhereUniqueInput
    update: XOR<NotificationTemplateTagUpdateWithoutStatusInput, NotificationTemplateTagUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationTemplateTagCreateWithoutStatusInput, NotificationTemplateTagUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateTagUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateTagWhereUniqueInput
    data: XOR<NotificationTemplateTagUpdateWithoutStatusInput, NotificationTemplateTagUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationTemplateTagUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationTemplateTagScalarWhereInput
    data: XOR<NotificationTemplateTagUpdateManyMutationInput, NotificationTemplateTagUncheckedUpdateManyWithoutStatusInput>
  }

  export type NotificationTemplateTagScalarWhereInput = {
    AND?: NotificationTemplateTagScalarWhereInput | NotificationTemplateTagScalarWhereInput[]
    OR?: NotificationTemplateTagScalarWhereInput[]
    NOT?: NotificationTemplateTagScalarWhereInput | NotificationTemplateTagScalarWhereInput[]
    id?: IntFilter<"NotificationTemplateTag"> | number
    uuid?: UuidFilter<"NotificationTemplateTag"> | string
    slug?: StringFilter<"NotificationTemplateTag"> | string
    name?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    description?: StringNullableFilter<"NotificationTemplateTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateTag"> | number
    company_id?: IntFilter<"NotificationTemplateTag"> | number
  }

  export type NotificationTemplateRecipientTagUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateRecipientTagWhereUniqueInput
    update: XOR<NotificationTemplateRecipientTagUpdateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationTemplateRecipientTagCreateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateRecipientTagUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateRecipientTagWhereUniqueInput
    data: XOR<NotificationTemplateRecipientTagUpdateWithoutStatusInput, NotificationTemplateRecipientTagUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationTemplateRecipientTagUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationTemplateRecipientTagScalarWhereInput
    data: XOR<NotificationTemplateRecipientTagUpdateManyMutationInput, NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusInput>
  }

  export type NotificationTemplateRecipientTagScalarWhereInput = {
    AND?: NotificationTemplateRecipientTagScalarWhereInput | NotificationTemplateRecipientTagScalarWhereInput[]
    OR?: NotificationTemplateRecipientTagScalarWhereInput[]
    NOT?: NotificationTemplateRecipientTagScalarWhereInput | NotificationTemplateRecipientTagScalarWhereInput[]
    id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    uuid?: UuidFilter<"NotificationTemplateRecipientTag"> | string
    slug?: StringFilter<"NotificationTemplateRecipientTag"> | string
    name?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    notification_type?: EnumNotificationTypeFilter<"NotificationTemplateRecipientTag"> | $Enums.NotificationType
    description?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    query_information?: StringNullableFilter<"NotificationTemplateRecipientTag"> | string | null
    status_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
    company_id?: IntFilter<"NotificationTemplateRecipientTag"> | number
  }

  export type NotificationTemplateUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateWhereUniqueInput
    update: XOR<NotificationTemplateUpdateWithoutStatusInput, NotificationTemplateUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationTemplateCreateWithoutStatusInput, NotificationTemplateUncheckedCreateWithoutStatusInput>
  }

  export type NotificationTemplateUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationTemplateWhereUniqueInput
    data: XOR<NotificationTemplateUpdateWithoutStatusInput, NotificationTemplateUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationTemplateUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationTemplateScalarWhereInput
    data: XOR<NotificationTemplateUpdateManyMutationInput, NotificationTemplateUncheckedUpdateManyWithoutStatusInput>
  }

  export type NotificationProcessJobUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationProcessJobWhereUniqueInput
    update: XOR<NotificationProcessJobUpdateWithoutStatusInput, NotificationProcessJobUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationProcessJobCreateWithoutStatusInput, NotificationProcessJobUncheckedCreateWithoutStatusInput>
  }

  export type NotificationProcessJobUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationProcessJobWhereUniqueInput
    data: XOR<NotificationProcessJobUpdateWithoutStatusInput, NotificationProcessJobUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationProcessJobUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationProcessJobScalarWhereInput
    data: XOR<NotificationProcessJobUpdateManyMutationInput, NotificationProcessJobUncheckedUpdateManyWithoutStatusInput>
  }

  export type NotificationJobUpsertWithWhereUniqueWithoutStatusInput = {
    where: NotificationJobWhereUniqueInput
    update: XOR<NotificationJobUpdateWithoutStatusInput, NotificationJobUncheckedUpdateWithoutStatusInput>
    create: XOR<NotificationJobCreateWithoutStatusInput, NotificationJobUncheckedCreateWithoutStatusInput>
  }

  export type NotificationJobUpdateWithWhereUniqueWithoutStatusInput = {
    where: NotificationJobWhereUniqueInput
    data: XOR<NotificationJobUpdateWithoutStatusInput, NotificationJobUncheckedUpdateWithoutStatusInput>
  }

  export type NotificationJobUpdateManyWithWhereWithoutStatusInput = {
    where: NotificationJobScalarWhereInput
    data: XOR<NotificationJobUpdateManyMutationInput, NotificationJobUncheckedUpdateManyWithoutStatusInput>
  }

  export type ImportTemplateUpsertWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateWhereUniqueInput
    update: XOR<ImportTemplateUpdateWithoutStatusInput, ImportTemplateUncheckedUpdateWithoutStatusInput>
    create: XOR<ImportTemplateCreateWithoutStatusInput, ImportTemplateUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateUpdateWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateWhereUniqueInput
    data: XOR<ImportTemplateUpdateWithoutStatusInput, ImportTemplateUncheckedUpdateWithoutStatusInput>
  }

  export type ImportTemplateUpdateManyWithWhereWithoutStatusInput = {
    where: ImportTemplateScalarWhereInput
    data: XOR<ImportTemplateUpdateManyMutationInput, ImportTemplateUncheckedUpdateManyWithoutStatusInput>
  }

  export type ImportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    update: XOR<ImportTemplateLineItemUpdateWithoutStatusInput, ImportTemplateLineItemUncheckedUpdateWithoutStatusInput>
    create: XOR<ImportTemplateLineItemCreateWithoutStatusInput, ImportTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateLineItemWhereUniqueInput
    data: XOR<ImportTemplateLineItemUpdateWithoutStatusInput, ImportTemplateLineItemUncheckedUpdateWithoutStatusInput>
  }

  export type ImportTemplateLineItemUpdateManyWithWhereWithoutStatusInput = {
    where: ImportTemplateLineItemScalarWhereInput
    data: XOR<ImportTemplateLineItemUpdateManyMutationInput, ImportTemplateLineItemUncheckedUpdateManyWithoutStatusInput>
  }

  export type ImportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    update: XOR<ImportTemplateQueriesUpdateWithoutStatusInput, ImportTemplateQueriesUncheckedUpdateWithoutStatusInput>
    create: XOR<ImportTemplateQueriesCreateWithoutStatusInput, ImportTemplateQueriesUncheckedCreateWithoutStatusInput>
  }

  export type ImportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ImportTemplateQueriesWhereUniqueInput
    data: XOR<ImportTemplateQueriesUpdateWithoutStatusInput, ImportTemplateQueriesUncheckedUpdateWithoutStatusInput>
  }

  export type ImportTemplateQueriesUpdateManyWithWhereWithoutStatusInput = {
    where: ImportTemplateQueriesScalarWhereInput
    data: XOR<ImportTemplateQueriesUpdateManyMutationInput, ImportTemplateQueriesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ExportTemplateUpsertWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateWhereUniqueInput
    update: XOR<ExportTemplateUpdateWithoutStatusInput, ExportTemplateUncheckedUpdateWithoutStatusInput>
    create: XOR<ExportTemplateCreateWithoutStatusInput, ExportTemplateUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateUpdateWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateWhereUniqueInput
    data: XOR<ExportTemplateUpdateWithoutStatusInput, ExportTemplateUncheckedUpdateWithoutStatusInput>
  }

  export type ExportTemplateUpdateManyWithWhereWithoutStatusInput = {
    where: ExportTemplateScalarWhereInput
    data: XOR<ExportTemplateUpdateManyMutationInput, ExportTemplateUncheckedUpdateManyWithoutStatusInput>
  }

  export type ExportTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    update: XOR<ExportTemplateLineItemUpdateWithoutStatusInput, ExportTemplateLineItemUncheckedUpdateWithoutStatusInput>
    create: XOR<ExportTemplateLineItemCreateWithoutStatusInput, ExportTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateLineItemWhereUniqueInput
    data: XOR<ExportTemplateLineItemUpdateWithoutStatusInput, ExportTemplateLineItemUncheckedUpdateWithoutStatusInput>
  }

  export type ExportTemplateLineItemUpdateManyWithWhereWithoutStatusInput = {
    where: ExportTemplateLineItemScalarWhereInput
    data: XOR<ExportTemplateLineItemUpdateManyMutationInput, ExportTemplateLineItemUncheckedUpdateManyWithoutStatusInput>
  }

  export type ExportTemplateQueriesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    update: XOR<ExportTemplateQueriesUpdateWithoutStatusInput, ExportTemplateQueriesUncheckedUpdateWithoutStatusInput>
    create: XOR<ExportTemplateQueriesCreateWithoutStatusInput, ExportTemplateQueriesUncheckedCreateWithoutStatusInput>
  }

  export type ExportTemplateQueriesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ExportTemplateQueriesWhereUniqueInput
    data: XOR<ExportTemplateQueriesUpdateWithoutStatusInput, ExportTemplateQueriesUncheckedUpdateWithoutStatusInput>
  }

  export type ExportTemplateQueriesUpdateManyWithWhereWithoutStatusInput = {
    where: ExportTemplateQueriesScalarWhereInput
    data: XOR<ExportTemplateQueriesUpdateManyMutationInput, ExportTemplateQueriesUncheckedUpdateManyWithoutStatusInput>
  }

  export type DesignationUpsertWithWhereUniqueWithoutStatusInput = {
    where: DesignationWhereUniqueInput
    update: XOR<DesignationUpdateWithoutStatusInput, DesignationUncheckedUpdateWithoutStatusInput>
    create: XOR<DesignationCreateWithoutStatusInput, DesignationUncheckedCreateWithoutStatusInput>
  }

  export type DesignationUpdateWithWhereUniqueWithoutStatusInput = {
    where: DesignationWhereUniqueInput
    data: XOR<DesignationUpdateWithoutStatusInput, DesignationUncheckedUpdateWithoutStatusInput>
  }

  export type DesignationUpdateManyWithWhereWithoutStatusInput = {
    where: DesignationScalarWhereInput
    data: XOR<DesignationUpdateManyMutationInput, DesignationUncheckedUpdateManyWithoutStatusInput>
  }

  export type DepartmentUpsertWithWhereUniqueWithoutStatusInput = {
    where: DepartmentWhereUniqueInput
    update: XOR<DepartmentUpdateWithoutStatusInput, DepartmentUncheckedUpdateWithoutStatusInput>
    create: XOR<DepartmentCreateWithoutStatusInput, DepartmentUncheckedCreateWithoutStatusInput>
  }

  export type DepartmentUpdateWithWhereUniqueWithoutStatusInput = {
    where: DepartmentWhereUniqueInput
    data: XOR<DepartmentUpdateWithoutStatusInput, DepartmentUncheckedUpdateWithoutStatusInput>
  }

  export type DepartmentUpdateManyWithWhereWithoutStatusInput = {
    where: DepartmentScalarWhereInput
    data: XOR<DepartmentUpdateManyMutationInput, DepartmentUncheckedUpdateManyWithoutStatusInput>
  }

  export type AuditLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: AuditLogWhereUniqueInput
    update: XOR<AuditLogUpdateWithoutStatusInput, AuditLogUncheckedUpdateWithoutStatusInput>
    create: XOR<AuditLogCreateWithoutStatusInput, AuditLogUncheckedCreateWithoutStatusInput>
  }

  export type AuditLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: AuditLogWhereUniqueInput
    data: XOR<AuditLogUpdateWithoutStatusInput, AuditLogUncheckedUpdateWithoutStatusInput>
  }

  export type AuditLogUpdateManyWithWhereWithoutStatusInput = {
    where: AuditLogScalarWhereInput
    data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type FinancialYearUpsertWithWhereUniqueWithoutStatusInput = {
    where: FinancialYearWhereUniqueInput
    update: XOR<FinancialYearUpdateWithoutStatusInput, FinancialYearUncheckedUpdateWithoutStatusInput>
    create: XOR<FinancialYearCreateWithoutStatusInput, FinancialYearUncheckedCreateWithoutStatusInput>
  }

  export type FinancialYearUpdateWithWhereUniqueWithoutStatusInput = {
    where: FinancialYearWhereUniqueInput
    data: XOR<FinancialYearUpdateWithoutStatusInput, FinancialYearUncheckedUpdateWithoutStatusInput>
  }

  export type FinancialYearUpdateManyWithWhereWithoutStatusInput = {
    where: FinancialYearScalarWhereInput
    data: XOR<FinancialYearUpdateManyMutationInput, FinancialYearUncheckedUpdateManyWithoutStatusInput>
  }

  export type DocumentSequenceUpsertWithWhereUniqueWithoutStatusInput = {
    where: DocumentSequenceWhereUniqueInput
    update: XOR<DocumentSequenceUpdateWithoutStatusInput, DocumentSequenceUncheckedUpdateWithoutStatusInput>
    create: XOR<DocumentSequenceCreateWithoutStatusInput, DocumentSequenceUncheckedCreateWithoutStatusInput>
  }

  export type DocumentSequenceUpdateWithWhereUniqueWithoutStatusInput = {
    where: DocumentSequenceWhereUniqueInput
    data: XOR<DocumentSequenceUpdateWithoutStatusInput, DocumentSequenceUncheckedUpdateWithoutStatusInput>
  }

  export type DocumentSequenceUpdateManyWithWhereWithoutStatusInput = {
    where: DocumentSequenceScalarWhereInput
    data: XOR<DocumentSequenceUpdateManyMutationInput, DocumentSequenceUncheckedUpdateManyWithoutStatusInput>
  }

  export type FileUploadLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: FileUploadLogWhereUniqueInput
    update: XOR<FileUploadLogUpdateWithoutStatusInput, FileUploadLogUncheckedUpdateWithoutStatusInput>
    create: XOR<FileUploadLogCreateWithoutStatusInput, FileUploadLogUncheckedCreateWithoutStatusInput>
  }

  export type FileUploadLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: FileUploadLogWhereUniqueInput
    data: XOR<FileUploadLogUpdateWithoutStatusInput, FileUploadLogUncheckedUpdateWithoutStatusInput>
  }

  export type FileUploadLogUpdateManyWithWhereWithoutStatusInput = {
    where: FileUploadLogScalarWhereInput
    data: XOR<FileUploadLogUpdateManyMutationInput, FileUploadLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type FileUploadLogScalarWhereInput = {
    AND?: FileUploadLogScalarWhereInput | FileUploadLogScalarWhereInput[]
    OR?: FileUploadLogScalarWhereInput[]
    NOT?: FileUploadLogScalarWhereInput | FileUploadLogScalarWhereInput[]
    id?: IntFilter<"FileUploadLog"> | number
    uuid?: UuidFilter<"FileUploadLog"> | string
    doc_name?: StringNullableFilter<"FileUploadLog"> | string | null
    org_name?: StringNullableFilter<"FileUploadLog"> | string | null
    extension?: StringNullableFilter<"FileUploadLog"> | string | null
    description?: StringNullableFilter<"FileUploadLog"> | string | null
    status_id?: IntFilter<"FileUploadLog"> | number
    company_id?: IntFilter<"FileUploadLog"> | number
    created_at?: DateTimeFilter<"FileUploadLog"> | Date | string
  }

  export type DeviceRegistrationUpsertWithWhereUniqueWithoutStatusInput = {
    where: DeviceRegistrationWhereUniqueInput
    update: XOR<DeviceRegistrationUpdateWithoutStatusInput, DeviceRegistrationUncheckedUpdateWithoutStatusInput>
    create: XOR<DeviceRegistrationCreateWithoutStatusInput, DeviceRegistrationUncheckedCreateWithoutStatusInput>
  }

  export type DeviceRegistrationUpdateWithWhereUniqueWithoutStatusInput = {
    where: DeviceRegistrationWhereUniqueInput
    data: XOR<DeviceRegistrationUpdateWithoutStatusInput, DeviceRegistrationUncheckedUpdateWithoutStatusInput>
  }

  export type DeviceRegistrationUpdateManyWithWhereWithoutStatusInput = {
    where: DeviceRegistrationScalarWhereInput
    data: XOR<DeviceRegistrationUpdateManyMutationInput, DeviceRegistrationUncheckedUpdateManyWithoutStatusInput>
  }

  export type ImportJobUpsertWithWhereUniqueWithoutStatusInput = {
    where: ImportJobWhereUniqueInput
    update: XOR<ImportJobUpdateWithoutStatusInput, ImportJobUncheckedUpdateWithoutStatusInput>
    create: XOR<ImportJobCreateWithoutStatusInput, ImportJobUncheckedCreateWithoutStatusInput>
  }

  export type ImportJobUpdateWithWhereUniqueWithoutStatusInput = {
    where: ImportJobWhereUniqueInput
    data: XOR<ImportJobUpdateWithoutStatusInput, ImportJobUncheckedUpdateWithoutStatusInput>
  }

  export type ImportJobUpdateManyWithWhereWithoutStatusInput = {
    where: ImportJobScalarWhereInput
    data: XOR<ImportJobUpdateManyMutationInput, ImportJobUncheckedUpdateManyWithoutStatusInput>
  }

  export type ImportJobLineItemUpsertWithWhereUniqueWithoutStatusInput = {
    where: ImportJobLineItemWhereUniqueInput
    update: XOR<ImportJobLineItemUpdateWithoutStatusInput, ImportJobLineItemUncheckedUpdateWithoutStatusInput>
    create: XOR<ImportJobLineItemCreateWithoutStatusInput, ImportJobLineItemUncheckedCreateWithoutStatusInput>
  }

  export type ImportJobLineItemUpdateWithWhereUniqueWithoutStatusInput = {
    where: ImportJobLineItemWhereUniqueInput
    data: XOR<ImportJobLineItemUpdateWithoutStatusInput, ImportJobLineItemUncheckedUpdateWithoutStatusInput>
  }

  export type ImportJobLineItemUpdateManyWithWhereWithoutStatusInput = {
    where: ImportJobLineItemScalarWhereInput
    data: XOR<ImportJobLineItemUpdateManyMutationInput, ImportJobLineItemUncheckedUpdateManyWithoutStatusInput>
  }

  export type PoliciesUpsertWithWhereUniqueWithoutStatusInput = {
    where: PoliciesWhereUniqueInput
    update: XOR<PoliciesUpdateWithoutStatusInput, PoliciesUncheckedUpdateWithoutStatusInput>
    create: XOR<PoliciesCreateWithoutStatusInput, PoliciesUncheckedCreateWithoutStatusInput>
  }

  export type PoliciesUpdateWithWhereUniqueWithoutStatusInput = {
    where: PoliciesWhereUniqueInput
    data: XOR<PoliciesUpdateWithoutStatusInput, PoliciesUncheckedUpdateWithoutStatusInput>
  }

  export type PoliciesUpdateManyWithWhereWithoutStatusInput = {
    where: PoliciesScalarWhereInput
    data: XOR<PoliciesUpdateManyMutationInput, PoliciesUncheckedUpdateManyWithoutStatusInput>
  }

  export type AppversionsUpsertWithWhereUniqueWithoutStatusInput = {
    where: AppversionsWhereUniqueInput
    update: XOR<AppversionsUpdateWithoutStatusInput, AppversionsUncheckedUpdateWithoutStatusInput>
    create: XOR<AppversionsCreateWithoutStatusInput, AppversionsUncheckedCreateWithoutStatusInput>
  }

  export type AppversionsUpdateWithWhereUniqueWithoutStatusInput = {
    where: AppversionsWhereUniqueInput
    data: XOR<AppversionsUpdateWithoutStatusInput, AppversionsUncheckedUpdateWithoutStatusInput>
  }

  export type AppversionsUpdateManyWithWhereWithoutStatusInput = {
    where: AppversionsScalarWhereInput
    data: XOR<AppversionsUpdateManyMutationInput, AppversionsUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalWorkflowUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowWhereUniqueInput
    update: XOR<ApprovalWorkflowUpdateWithoutStatusInput, ApprovalWorkflowUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalWorkflowCreateWithoutStatusInput, ApprovalWorkflowUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowWhereUniqueInput
    data: XOR<ApprovalWorkflowUpdateWithoutStatusInput, ApprovalWorkflowUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalWorkflowUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalWorkflowScalarWhereInput
    data: XOR<ApprovalWorkflowUpdateManyMutationInput, ApprovalWorkflowUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalWorkflowScalarWhereInput = {
    AND?: ApprovalWorkflowScalarWhereInput | ApprovalWorkflowScalarWhereInput[]
    OR?: ApprovalWorkflowScalarWhereInput[]
    NOT?: ApprovalWorkflowScalarWhereInput | ApprovalWorkflowScalarWhereInput[]
    id?: IntFilter<"ApprovalWorkflow"> | number
    uuid?: UuidFilter<"ApprovalWorkflow"> | string
    name?: StringFilter<"ApprovalWorkflow"> | string
    description?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    slug?: StringFilter<"ApprovalWorkflow"> | string
    query_information?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    status_id?: IntFilter<"ApprovalWorkflow"> | number
    url?: StringNullableFilter<"ApprovalWorkflow"> | string | null
    company_id?: IntFilter<"ApprovalWorkflow"> | number
    created_by?: IntFilter<"ApprovalWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflow"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflow"> | Date | string | null
  }

  export type ApprovalProcessJobWorkflowUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowWhereUniqueInput
    update: XOR<ApprovalProcessJobWorkflowUpdateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalProcessJobWorkflowCreateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowWhereUniqueInput
    data: XOR<ApprovalProcessJobWorkflowUpdateWithoutStatusInput, ApprovalProcessJobWorkflowUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowScalarWhereInput
    data: XOR<ApprovalProcessJobWorkflowUpdateManyMutationInput, ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowScalarWhereInput = {
    AND?: ApprovalProcessJobWorkflowScalarWhereInput | ApprovalProcessJobWorkflowScalarWhereInput[]
    OR?: ApprovalProcessJobWorkflowScalarWhereInput[]
    NOT?: ApprovalProcessJobWorkflowScalarWhereInput | ApprovalProcessJobWorkflowScalarWhereInput[]
    id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    approval_workflow_assignment_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    approval_process_job_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    approval_process_job_name?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approval_process_job_description?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    reject_query_information?: StringNullableListFilter<"ApprovalProcessJobWorkflow">
    primary_table?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    sequence_no?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    unique_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJobWorkflow"> | string
    prefill_data?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    url?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approver_order_no?: DecimalFilter<"ApprovalProcessJobWorkflow"> | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApproverType
    approver?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    review_status?: EnumApprovalStatusFilter<"ApprovalProcessJobWorkflow"> | $Enums.ApprovalStatus
    status_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    reviewed_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reason?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
    approve_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_mail_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    approve_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    reject_whatsapp_id?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    company_id?: IntFilter<"ApprovalProcessJobWorkflow"> | number
    created_at?: DateTimeFilter<"ApprovalProcessJobWorkflow"> | Date | string
    assigned_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    processed_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    deleted_by?: IntNullableFilter<"ApprovalProcessJobWorkflow"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalProcessJobWorkflow"> | Date | string | null
    details?: StringNullableFilter<"ApprovalProcessJobWorkflow"> | string | null
  }

  export type ApprovalWorkflowApproverTagUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowApproverTagWhereUniqueInput
    update: XOR<ApprovalWorkflowApproverTagUpdateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalWorkflowApproverTagCreateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowApproverTagUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowApproverTagWhereUniqueInput
    data: XOR<ApprovalWorkflowApproverTagUpdateWithoutStatusInput, ApprovalWorkflowApproverTagUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalWorkflowApproverTagUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalWorkflowApproverTagScalarWhereInput
    data: XOR<ApprovalWorkflowApproverTagUpdateManyMutationInput, ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalWorkflowApproverTagScalarWhereInput = {
    AND?: ApprovalWorkflowApproverTagScalarWhereInput | ApprovalWorkflowApproverTagScalarWhereInput[]
    OR?: ApprovalWorkflowApproverTagScalarWhereInput[]
    NOT?: ApprovalWorkflowApproverTagScalarWhereInput | ApprovalWorkflowApproverTagScalarWhereInput[]
    id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    uuid?: UuidFilter<"ApprovalWorkflowApproverTag"> | string
    slug?: StringFilter<"ApprovalWorkflowApproverTag"> | string
    name?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    description?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    query_information?: StringNullableFilter<"ApprovalWorkflowApproverTag"> | string | null
    status_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    company_id?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_by?: IntFilter<"ApprovalWorkflowApproverTag"> | number
    created_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    updated_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    updated_at?: DateTimeFilter<"ApprovalWorkflowApproverTag"> | Date | string
    deleted_by?: IntNullableFilter<"ApprovalWorkflowApproverTag"> | number | null
    deleted_at?: DateTimeNullableFilter<"ApprovalWorkflowApproverTag"> | Date | string | null
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutStatusInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalProcessJobUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWhereUniqueInput
    update: XOR<ApprovalProcessJobUpdateWithoutStatusInput, ApprovalProcessJobUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalProcessJobCreateWithoutStatusInput, ApprovalProcessJobUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWhereUniqueInput
    data: XOR<ApprovalProcessJobUpdateWithoutStatusInput, ApprovalProcessJobUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalProcessJobUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalProcessJobScalarWhereInput
    data: XOR<ApprovalProcessJobUpdateManyMutationInput, ApprovalProcessJobUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalProcessJobScalarWhereInput = {
    AND?: ApprovalProcessJobScalarWhereInput | ApprovalProcessJobScalarWhereInput[]
    OR?: ApprovalProcessJobScalarWhereInput[]
    NOT?: ApprovalProcessJobScalarWhereInput | ApprovalProcessJobScalarWhereInput[]
    id?: IntFilter<"ApprovalProcessJob"> | number
    uuid?: UuidFilter<"ApprovalProcessJob"> | string
    approval_workflow_slug?: StringFilter<"ApprovalProcessJob"> | string
    sequence_no?: StringFilter<"ApprovalProcessJob"> | string
    description?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    primary_table?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    unique_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    screen_id?: StringFilter<"ApprovalProcessJob"> | string
    user_id?: IntNullableFilter<"ApprovalProcessJob"> | number | null
    prefill_data?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    details?: StringNullableFilter<"ApprovalProcessJob"> | string | null
    status_id?: IntFilter<"ApprovalProcessJob"> | number
    company_id?: IntFilter<"ApprovalProcessJob"> | number
  }

  export type ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    update: XOR<ApprovalProcessJobWorkflowUserUpdateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutStatusInput>
    create: XOR<ApprovalProcessJobWorkflowUserCreateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    data: XOR<ApprovalProcessJobWorkflowUserUpdateWithoutStatusInput, ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutStatusInput = {
    where: ApprovalProcessJobWorkflowUserScalarWhereInput
    data: XOR<ApprovalProcessJobWorkflowUserUpdateManyMutationInput, ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusInput>
  }

  export type ApprovalProcessJobWorkflowUserScalarWhereInput = {
    AND?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
    OR?: ApprovalProcessJobWorkflowUserScalarWhereInput[]
    NOT?: ApprovalProcessJobWorkflowUserScalarWhereInput | ApprovalProcessJobWorkflowUserScalarWhereInput[]
    id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    uuid?: UuidFilter<"ApprovalProcessJobWorkflowUser"> | string
    approval_process_job_workflow_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    user_id?: IntNullableFilter<"ApprovalProcessJobWorkflowUser"> | number | null
    status_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
    company_id?: IntFilter<"ApprovalProcessJobWorkflowUser"> | number
  }

  export type DelegationUpsertWithWhereUniqueWithoutStatusInput = {
    where: DelegationWhereUniqueInput
    update: XOR<DelegationUpdateWithoutStatusInput, DelegationUncheckedUpdateWithoutStatusInput>
    create: XOR<DelegationCreateWithoutStatusInput, DelegationUncheckedCreateWithoutStatusInput>
  }

  export type DelegationUpdateWithWhereUniqueWithoutStatusInput = {
    where: DelegationWhereUniqueInput
    data: XOR<DelegationUpdateWithoutStatusInput, DelegationUncheckedUpdateWithoutStatusInput>
  }

  export type DelegationUpdateManyWithWhereWithoutStatusInput = {
    where: DelegationScalarWhereInput
    data: XOR<DelegationUpdateManyMutationInput, DelegationUncheckedUpdateManyWithoutStatusInput>
  }

  export type DelegationScalarWhereInput = {
    AND?: DelegationScalarWhereInput | DelegationScalarWhereInput[]
    OR?: DelegationScalarWhereInput[]
    NOT?: DelegationScalarWhereInput | DelegationScalarWhereInput[]
    id?: IntFilter<"Delegation"> | number
    uuid?: UuidFilter<"Delegation"> | string
    user_id?: IntFilter<"Delegation"> | number
    delegated_user_id?: IntFilter<"Delegation"> | number
    reason?: StringNullableFilter<"Delegation"> | string | null
    start_date?: DateTimeFilter<"Delegation"> | Date | string
    end_date?: DateTimeFilter<"Delegation"> | Date | string
    status_id?: IntFilter<"Delegation"> | number
    company_id?: IntFilter<"Delegation"> | number
    created_by?: IntFilter<"Delegation"> | number
    created_at?: DateTimeFilter<"Delegation"> | Date | string
    updated_by?: IntNullableFilter<"Delegation"> | number | null
    updated_at?: DateTimeFilter<"Delegation"> | Date | string
    deleted_by?: IntNullableFilter<"Delegation"> | number | null
    deleted_at?: DateTimeNullableFilter<"Delegation"> | Date | string | null
  }

  export type AboutLCPUpsertWithWhereUniqueWithoutStatusInput = {
    where: AboutLCPWhereUniqueInput
    update: XOR<AboutLCPUpdateWithoutStatusInput, AboutLCPUncheckedUpdateWithoutStatusInput>
    create: XOR<AboutLCPCreateWithoutStatusInput, AboutLCPUncheckedCreateWithoutStatusInput>
  }

  export type AboutLCPUpdateWithWhereUniqueWithoutStatusInput = {
    where: AboutLCPWhereUniqueInput
    data: XOR<AboutLCPUpdateWithoutStatusInput, AboutLCPUncheckedUpdateWithoutStatusInput>
  }

  export type AboutLCPUpdateManyWithWhereWithoutStatusInput = {
    where: AboutLCPScalarWhereInput
    data: XOR<AboutLCPUpdateManyMutationInput, AboutLCPUncheckedUpdateManyWithoutStatusInput>
  }

  export type AboutLCPScalarWhereInput = {
    AND?: AboutLCPScalarWhereInput | AboutLCPScalarWhereInput[]
    OR?: AboutLCPScalarWhereInput[]
    NOT?: AboutLCPScalarWhereInput | AboutLCPScalarWhereInput[]
    id?: IntFilter<"AboutLCP"> | number
    uuid?: UuidFilter<"AboutLCP"> | string
    type?: EnumaboutTypeFilter<"AboutLCP"> | $Enums.aboutType
    name?: StringFilter<"AboutLCP"> | string
    description?: StringNullableFilter<"AboutLCP"> | string | null
    order_no?: DecimalNullableFilter<"AboutLCP"> | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_pdf?: StringNullableFilter<"AboutLCP"> | string | null
    documentation_word?: StringNullableFilter<"AboutLCP"> | string | null
    status_id?: IntFilter<"AboutLCP"> | number
    company_id?: IntFilter<"AboutLCP"> | number
    created_by?: IntFilter<"AboutLCP"> | number
    created_at?: DateTimeFilter<"AboutLCP"> | Date | string
    updated_by?: IntNullableFilter<"AboutLCP"> | number | null
    updated_at?: DateTimeFilter<"AboutLCP"> | Date | string
    deleted_by?: IntNullableFilter<"AboutLCP"> | number | null
    deleted_at?: DateTimeNullableFilter<"AboutLCP"> | Date | string | null
  }

  export type SchemaChunkUpsertWithWhereUniqueWithoutStatusInput = {
    where: SchemaChunkWhereUniqueInput
    update: XOR<SchemaChunkUpdateWithoutStatusInput, SchemaChunkUncheckedUpdateWithoutStatusInput>
    create: XOR<SchemaChunkCreateWithoutStatusInput, SchemaChunkUncheckedCreateWithoutStatusInput>
  }

  export type SchemaChunkUpdateWithWhereUniqueWithoutStatusInput = {
    where: SchemaChunkWhereUniqueInput
    data: XOR<SchemaChunkUpdateWithoutStatusInput, SchemaChunkUncheckedUpdateWithoutStatusInput>
  }

  export type SchemaChunkUpdateManyWithWhereWithoutStatusInput = {
    where: SchemaChunkScalarWhereInput
    data: XOR<SchemaChunkUpdateManyMutationInput, SchemaChunkUncheckedUpdateManyWithoutStatusInput>
  }

  export type SchemaChunkScalarWhereInput = {
    AND?: SchemaChunkScalarWhereInput | SchemaChunkScalarWhereInput[]
    OR?: SchemaChunkScalarWhereInput[]
    NOT?: SchemaChunkScalarWhereInput | SchemaChunkScalarWhereInput[]
    id?: IntFilter<"SchemaChunk"> | number
    uuid?: UuidFilter<"SchemaChunk"> | string
    table_name?: StringFilter<"SchemaChunk"> | string
    chunk?: StringFilter<"SchemaChunk"> | string
    status_id?: IntFilter<"SchemaChunk"> | number
    created_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    created_by?: IntFilter<"SchemaChunk"> | number
    updated_by?: IntNullableFilter<"SchemaChunk"> | number | null
    updated_at?: DateTimeFilter<"SchemaChunk"> | Date | string
    deleted_by?: IntNullableFilter<"SchemaChunk"> | number | null
    deleted_at?: DateTimeNullableFilter<"SchemaChunk"> | Date | string | null
    company_id?: IntFilter<"SchemaChunk"> | number
  }

  export type OpenaiUsageLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: OpenaiUsageLogWhereUniqueInput
    update: XOR<OpenaiUsageLogUpdateWithoutStatusInput, OpenaiUsageLogUncheckedUpdateWithoutStatusInput>
    create: XOR<OpenaiUsageLogCreateWithoutStatusInput, OpenaiUsageLogUncheckedCreateWithoutStatusInput>
  }

  export type OpenaiUsageLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: OpenaiUsageLogWhereUniqueInput
    data: XOR<OpenaiUsageLogUpdateWithoutStatusInput, OpenaiUsageLogUncheckedUpdateWithoutStatusInput>
  }

  export type OpenaiUsageLogUpdateManyWithWhereWithoutStatusInput = {
    where: OpenaiUsageLogScalarWhereInput
    data: XOR<OpenaiUsageLogUpdateManyMutationInput, OpenaiUsageLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type OpenaiUsageLogScalarWhereInput = {
    AND?: OpenaiUsageLogScalarWhereInput | OpenaiUsageLogScalarWhereInput[]
    OR?: OpenaiUsageLogScalarWhereInput[]
    NOT?: OpenaiUsageLogScalarWhereInput | OpenaiUsageLogScalarWhereInput[]
    id?: IntFilter<"OpenaiUsageLog"> | number
    uuid?: UuidFilter<"OpenaiUsageLog"> | string
    user_id?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    prompt?: StringFilter<"OpenaiUsageLog"> | string
    generated_sql?: StringFilter<"OpenaiUsageLog"> | string
    prompt_tokens?: IntFilter<"OpenaiUsageLog"> | number
    completion_tokens?: IntFilter<"OpenaiUsageLog"> | number
    total_tokens?: IntFilter<"OpenaiUsageLog"> | number
    cost?: DecimalFilter<"OpenaiUsageLog"> | Decimal | DecimalJsLike | number | string
    status_id?: IntFilter<"OpenaiUsageLog"> | number
    company_id?: IntFilter<"OpenaiUsageLog"> | number
    created_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    created_by?: IntFilter<"OpenaiUsageLog"> | number
    updated_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    updated_at?: DateTimeFilter<"OpenaiUsageLog"> | Date | string
    deleted_by?: IntNullableFilter<"OpenaiUsageLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"OpenaiUsageLog"> | Date | string | null
  }

  export type EmbeddingVectorLogsUpsertWithWhereUniqueWithoutStatusInput = {
    where: EmbeddingVectorLogsWhereUniqueInput
    update: XOR<EmbeddingVectorLogsUpdateWithoutStatusInput, EmbeddingVectorLogsUncheckedUpdateWithoutStatusInput>
    create: XOR<EmbeddingVectorLogsCreateWithoutStatusInput, EmbeddingVectorLogsUncheckedCreateWithoutStatusInput>
  }

  export type EmbeddingVectorLogsUpdateWithWhereUniqueWithoutStatusInput = {
    where: EmbeddingVectorLogsWhereUniqueInput
    data: XOR<EmbeddingVectorLogsUpdateWithoutStatusInput, EmbeddingVectorLogsUncheckedUpdateWithoutStatusInput>
  }

  export type EmbeddingVectorLogsUpdateManyWithWhereWithoutStatusInput = {
    where: EmbeddingVectorLogsScalarWhereInput
    data: XOR<EmbeddingVectorLogsUpdateManyMutationInput, EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusInput>
  }

  export type EmbeddingVectorLogsScalarWhereInput = {
    AND?: EmbeddingVectorLogsScalarWhereInput | EmbeddingVectorLogsScalarWhereInput[]
    OR?: EmbeddingVectorLogsScalarWhereInput[]
    NOT?: EmbeddingVectorLogsScalarWhereInput | EmbeddingVectorLogsScalarWhereInput[]
    id?: IntFilter<"EmbeddingVectorLogs"> | number
    uuid?: UuidFilter<"EmbeddingVectorLogs"> | string
    user_id?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    cost?: DecimalFilter<"EmbeddingVectorLogs"> | Decimal | DecimalJsLike | number | string
    company_id?: IntFilter<"EmbeddingVectorLogs"> | number
    table_name?: StringFilter<"EmbeddingVectorLogs"> | string
    status_id?: IntFilter<"EmbeddingVectorLogs"> | number
    created_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    created_by?: IntFilter<"EmbeddingVectorLogs"> | number
    updated_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    updated_at?: DateTimeFilter<"EmbeddingVectorLogs"> | Date | string
    deleted_by?: IntNullableFilter<"EmbeddingVectorLogs"> | number | null
    deleted_at?: DateTimeNullableFilter<"EmbeddingVectorLogs"> | Date | string | null
  }

  export type QueryExecutionLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: QueryExecutionLogWhereUniqueInput
    update: XOR<QueryExecutionLogUpdateWithoutStatusInput, QueryExecutionLogUncheckedUpdateWithoutStatusInput>
    create: XOR<QueryExecutionLogCreateWithoutStatusInput, QueryExecutionLogUncheckedCreateWithoutStatusInput>
  }

  export type QueryExecutionLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: QueryExecutionLogWhereUniqueInput
    data: XOR<QueryExecutionLogUpdateWithoutStatusInput, QueryExecutionLogUncheckedUpdateWithoutStatusInput>
  }

  export type QueryExecutionLogUpdateManyWithWhereWithoutStatusInput = {
    where: QueryExecutionLogScalarWhereInput
    data: XOR<QueryExecutionLogUpdateManyMutationInput, QueryExecutionLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type QueryExecutionLogScalarWhereInput = {
    AND?: QueryExecutionLogScalarWhereInput | QueryExecutionLogScalarWhereInput[]
    OR?: QueryExecutionLogScalarWhereInput[]
    NOT?: QueryExecutionLogScalarWhereInput | QueryExecutionLogScalarWhereInput[]
    id?: IntFilter<"QueryExecutionLog"> | number
    uuid?: UuidFilter<"QueryExecutionLog"> | string
    company_id?: IntFilter<"QueryExecutionLog"> | number
    status_id?: IntFilter<"QueryExecutionLog"> | number
    query?: StringFilter<"QueryExecutionLog"> | string
    created_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    created_by?: IntFilter<"QueryExecutionLog"> | number
    updated_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    updated_at?: DateTimeFilter<"QueryExecutionLog"> | Date | string
    deleted_by?: IntNullableFilter<"QueryExecutionLog"> | number | null
    deleted_at?: DateTimeNullableFilter<"QueryExecutionLog"> | Date | string | null
  }

  export type ChildProcessUpsertWithWhereUniqueWithoutStatusInput = {
    where: ChildProcessWhereUniqueInput
    update: XOR<ChildProcessUpdateWithoutStatusInput, ChildProcessUncheckedUpdateWithoutStatusInput>
    create: XOR<ChildProcessCreateWithoutStatusInput, ChildProcessUncheckedCreateWithoutStatusInput>
  }

  export type ChildProcessUpdateWithWhereUniqueWithoutStatusInput = {
    where: ChildProcessWhereUniqueInput
    data: XOR<ChildProcessUpdateWithoutStatusInput, ChildProcessUncheckedUpdateWithoutStatusInput>
  }

  export type ChildProcessUpdateManyWithWhereWithoutStatusInput = {
    where: ChildProcessScalarWhereInput
    data: XOR<ChildProcessUpdateManyMutationInput, ChildProcessUncheckedUpdateManyWithoutStatusInput>
  }

  export type ChildProcessScalarWhereInput = {
    AND?: ChildProcessScalarWhereInput | ChildProcessScalarWhereInput[]
    OR?: ChildProcessScalarWhereInput[]
    NOT?: ChildProcessScalarWhereInput | ChildProcessScalarWhereInput[]
    id?: IntFilter<"ChildProcess"> | number
    uuid?: UuidFilter<"ChildProcess"> | string
    name?: StringFilter<"ChildProcess"> | string
    slug?: StringFilter<"ChildProcess"> | string
    description?: StringNullableFilter<"ChildProcess"> | string | null
    downloadables?: StringNullableFilter<"ChildProcess"> | string | null
    command?: StringFilter<"ChildProcess"> | string
    status_id?: IntFilter<"ChildProcess"> | number
    company_id?: IntFilter<"ChildProcess"> | number
    created_by?: IntFilter<"ChildProcess"> | number
    created_at?: DateTimeFilter<"ChildProcess"> | Date | string
    updated_by?: IntNullableFilter<"ChildProcess"> | number | null
    updated_at?: DateTimeFilter<"ChildProcess"> | Date | string
    deleted_by?: IntNullableFilter<"ChildProcess"> | number | null
    deleted_at?: DateTimeNullableFilter<"ChildProcess"> | Date | string | null
  }

  export type ChildProcessLogUpsertWithWhereUniqueWithoutStatusInput = {
    where: ChildProcessLogWhereUniqueInput
    update: XOR<ChildProcessLogUpdateWithoutStatusInput, ChildProcessLogUncheckedUpdateWithoutStatusInput>
    create: XOR<ChildProcessLogCreateWithoutStatusInput, ChildProcessLogUncheckedCreateWithoutStatusInput>
  }

  export type ChildProcessLogUpdateWithWhereUniqueWithoutStatusInput = {
    where: ChildProcessLogWhereUniqueInput
    data: XOR<ChildProcessLogUpdateWithoutStatusInput, ChildProcessLogUncheckedUpdateWithoutStatusInput>
  }

  export type ChildProcessLogUpdateManyWithWhereWithoutStatusInput = {
    where: ChildProcessLogScalarWhereInput
    data: XOR<ChildProcessLogUpdateManyMutationInput, ChildProcessLogUncheckedUpdateManyWithoutStatusInput>
  }

  export type CarouselTemplateUpsertWithWhereUniqueWithoutStatusInput = {
    where: CarouselTemplateWhereUniqueInput
    update: XOR<CarouselTemplateUpdateWithoutStatusInput, CarouselTemplateUncheckedUpdateWithoutStatusInput>
    create: XOR<CarouselTemplateCreateWithoutStatusInput, CarouselTemplateUncheckedCreateWithoutStatusInput>
  }

  export type CarouselTemplateUpdateWithWhereUniqueWithoutStatusInput = {
    where: CarouselTemplateWhereUniqueInput
    data: XOR<CarouselTemplateUpdateWithoutStatusInput, CarouselTemplateUncheckedUpdateWithoutStatusInput>
  }

  export type CarouselTemplateUpdateManyWithWhereWithoutStatusInput = {
    where: CarouselTemplateScalarWhereInput
    data: XOR<CarouselTemplateUpdateManyMutationInput, CarouselTemplateUncheckedUpdateManyWithoutStatusInput>
  }

  export type CarouselTemplateLineItemUpsertWithWhereUniqueWithoutStatusInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    update: XOR<CarouselTemplateLineItemUpdateWithoutStatusInput, CarouselTemplateLineItemUncheckedUpdateWithoutStatusInput>
    create: XOR<CarouselTemplateLineItemCreateWithoutStatusInput, CarouselTemplateLineItemUncheckedCreateWithoutStatusInput>
  }

  export type CarouselTemplateLineItemUpdateWithWhereUniqueWithoutStatusInput = {
    where: CarouselTemplateLineItemWhereUniqueInput
    data: XOR<CarouselTemplateLineItemUpdateWithoutStatusInput, CarouselTemplateLineItemUncheckedUpdateWithoutStatusInput>
  }

  export type CarouselTemplateLineItemUpdateManyWithWhereWithoutStatusInput = {
    where: CarouselTemplateLineItemScalarWhereInput
    data: XOR<CarouselTemplateLineItemUpdateManyMutationInput, CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusInput>
  }

  export type ScheduledJobLogsUpsertWithWhereUniqueWithoutStatusInput = {
    where: ScheduledJobLogsWhereUniqueInput
    update: XOR<ScheduledJobLogsUpdateWithoutStatusInput, ScheduledJobLogsUncheckedUpdateWithoutStatusInput>
    create: XOR<ScheduledJobLogsCreateWithoutStatusInput, ScheduledJobLogsUncheckedCreateWithoutStatusInput>
  }

  export type ScheduledJobLogsUpdateWithWhereUniqueWithoutStatusInput = {
    where: ScheduledJobLogsWhereUniqueInput
    data: XOR<ScheduledJobLogsUpdateWithoutStatusInput, ScheduledJobLogsUncheckedUpdateWithoutStatusInput>
  }

  export type ScheduledJobLogsUpdateManyWithWhereWithoutStatusInput = {
    where: ScheduledJobLogsScalarWhereInput
    data: XOR<ScheduledJobLogsUpdateManyMutationInput, ScheduledJobLogsUncheckedUpdateManyWithoutStatusInput>
  }

  export type ScheduledJobLogsScalarWhereInput = {
    AND?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
    OR?: ScheduledJobLogsScalarWhereInput[]
    NOT?: ScheduledJobLogsScalarWhereInput | ScheduledJobLogsScalarWhereInput[]
    id?: IntFilter<"ScheduledJobLogs"> | number
    uuid?: UuidFilter<"ScheduledJobLogs"> | string
    scheduled_job_id?: IntFilter<"ScheduledJobLogs"> | number
    executed_statement?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    schedule_status?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    downloadables?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    response?: StringNullableFilter<"ScheduledJobLogs"> | string | null
    created_at?: DateTimeFilter<"ScheduledJobLogs"> | Date | string
    company_id?: IntFilter<"ScheduledJobLogs"> | number
    status_id?: IntFilter<"ScheduledJobLogs"> | number
  }

  export type ScheduledJobUpsertWithWhereUniqueWithoutStatusInput = {
    where: ScheduledJobWhereUniqueInput
    update: XOR<ScheduledJobUpdateWithoutStatusInput, ScheduledJobUncheckedUpdateWithoutStatusInput>
    create: XOR<ScheduledJobCreateWithoutStatusInput, ScheduledJobUncheckedCreateWithoutStatusInput>
  }

  export type ScheduledJobUpdateWithWhereUniqueWithoutStatusInput = {
    where: ScheduledJobWhereUniqueInput
    data: XOR<ScheduledJobUpdateWithoutStatusInput, ScheduledJobUncheckedUpdateWithoutStatusInput>
  }

  export type ScheduledJobUpdateManyWithWhereWithoutStatusInput = {
    where: ScheduledJobScalarWhereInput
    data: XOR<ScheduledJobUpdateManyMutationInput, ScheduledJobUncheckedUpdateManyWithoutStatusInput>
  }

  export type ScheduledJobScalarWhereInput = {
    AND?: ScheduledJobScalarWhereInput | ScheduledJobScalarWhereInput[]
    OR?: ScheduledJobScalarWhereInput[]
    NOT?: ScheduledJobScalarWhereInput | ScheduledJobScalarWhereInput[]
    id?: IntFilter<"ScheduledJob"> | number
    uuid?: UuidFilter<"ScheduledJob"> | string
    timing?: StringFilter<"ScheduledJob"> | string
    cron_url?: StringNullableFilter<"ScheduledJob"> | string | null
    concat_base_url?: BoolFilter<"ScheduledJob"> | boolean
    downloadables?: StringNullableFilter<"ScheduledJob"> | string | null
    description?: StringNullableFilter<"ScheduledJob"> | string | null
    created_at?: DateTimeFilter<"ScheduledJob"> | Date | string
    company_id?: IntFilter<"ScheduledJob"> | number
    status_id?: IntFilter<"ScheduledJob"> | number
  }

  export type CategoriesUpsertWithWhereUniqueWithoutStatusInput = {
    where: CategoriesWhereUniqueInput
    update: XOR<CategoriesUpdateWithoutStatusInput, CategoriesUncheckedUpdateWithoutStatusInput>
    create: XOR<CategoriesCreateWithoutStatusInput, CategoriesUncheckedCreateWithoutStatusInput>
  }

  export type CategoriesUpdateWithWhereUniqueWithoutStatusInput = {
    where: CategoriesWhereUniqueInput
    data: XOR<CategoriesUpdateWithoutStatusInput, CategoriesUncheckedUpdateWithoutStatusInput>
  }

  export type CategoriesUpdateManyWithWhereWithoutStatusInput = {
    where: CategoriesScalarWhereInput
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ThemeAttributesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ThemeAttributesWhereUniqueInput
    update: XOR<ThemeAttributesUpdateWithoutStatusInput, ThemeAttributesUncheckedUpdateWithoutStatusInput>
    create: XOR<ThemeAttributesCreateWithoutStatusInput, ThemeAttributesUncheckedCreateWithoutStatusInput>
  }

  export type ThemeAttributesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ThemeAttributesWhereUniqueInput
    data: XOR<ThemeAttributesUpdateWithoutStatusInput, ThemeAttributesUncheckedUpdateWithoutStatusInput>
  }

  export type ThemeAttributesUpdateManyWithWhereWithoutStatusInput = {
    where: ThemeAttributesScalarWhereInput
    data: XOR<ThemeAttributesUpdateManyMutationInput, ThemeAttributesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ThemesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ThemesWhereUniqueInput
    update: XOR<ThemesUpdateWithoutStatusInput, ThemesUncheckedUpdateWithoutStatusInput>
    create: XOR<ThemesCreateWithoutStatusInput, ThemesUncheckedCreateWithoutStatusInput>
  }

  export type ThemesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ThemesWhereUniqueInput
    data: XOR<ThemesUpdateWithoutStatusInput, ThemesUncheckedUpdateWithoutStatusInput>
  }

  export type ThemesUpdateManyWithWhereWithoutStatusInput = {
    where: ThemesScalarWhereInput
    data: XOR<ThemesUpdateManyMutationInput, ThemesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ThemeLineItemsUpsertWithWhereUniqueWithoutStatusInput = {
    where: ThemeLineItemsWhereUniqueInput
    update: XOR<ThemeLineItemsUpdateWithoutStatusInput, ThemeLineItemsUncheckedUpdateWithoutStatusInput>
    create: XOR<ThemeLineItemsCreateWithoutStatusInput, ThemeLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type ThemeLineItemsUpdateWithWhereUniqueWithoutStatusInput = {
    where: ThemeLineItemsWhereUniqueInput
    data: XOR<ThemeLineItemsUpdateWithoutStatusInput, ThemeLineItemsUncheckedUpdateWithoutStatusInput>
  }

  export type ThemeLineItemsUpdateManyWithWhereWithoutStatusInput = {
    where: ThemeLineItemsScalarWhereInput
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyWithoutStatusInput>
  }

  export type BarcodeTemplatesUpsertWithWhereUniqueWithoutStatusInput = {
    where: BarcodeTemplatesWhereUniqueInput
    update: XOR<BarcodeTemplatesUpdateWithoutStatusInput, BarcodeTemplatesUncheckedUpdateWithoutStatusInput>
    create: XOR<BarcodeTemplatesCreateWithoutStatusInput, BarcodeTemplatesUncheckedCreateWithoutStatusInput>
  }

  export type BarcodeTemplatesUpdateWithWhereUniqueWithoutStatusInput = {
    where: BarcodeTemplatesWhereUniqueInput
    data: XOR<BarcodeTemplatesUpdateWithoutStatusInput, BarcodeTemplatesUncheckedUpdateWithoutStatusInput>
  }

  export type BarcodeTemplatesUpdateManyWithWhereWithoutStatusInput = {
    where: BarcodeTemplatesScalarWhereInput
    data: XOR<BarcodeTemplatesUpdateManyMutationInput, BarcodeTemplatesUncheckedUpdateManyWithoutStatusInput>
  }

  export type UserLoginHistoryUpsertWithWhereUniqueWithoutStatusInput = {
    where: UserLoginHistoryWhereUniqueInput
    update: XOR<UserLoginHistoryUpdateWithoutStatusInput, UserLoginHistoryUncheckedUpdateWithoutStatusInput>
    create: XOR<UserLoginHistoryCreateWithoutStatusInput, UserLoginHistoryUncheckedCreateWithoutStatusInput>
  }

  export type UserLoginHistoryUpdateWithWhereUniqueWithoutStatusInput = {
    where: UserLoginHistoryWhereUniqueInput
    data: XOR<UserLoginHistoryUpdateWithoutStatusInput, UserLoginHistoryUncheckedUpdateWithoutStatusInput>
  }

  export type UserLoginHistoryUpdateManyWithWhereWithoutStatusInput = {
    where: UserLoginHistoryScalarWhereInput
    data: XOR<UserLoginHistoryUpdateManyMutationInput, UserLoginHistoryUncheckedUpdateManyWithoutStatusInput>
  }

  export type DirectImportDetailsUpsertWithWhereUniqueWithoutStatusInput = {
    where: DirectImportDetailsWhereUniqueInput
    update: XOR<DirectImportDetailsUpdateWithoutStatusInput, DirectImportDetailsUncheckedUpdateWithoutStatusInput>
    create: XOR<DirectImportDetailsCreateWithoutStatusInput, DirectImportDetailsUncheckedCreateWithoutStatusInput>
  }

  export type DirectImportDetailsUpdateWithWhereUniqueWithoutStatusInput = {
    where: DirectImportDetailsWhereUniqueInput
    data: XOR<DirectImportDetailsUpdateWithoutStatusInput, DirectImportDetailsUncheckedUpdateWithoutStatusInput>
  }

  export type DirectImportDetailsUpdateManyWithWhereWithoutStatusInput = {
    where: DirectImportDetailsScalarWhereInput
    data: XOR<DirectImportDetailsUpdateManyMutationInput, DirectImportDetailsUncheckedUpdateManyWithoutStatusInput>
  }

  export type DeliveryNotesUpsertWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNotesWhereUniqueInput
    update: XOR<DeliveryNotesUpdateWithoutStatusInput, DeliveryNotesUncheckedUpdateWithoutStatusInput>
    create: XOR<DeliveryNotesCreateWithoutStatusInput, DeliveryNotesUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNotesUpdateWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNotesWhereUniqueInput
    data: XOR<DeliveryNotesUpdateWithoutStatusInput, DeliveryNotesUncheckedUpdateWithoutStatusInput>
  }

  export type DeliveryNotesUpdateManyWithWhereWithoutStatusInput = {
    where: DeliveryNotesScalarWhereInput
    data: XOR<DeliveryNotesUpdateManyMutationInput, DeliveryNotesUncheckedUpdateManyWithoutStatusInput>
  }

  export type DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    update: XOR<DeliveryNoteLineItemsUpdateWithoutStatusInput, DeliveryNoteLineItemsUncheckedUpdateWithoutStatusInput>
    create: XOR<DeliveryNoteLineItemsCreateWithoutStatusInput, DeliveryNoteLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    data: XOR<DeliveryNoteLineItemsUpdateWithoutStatusInput, DeliveryNoteLineItemsUncheckedUpdateWithoutStatusInput>
  }

  export type DeliveryNoteLineItemsUpdateManyWithWhereWithoutStatusInput = {
    where: DeliveryNoteLineItemsScalarWhereInput
    data: XOR<DeliveryNoteLineItemsUpdateManyMutationInput, DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusInput>
  }

  export type DeliveryNoteLineItemsScalarWhereInput = {
    AND?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
    OR?: DeliveryNoteLineItemsScalarWhereInput[]
    NOT?: DeliveryNoteLineItemsScalarWhereInput | DeliveryNoteLineItemsScalarWhereInput[]
    id?: IntFilter<"DeliveryNoteLineItems"> | number
    uuid?: UuidFilter<"DeliveryNoteLineItems"> | string
    delivery_note_id?: IntFilter<"DeliveryNoteLineItems"> | number
    length?: DecimalFilter<"DeliveryNoteLineItems"> | Decimal | DecimalJsLike | number | string
    quantity?: IntFilter<"DeliveryNoteLineItems"> | number
    weight?: IntFilter<"DeliveryNoteLineItems"> | number
    item_description?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    slip_no?: StringFilter<"DeliveryNoteLineItems"> | string
    section_number?: StringFilter<"DeliveryNoteLineItems"> | string
    item_code?: StringFilter<"DeliveryNoteLineItems"> | string
    remarks?: StringNullableFilter<"DeliveryNoteLineItems"> | string | null
    status_id?: IntFilter<"DeliveryNoteLineItems"> | number
    company_id?: IntFilter<"DeliveryNoteLineItems"> | number
    created_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    created_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    updated_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    updated_at?: DateTimeFilter<"DeliveryNoteLineItems"> | Date | string
    deleted_by?: IntNullableFilter<"DeliveryNoteLineItems"> | number | null
    deleted_at?: DateTimeNullableFilter<"DeliveryNoteLineItems"> | Date | string | null
  }

  export type CustomerDeliveryAddressesUpsertWithWhereUniqueWithoutStatusInput = {
    where: CustomerDeliveryAddressesWhereUniqueInput
    update: XOR<CustomerDeliveryAddressesUpdateWithoutStatusInput, CustomerDeliveryAddressesUncheckedUpdateWithoutStatusInput>
    create: XOR<CustomerDeliveryAddressesCreateWithoutStatusInput, CustomerDeliveryAddressesUncheckedCreateWithoutStatusInput>
  }

  export type CustomerDeliveryAddressesUpdateWithWhereUniqueWithoutStatusInput = {
    where: CustomerDeliveryAddressesWhereUniqueInput
    data: XOR<CustomerDeliveryAddressesUpdateWithoutStatusInput, CustomerDeliveryAddressesUncheckedUpdateWithoutStatusInput>
  }

  export type CustomerDeliveryAddressesUpdateManyWithWhereWithoutStatusInput = {
    where: CustomerDeliveryAddressesScalarWhereInput
    data: XOR<CustomerDeliveryAddressesUpdateManyMutationInput, CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusInput>
  }

  export type CustomerDeliveryAddressesScalarWhereInput = {
    AND?: CustomerDeliveryAddressesScalarWhereInput | CustomerDeliveryAddressesScalarWhereInput[]
    OR?: CustomerDeliveryAddressesScalarWhereInput[]
    NOT?: CustomerDeliveryAddressesScalarWhereInput | CustomerDeliveryAddressesScalarWhereInput[]
    id?: IntFilter<"CustomerDeliveryAddresses"> | number
    uuid?: UuidFilter<"CustomerDeliveryAddresses"> | string
    delivery_address_code?: StringFilter<"CustomerDeliveryAddresses"> | string
    company_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    status_id?: IntFilter<"CustomerDeliveryAddresses"> | number
    billing_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    shipping_address?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_location?: StringFilter<"CustomerDeliveryAddresses"> | string
    customer_contact_no?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
    delivery_address_lat_long?: StringNullableFilter<"CustomerDeliveryAddresses"> | string | null
  }

  export type ShipmentsUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentsWhereUniqueInput
    update: XOR<ShipmentsUpdateWithoutStatusInput, ShipmentsUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentsCreateWithoutStatusInput, ShipmentsUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentsUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentsWhereUniqueInput
    data: XOR<ShipmentsUpdateWithoutStatusInput, ShipmentsUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentsUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentsScalarWhereInput
    data: XOR<ShipmentsUpdateManyMutationInput, ShipmentsUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentsScalarWhereInput = {
    AND?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
    OR?: ShipmentsScalarWhereInput[]
    NOT?: ShipmentsScalarWhereInput | ShipmentsScalarWhereInput[]
    id?: IntFilter<"Shipments"> | number
    uuid?: UuidFilter<"Shipments"> | string
    shipment_number?: StringFilter<"Shipments"> | string
    company_id?: IntFilter<"Shipments"> | number
    status_id?: IntFilter<"Shipments"> | number
    shipment_status_id?: IntFilter<"Shipments"> | number
    reason?: StringNullableFilter<"Shipments"> | string | null
    vehicle_id?: IntFilter<"Shipments"> | number
    created_by?: IntFilter<"Shipments"> | number
    created_at?: DateTimeFilter<"Shipments"> | Date | string
    updated_by?: IntNullableFilter<"Shipments"> | number | null
    updated_at?: DateTimeFilter<"Shipments"> | Date | string
    deleted_by?: IntNullableFilter<"Shipments"> | number | null
    deleted_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
    driver_id?: IntNullableFilter<"Shipments"> | number | null
    mobile_build_version?: StringNullableFilter<"Shipments"> | string | null
    shipment_delivered_at?: DateTimeNullableFilter<"Shipments"> | Date | string | null
  }

  export type ShipmentCustomersUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentCustomersWhereUniqueInput
    update: XOR<ShipmentCustomersUpdateWithoutStatusInput, ShipmentCustomersUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentCustomersCreateWithoutStatusInput, ShipmentCustomersUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentCustomersUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentCustomersWhereUniqueInput
    data: XOR<ShipmentCustomersUpdateWithoutStatusInput, ShipmentCustomersUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentCustomersUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentCustomersScalarWhereInput
    data: XOR<ShipmentCustomersUpdateManyMutationInput, ShipmentCustomersUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutStatusInput, ShipmentsLocationUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentsLocationCreateWithoutStatusInput, ShipmentsLocationUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutStatusInput, ShipmentsLocationUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentsLocationScalarWhereInput = {
    AND?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
    OR?: ShipmentsLocationScalarWhereInput[]
    NOT?: ShipmentsLocationScalarWhereInput | ShipmentsLocationScalarWhereInput[]
    id?: IntFilter<"ShipmentsLocation"> | number
    uuid?: UuidFilter<"ShipmentsLocation"> | string
    customer_address_id?: IntFilter<"ShipmentsLocation"> | number
    otp_status?: EnumOtpStatusNullableFilter<"ShipmentsLocation"> | $Enums.OtpStatus | null
    pod_status_id?: IntFilter<"ShipmentsLocation"> | number
    otp_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
    pod_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_signature?: StringNullableFilter<"ShipmentsLocation"> | string | null
    loaded_images?: StringNullableFilter<"ShipmentsLocation"> | string | null
    shipment_location_lat_long?: StringNullableFilter<"ShipmentsLocation"> | string | null
    company_id?: IntFilter<"ShipmentsLocation"> | number
    status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_status_id?: IntFilter<"ShipmentsLocation"> | number
    shipment_location_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_customer_uid?: StringFilter<"ShipmentsLocation"> | string
    shipment_id?: IntFilter<"ShipmentsLocation"> | number
    pod_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    loaded_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    latest_otp_generated_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    created_by?: IntFilter<"ShipmentsLocation"> | number
    created_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    updated_at?: DateTimeFilter<"ShipmentsLocation"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentsLocation"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentsLocation"> | Date | string | null
    customer_delivery_contact_name?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_email?: StringNullableFilter<"ShipmentsLocation"> | string | null
    customer_delivery_contact_number?: StringNullableFilter<"ShipmentsLocation"> | string | null
  }

  export type ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    update: XOR<ShipmentDeliveryNotesUpdateWithoutStatusInput, ShipmentDeliveryNotesUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentDeliveryNotesCreateWithoutStatusInput, ShipmentDeliveryNotesUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    data: XOR<ShipmentDeliveryNotesUpdateWithoutStatusInput, ShipmentDeliveryNotesUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentDeliveryNotesScalarWhereInput
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentDeliveryNotesScalarWhereInput = {
    AND?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
    OR?: ShipmentDeliveryNotesScalarWhereInput[]
    NOT?: ShipmentDeliveryNotesScalarWhereInput | ShipmentDeliveryNotesScalarWhereInput[]
    id?: IntFilter<"ShipmentDeliveryNotes"> | number
    uuid?: UuidFilter<"ShipmentDeliveryNotes"> | string
    delivery_note_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    company_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_status_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    shipment_location_uid?: StringFilter<"ShipmentDeliveryNotes"> | string
    shipment_id?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_by?: IntFilter<"ShipmentDeliveryNotes"> | number
    created_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    updated_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    updated_at?: DateTimeFilter<"ShipmentDeliveryNotes"> | Date | string
    deleted_by?: IntNullableFilter<"ShipmentDeliveryNotes"> | number | null
    deleted_at?: DateTimeNullableFilter<"ShipmentDeliveryNotes"> | Date | string | null
  }

  export type VehiclesUpsertWithWhereUniqueWithoutStatusInput = {
    where: VehiclesWhereUniqueInput
    update: XOR<VehiclesUpdateWithoutStatusInput, VehiclesUncheckedUpdateWithoutStatusInput>
    create: XOR<VehiclesCreateWithoutStatusInput, VehiclesUncheckedCreateWithoutStatusInput>
  }

  export type VehiclesUpdateWithWhereUniqueWithoutStatusInput = {
    where: VehiclesWhereUniqueInput
    data: XOR<VehiclesUpdateWithoutStatusInput, VehiclesUncheckedUpdateWithoutStatusInput>
  }

  export type VehiclesUpdateManyWithWhereWithoutStatusInput = {
    where: VehiclesScalarWhereInput
    data: XOR<VehiclesUpdateManyMutationInput, VehiclesUncheckedUpdateManyWithoutStatusInput>
  }

  export type VehiclesScalarWhereInput = {
    AND?: VehiclesScalarWhereInput | VehiclesScalarWhereInput[]
    OR?: VehiclesScalarWhereInput[]
    NOT?: VehiclesScalarWhereInput | VehiclesScalarWhereInput[]
    id?: IntFilter<"Vehicles"> | number
    uuid?: UuidFilter<"Vehicles"> | string
    vehicle_plate_number?: StringFilter<"Vehicles"> | string
    vehicle_register_number?: StringFilter<"Vehicles"> | string
    company_id?: IntFilter<"Vehicles"> | number
    status_id?: IntFilter<"Vehicles"> | number
    is_assigned?: BoolFilter<"Vehicles"> | boolean
    created_by?: IntNullableFilter<"Vehicles"> | number | null
    created_at?: DateTimeFilter<"Vehicles"> | Date | string
    updated_by?: IntNullableFilter<"Vehicles"> | number | null
    updated_at?: DateTimeFilter<"Vehicles"> | Date | string
    deleted_by?: IntNullableFilter<"Vehicles"> | number | null
    deleted_at?: DateTimeNullableFilter<"Vehicles"> | Date | string | null
  }

  export type VehiclesGpsDataUpsertWithWhereUniqueWithoutStatusInput = {
    where: VehiclesGpsDataWhereUniqueInput
    update: XOR<VehiclesGpsDataUpdateWithoutStatusInput, VehiclesGpsDataUncheckedUpdateWithoutStatusInput>
    create: XOR<VehiclesGpsDataCreateWithoutStatusInput, VehiclesGpsDataUncheckedCreateWithoutStatusInput>
  }

  export type VehiclesGpsDataUpdateWithWhereUniqueWithoutStatusInput = {
    where: VehiclesGpsDataWhereUniqueInput
    data: XOR<VehiclesGpsDataUpdateWithoutStatusInput, VehiclesGpsDataUncheckedUpdateWithoutStatusInput>
  }

  export type VehiclesGpsDataUpdateManyWithWhereWithoutStatusInput = {
    where: VehiclesGpsDataScalarWhereInput
    data: XOR<VehiclesGpsDataUpdateManyMutationInput, VehiclesGpsDataUncheckedUpdateManyWithoutStatusInput>
  }

  export type GeoFencesUpsertWithWhereUniqueWithoutStatusInput = {
    where: GeoFencesWhereUniqueInput
    update: XOR<GeoFencesUpdateWithoutStatusInput, GeoFencesUncheckedUpdateWithoutStatusInput>
    create: XOR<GeoFencesCreateWithoutStatusInput, GeoFencesUncheckedCreateWithoutStatusInput>
  }

  export type GeoFencesUpdateWithWhereUniqueWithoutStatusInput = {
    where: GeoFencesWhereUniqueInput
    data: XOR<GeoFencesUpdateWithoutStatusInput, GeoFencesUncheckedUpdateWithoutStatusInput>
  }

  export type GeoFencesUpdateManyWithWhereWithoutStatusInput = {
    where: GeoFencesScalarWhereInput
    data: XOR<GeoFencesUpdateManyMutationInput, GeoFencesUncheckedUpdateManyWithoutStatusInput>
  }

  export type GeoFencesScalarWhereInput = {
    AND?: GeoFencesScalarWhereInput | GeoFencesScalarWhereInput[]
    OR?: GeoFencesScalarWhereInput[]
    NOT?: GeoFencesScalarWhereInput | GeoFencesScalarWhereInput[]
    id?: IntFilter<"GeoFences"> | number
    uuid?: UuidFilter<"GeoFences"> | string
    zone_name?: StringFilter<"GeoFences"> | string
    zone_type?: EnumZoneTypeFilter<"GeoFences"> | $Enums.ZoneType
    radius?: StringNullableFilter<"GeoFences"> | string | null
    category?: EnumGeoCategoryFilter<"GeoFences"> | $Enums.GeoCategory
    latitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    longitude_coords?: FloatNullableFilter<"GeoFences"> | number | null
    paths?: JsonNullableFilter<"GeoFences">
    company_id?: IntFilter<"GeoFences"> | number
    status_id?: IntFilter<"GeoFences"> | number
    created_by?: IntFilter<"GeoFences"> | number
    created_at?: DateTimeFilter<"GeoFences"> | Date | string
    updated_by?: IntNullableFilter<"GeoFences"> | number | null
    updated_at?: DateTimeFilter<"GeoFences"> | Date | string
    deleted_by?: IntNullableFilter<"GeoFences"> | number | null
    deleted_at?: DateTimeNullableFilter<"GeoFences"> | Date | string | null
  }

  export type GeoFenceTrackingUpsertWithWhereUniqueWithoutStatusInput = {
    where: GeoFenceTrackingWhereUniqueInput
    update: XOR<GeoFenceTrackingUpdateWithoutStatusInput, GeoFenceTrackingUncheckedUpdateWithoutStatusInput>
    create: XOR<GeoFenceTrackingCreateWithoutStatusInput, GeoFenceTrackingUncheckedCreateWithoutStatusInput>
  }

  export type GeoFenceTrackingUpdateWithWhereUniqueWithoutStatusInput = {
    where: GeoFenceTrackingWhereUniqueInput
    data: XOR<GeoFenceTrackingUpdateWithoutStatusInput, GeoFenceTrackingUncheckedUpdateWithoutStatusInput>
  }

  export type GeoFenceTrackingUpdateManyWithWhereWithoutStatusInput = {
    where: GeoFenceTrackingScalarWhereInput
    data: XOR<GeoFenceTrackingUpdateManyMutationInput, GeoFenceTrackingUncheckedUpdateManyWithoutStatusInput>
  }

  export type GeoFenceTrackingScalarWhereInput = {
    AND?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
    OR?: GeoFenceTrackingScalarWhereInput[]
    NOT?: GeoFenceTrackingScalarWhereInput | GeoFenceTrackingScalarWhereInput[]
    id?: IntFilter<"GeoFenceTracking"> | number
    uuid?: UuidFilter<"GeoFenceTracking"> | string
    vehicle_id?: IntFilter<"GeoFenceTracking"> | number
    geofence_id?: IntFilter<"GeoFenceTracking"> | number
    activity_type?: EnumGeoTracActivityFilter<"GeoFenceTracking"> | $Enums.GeoTracActivity
    activity_at?: DateTimeFilter<"GeoFenceTracking"> | Date | string
    company_id?: IntFilter<"GeoFenceTracking"> | number
    status_id?: IntFilter<"GeoFenceTracking"> | number
  }

  export type CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutStatusInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    update: XOR<CustomerGeoFenceMappingUpdateWithoutStatusInput, CustomerGeoFenceMappingUncheckedUpdateWithoutStatusInput>
    create: XOR<CustomerGeoFenceMappingCreateWithoutStatusInput, CustomerGeoFenceMappingUncheckedCreateWithoutStatusInput>
  }

  export type CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutStatusInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    data: XOR<CustomerGeoFenceMappingUpdateWithoutStatusInput, CustomerGeoFenceMappingUncheckedUpdateWithoutStatusInput>
  }

  export type CustomerGeoFenceMappingUpdateManyWithWhereWithoutStatusInput = {
    where: CustomerGeoFenceMappingScalarWhereInput
    data: XOR<CustomerGeoFenceMappingUpdateManyMutationInput, CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusInput>
  }

  export type DeliveryNoteStatusUpsertWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNoteStatusWhereUniqueInput
    update: XOR<DeliveryNoteStatusUpdateWithoutStatusInput, DeliveryNoteStatusUncheckedUpdateWithoutStatusInput>
    create: XOR<DeliveryNoteStatusCreateWithoutStatusInput, DeliveryNoteStatusUncheckedCreateWithoutStatusInput>
  }

  export type DeliveryNoteStatusUpdateWithWhereUniqueWithoutStatusInput = {
    where: DeliveryNoteStatusWhereUniqueInput
    data: XOR<DeliveryNoteStatusUpdateWithoutStatusInput, DeliveryNoteStatusUncheckedUpdateWithoutStatusInput>
  }

  export type DeliveryNoteStatusUpdateManyWithWhereWithoutStatusInput = {
    where: DeliveryNoteStatusScalarWhereInput
    data: XOR<DeliveryNoteStatusUpdateManyMutationInput, DeliveryNoteStatusUncheckedUpdateManyWithoutStatusInput>
  }

  export type DeliveryNoteStatusScalarWhereInput = {
    AND?: DeliveryNoteStatusScalarWhereInput | DeliveryNoteStatusScalarWhereInput[]
    OR?: DeliveryNoteStatusScalarWhereInput[]
    NOT?: DeliveryNoteStatusScalarWhereInput | DeliveryNoteStatusScalarWhereInput[]
    id?: IntFilter<"DeliveryNoteStatus"> | number
    uuid?: UuidFilter<"DeliveryNoteStatus"> | string
    name?: StringFilter<"DeliveryNoteStatus"> | string
    code?: StringFilter<"DeliveryNoteStatus"> | string
    status_id?: IntFilter<"DeliveryNoteStatus"> | number
    company_id?: IntFilter<"DeliveryNoteStatus"> | number
  }

  export type ErpLogsUpsertWithWhereUniqueWithoutStatusInput = {
    where: ErpLogsWhereUniqueInput
    update: XOR<ErpLogsUpdateWithoutStatusInput, ErpLogsUncheckedUpdateWithoutStatusInput>
    create: XOR<ErpLogsCreateWithoutStatusInput, ErpLogsUncheckedCreateWithoutStatusInput>
  }

  export type ErpLogsUpdateWithWhereUniqueWithoutStatusInput = {
    where: ErpLogsWhereUniqueInput
    data: XOR<ErpLogsUpdateWithoutStatusInput, ErpLogsUncheckedUpdateWithoutStatusInput>
  }

  export type ErpLogsUpdateManyWithWhereWithoutStatusInput = {
    where: ErpLogsScalarWhereInput
    data: XOR<ErpLogsUpdateManyMutationInput, ErpLogsUncheckedUpdateManyWithoutStatusInput>
  }

  export type ErpLogsScalarWhereInput = {
    AND?: ErpLogsScalarWhereInput | ErpLogsScalarWhereInput[]
    OR?: ErpLogsScalarWhereInput[]
    NOT?: ErpLogsScalarWhereInput | ErpLogsScalarWhereInput[]
    id?: IntFilter<"ErpLogs"> | number
    uuid?: UuidFilter<"ErpLogs"> | string
    req_method?: StringNullableFilter<"ErpLogs"> | string | null
    req_url?: StringNullableFilter<"ErpLogs"> | string | null
    req_body?: JsonFilter<"ErpLogs">
    company_id?: IntFilter<"ErpLogs"> | number
    created_by?: IntNullableFilter<"ErpLogs"> | number | null
    created_at?: DateTimeFilter<"ErpLogs"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogs"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogs"> | number | null
    updated_at?: DateTimeFilter<"ErpLogs"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogs"> | Date | string | null
    response_object?: JsonNullableFilter<"ErpLogs">
    status_id?: IntFilter<"ErpLogs"> | number
    sync_status?: EnumSyncDataFilter<"ErpLogs"> | $Enums.SyncData
    sync_number?: StringNullableFilter<"ErpLogs"> | string | null
  }

  export type ErpLogsLineItemsUpsertWithWhereUniqueWithoutStatusInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    update: XOR<ErpLogsLineItemsUpdateWithoutStatusInput, ErpLogsLineItemsUncheckedUpdateWithoutStatusInput>
    create: XOR<ErpLogsLineItemsCreateWithoutStatusInput, ErpLogsLineItemsUncheckedCreateWithoutStatusInput>
  }

  export type ErpLogsLineItemsUpdateWithWhereUniqueWithoutStatusInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    data: XOR<ErpLogsLineItemsUpdateWithoutStatusInput, ErpLogsLineItemsUncheckedUpdateWithoutStatusInput>
  }

  export type ErpLogsLineItemsUpdateManyWithWhereWithoutStatusInput = {
    where: ErpLogsLineItemsScalarWhereInput
    data: XOR<ErpLogsLineItemsUpdateManyMutationInput, ErpLogsLineItemsUncheckedUpdateManyWithoutStatusInput>
  }

  export type ErpLogsLineItemsScalarWhereInput = {
    AND?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
    OR?: ErpLogsLineItemsScalarWhereInput[]
    NOT?: ErpLogsLineItemsScalarWhereInput | ErpLogsLineItemsScalarWhereInput[]
    id?: IntFilter<"ErpLogsLineItems"> | number
    uuid?: UuidFilter<"ErpLogsLineItems"> | string
    delivery_note_number?: StringFilter<"ErpLogsLineItems"> | string
    date_of_issue?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    customer_order_number?: StringFilter<"ErpLogsLineItems"> | string
    reference_number?: StringFilter<"ErpLogsLineItems"> | string
    shipment_type?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    line_item_sync_status?: EnumLineItemSyncStatusNullableFilter<"ErpLogsLineItems"> | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFilter<"ErpLogsLineItems"> | string
    purchase_reference?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    alloy?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    temper?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    color?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    aluminium_profiles?: StringNullableFilter<"ErpLogsLineItems"> | string | null
    number_of_boxes?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    number_of_bundles?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    erp_logs_id?: IntFilter<"ErpLogsLineItems"> | number
    line_item?: JsonFilter<"ErpLogsLineItems">
    company_id?: IntFilter<"ErpLogsLineItems"> | number
    status_id?: IntFilter<"ErpLogsLineItems"> | number
    created_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    created_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    updated_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    deleted_by?: IntNullableFilter<"ErpLogsLineItems"> | number | null
    updated_at?: DateTimeFilter<"ErpLogsLineItems"> | Date | string
    deleted_at?: DateTimeNullableFilter<"ErpLogsLineItems"> | Date | string | null
  }

  export type VehicleUserMappingUpsertWithWhereUniqueWithoutStatusInput = {
    where: VehicleUserMappingWhereUniqueInput
    update: XOR<VehicleUserMappingUpdateWithoutStatusInput, VehicleUserMappingUncheckedUpdateWithoutStatusInput>
    create: XOR<VehicleUserMappingCreateWithoutStatusInput, VehicleUserMappingUncheckedCreateWithoutStatusInput>
  }

  export type VehicleUserMappingUpdateWithWhereUniqueWithoutStatusInput = {
    where: VehicleUserMappingWhereUniqueInput
    data: XOR<VehicleUserMappingUpdateWithoutStatusInput, VehicleUserMappingUncheckedUpdateWithoutStatusInput>
  }

  export type VehicleUserMappingUpdateManyWithWhereWithoutStatusInput = {
    where: VehicleUserMappingScalarWhereInput
    data: XOR<VehicleUserMappingUpdateManyMutationInput, VehicleUserMappingUncheckedUpdateManyWithoutStatusInput>
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutStatusInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutStatusInput, VehicleGeofenceHistoryUncheckedUpdateWithoutStatusInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutStatusInput, VehicleGeofenceHistoryUncheckedCreateWithoutStatusInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutStatusInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutStatusInput, VehicleGeofenceHistoryUncheckedUpdateWithoutStatusInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutStatusInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusInput>
  }

  export type TempSessionDataUpsertWithWhereUniqueWithoutStatusInput = {
    where: TempSessionDataWhereUniqueInput
    update: XOR<TempSessionDataUpdateWithoutStatusInput, TempSessionDataUncheckedUpdateWithoutStatusInput>
    create: XOR<TempSessionDataCreateWithoutStatusInput, TempSessionDataUncheckedCreateWithoutStatusInput>
  }

  export type TempSessionDataUpdateWithWhereUniqueWithoutStatusInput = {
    where: TempSessionDataWhereUniqueInput
    data: XOR<TempSessionDataUpdateWithoutStatusInput, TempSessionDataUncheckedUpdateWithoutStatusInput>
  }

  export type TempSessionDataUpdateManyWithWhereWithoutStatusInput = {
    where: TempSessionDataScalarWhereInput
    data: XOR<TempSessionDataUpdateManyMutationInput, TempSessionDataUncheckedUpdateManyWithoutStatusInput>
  }

  export type TempSessionDataScalarWhereInput = {
    AND?: TempSessionDataScalarWhereInput | TempSessionDataScalarWhereInput[]
    OR?: TempSessionDataScalarWhereInput[]
    NOT?: TempSessionDataScalarWhereInput | TempSessionDataScalarWhereInput[]
    id?: IntFilter<"TempSessionData"> | number
    uuid?: UuidFilter<"TempSessionData"> | string
    session_id?: StringFilter<"TempSessionData"> | string
    delivery_note_number?: StringFilter<"TempSessionData"> | string
    first_name?: StringFilter<"TempSessionData"> | string
    delivery_location?: StringFilter<"TempSessionData"> | string
    reference_number?: StringFilter<"TempSessionData"> | string
    date_of_issue?: DateTimeFilter<"TempSessionData"> | Date | string
    status_id?: IntFilter<"TempSessionData"> | number
    company_id?: IntFilter<"TempSessionData"> | number
    customer_delivery_id?: IntFilter<"TempSessionData"> | number
    delivery_note_id?: IntFilter<"TempSessionData"> | number
    customer_id?: IntFilter<"TempSessionData"> | number
    created_by?: IntNullableFilter<"TempSessionData"> | number | null
    created_at?: DateTimeFilter<"TempSessionData"> | Date | string
  }

  export type ShipmentStatusUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentStatusWhereUniqueInput
    update: XOR<ShipmentStatusUpdateWithoutStatusInput, ShipmentStatusUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentStatusCreateWithoutStatusInput, ShipmentStatusUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentStatusUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentStatusWhereUniqueInput
    data: XOR<ShipmentStatusUpdateWithoutStatusInput, ShipmentStatusUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentStatusUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentStatusScalarWhereInput
    data: XOR<ShipmentStatusUpdateManyMutationInput, ShipmentStatusUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentStatusScalarWhereInput = {
    AND?: ShipmentStatusScalarWhereInput | ShipmentStatusScalarWhereInput[]
    OR?: ShipmentStatusScalarWhereInput[]
    NOT?: ShipmentStatusScalarWhereInput | ShipmentStatusScalarWhereInput[]
    id?: IntFilter<"ShipmentStatus"> | number
    uuid?: UuidFilter<"ShipmentStatus"> | string
    slug?: StringFilter<"ShipmentStatus"> | string
    name?: StringFilter<"ShipmentStatus"> | string
    status_id?: IntFilter<"ShipmentStatus"> | number
    company_id?: IntFilter<"ShipmentStatus"> | number
    status_color_code?: StringNullableFilter<"ShipmentStatus"> | string | null
  }

  export type ShipmentStatusHistoryUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentStatusHistoryWhereUniqueInput
    update: XOR<ShipmentStatusHistoryUpdateWithoutStatusInput, ShipmentStatusHistoryUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentStatusHistoryCreateWithoutStatusInput, ShipmentStatusHistoryUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentStatusHistoryUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentStatusHistoryWhereUniqueInput
    data: XOR<ShipmentStatusHistoryUpdateWithoutStatusInput, ShipmentStatusHistoryUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentStatusHistoryUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentStatusHistoryScalarWhereInput
    data: XOR<ShipmentStatusHistoryUpdateManyMutationInput, ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentStatusHistoryScalarWhereInput = {
    AND?: ShipmentStatusHistoryScalarWhereInput | ShipmentStatusHistoryScalarWhereInput[]
    OR?: ShipmentStatusHistoryScalarWhereInput[]
    NOT?: ShipmentStatusHistoryScalarWhereInput | ShipmentStatusHistoryScalarWhereInput[]
    id?: IntFilter<"ShipmentStatusHistory"> | number
    uuid?: UuidFilter<"ShipmentStatusHistory"> | string
    ref_id?: IntFilter<"ShipmentStatusHistory"> | number
    table_name?: EnumETablesFilter<"ShipmentStatusHistory"> | $Enums.ETables
    from_state?: IntFilter<"ShipmentStatusHistory"> | number
    to_state?: IntFilter<"ShipmentStatusHistory"> | number
    changed_by?: IntFilter<"ShipmentStatusHistory"> | number
    changed_at?: DateTimeFilter<"ShipmentStatusHistory"> | Date | string
    status_id?: IntFilter<"ShipmentStatusHistory"> | number
    company_id?: IntFilter<"ShipmentStatusHistory"> | number
  }

  export type PodStatusUpsertWithWhereUniqueWithoutStatusInput = {
    where: PodStatusWhereUniqueInput
    update: XOR<PodStatusUpdateWithoutStatusInput, PodStatusUncheckedUpdateWithoutStatusInput>
    create: XOR<PodStatusCreateWithoutStatusInput, PodStatusUncheckedCreateWithoutStatusInput>
  }

  export type PodStatusUpdateWithWhereUniqueWithoutStatusInput = {
    where: PodStatusWhereUniqueInput
    data: XOR<PodStatusUpdateWithoutStatusInput, PodStatusUncheckedUpdateWithoutStatusInput>
  }

  export type PodStatusUpdateManyWithWhereWithoutStatusInput = {
    where: PodStatusScalarWhereInput
    data: XOR<PodStatusUpdateManyMutationInput, PodStatusUncheckedUpdateManyWithoutStatusInput>
  }

  export type PodStatusScalarWhereInput = {
    AND?: PodStatusScalarWhereInput | PodStatusScalarWhereInput[]
    OR?: PodStatusScalarWhereInput[]
    NOT?: PodStatusScalarWhereInput | PodStatusScalarWhereInput[]
    id?: IntFilter<"PodStatus"> | number
    uuid?: UuidFilter<"PodStatus"> | string
    slug?: StringFilter<"PodStatus"> | string
    name?: StringFilter<"PodStatus"> | string
    status_id?: IntFilter<"PodStatus"> | number
    company_id?: IntFilter<"PodStatus"> | number
    status_color_code?: StringFilter<"PodStatus"> | string
  }

  export type VehicleTripHistoriesUpsertWithWhereUniqueWithoutStatusInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    update: XOR<VehicleTripHistoriesUpdateWithoutStatusInput, VehicleTripHistoriesUncheckedUpdateWithoutStatusInput>
    create: XOR<VehicleTripHistoriesCreateWithoutStatusInput, VehicleTripHistoriesUncheckedCreateWithoutStatusInput>
  }

  export type VehicleTripHistoriesUpdateWithWhereUniqueWithoutStatusInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    data: XOR<VehicleTripHistoriesUpdateWithoutStatusInput, VehicleTripHistoriesUncheckedUpdateWithoutStatusInput>
  }

  export type VehicleTripHistoriesUpdateManyWithWhereWithoutStatusInput = {
    where: VehicleTripHistoriesScalarWhereInput
    data: XOR<VehicleTripHistoriesUpdateManyMutationInput, VehicleTripHistoriesUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentLocationContactInfoHistoryUpsertWithWhereUniqueWithoutStatusInput = {
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
    update: XOR<ShipmentLocationContactInfoHistoryUpdateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedUpdateWithoutStatusInput>
    create: XOR<ShipmentLocationContactInfoHistoryCreateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedCreateWithoutStatusInput>
  }

  export type ShipmentLocationContactInfoHistoryUpdateWithWhereUniqueWithoutStatusInput = {
    where: ShipmentLocationContactInfoHistoryWhereUniqueInput
    data: XOR<ShipmentLocationContactInfoHistoryUpdateWithoutStatusInput, ShipmentLocationContactInfoHistoryUncheckedUpdateWithoutStatusInput>
  }

  export type ShipmentLocationContactInfoHistoryUpdateManyWithWhereWithoutStatusInput = {
    where: ShipmentLocationContactInfoHistoryScalarWhereInput
    data: XOR<ShipmentLocationContactInfoHistoryUpdateManyMutationInput, ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusInput>
  }

  export type ShipmentLocationContactInfoHistoryScalarWhereInput = {
    AND?: ShipmentLocationContactInfoHistoryScalarWhereInput | ShipmentLocationContactInfoHistoryScalarWhereInput[]
    OR?: ShipmentLocationContactInfoHistoryScalarWhereInput[]
    NOT?: ShipmentLocationContactInfoHistoryScalarWhereInput | ShipmentLocationContactInfoHistoryScalarWhereInput[]
    id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    uuid?: UuidFilter<"ShipmentLocationContactInfoHistory"> | string
    from_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_name?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_email?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    from_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    to_customer_delivery_contact_number?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
    created_by?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    created_at?: DateTimeFilter<"ShipmentLocationContactInfoHistory"> | Date | string
    status_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    company_id?: IntFilter<"ShipmentLocationContactInfoHistory"> | number
    shipment_id?: IntNullableFilter<"ShipmentLocationContactInfoHistory"> | number | null
    shipment_location_uid?: StringNullableFilter<"ShipmentLocationContactInfoHistory"> | string | null
  }

  export type TreeBuilderExampleUpsertWithWhereUniqueWithoutStatusInput = {
    where: TreeBuilderExampleWhereUniqueInput
    update: XOR<TreeBuilderExampleUpdateWithoutStatusInput, TreeBuilderExampleUncheckedUpdateWithoutStatusInput>
    create: XOR<TreeBuilderExampleCreateWithoutStatusInput, TreeBuilderExampleUncheckedCreateWithoutStatusInput>
  }

  export type TreeBuilderExampleUpdateWithWhereUniqueWithoutStatusInput = {
    where: TreeBuilderExampleWhereUniqueInput
    data: XOR<TreeBuilderExampleUpdateWithoutStatusInput, TreeBuilderExampleUncheckedUpdateWithoutStatusInput>
  }

  export type TreeBuilderExampleUpdateManyWithWhereWithoutStatusInput = {
    where: TreeBuilderExampleScalarWhereInput
    data: XOR<TreeBuilderExampleUpdateManyMutationInput, TreeBuilderExampleUncheckedUpdateManyWithoutStatusInput>
  }

  export type TreeBuilderExampleScalarWhereInput = {
    AND?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
    OR?: TreeBuilderExampleScalarWhereInput[]
    NOT?: TreeBuilderExampleScalarWhereInput | TreeBuilderExampleScalarWhereInput[]
    id?: IntFilter<"TreeBuilderExample"> | number
    uuid?: UuidFilter<"TreeBuilderExample"> | string
    name?: StringFilter<"TreeBuilderExample"> | string
    code?: StringFilter<"TreeBuilderExample"> | string
    company_id?: IntFilter<"TreeBuilderExample"> | number
    status_id?: IntFilter<"TreeBuilderExample"> | number
    parent_id?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    updated_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    deleted_by?: IntNullableFilter<"TreeBuilderExample"> | number | null
    created_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    updated_at?: DateTimeFilter<"TreeBuilderExample"> | Date | string
    deleted_at?: DateTimeNullableFilter<"TreeBuilderExample"> | Date | string | null
  }

  export type userSearchConfigurationUpsertWithWhereUniqueWithoutStatusInput = {
    where: userSearchConfigurationWhereUniqueInput
    update: XOR<userSearchConfigurationUpdateWithoutStatusInput, userSearchConfigurationUncheckedUpdateWithoutStatusInput>
    create: XOR<userSearchConfigurationCreateWithoutStatusInput, userSearchConfigurationUncheckedCreateWithoutStatusInput>
  }

  export type userSearchConfigurationUpdateWithWhereUniqueWithoutStatusInput = {
    where: userSearchConfigurationWhereUniqueInput
    data: XOR<userSearchConfigurationUpdateWithoutStatusInput, userSearchConfigurationUncheckedUpdateWithoutStatusInput>
  }

  export type userSearchConfigurationUpdateManyWithWhereWithoutStatusInput = {
    where: userSearchConfigurationScalarWhereInput
    data: XOR<userSearchConfigurationUpdateManyMutationInput, userSearchConfigurationUncheckedUpdateManyWithoutStatusInput>
  }

  export type userSearchConfigurationScalarWhereInput = {
    AND?: userSearchConfigurationScalarWhereInput | userSearchConfigurationScalarWhereInput[]
    OR?: userSearchConfigurationScalarWhereInput[]
    NOT?: userSearchConfigurationScalarWhereInput | userSearchConfigurationScalarWhereInput[]
    id?: IntFilter<"userSearchConfiguration"> | number
    uuid?: UuidFilter<"userSearchConfiguration"> | string
    user_id?: IntFilter<"userSearchConfiguration"> | number
    entity_slug?: StringFilter<"userSearchConfiguration"> | string
    view_name?: StringFilter<"userSearchConfiguration"> | string
    is_default?: BoolFilter<"userSearchConfiguration"> | boolean
    search_values?: JsonNullableFilter<"userSearchConfiguration">
    status_id?: IntFilter<"userSearchConfiguration"> | number
    company_id?: IntFilter<"userSearchConfiguration"> | number
    created_by?: IntFilter<"userSearchConfiguration"> | number
    created_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    updated_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    updated_at?: DateTimeFilter<"userSearchConfiguration"> | Date | string
    deleted_by?: IntNullableFilter<"userSearchConfiguration"> | number | null
    deleted_at?: DateTimeNullableFilter<"userSearchConfiguration"> | Date | string | null
  }

  export type UserCreateWithoutCreated_category_typesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_category_typesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_category_typesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_category_typesInput, UserUncheckedCreateWithoutCreated_category_typesInput>
  }

  export type UserCreateWithoutUpdated_category_typesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_category_typesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_category_typesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_category_typesInput, UserUncheckedCreateWithoutUpdated_category_typesInput>
  }

  export type UserCreateWithoutDeleted_category_typesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_category_typesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_category_typesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_category_typesInput, UserUncheckedCreateWithoutDeleted_category_typesInput>
  }

  export type CategoriesCreateWithoutCategory_typeInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutCategory_typeInput = {
    id?: number
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutCategory_typeInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput>
  }

  export type CategoriesCreateManyCategory_typeInputEnvelope = {
    data: CategoriesCreateManyCategory_typeInput | CategoriesCreateManyCategory_typeInput[]
    skipDuplicates?: boolean
  }

  export type UserUpsertWithoutCreated_category_typesInput = {
    update: XOR<UserUpdateWithoutCreated_category_typesInput, UserUncheckedUpdateWithoutCreated_category_typesInput>
    create: XOR<UserCreateWithoutCreated_category_typesInput, UserUncheckedCreateWithoutCreated_category_typesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_category_typesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_category_typesInput, UserUncheckedUpdateWithoutCreated_category_typesInput>
  }

  export type UserUpdateWithoutCreated_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_category_typesInput = {
    update: XOR<UserUpdateWithoutUpdated_category_typesInput, UserUncheckedUpdateWithoutUpdated_category_typesInput>
    create: XOR<UserCreateWithoutUpdated_category_typesInput, UserUncheckedCreateWithoutUpdated_category_typesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_category_typesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_category_typesInput, UserUncheckedUpdateWithoutUpdated_category_typesInput>
  }

  export type UserUpdateWithoutUpdated_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_category_typesInput = {
    update: XOR<UserUpdateWithoutDeleted_category_typesInput, UserUncheckedUpdateWithoutDeleted_category_typesInput>
    create: XOR<UserCreateWithoutDeleted_category_typesInput, UserUncheckedCreateWithoutDeleted_category_typesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_category_typesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_category_typesInput, UserUncheckedUpdateWithoutDeleted_category_typesInput>
  }

  export type UserUpdateWithoutDeleted_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type CategoriesUpsertWithWhereUniqueWithoutCategory_typeInput = {
    where: CategoriesWhereUniqueInput
    update: XOR<CategoriesUpdateWithoutCategory_typeInput, CategoriesUncheckedUpdateWithoutCategory_typeInput>
    create: XOR<CategoriesCreateWithoutCategory_typeInput, CategoriesUncheckedCreateWithoutCategory_typeInput>
  }

  export type CategoriesUpdateWithWhereUniqueWithoutCategory_typeInput = {
    where: CategoriesWhereUniqueInput
    data: XOR<CategoriesUpdateWithoutCategory_typeInput, CategoriesUncheckedUpdateWithoutCategory_typeInput>
  }

  export type CategoriesUpdateManyWithWhereWithoutCategory_typeInput = {
    where: CategoriesScalarWhereInput
    data: XOR<CategoriesUpdateManyMutationInput, CategoriesUncheckedUpdateManyWithoutCategory_typeInput>
  }

  export type StatusCreateWithoutApp_categoriesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApp_categoriesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApp_categoriesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApp_categoriesInput, StatusUncheckedCreateWithoutApp_categoriesInput>
  }

  export type CategoryTypesCreateWithoutCategoriesInput = {
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    created_category_types?: UserCreateNestedOneWithoutCreated_category_typesInput
    updated_category_types?: UserCreateNestedOneWithoutUpdated_category_typesInput
    deleted_category_types?: UserCreateNestedOneWithoutDeleted_category_typesInput
  }

  export type CategoryTypesUncheckedCreateWithoutCategoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoryTypesCreateOrConnectWithoutCategoriesInput = {
    where: CategoryTypesWhereUniqueInput
    create: XOR<CategoryTypesCreateWithoutCategoriesInput, CategoryTypesUncheckedCreateWithoutCategoriesInput>
  }

  export type UserCreateWithoutCreated_categoriesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_categoriesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_categoriesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_categoriesInput, UserUncheckedCreateWithoutCreated_categoriesInput>
  }

  export type UserCreateWithoutUpdated_categoriesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_categoriesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_categoriesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_categoriesInput, UserUncheckedCreateWithoutUpdated_categoriesInput>
  }

  export type UserCreateWithoutDeleted_categoriesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_categoriesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_categoriesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_categoriesInput, UserUncheckedCreateWithoutDeleted_categoriesInput>
  }

  export type ConfigurationsCreateWithoutCategoryInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    created_configurations?: UserCreateNestedOneWithoutCreated_configurationsInput
    updated_configurations?: UserCreateNestedOneWithoutUpdated_configurationsInput
    deleted_configurations?: UserCreateNestedOneWithoutDeleted_configurationsInput
  }

  export type ConfigurationsUncheckedCreateWithoutCategoryInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateOrConnectWithoutCategoryInput = {
    where: ConfigurationsWhereUniqueInput
    create: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput>
  }

  export type ConfigurationsCreateManyCategoryInputEnvelope = {
    data: ConfigurationsCreateManyCategoryInput | ConfigurationsCreateManyCategoryInput[]
    skipDuplicates?: boolean
  }

  export type UserConfigurationsCreateWithoutCategoryInput = {
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
    created_user_configurations?: UserCreateNestedOneWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserCreateNestedOneWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserCreateNestedOneWithoutDeleted_user_configurationsInput
  }

  export type UserConfigurationsUncheckedCreateWithoutCategoryInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateOrConnectWithoutCategoryInput = {
    where: UserConfigurationsWhereUniqueInput
    create: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput>
  }

  export type UserConfigurationsCreateManyCategoryInputEnvelope = {
    data: UserConfigurationsCreateManyCategoryInput | UserConfigurationsCreateManyCategoryInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutApp_categoriesInput = {
    update: XOR<StatusUpdateWithoutApp_categoriesInput, StatusUncheckedUpdateWithoutApp_categoriesInput>
    create: XOR<StatusCreateWithoutApp_categoriesInput, StatusUncheckedCreateWithoutApp_categoriesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApp_categoriesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApp_categoriesInput, StatusUncheckedUpdateWithoutApp_categoriesInput>
  }

  export type StatusUpdateWithoutApp_categoriesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApp_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type CategoryTypesUpsertWithoutCategoriesInput = {
    update: XOR<CategoryTypesUpdateWithoutCategoriesInput, CategoryTypesUncheckedUpdateWithoutCategoriesInput>
    create: XOR<CategoryTypesCreateWithoutCategoriesInput, CategoryTypesUncheckedCreateWithoutCategoriesInput>
    where?: CategoryTypesWhereInput
  }

  export type CategoryTypesUpdateToOneWithWhereWithoutCategoriesInput = {
    where?: CategoryTypesWhereInput
    data: XOR<CategoryTypesUpdateWithoutCategoriesInput, CategoryTypesUncheckedUpdateWithoutCategoriesInput>
  }

  export type CategoryTypesUpdateWithoutCategoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_category_types?: UserUpdateOneWithoutCreated_category_typesNestedInput
    updated_category_types?: UserUpdateOneWithoutUpdated_category_typesNestedInput
    deleted_category_types?: UserUpdateOneWithoutDeleted_category_typesNestedInput
  }

  export type CategoryTypesUncheckedUpdateWithoutCategoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpsertWithoutCreated_categoriesInput = {
    update: XOR<UserUpdateWithoutCreated_categoriesInput, UserUncheckedUpdateWithoutCreated_categoriesInput>
    create: XOR<UserCreateWithoutCreated_categoriesInput, UserUncheckedCreateWithoutCreated_categoriesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_categoriesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_categoriesInput, UserUncheckedUpdateWithoutCreated_categoriesInput>
  }

  export type UserUpdateWithoutCreated_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_categoriesInput = {
    update: XOR<UserUpdateWithoutUpdated_categoriesInput, UserUncheckedUpdateWithoutUpdated_categoriesInput>
    create: XOR<UserCreateWithoutUpdated_categoriesInput, UserUncheckedCreateWithoutUpdated_categoriesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_categoriesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_categoriesInput, UserUncheckedUpdateWithoutUpdated_categoriesInput>
  }

  export type UserUpdateWithoutUpdated_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_categoriesInput = {
    update: XOR<UserUpdateWithoutDeleted_categoriesInput, UserUncheckedUpdateWithoutDeleted_categoriesInput>
    create: XOR<UserCreateWithoutDeleted_categoriesInput, UserUncheckedCreateWithoutDeleted_categoriesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_categoriesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_categoriesInput, UserUncheckedUpdateWithoutDeleted_categoriesInput>
  }

  export type UserUpdateWithoutDeleted_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ConfigurationsUpsertWithWhereUniqueWithoutCategoryInput = {
    where: ConfigurationsWhereUniqueInput
    update: XOR<ConfigurationsUpdateWithoutCategoryInput, ConfigurationsUncheckedUpdateWithoutCategoryInput>
    create: XOR<ConfigurationsCreateWithoutCategoryInput, ConfigurationsUncheckedCreateWithoutCategoryInput>
  }

  export type ConfigurationsUpdateWithWhereUniqueWithoutCategoryInput = {
    where: ConfigurationsWhereUniqueInput
    data: XOR<ConfigurationsUpdateWithoutCategoryInput, ConfigurationsUncheckedUpdateWithoutCategoryInput>
  }

  export type ConfigurationsUpdateManyWithWhereWithoutCategoryInput = {
    where: ConfigurationsScalarWhereInput
    data: XOR<ConfigurationsUpdateManyMutationInput, ConfigurationsUncheckedUpdateManyWithoutCategoryInput>
  }

  export type UserConfigurationsUpsertWithWhereUniqueWithoutCategoryInput = {
    where: UserConfigurationsWhereUniqueInput
    update: XOR<UserConfigurationsUpdateWithoutCategoryInput, UserConfigurationsUncheckedUpdateWithoutCategoryInput>
    create: XOR<UserConfigurationsCreateWithoutCategoryInput, UserConfigurationsUncheckedCreateWithoutCategoryInput>
  }

  export type UserConfigurationsUpdateWithWhereUniqueWithoutCategoryInput = {
    where: UserConfigurationsWhereUniqueInput
    data: XOR<UserConfigurationsUpdateWithoutCategoryInput, UserConfigurationsUncheckedUpdateWithoutCategoryInput>
  }

  export type UserConfigurationsUpdateManyWithWhereWithoutCategoryInput = {
    where: UserConfigurationsScalarWhereInput
    data: XOR<UserConfigurationsUpdateManyMutationInput, UserConfigurationsUncheckedUpdateManyWithoutCategoryInput>
  }

  export type CategoriesCreateWithoutConfigurationsInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    user_configurations?: UserConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutConfigurationsInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutConfigurationsInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutConfigurationsInput, CategoriesUncheckedCreateWithoutConfigurationsInput>
  }

  export type UserCreateWithoutCreated_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_configurationsInput, UserUncheckedCreateWithoutCreated_configurationsInput>
  }

  export type UserCreateWithoutUpdated_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_configurationsInput, UserUncheckedCreateWithoutUpdated_configurationsInput>
  }

  export type UserCreateWithoutDeleted_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_configurationsInput, UserUncheckedCreateWithoutDeleted_configurationsInput>
  }

  export type CategoriesUpsertWithoutConfigurationsInput = {
    update: XOR<CategoriesUpdateWithoutConfigurationsInput, CategoriesUncheckedUpdateWithoutConfigurationsInput>
    create: XOR<CategoriesCreateWithoutConfigurationsInput, CategoriesUncheckedCreateWithoutConfigurationsInput>
    where?: CategoriesWhereInput
  }

  export type CategoriesUpdateToOneWithWhereWithoutConfigurationsInput = {
    where?: CategoriesWhereInput
    data: XOR<CategoriesUpdateWithoutConfigurationsInput, CategoriesUncheckedUpdateWithoutConfigurationsInput>
  }

  export type CategoriesUpdateWithoutConfigurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutConfigurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type UserUpsertWithoutCreated_configurationsInput = {
    update: XOR<UserUpdateWithoutCreated_configurationsInput, UserUncheckedUpdateWithoutCreated_configurationsInput>
    create: XOR<UserCreateWithoutCreated_configurationsInput, UserUncheckedCreateWithoutCreated_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_configurationsInput, UserUncheckedUpdateWithoutCreated_configurationsInput>
  }

  export type UserUpdateWithoutCreated_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_configurationsInput = {
    update: XOR<UserUpdateWithoutUpdated_configurationsInput, UserUncheckedUpdateWithoutUpdated_configurationsInput>
    create: XOR<UserCreateWithoutUpdated_configurationsInput, UserUncheckedCreateWithoutUpdated_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_configurationsInput, UserUncheckedUpdateWithoutUpdated_configurationsInput>
  }

  export type UserUpdateWithoutUpdated_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_configurationsInput = {
    update: XOR<UserUpdateWithoutDeleted_configurationsInput, UserUncheckedUpdateWithoutDeleted_configurationsInput>
    create: XOR<UserCreateWithoutDeleted_configurationsInput, UserUncheckedCreateWithoutDeleted_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_configurationsInput, UserUncheckedUpdateWithoutDeleted_configurationsInput>
  }

  export type UserUpdateWithoutDeleted_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type CategoriesCreateWithoutUser_configurationsInput = {
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApp_categoriesInput
    category_type: CategoryTypesCreateNestedOneWithoutCategoriesInput
    created_categories?: UserCreateNestedOneWithoutCreated_categoriesInput
    updated_categories?: UserCreateNestedOneWithoutUpdated_categoriesInput
    deleted_categories?: UserCreateNestedOneWithoutDeleted_categoriesInput
    configurations?: ConfigurationsCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesUncheckedCreateWithoutUser_configurationsInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCategoryInput
  }

  export type CategoriesCreateOrConnectWithoutUser_configurationsInput = {
    where: CategoriesWhereUniqueInput
    create: XOR<CategoriesCreateWithoutUser_configurationsInput, CategoriesUncheckedCreateWithoutUser_configurationsInput>
  }

  export type UserCreateWithoutCreated_user_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_user_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_user_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_user_configurationsInput, UserUncheckedCreateWithoutCreated_user_configurationsInput>
  }

  export type UserCreateWithoutUpdated_user_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_user_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_user_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_user_configurationsInput, UserUncheckedCreateWithoutUpdated_user_configurationsInput>
  }

  export type UserCreateWithoutDeleted_user_configurationsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_user_configurationsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_user_configurationsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_user_configurationsInput, UserUncheckedCreateWithoutDeleted_user_configurationsInput>
  }

  export type CategoriesUpsertWithoutUser_configurationsInput = {
    update: XOR<CategoriesUpdateWithoutUser_configurationsInput, CategoriesUncheckedUpdateWithoutUser_configurationsInput>
    create: XOR<CategoriesCreateWithoutUser_configurationsInput, CategoriesUncheckedCreateWithoutUser_configurationsInput>
    where?: CategoriesWhereInput
  }

  export type CategoriesUpdateToOneWithWhereWithoutUser_configurationsInput = {
    where?: CategoriesWhereInput
    data: XOR<CategoriesUpdateWithoutUser_configurationsInput, CategoriesUncheckedUpdateWithoutUser_configurationsInput>
  }

  export type CategoriesUpdateWithoutUser_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutUser_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type UserUpsertWithoutCreated_user_configurationsInput = {
    update: XOR<UserUpdateWithoutCreated_user_configurationsInput, UserUncheckedUpdateWithoutCreated_user_configurationsInput>
    create: XOR<UserCreateWithoutCreated_user_configurationsInput, UserUncheckedCreateWithoutCreated_user_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_user_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_user_configurationsInput, UserUncheckedUpdateWithoutCreated_user_configurationsInput>
  }

  export type UserUpdateWithoutCreated_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_user_configurationsInput = {
    update: XOR<UserUpdateWithoutUpdated_user_configurationsInput, UserUncheckedUpdateWithoutUpdated_user_configurationsInput>
    create: XOR<UserCreateWithoutUpdated_user_configurationsInput, UserUncheckedCreateWithoutUpdated_user_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_user_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_user_configurationsInput, UserUncheckedUpdateWithoutUpdated_user_configurationsInput>
  }

  export type UserUpdateWithoutUpdated_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_user_configurationsInput = {
    update: XOR<UserUpdateWithoutDeleted_user_configurationsInput, UserUncheckedUpdateWithoutDeleted_user_configurationsInput>
    create: XOR<UserCreateWithoutDeleted_user_configurationsInput, UserUncheckedCreateWithoutDeleted_user_configurationsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_user_configurationsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_user_configurationsInput, UserUncheckedUpdateWithoutDeleted_user_configurationsInput>
  }

  export type UserUpdateWithoutDeleted_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutFile_upload_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutFile_upload_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutFile_upload_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutFile_upload_logsInput, StatusUncheckedCreateWithoutFile_upload_logsInput>
  }

  export type StatusUpsertWithoutFile_upload_logsInput = {
    update: XOR<StatusUpdateWithoutFile_upload_logsInput, StatusUncheckedUpdateWithoutFile_upload_logsInput>
    create: XOR<StatusCreateWithoutFile_upload_logsInput, StatusUncheckedCreateWithoutFile_upload_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutFile_upload_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutFile_upload_logsInput, StatusUncheckedUpdateWithoutFile_upload_logsInput>
  }

  export type StatusUpdateWithoutFile_upload_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutFile_upload_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutDevice_registrationInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDevice_registrationInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDevice_registrationInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDevice_registrationInput, StatusUncheckedCreateWithoutDevice_registrationInput>
  }

  export type UserCreateWithoutCreated_device_registrationInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_device_registrationInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_device_registrationInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_device_registrationInput, UserUncheckedCreateWithoutCreated_device_registrationInput>
  }

  export type UserCreateWithoutUpdated_device_registrationInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_device_registrationInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_device_registrationInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_device_registrationInput, UserUncheckedCreateWithoutUpdated_device_registrationInput>
  }

  export type UserCreateWithoutDeleted_device_registrationInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_device_registrationInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_device_registrationInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_device_registrationInput, UserUncheckedCreateWithoutDeleted_device_registrationInput>
  }

  export type UserCreateWithoutDeviceRegistrationInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeviceRegistrationInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeviceRegistrationInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeviceRegistrationInput, UserUncheckedCreateWithoutDeviceRegistrationInput>
  }

  export type StatusUpsertWithoutDevice_registrationInput = {
    update: XOR<StatusUpdateWithoutDevice_registrationInput, StatusUncheckedUpdateWithoutDevice_registrationInput>
    create: XOR<StatusCreateWithoutDevice_registrationInput, StatusUncheckedCreateWithoutDevice_registrationInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDevice_registrationInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDevice_registrationInput, StatusUncheckedUpdateWithoutDevice_registrationInput>
  }

  export type StatusUpdateWithoutDevice_registrationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDevice_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_device_registrationInput = {
    update: XOR<UserUpdateWithoutCreated_device_registrationInput, UserUncheckedUpdateWithoutCreated_device_registrationInput>
    create: XOR<UserCreateWithoutCreated_device_registrationInput, UserUncheckedCreateWithoutCreated_device_registrationInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_device_registrationInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_device_registrationInput, UserUncheckedUpdateWithoutCreated_device_registrationInput>
  }

  export type UserUpdateWithoutCreated_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_device_registrationInput = {
    update: XOR<UserUpdateWithoutUpdated_device_registrationInput, UserUncheckedUpdateWithoutUpdated_device_registrationInput>
    create: XOR<UserCreateWithoutUpdated_device_registrationInput, UserUncheckedCreateWithoutUpdated_device_registrationInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_device_registrationInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_device_registrationInput, UserUncheckedUpdateWithoutUpdated_device_registrationInput>
  }

  export type UserUpdateWithoutUpdated_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_device_registrationInput = {
    update: XOR<UserUpdateWithoutDeleted_device_registrationInput, UserUncheckedUpdateWithoutDeleted_device_registrationInput>
    create: XOR<UserCreateWithoutDeleted_device_registrationInput, UserUncheckedCreateWithoutDeleted_device_registrationInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_device_registrationInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_device_registrationInput, UserUncheckedUpdateWithoutDeleted_device_registrationInput>
  }

  export type UserUpdateWithoutDeleted_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeviceRegistrationInput = {
    update: XOR<UserUpdateWithoutDeviceRegistrationInput, UserUncheckedUpdateWithoutDeviceRegistrationInput>
    create: XOR<UserCreateWithoutDeviceRegistrationInput, UserUncheckedCreateWithoutDeviceRegistrationInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeviceRegistrationInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeviceRegistrationInput, UserUncheckedUpdateWithoutDeviceRegistrationInput>
  }

  export type UserUpdateWithoutDeviceRegistrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeviceRegistrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutPoliciesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutPoliciesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutPoliciesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutPoliciesInput, StatusUncheckedCreateWithoutPoliciesInput>
  }

  export type UserPoliciesCreateWithoutPolicyInput = {
    user: UserCreateNestedOneWithoutUser_policyInput
  }

  export type UserPoliciesUncheckedCreateWithoutPolicyInput = {
    user_id: number
  }

  export type UserPoliciesCreateOrConnectWithoutPolicyInput = {
    where: UserPoliciesWhereUniqueInput
    create: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput>
  }

  export type UserPoliciesCreateManyPolicyInputEnvelope = {
    data: UserPoliciesCreateManyPolicyInput | UserPoliciesCreateManyPolicyInput[]
    skipDuplicates?: boolean
  }

  export type RolePoliciesCreateWithoutPolicyInput = {
    role: RoleCreateNestedOneWithoutRole_policyInput
  }

  export type RolePoliciesUncheckedCreateWithoutPolicyInput = {
    role_id: number
  }

  export type RolePoliciesCreateOrConnectWithoutPolicyInput = {
    where: RolePoliciesWhereUniqueInput
    create: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput>
  }

  export type RolePoliciesCreateManyPolicyInputEnvelope = {
    data: RolePoliciesCreateManyPolicyInput | RolePoliciesCreateManyPolicyInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreated_policyInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_policyInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_policyInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_policyInput, UserUncheckedCreateWithoutCreated_policyInput>
  }

  export type UserCreateWithoutUpdated_policyInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_policyInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_policyInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_policyInput, UserUncheckedCreateWithoutUpdated_policyInput>
  }

  export type UserCreateWithoutDeleted_policyInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_policyInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_policyInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_policyInput, UserUncheckedCreateWithoutDeleted_policyInput>
  }

  export type StatusUpsertWithoutPoliciesInput = {
    update: XOR<StatusUpdateWithoutPoliciesInput, StatusUncheckedUpdateWithoutPoliciesInput>
    create: XOR<StatusCreateWithoutPoliciesInput, StatusUncheckedCreateWithoutPoliciesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutPoliciesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutPoliciesInput, StatusUncheckedUpdateWithoutPoliciesInput>
  }

  export type StatusUpdateWithoutPoliciesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutPoliciesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserPoliciesUpsertWithWhereUniqueWithoutPolicyInput = {
    where: UserPoliciesWhereUniqueInput
    update: XOR<UserPoliciesUpdateWithoutPolicyInput, UserPoliciesUncheckedUpdateWithoutPolicyInput>
    create: XOR<UserPoliciesCreateWithoutPolicyInput, UserPoliciesUncheckedCreateWithoutPolicyInput>
  }

  export type UserPoliciesUpdateWithWhereUniqueWithoutPolicyInput = {
    where: UserPoliciesWhereUniqueInput
    data: XOR<UserPoliciesUpdateWithoutPolicyInput, UserPoliciesUncheckedUpdateWithoutPolicyInput>
  }

  export type UserPoliciesUpdateManyWithWhereWithoutPolicyInput = {
    where: UserPoliciesScalarWhereInput
    data: XOR<UserPoliciesUpdateManyMutationInput, UserPoliciesUncheckedUpdateManyWithoutPolicyInput>
  }

  export type RolePoliciesUpsertWithWhereUniqueWithoutPolicyInput = {
    where: RolePoliciesWhereUniqueInput
    update: XOR<RolePoliciesUpdateWithoutPolicyInput, RolePoliciesUncheckedUpdateWithoutPolicyInput>
    create: XOR<RolePoliciesCreateWithoutPolicyInput, RolePoliciesUncheckedCreateWithoutPolicyInput>
  }

  export type RolePoliciesUpdateWithWhereUniqueWithoutPolicyInput = {
    where: RolePoliciesWhereUniqueInput
    data: XOR<RolePoliciesUpdateWithoutPolicyInput, RolePoliciesUncheckedUpdateWithoutPolicyInput>
  }

  export type RolePoliciesUpdateManyWithWhereWithoutPolicyInput = {
    where: RolePoliciesScalarWhereInput
    data: XOR<RolePoliciesUpdateManyMutationInput, RolePoliciesUncheckedUpdateManyWithoutPolicyInput>
  }

  export type UserUpsertWithoutCreated_policyInput = {
    update: XOR<UserUpdateWithoutCreated_policyInput, UserUncheckedUpdateWithoutCreated_policyInput>
    create: XOR<UserCreateWithoutCreated_policyInput, UserUncheckedCreateWithoutCreated_policyInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_policyInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_policyInput, UserUncheckedUpdateWithoutCreated_policyInput>
  }

  export type UserUpdateWithoutCreated_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_policyInput = {
    update: XOR<UserUpdateWithoutUpdated_policyInput, UserUncheckedUpdateWithoutUpdated_policyInput>
    create: XOR<UserCreateWithoutUpdated_policyInput, UserUncheckedCreateWithoutUpdated_policyInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_policyInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_policyInput, UserUncheckedUpdateWithoutUpdated_policyInput>
  }

  export type UserUpdateWithoutUpdated_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_policyInput = {
    update: XOR<UserUpdateWithoutDeleted_policyInput, UserUncheckedUpdateWithoutDeleted_policyInput>
    create: XOR<UserCreateWithoutDeleted_policyInput, UserUncheckedCreateWithoutDeleted_policyInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_policyInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_policyInput, UserUncheckedUpdateWithoutDeleted_policyInput>
  }

  export type UserUpdateWithoutDeleted_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type PoliciesCreateWithoutUser_policyInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    role_policy?: RolePoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateWithoutUser_policyInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    role_policy?: RolePoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutUser_policyInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutUser_policyInput, PoliciesUncheckedCreateWithoutUser_policyInput>
  }

  export type UserCreateWithoutUser_policyInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUser_policyInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUser_policyInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUser_policyInput, UserUncheckedCreateWithoutUser_policyInput>
  }

  export type PoliciesUpsertWithoutUser_policyInput = {
    update: XOR<PoliciesUpdateWithoutUser_policyInput, PoliciesUncheckedUpdateWithoutUser_policyInput>
    create: XOR<PoliciesCreateWithoutUser_policyInput, PoliciesUncheckedCreateWithoutUser_policyInput>
    where?: PoliciesWhereInput
  }

  export type PoliciesUpdateToOneWithWhereWithoutUser_policyInput = {
    where?: PoliciesWhereInput
    data: XOR<PoliciesUpdateWithoutUser_policyInput, PoliciesUncheckedUpdateWithoutUser_policyInput>
  }

  export type PoliciesUpdateWithoutUser_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutUser_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type UserUpsertWithoutUser_policyInput = {
    update: XOR<UserUpdateWithoutUser_policyInput, UserUncheckedUpdateWithoutUser_policyInput>
    create: XOR<UserCreateWithoutUser_policyInput, UserUncheckedCreateWithoutUser_policyInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUser_policyInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUser_policyInput, UserUncheckedUpdateWithoutUser_policyInput>
  }

  export type UserUpdateWithoutUser_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUser_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type PoliciesCreateWithoutRole_policyInput = {
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutPoliciesInput
    user_policy?: UserPoliciesCreateNestedManyWithoutPolicyInput
    created_policy: UserCreateNestedOneWithoutCreated_policyInput
    updated_policy?: UserCreateNestedOneWithoutUpdated_policyInput
    deleted_policy?: UserCreateNestedOneWithoutDeleted_policyInput
  }

  export type PoliciesUncheckedCreateWithoutRole_policyInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutPolicyInput
  }

  export type PoliciesCreateOrConnectWithoutRole_policyInput = {
    where: PoliciesWhereUniqueInput
    create: XOR<PoliciesCreateWithoutRole_policyInput, PoliciesUncheckedCreateWithoutRole_policyInput>
  }

  export type RoleCreateWithoutRole_policyInput = {
    uuid?: string
    name: string
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutRolesInput
    permissions?: RolePermissionsCreateNestedManyWithoutRoleInput
    users?: UserRolesCreateNestedManyWithoutRoleInput
    created?: UserCreateNestedOneWithoutCreated_rolesInput
    updated?: UserCreateNestedOneWithoutUpdated_rolesInput
    deleted?: UserCreateNestedOneWithoutDeleted_rolesInput
  }

  export type RoleUncheckedCreateWithoutRole_policyInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    permissions?: RolePermissionsUncheckedCreateNestedManyWithoutRoleInput
    users?: UserRolesUncheckedCreateNestedManyWithoutRoleInput
  }

  export type RoleCreateOrConnectWithoutRole_policyInput = {
    where: RoleWhereUniqueInput
    create: XOR<RoleCreateWithoutRole_policyInput, RoleUncheckedCreateWithoutRole_policyInput>
  }

  export type PoliciesUpsertWithoutRole_policyInput = {
    update: XOR<PoliciesUpdateWithoutRole_policyInput, PoliciesUncheckedUpdateWithoutRole_policyInput>
    create: XOR<PoliciesCreateWithoutRole_policyInput, PoliciesUncheckedCreateWithoutRole_policyInput>
    where?: PoliciesWhereInput
  }

  export type PoliciesUpdateToOneWithWhereWithoutRole_policyInput = {
    where?: PoliciesWhereInput
    data: XOR<PoliciesUpdateWithoutRole_policyInput, PoliciesUncheckedUpdateWithoutRole_policyInput>
  }

  export type PoliciesUpdateWithoutRole_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutRole_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type RoleUpsertWithoutRole_policyInput = {
    update: XOR<RoleUpdateWithoutRole_policyInput, RoleUncheckedUpdateWithoutRole_policyInput>
    create: XOR<RoleCreateWithoutRole_policyInput, RoleUncheckedCreateWithoutRole_policyInput>
    where?: RoleWhereInput
  }

  export type RoleUpdateToOneWithWhereWithoutRole_policyInput = {
    where?: RoleWhereInput
    data: XOR<RoleUpdateWithoutRole_policyInput, RoleUncheckedUpdateWithoutRole_policyInput>
  }

  export type RoleUpdateWithoutRole_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutRole_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type StatusCreateWithoutApp_versionsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApp_versionsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApp_versionsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApp_versionsInput, StatusUncheckedCreateWithoutApp_versionsInput>
  }

  export type UserCreateWithoutCreated_app_versionsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_app_versionsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_app_versionsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_app_versionsInput, UserUncheckedCreateWithoutCreated_app_versionsInput>
  }

  export type UserCreateWithoutUpdated_app_versionsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_app_versionsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_app_versionsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_app_versionsInput, UserUncheckedCreateWithoutUpdated_app_versionsInput>
  }

  export type UserCreateWithoutDeleted_app_versionsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_app_versionsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_app_versionsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_app_versionsInput, UserUncheckedCreateWithoutDeleted_app_versionsInput>
  }

  export type StatusUpsertWithoutApp_versionsInput = {
    update: XOR<StatusUpdateWithoutApp_versionsInput, StatusUncheckedUpdateWithoutApp_versionsInput>
    create: XOR<StatusCreateWithoutApp_versionsInput, StatusUncheckedCreateWithoutApp_versionsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApp_versionsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApp_versionsInput, StatusUncheckedUpdateWithoutApp_versionsInput>
  }

  export type StatusUpdateWithoutApp_versionsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApp_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_app_versionsInput = {
    update: XOR<UserUpdateWithoutCreated_app_versionsInput, UserUncheckedUpdateWithoutCreated_app_versionsInput>
    create: XOR<UserCreateWithoutCreated_app_versionsInput, UserUncheckedCreateWithoutCreated_app_versionsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_app_versionsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_app_versionsInput, UserUncheckedUpdateWithoutCreated_app_versionsInput>
  }

  export type UserUpdateWithoutCreated_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_app_versionsInput = {
    update: XOR<UserUpdateWithoutUpdated_app_versionsInput, UserUncheckedUpdateWithoutUpdated_app_versionsInput>
    create: XOR<UserCreateWithoutUpdated_app_versionsInput, UserUncheckedCreateWithoutUpdated_app_versionsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_app_versionsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_app_versionsInput, UserUncheckedUpdateWithoutUpdated_app_versionsInput>
  }

  export type UserUpdateWithoutUpdated_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_app_versionsInput = {
    update: XOR<UserUpdateWithoutDeleted_app_versionsInput, UserUncheckedUpdateWithoutDeleted_app_versionsInput>
    create: XOR<UserCreateWithoutDeleted_app_versionsInput, UserUncheckedCreateWithoutDeleted_app_versionsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_app_versionsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_app_versionsInput, UserUncheckedUpdateWithoutDeleted_app_versionsInput>
  }

  export type UserUpdateWithoutDeleted_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutScheduled_jobsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutScheduled_jobsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutScheduled_jobsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutScheduled_jobsInput, StatusUncheckedCreateWithoutScheduled_jobsInput>
  }

  export type ScheduledJobLogsCreateWithoutScheduled_jobInput = {
    uuid?: string
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status?: StatusCreateNestedOneWithoutScheduled_job_logsInput
  }

  export type ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput = {
    id?: number
    uuid?: string
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobLogsCreateOrConnectWithoutScheduled_jobInput = {
    where: ScheduledJobLogsWhereUniqueInput
    create: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput>
  }

  export type ScheduledJobLogsCreateManyScheduled_jobInputEnvelope = {
    data: ScheduledJobLogsCreateManyScheduled_jobInput | ScheduledJobLogsCreateManyScheduled_jobInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutScheduled_jobsInput = {
    update: XOR<StatusUpdateWithoutScheduled_jobsInput, StatusUncheckedUpdateWithoutScheduled_jobsInput>
    create: XOR<StatusCreateWithoutScheduled_jobsInput, StatusUncheckedCreateWithoutScheduled_jobsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutScheduled_jobsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutScheduled_jobsInput, StatusUncheckedUpdateWithoutScheduled_jobsInput>
  }

  export type StatusUpdateWithoutScheduled_jobsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutScheduled_jobsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ScheduledJobLogsUpsertWithWhereUniqueWithoutScheduled_jobInput = {
    where: ScheduledJobLogsWhereUniqueInput
    update: XOR<ScheduledJobLogsUpdateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedUpdateWithoutScheduled_jobInput>
    create: XOR<ScheduledJobLogsCreateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedCreateWithoutScheduled_jobInput>
  }

  export type ScheduledJobLogsUpdateWithWhereUniqueWithoutScheduled_jobInput = {
    where: ScheduledJobLogsWhereUniqueInput
    data: XOR<ScheduledJobLogsUpdateWithoutScheduled_jobInput, ScheduledJobLogsUncheckedUpdateWithoutScheduled_jobInput>
  }

  export type ScheduledJobLogsUpdateManyWithWhereWithoutScheduled_jobInput = {
    where: ScheduledJobLogsScalarWhereInput
    data: XOR<ScheduledJobLogsUpdateManyMutationInput, ScheduledJobLogsUncheckedUpdateManyWithoutScheduled_jobInput>
  }

  export type StatusCreateWithoutScheduled_job_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutScheduled_job_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutScheduled_job_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutScheduled_job_logsInput, StatusUncheckedCreateWithoutScheduled_job_logsInput>
  }

  export type ScheduledJobCreateWithoutScheduled_job_logsInput = {
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    status?: StatusCreateNestedOneWithoutScheduled_jobsInput
  }

  export type ScheduledJobUncheckedCreateWithoutScheduled_job_logsInput = {
    id?: number
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobCreateOrConnectWithoutScheduled_job_logsInput = {
    where: ScheduledJobWhereUniqueInput
    create: XOR<ScheduledJobCreateWithoutScheduled_job_logsInput, ScheduledJobUncheckedCreateWithoutScheduled_job_logsInput>
  }

  export type StatusUpsertWithoutScheduled_job_logsInput = {
    update: XOR<StatusUpdateWithoutScheduled_job_logsInput, StatusUncheckedUpdateWithoutScheduled_job_logsInput>
    create: XOR<StatusCreateWithoutScheduled_job_logsInput, StatusUncheckedCreateWithoutScheduled_job_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutScheduled_job_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutScheduled_job_logsInput, StatusUncheckedUpdateWithoutScheduled_job_logsInput>
  }

  export type StatusUpdateWithoutScheduled_job_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutScheduled_job_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ScheduledJobUpsertWithoutScheduled_job_logsInput = {
    update: XOR<ScheduledJobUpdateWithoutScheduled_job_logsInput, ScheduledJobUncheckedUpdateWithoutScheduled_job_logsInput>
    create: XOR<ScheduledJobCreateWithoutScheduled_job_logsInput, ScheduledJobUncheckedCreateWithoutScheduled_job_logsInput>
    where?: ScheduledJobWhereInput
  }

  export type ScheduledJobUpdateToOneWithWhereWithoutScheduled_job_logsInput = {
    where?: ScheduledJobWhereInput
    data: XOR<ScheduledJobUpdateWithoutScheduled_job_logsInput, ScheduledJobUncheckedUpdateWithoutScheduled_job_logsInput>
  }

  export type ScheduledJobUpdateWithoutScheduled_job_logsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutScheduled_jobsNestedInput
  }

  export type ScheduledJobUncheckedUpdateWithoutScheduled_job_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type StatusCreateWithoutApproval_workflowsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_workflowsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_workflowsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_workflowsInput, StatusUncheckedCreateWithoutApproval_workflowsInput>
  }

  export type ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput = {
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApproval_workflow_assignmentsInput
    approve_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approveInput
    reject_mail?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_rejectInput
    approve_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_approve_waInput
    reject_whatsapp?: NotificationTemplateCreateNestedOneWithoutApproval_workflow_assignments_reject_waInput
  }

  export type ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput = {
    id?: number
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateOrConnectWithoutApproval_workflowInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput>
  }

  export type ApprovalWorkflowAssignmentCreateManyApproval_workflowInputEnvelope = {
    data: ApprovalWorkflowAssignmentCreateManyApproval_workflowInput | ApprovalWorkflowAssignmentCreateManyApproval_workflowInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutApproval_workflowsInput = {
    update: XOR<StatusUpdateWithoutApproval_workflowsInput, StatusUncheckedUpdateWithoutApproval_workflowsInput>
    create: XOR<StatusCreateWithoutApproval_workflowsInput, StatusUncheckedCreateWithoutApproval_workflowsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_workflowsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_workflowsInput, StatusUncheckedUpdateWithoutApproval_workflowsInput>
  }

  export type StatusUpdateWithoutApproval_workflowsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_workflowsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ApprovalWorkflowAssignmentUpsertWithWhereUniqueWithoutApproval_workflowInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    update: XOR<ApprovalWorkflowAssignmentUpdateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApproval_workflowInput>
    create: XOR<ApprovalWorkflowAssignmentCreateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedCreateWithoutApproval_workflowInput>
  }

  export type ApprovalWorkflowAssignmentUpdateWithWhereUniqueWithoutApproval_workflowInput = {
    where: ApprovalWorkflowAssignmentWhereUniqueInput
    data: XOR<ApprovalWorkflowAssignmentUpdateWithoutApproval_workflowInput, ApprovalWorkflowAssignmentUncheckedUpdateWithoutApproval_workflowInput>
  }

  export type ApprovalWorkflowAssignmentUpdateManyWithWhereWithoutApproval_workflowInput = {
    where: ApprovalWorkflowAssignmentScalarWhereInput
    data: XOR<ApprovalWorkflowAssignmentUpdateManyMutationInput, ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApproval_workflowInput>
  }

  export type StatusCreateWithoutApproval_workflow_approver_tagsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_workflow_approver_tagsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_workflow_approver_tagsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedCreateWithoutApproval_workflow_approver_tagsInput>
  }

  export type StatusUpsertWithoutApproval_workflow_approver_tagsInput = {
    update: XOR<StatusUpdateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedUpdateWithoutApproval_workflow_approver_tagsInput>
    create: XOR<StatusCreateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedCreateWithoutApproval_workflow_approver_tagsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_workflow_approver_tagsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_workflow_approver_tagsInput, StatusUncheckedUpdateWithoutApproval_workflow_approver_tagsInput>
  }

  export type StatusUpdateWithoutApproval_workflow_approver_tagsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_workflow_approver_tagsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ApprovalWorkflowCreateWithoutApproval_workflow_assignmentsInput = {
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutApproval_workflowsInput
  }

  export type ApprovalWorkflowUncheckedCreateWithoutApproval_workflow_assignmentsInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    status_id?: number
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowCreateOrConnectWithoutApproval_workflow_assignmentsInput = {
    where: ApprovalWorkflowWhereUniqueInput
    create: XOR<ApprovalWorkflowCreateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedCreateWithoutApproval_workflow_assignmentsInput>
  }

  export type StatusCreateWithoutApproval_workflow_assignmentsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_workflow_assignmentsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_workflow_assignmentsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_workflow_assignmentsInput, StatusUncheckedCreateWithoutApproval_workflow_assignmentsInput>
  }

  export type NotificationTemplateCreateWithoutApproval_workflow_assignments_approveInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approveInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approveInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approveInput>
  }

  export type NotificationTemplateCreateWithoutApproval_workflow_assignments_rejectInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_rejectInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_rejectInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_rejectInput>
  }

  export type NotificationTemplateCreateWithoutApproval_workflow_assignments_approve_waInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approve_waInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_whatsappInput
  }

  export type NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_approve_waInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approve_waInput>
  }

  export type NotificationTemplateCreateWithoutApproval_workflow_assignments_reject_waInput = {
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutNotification_templatesInput
    notification_template_process: NotificationTemplateProcessCreateNestedOneWithoutNotification_templatesInput
    notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutNotification_templateInput
    created?: UserCreateNestedOneWithoutCreated_notification_templatesInput
    updated?: UserCreateNestedOneWithoutUpdated_notification_templatesInput
    deleted?: UserCreateNestedOneWithoutDeleted_notification_templatesInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentCreateNestedManyWithoutReject_mailInput
  }

  export type NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_reject_waInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutNotification_templateInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_mailInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutApprove_whatsappInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutReject_mailInput
  }

  export type NotificationTemplateCreateOrConnectWithoutApproval_workflow_assignments_reject_waInput = {
    where: NotificationTemplateWhereUniqueInput
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_reject_waInput>
  }

  export type ApprovalWorkflowUpsertWithoutApproval_workflow_assignmentsInput = {
    update: XOR<ApprovalWorkflowUpdateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
    create: XOR<ApprovalWorkflowCreateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    where?: ApprovalWorkflowWhereInput
  }

  export type ApprovalWorkflowUpdateToOneWithWhereWithoutApproval_workflow_assignmentsInput = {
    where?: ApprovalWorkflowWhereInput
    data: XOR<ApprovalWorkflowUpdateWithoutApproval_workflow_assignmentsInput, ApprovalWorkflowUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
  }

  export type ApprovalWorkflowUpdateWithoutApproval_workflow_assignmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_workflowsNestedInput
  }

  export type ApprovalWorkflowUncheckedUpdateWithoutApproval_workflow_assignmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type StatusUpsertWithoutApproval_workflow_assignmentsInput = {
    update: XOR<StatusUpdateWithoutApproval_workflow_assignmentsInput, StatusUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
    create: XOR<StatusCreateWithoutApproval_workflow_assignmentsInput, StatusUncheckedCreateWithoutApproval_workflow_assignmentsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_workflow_assignmentsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_workflow_assignmentsInput, StatusUncheckedUpdateWithoutApproval_workflow_assignmentsInput>
  }

  export type StatusUpdateWithoutApproval_workflow_assignmentsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_workflow_assignmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type NotificationTemplateUpsertWithoutApproval_workflow_assignments_approveInput = {
    update: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approveInput>
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approveInput>
    where?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_approveInput = {
    where?: NotificationTemplateWhereInput
    data: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_approveInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approveInput>
  }

  export type NotificationTemplateUpdateWithoutApproval_workflow_assignments_approveInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approveInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUpsertWithoutApproval_workflow_assignments_rejectInput = {
    update: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_rejectInput>
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_rejectInput>
    where?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_rejectInput = {
    where?: NotificationTemplateWhereInput
    data: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_rejectInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_rejectInput>
  }

  export type NotificationTemplateUpdateWithoutApproval_workflow_assignments_rejectInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_rejectInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUpsertWithoutApproval_workflow_assignments_approve_waInput = {
    update: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approve_waInput>
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_approve_waInput>
    where?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_approve_waInput = {
    where?: NotificationTemplateWhereInput
    data: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_approve_waInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approve_waInput>
  }

  export type NotificationTemplateUpdateWithoutApproval_workflow_assignments_approve_waInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_approve_waInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUpsertWithoutApproval_workflow_assignments_reject_waInput = {
    update: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_reject_waInput>
    create: XOR<NotificationTemplateCreateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedCreateWithoutApproval_workflow_assignments_reject_waInput>
    where?: NotificationTemplateWhereInput
  }

  export type NotificationTemplateUpdateToOneWithWhereWithoutApproval_workflow_assignments_reject_waInput = {
    where?: NotificationTemplateWhereInput
    data: XOR<NotificationTemplateUpdateWithoutApproval_workflow_assignments_reject_waInput, NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_reject_waInput>
  }

  export type NotificationTemplateUpdateWithoutApproval_workflow_assignments_reject_waInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutApproval_workflow_assignments_reject_waInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
  }

  export type StatusCreateWithoutApproval_process_jobInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_process_jobInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_process_jobInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_process_jobInput, StatusUncheckedCreateWithoutApproval_process_jobInput>
  }

  export type StatusUpsertWithoutApproval_process_jobInput = {
    update: XOR<StatusUpdateWithoutApproval_process_jobInput, StatusUncheckedUpdateWithoutApproval_process_jobInput>
    create: XOR<StatusCreateWithoutApproval_process_jobInput, StatusUncheckedCreateWithoutApproval_process_jobInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_process_jobInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_process_jobInput, StatusUncheckedUpdateWithoutApproval_process_jobInput>
  }

  export type StatusUpdateWithoutApproval_process_jobInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_process_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutApproval_process_job_workflowsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_process_job_workflowsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_process_job_workflowsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_process_job_workflowsInput, StatusUncheckedCreateWithoutApproval_process_job_workflowsInput>
  }

  export type ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput = {
    uuid?: string
    user_id?: number | null
    status?: StatusCreateNestedOneWithoutApproval_process_job_workflow_usersInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    status_id?: number
  }

  export type ApprovalProcessJobWorkflowUserCreateOrConnectWithoutApproval_process_job_workflowInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    create: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput>
  }

  export type ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInputEnvelope = {
    data: ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInput | ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutApproval_process_job_workflowsInput = {
    update: XOR<StatusUpdateWithoutApproval_process_job_workflowsInput, StatusUncheckedUpdateWithoutApproval_process_job_workflowsInput>
    create: XOR<StatusCreateWithoutApproval_process_job_workflowsInput, StatusUncheckedCreateWithoutApproval_process_job_workflowsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_process_job_workflowsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_process_job_workflowsInput, StatusUncheckedUpdateWithoutApproval_process_job_workflowsInput>
  }

  export type StatusUpdateWithoutApproval_process_job_workflowsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_process_job_workflowsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ApprovalProcessJobWorkflowUserUpsertWithWhereUniqueWithoutApproval_process_job_workflowInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    update: XOR<ApprovalProcessJobWorkflowUserUpdateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutApproval_process_job_workflowInput>
    create: XOR<ApprovalProcessJobWorkflowUserCreateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedCreateWithoutApproval_process_job_workflowInput>
  }

  export type ApprovalProcessJobWorkflowUserUpdateWithWhereUniqueWithoutApproval_process_job_workflowInput = {
    where: ApprovalProcessJobWorkflowUserWhereUniqueInput
    data: XOR<ApprovalProcessJobWorkflowUserUpdateWithoutApproval_process_job_workflowInput, ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutApproval_process_job_workflowInput>
  }

  export type ApprovalProcessJobWorkflowUserUpdateManyWithWhereWithoutApproval_process_job_workflowInput = {
    where: ApprovalProcessJobWorkflowUserScalarWhereInput
    data: XOR<ApprovalProcessJobWorkflowUserUpdateManyMutationInput, ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutApproval_process_job_workflowInput>
  }

  export type ApprovalProcessJobWorkflowCreateWithoutApproval_process_job_workflow_usersInput = {
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
    status?: StatusCreateNestedOneWithoutApproval_process_job_workflowsInput
  }

  export type ApprovalProcessJobWorkflowUncheckedCreateWithoutApproval_process_job_workflow_usersInput = {
    id?: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    status_id?: number
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
  }

  export type ApprovalProcessJobWorkflowCreateOrConnectWithoutApproval_process_job_workflow_usersInput = {
    where: ApprovalProcessJobWorkflowWhereUniqueInput
    create: XOR<ApprovalProcessJobWorkflowCreateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
  }

  export type StatusCreateWithoutApproval_process_job_workflow_usersInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutApproval_process_job_workflow_usersInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutApproval_process_job_workflow_usersInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
  }

  export type ApprovalProcessJobWorkflowUpsertWithoutApproval_process_job_workflow_usersInput = {
    update: XOR<ApprovalProcessJobWorkflowUpdateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
    create: XOR<ApprovalProcessJobWorkflowCreateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    where?: ApprovalProcessJobWorkflowWhereInput
  }

  export type ApprovalProcessJobWorkflowUpdateToOneWithWhereWithoutApproval_process_job_workflow_usersInput = {
    where?: ApprovalProcessJobWorkflowWhereInput
    data: XOR<ApprovalProcessJobWorkflowUpdateWithoutApproval_process_job_workflow_usersInput, ApprovalProcessJobWorkflowUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
  }

  export type ApprovalProcessJobWorkflowUpdateWithoutApproval_process_job_workflow_usersInput = {
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_process_job_workflowsNestedInput
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateWithoutApproval_process_job_workflow_usersInput = {
    id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    status_id?: IntFieldUpdateOperationsInput | number
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type StatusUpsertWithoutApproval_process_job_workflow_usersInput = {
    update: XOR<StatusUpdateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
    create: XOR<StatusCreateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedCreateWithoutApproval_process_job_workflow_usersInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutApproval_process_job_workflow_usersInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutApproval_process_job_workflow_usersInput, StatusUncheckedUpdateWithoutApproval_process_job_workflow_usersInput>
  }

  export type StatusUpdateWithoutApproval_process_job_workflow_usersInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutApproval_process_job_workflow_usersInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutDelegationsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDelegationsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDelegationsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDelegationsInput, StatusUncheckedCreateWithoutDelegationsInput>
  }

  export type StatusUpsertWithoutDelegationsInput = {
    update: XOR<StatusUpdateWithoutDelegationsInput, StatusUncheckedUpdateWithoutDelegationsInput>
    create: XOR<StatusCreateWithoutDelegationsInput, StatusUncheckedCreateWithoutDelegationsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDelegationsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDelegationsInput, StatusUncheckedUpdateWithoutDelegationsInput>
  }

  export type StatusUpdateWithoutDelegationsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDelegationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutSchema_chunksInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutSchema_chunksInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutSchema_chunksInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutSchema_chunksInput, StatusUncheckedCreateWithoutSchema_chunksInput>
  }

  export type StatusUpsertWithoutSchema_chunksInput = {
    update: XOR<StatusUpdateWithoutSchema_chunksInput, StatusUncheckedUpdateWithoutSchema_chunksInput>
    create: XOR<StatusCreateWithoutSchema_chunksInput, StatusUncheckedCreateWithoutSchema_chunksInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutSchema_chunksInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutSchema_chunksInput, StatusUncheckedUpdateWithoutSchema_chunksInput>
  }

  export type StatusUpdateWithoutSchema_chunksInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutSchema_chunksInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutEmbedding_vector_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutEmbedding_vector_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutEmbedding_vector_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutEmbedding_vector_logsInput, StatusUncheckedCreateWithoutEmbedding_vector_logsInput>
  }

  export type StatusUpsertWithoutEmbedding_vector_logsInput = {
    update: XOR<StatusUpdateWithoutEmbedding_vector_logsInput, StatusUncheckedUpdateWithoutEmbedding_vector_logsInput>
    create: XOR<StatusCreateWithoutEmbedding_vector_logsInput, StatusUncheckedCreateWithoutEmbedding_vector_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutEmbedding_vector_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutEmbedding_vector_logsInput, StatusUncheckedUpdateWithoutEmbedding_vector_logsInput>
  }

  export type StatusUpdateWithoutEmbedding_vector_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutEmbedding_vector_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutOpenai_usage_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutOpenai_usage_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutOpenai_usage_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutOpenai_usage_logsInput, StatusUncheckedCreateWithoutOpenai_usage_logsInput>
  }

  export type StatusUpsertWithoutOpenai_usage_logsInput = {
    update: XOR<StatusUpdateWithoutOpenai_usage_logsInput, StatusUncheckedUpdateWithoutOpenai_usage_logsInput>
    create: XOR<StatusCreateWithoutOpenai_usage_logsInput, StatusUncheckedCreateWithoutOpenai_usage_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutOpenai_usage_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutOpenai_usage_logsInput, StatusUncheckedUpdateWithoutOpenai_usage_logsInput>
  }

  export type StatusUpdateWithoutOpenai_usage_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutOpenai_usage_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutQuery_execution_logInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutQuery_execution_logInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutQuery_execution_logInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutQuery_execution_logInput, StatusUncheckedCreateWithoutQuery_execution_logInput>
  }

  export type StatusUpsertWithoutQuery_execution_logInput = {
    update: XOR<StatusUpdateWithoutQuery_execution_logInput, StatusUncheckedUpdateWithoutQuery_execution_logInput>
    create: XOR<StatusCreateWithoutQuery_execution_logInput, StatusUncheckedCreateWithoutQuery_execution_logInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutQuery_execution_logInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutQuery_execution_logInput, StatusUncheckedUpdateWithoutQuery_execution_logInput>
  }

  export type StatusUpdateWithoutQuery_execution_logInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutQuery_execution_logInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutChild_processesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutChild_processesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutChild_processesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutChild_processesInput, StatusUncheckedCreateWithoutChild_processesInput>
  }

  export type ChildProcessLogCreateWithoutChild_processInput = {
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutChild_process_logsInput
    initiator: UserCreateNestedOneWithoutChildProcessLogInput
  }

  export type ChildProcessLogUncheckedCreateWithoutChild_processInput = {
    id?: number
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogCreateOrConnectWithoutChild_processInput = {
    where: ChildProcessLogWhereUniqueInput
    create: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput>
  }

  export type ChildProcessLogCreateManyChild_processInputEnvelope = {
    data: ChildProcessLogCreateManyChild_processInput | ChildProcessLogCreateManyChild_processInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutChild_processesInput = {
    update: XOR<StatusUpdateWithoutChild_processesInput, StatusUncheckedUpdateWithoutChild_processesInput>
    create: XOR<StatusCreateWithoutChild_processesInput, StatusUncheckedCreateWithoutChild_processesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutChild_processesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutChild_processesInput, StatusUncheckedUpdateWithoutChild_processesInput>
  }

  export type StatusUpdateWithoutChild_processesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutChild_processesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ChildProcessLogUpsertWithWhereUniqueWithoutChild_processInput = {
    where: ChildProcessLogWhereUniqueInput
    update: XOR<ChildProcessLogUpdateWithoutChild_processInput, ChildProcessLogUncheckedUpdateWithoutChild_processInput>
    create: XOR<ChildProcessLogCreateWithoutChild_processInput, ChildProcessLogUncheckedCreateWithoutChild_processInput>
  }

  export type ChildProcessLogUpdateWithWhereUniqueWithoutChild_processInput = {
    where: ChildProcessLogWhereUniqueInput
    data: XOR<ChildProcessLogUpdateWithoutChild_processInput, ChildProcessLogUncheckedUpdateWithoutChild_processInput>
  }

  export type ChildProcessLogUpdateManyWithWhereWithoutChild_processInput = {
    where: ChildProcessLogScalarWhereInput
    data: XOR<ChildProcessLogUpdateManyMutationInput, ChildProcessLogUncheckedUpdateManyWithoutChild_processInput>
  }

  export type StatusCreateWithoutChild_process_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutChild_process_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutChild_process_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutChild_process_logsInput, StatusUncheckedCreateWithoutChild_process_logsInput>
  }

  export type ChildProcessCreateWithoutChild_process_logsInput = {
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutChild_processesInput
  }

  export type ChildProcessUncheckedCreateWithoutChild_process_logsInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessCreateOrConnectWithoutChild_process_logsInput = {
    where: ChildProcessWhereUniqueInput
    create: XOR<ChildProcessCreateWithoutChild_process_logsInput, ChildProcessUncheckedCreateWithoutChild_process_logsInput>
  }

  export type UserCreateWithoutChildProcessLogInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutChildProcessLogInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutChildProcessLogInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutChildProcessLogInput, UserUncheckedCreateWithoutChildProcessLogInput>
  }

  export type StatusUpsertWithoutChild_process_logsInput = {
    update: XOR<StatusUpdateWithoutChild_process_logsInput, StatusUncheckedUpdateWithoutChild_process_logsInput>
    create: XOR<StatusCreateWithoutChild_process_logsInput, StatusUncheckedCreateWithoutChild_process_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutChild_process_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutChild_process_logsInput, StatusUncheckedUpdateWithoutChild_process_logsInput>
  }

  export type StatusUpdateWithoutChild_process_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutChild_process_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ChildProcessUpsertWithoutChild_process_logsInput = {
    update: XOR<ChildProcessUpdateWithoutChild_process_logsInput, ChildProcessUncheckedUpdateWithoutChild_process_logsInput>
    create: XOR<ChildProcessCreateWithoutChild_process_logsInput, ChildProcessUncheckedCreateWithoutChild_process_logsInput>
    where?: ChildProcessWhereInput
  }

  export type ChildProcessUpdateToOneWithWhereWithoutChild_process_logsInput = {
    where?: ChildProcessWhereInput
    data: XOR<ChildProcessUpdateWithoutChild_process_logsInput, ChildProcessUncheckedUpdateWithoutChild_process_logsInput>
  }

  export type ChildProcessUpdateWithoutChild_process_logsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutChild_processesNestedInput
  }

  export type ChildProcessUncheckedUpdateWithoutChild_process_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpsertWithoutChildProcessLogInput = {
    update: XOR<UserUpdateWithoutChildProcessLogInput, UserUncheckedUpdateWithoutChildProcessLogInput>
    create: XOR<UserCreateWithoutChildProcessLogInput, UserUncheckedCreateWithoutChildProcessLogInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutChildProcessLogInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutChildProcessLogInput, UserUncheckedUpdateWithoutChildProcessLogInput>
  }

  export type UserUpdateWithoutChildProcessLogInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutChildProcessLogInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutThemesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutThemesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutThemesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutThemesInput, StatusUncheckedCreateWithoutThemesInput>
  }

  export type ThemeLineItemsCreateWithoutThemesInput = {
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTheme_line_itemsInput
    CreatedThemeLineItems?: UserCreateNestedOneWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: UserCreateNestedOneWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: UserCreateNestedOneWithoutDeletedThemeLineItemsInput
  }

  export type ThemeLineItemsUncheckedCreateWithoutThemesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateOrConnectWithoutThemesInput = {
    where: ThemeLineItemsWhereUniqueInput
    create: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput>
  }

  export type ThemeLineItemsCreateManyThemesInputEnvelope = {
    data: ThemeLineItemsCreateManyThemesInput | ThemeLineItemsCreateManyThemesInput[]
    skipDuplicates?: boolean
  }

  export type UserCreateWithoutCreatedThemeInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreatedThemeInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreatedThemeInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreatedThemeInput, UserUncheckedCreateWithoutCreatedThemeInput>
  }

  export type UserCreateWithoutUpdatedThemeInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdatedThemeInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdatedThemeInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdatedThemeInput, UserUncheckedCreateWithoutUpdatedThemeInput>
  }

  export type UserCreateWithoutDeletedThemeInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeletedThemeInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeletedThemeInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeletedThemeInput, UserUncheckedCreateWithoutDeletedThemeInput>
  }

  export type StatusUpsertWithoutThemesInput = {
    update: XOR<StatusUpdateWithoutThemesInput, StatusUncheckedUpdateWithoutThemesInput>
    create: XOR<StatusCreateWithoutThemesInput, StatusUncheckedCreateWithoutThemesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutThemesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutThemesInput, StatusUncheckedUpdateWithoutThemesInput>
  }

  export type StatusUpdateWithoutThemesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutThemesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ThemeLineItemsUpsertWithWhereUniqueWithoutThemesInput = {
    where: ThemeLineItemsWhereUniqueInput
    update: XOR<ThemeLineItemsUpdateWithoutThemesInput, ThemeLineItemsUncheckedUpdateWithoutThemesInput>
    create: XOR<ThemeLineItemsCreateWithoutThemesInput, ThemeLineItemsUncheckedCreateWithoutThemesInput>
  }

  export type ThemeLineItemsUpdateWithWhereUniqueWithoutThemesInput = {
    where: ThemeLineItemsWhereUniqueInput
    data: XOR<ThemeLineItemsUpdateWithoutThemesInput, ThemeLineItemsUncheckedUpdateWithoutThemesInput>
  }

  export type ThemeLineItemsUpdateManyWithWhereWithoutThemesInput = {
    where: ThemeLineItemsScalarWhereInput
    data: XOR<ThemeLineItemsUpdateManyMutationInput, ThemeLineItemsUncheckedUpdateManyWithoutThemesInput>
  }

  export type UserUpsertWithoutCreatedThemeInput = {
    update: XOR<UserUpdateWithoutCreatedThemeInput, UserUncheckedUpdateWithoutCreatedThemeInput>
    create: XOR<UserCreateWithoutCreatedThemeInput, UserUncheckedCreateWithoutCreatedThemeInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreatedThemeInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreatedThemeInput, UserUncheckedUpdateWithoutCreatedThemeInput>
  }

  export type UserUpdateWithoutCreatedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdatedThemeInput = {
    update: XOR<UserUpdateWithoutUpdatedThemeInput, UserUncheckedUpdateWithoutUpdatedThemeInput>
    create: XOR<UserCreateWithoutUpdatedThemeInput, UserUncheckedCreateWithoutUpdatedThemeInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdatedThemeInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdatedThemeInput, UserUncheckedUpdateWithoutUpdatedThemeInput>
  }

  export type UserUpdateWithoutUpdatedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeletedThemeInput = {
    update: XOR<UserUpdateWithoutDeletedThemeInput, UserUncheckedUpdateWithoutDeletedThemeInput>
    create: XOR<UserCreateWithoutDeletedThemeInput, UserUncheckedCreateWithoutDeletedThemeInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeletedThemeInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeletedThemeInput, UserUncheckedUpdateWithoutDeletedThemeInput>
  }

  export type UserUpdateWithoutDeletedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeletedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutTheme_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutTheme_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutTheme_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutTheme_line_itemsInput, StatusUncheckedCreateWithoutTheme_line_itemsInput>
  }

  export type ThemesCreateWithoutTheme_attributesInput = {
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutThemesInput
    CreatedTheme?: UserCreateNestedOneWithoutCreatedThemeInput
    UpdatedTheme?: UserCreateNestedOneWithoutUpdatedThemeInput
    DeletedTheme?: UserCreateNestedOneWithoutDeletedThemeInput
  }

  export type ThemesUncheckedCreateWithoutTheme_attributesInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemesCreateOrConnectWithoutTheme_attributesInput = {
    where: ThemesWhereUniqueInput
    create: XOR<ThemesCreateWithoutTheme_attributesInput, ThemesUncheckedCreateWithoutTheme_attributesInput>
  }

  export type UserCreateWithoutCreatedThemeLineItemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreatedThemeLineItemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreatedThemeLineItemsInput, UserUncheckedCreateWithoutCreatedThemeLineItemsInput>
  }

  export type UserCreateWithoutUpdatedThemeLineItemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdatedThemeLineItemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdatedThemeLineItemsInput, UserUncheckedCreateWithoutUpdatedThemeLineItemsInput>
  }

  export type UserCreateWithoutDeletedThemeLineItemsInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeletedThemeLineItemsInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeletedThemeLineItemsInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeletedThemeLineItemsInput, UserUncheckedCreateWithoutDeletedThemeLineItemsInput>
  }

  export type StatusUpsertWithoutTheme_line_itemsInput = {
    update: XOR<StatusUpdateWithoutTheme_line_itemsInput, StatusUncheckedUpdateWithoutTheme_line_itemsInput>
    create: XOR<StatusCreateWithoutTheme_line_itemsInput, StatusUncheckedCreateWithoutTheme_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutTheme_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutTheme_line_itemsInput, StatusUncheckedUpdateWithoutTheme_line_itemsInput>
  }

  export type StatusUpdateWithoutTheme_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutTheme_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ThemesUpsertWithoutTheme_attributesInput = {
    update: XOR<ThemesUpdateWithoutTheme_attributesInput, ThemesUncheckedUpdateWithoutTheme_attributesInput>
    create: XOR<ThemesCreateWithoutTheme_attributesInput, ThemesUncheckedCreateWithoutTheme_attributesInput>
    where?: ThemesWhereInput
  }

  export type ThemesUpdateToOneWithWhereWithoutTheme_attributesInput = {
    where?: ThemesWhereInput
    data: XOR<ThemesUpdateWithoutTheme_attributesInput, ThemesUncheckedUpdateWithoutTheme_attributesInput>
  }

  export type ThemesUpdateWithoutTheme_attributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutThemesNestedInput
    CreatedTheme?: UserUpdateOneWithoutCreatedThemeNestedInput
    UpdatedTheme?: UserUpdateOneWithoutUpdatedThemeNestedInput
    DeletedTheme?: UserUpdateOneWithoutDeletedThemeNestedInput
  }

  export type ThemesUncheckedUpdateWithoutTheme_attributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpsertWithoutCreatedThemeLineItemsInput = {
    update: XOR<UserUpdateWithoutCreatedThemeLineItemsInput, UserUncheckedUpdateWithoutCreatedThemeLineItemsInput>
    create: XOR<UserCreateWithoutCreatedThemeLineItemsInput, UserUncheckedCreateWithoutCreatedThemeLineItemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreatedThemeLineItemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreatedThemeLineItemsInput, UserUncheckedUpdateWithoutCreatedThemeLineItemsInput>
  }

  export type UserUpdateWithoutCreatedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdatedThemeLineItemsInput = {
    update: XOR<UserUpdateWithoutUpdatedThemeLineItemsInput, UserUncheckedUpdateWithoutUpdatedThemeLineItemsInput>
    create: XOR<UserCreateWithoutUpdatedThemeLineItemsInput, UserUncheckedCreateWithoutUpdatedThemeLineItemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdatedThemeLineItemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdatedThemeLineItemsInput, UserUncheckedUpdateWithoutUpdatedThemeLineItemsInput>
  }

  export type UserUpdateWithoutUpdatedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeletedThemeLineItemsInput = {
    update: XOR<UserUpdateWithoutDeletedThemeLineItemsInput, UserUncheckedUpdateWithoutDeletedThemeLineItemsInput>
    create: XOR<UserCreateWithoutDeletedThemeLineItemsInput, UserUncheckedCreateWithoutDeletedThemeLineItemsInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeletedThemeLineItemsInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeletedThemeLineItemsInput, UserUncheckedUpdateWithoutDeletedThemeLineItemsInput>
  }

  export type UserUpdateWithoutDeletedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeletedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutTheme_attributesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutTheme_attributesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutTheme_attributesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutTheme_attributesInput, StatusUncheckedCreateWithoutTheme_attributesInput>
  }

  export type UserCreateWithoutCreatedThemeAttributesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreatedThemeAttributesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreatedThemeAttributesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreatedThemeAttributesInput, UserUncheckedCreateWithoutCreatedThemeAttributesInput>
  }

  export type UserCreateWithoutUpdatedThemeAttributesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdatedThemeAttributesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdatedThemeAttributesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdatedThemeAttributesInput, UserUncheckedCreateWithoutUpdatedThemeAttributesInput>
  }

  export type UserCreateWithoutDeletedThemeAttributesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeletedThemeAttributesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeletedThemeAttributesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeletedThemeAttributesInput, UserUncheckedCreateWithoutDeletedThemeAttributesInput>
  }

  export type StatusUpsertWithoutTheme_attributesInput = {
    update: XOR<StatusUpdateWithoutTheme_attributesInput, StatusUncheckedUpdateWithoutTheme_attributesInput>
    create: XOR<StatusCreateWithoutTheme_attributesInput, StatusUncheckedCreateWithoutTheme_attributesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutTheme_attributesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutTheme_attributesInput, StatusUncheckedUpdateWithoutTheme_attributesInput>
  }

  export type StatusUpdateWithoutTheme_attributesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutTheme_attributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreatedThemeAttributesInput = {
    update: XOR<UserUpdateWithoutCreatedThemeAttributesInput, UserUncheckedUpdateWithoutCreatedThemeAttributesInput>
    create: XOR<UserCreateWithoutCreatedThemeAttributesInput, UserUncheckedCreateWithoutCreatedThemeAttributesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreatedThemeAttributesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreatedThemeAttributesInput, UserUncheckedUpdateWithoutCreatedThemeAttributesInput>
  }

  export type UserUpdateWithoutCreatedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdatedThemeAttributesInput = {
    update: XOR<UserUpdateWithoutUpdatedThemeAttributesInput, UserUncheckedUpdateWithoutUpdatedThemeAttributesInput>
    create: XOR<UserCreateWithoutUpdatedThemeAttributesInput, UserUncheckedCreateWithoutUpdatedThemeAttributesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdatedThemeAttributesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdatedThemeAttributesInput, UserUncheckedUpdateWithoutUpdatedThemeAttributesInput>
  }

  export type UserUpdateWithoutUpdatedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeletedThemeAttributesInput = {
    update: XOR<UserUpdateWithoutDeletedThemeAttributesInput, UserUncheckedUpdateWithoutDeletedThemeAttributesInput>
    create: XOR<UserCreateWithoutDeletedThemeAttributesInput, UserUncheckedCreateWithoutDeletedThemeAttributesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeletedThemeAttributesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeletedThemeAttributesInput, UserUncheckedUpdateWithoutDeletedThemeAttributesInput>
  }

  export type UserUpdateWithoutDeletedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeletedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutBarcodeTemplatesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutBarcodeTemplatesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutBarcodeTemplatesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutBarcodeTemplatesInput, StatusUncheckedCreateWithoutBarcodeTemplatesInput>
  }

  export type UserCreateWithoutCreated_barcode_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCreated_barcode_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCreated_barcode_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCreated_barcode_templatesInput, UserUncheckedCreateWithoutCreated_barcode_templatesInput>
  }

  export type UserCreateWithoutUpdated_barcode_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutUpdated_barcode_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutUpdated_barcode_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUpdated_barcode_templatesInput, UserUncheckedCreateWithoutUpdated_barcode_templatesInput>
  }

  export type UserCreateWithoutDeleted_barcode_templatesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDeleted_barcode_templatesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDeleted_barcode_templatesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDeleted_barcode_templatesInput, UserUncheckedCreateWithoutDeleted_barcode_templatesInput>
  }

  export type StatusUpsertWithoutBarcodeTemplatesInput = {
    update: XOR<StatusUpdateWithoutBarcodeTemplatesInput, StatusUncheckedUpdateWithoutBarcodeTemplatesInput>
    create: XOR<StatusCreateWithoutBarcodeTemplatesInput, StatusUncheckedCreateWithoutBarcodeTemplatesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutBarcodeTemplatesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutBarcodeTemplatesInput, StatusUncheckedUpdateWithoutBarcodeTemplatesInput>
  }

  export type StatusUpdateWithoutBarcodeTemplatesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutBarcodeTemplatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutCreated_barcode_templatesInput = {
    update: XOR<UserUpdateWithoutCreated_barcode_templatesInput, UserUncheckedUpdateWithoutCreated_barcode_templatesInput>
    create: XOR<UserCreateWithoutCreated_barcode_templatesInput, UserUncheckedCreateWithoutCreated_barcode_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCreated_barcode_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCreated_barcode_templatesInput, UserUncheckedUpdateWithoutCreated_barcode_templatesInput>
  }

  export type UserUpdateWithoutCreated_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutUpdated_barcode_templatesInput = {
    update: XOR<UserUpdateWithoutUpdated_barcode_templatesInput, UserUncheckedUpdateWithoutUpdated_barcode_templatesInput>
    create: XOR<UserCreateWithoutUpdated_barcode_templatesInput, UserUncheckedCreateWithoutUpdated_barcode_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUpdated_barcode_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUpdated_barcode_templatesInput, UserUncheckedUpdateWithoutUpdated_barcode_templatesInput>
  }

  export type UserUpdateWithoutUpdated_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutDeleted_barcode_templatesInput = {
    update: XOR<UserUpdateWithoutDeleted_barcode_templatesInput, UserUncheckedUpdateWithoutDeleted_barcode_templatesInput>
    create: XOR<UserCreateWithoutDeleted_barcode_templatesInput, UserUncheckedCreateWithoutDeleted_barcode_templatesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDeleted_barcode_templatesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDeleted_barcode_templatesInput, UserUncheckedUpdateWithoutDeleted_barcode_templatesInput>
  }

  export type UserUpdateWithoutDeleted_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeleted_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutUser_login_historiesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutUser_login_historiesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutUser_login_historiesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutUser_login_historiesInput, StatusUncheckedCreateWithoutUser_login_historiesInput>
  }

  export type UserCreateWithoutUser_login_historiesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
  }

  export type UserUncheckedCreateWithoutUser_login_historiesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
  }

  export type UserCreateOrConnectWithoutUser_login_historiesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutUser_login_historiesInput, UserUncheckedCreateWithoutUser_login_historiesInput>
  }

  export type StatusUpsertWithoutUser_login_historiesInput = {
    update: XOR<StatusUpdateWithoutUser_login_historiesInput, StatusUncheckedUpdateWithoutUser_login_historiesInput>
    create: XOR<StatusCreateWithoutUser_login_historiesInput, StatusUncheckedCreateWithoutUser_login_historiesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutUser_login_historiesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutUser_login_historiesInput, StatusUncheckedUpdateWithoutUser_login_historiesInput>
  }

  export type StatusUpdateWithoutUser_login_historiesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutUser_login_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type UserUpsertWithoutUser_login_historiesInput = {
    update: XOR<UserUpdateWithoutUser_login_historiesInput, UserUncheckedUpdateWithoutUser_login_historiesInput>
    create: XOR<UserCreateWithoutUser_login_historiesInput, UserUncheckedCreateWithoutUser_login_historiesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutUser_login_historiesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutUser_login_historiesInput, UserUncheckedUpdateWithoutUser_login_historiesInput>
  }

  export type UserUpdateWithoutUser_login_historiesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
  }

  export type UserUncheckedUpdateWithoutUser_login_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
  }

  export type StatusCreateWithoutTree_builder_examplesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutTree_builder_examplesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutTree_builder_examplesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutTree_builder_examplesInput, StatusUncheckedCreateWithoutTree_builder_examplesInput>
  }

  export type TreeBuilderExampleCreateWithoutChildrenInput = {
    uuid?: string
    name: string
    code: string
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTree_builder_examplesInput
    parent?: TreeBuilderExampleCreateNestedOneWithoutChildrenInput
  }

  export type TreeBuilderExampleUncheckedCreateWithoutChildrenInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    status_id?: number
    parent_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type TreeBuilderExampleCreateOrConnectWithoutChildrenInput = {
    where: TreeBuilderExampleWhereUniqueInput
    create: XOR<TreeBuilderExampleCreateWithoutChildrenInput, TreeBuilderExampleUncheckedCreateWithoutChildrenInput>
  }

  export type TreeBuilderExampleCreateWithoutParentInput = {
    uuid?: string
    name: string
    code: string
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutTree_builder_examplesInput
    children?: TreeBuilderExampleCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleUncheckedCreateWithoutParentInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    children?: TreeBuilderExampleUncheckedCreateNestedManyWithoutParentInput
  }

  export type TreeBuilderExampleCreateOrConnectWithoutParentInput = {
    where: TreeBuilderExampleWhereUniqueInput
    create: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput>
  }

  export type TreeBuilderExampleCreateManyParentInputEnvelope = {
    data: TreeBuilderExampleCreateManyParentInput | TreeBuilderExampleCreateManyParentInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutTree_builder_examplesInput = {
    update: XOR<StatusUpdateWithoutTree_builder_examplesInput, StatusUncheckedUpdateWithoutTree_builder_examplesInput>
    create: XOR<StatusCreateWithoutTree_builder_examplesInput, StatusUncheckedCreateWithoutTree_builder_examplesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutTree_builder_examplesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutTree_builder_examplesInput, StatusUncheckedUpdateWithoutTree_builder_examplesInput>
  }

  export type StatusUpdateWithoutTree_builder_examplesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutTree_builder_examplesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type TreeBuilderExampleUpsertWithoutChildrenInput = {
    update: XOR<TreeBuilderExampleUpdateWithoutChildrenInput, TreeBuilderExampleUncheckedUpdateWithoutChildrenInput>
    create: XOR<TreeBuilderExampleCreateWithoutChildrenInput, TreeBuilderExampleUncheckedCreateWithoutChildrenInput>
    where?: TreeBuilderExampleWhereInput
  }

  export type TreeBuilderExampleUpdateToOneWithWhereWithoutChildrenInput = {
    where?: TreeBuilderExampleWhereInput
    data: XOR<TreeBuilderExampleUpdateWithoutChildrenInput, TreeBuilderExampleUncheckedUpdateWithoutChildrenInput>
  }

  export type TreeBuilderExampleUpdateWithoutChildrenInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTree_builder_examplesNestedInput
    parent?: TreeBuilderExampleUpdateOneWithoutChildrenNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateWithoutChildrenInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type TreeBuilderExampleUpsertWithWhereUniqueWithoutParentInput = {
    where: TreeBuilderExampleWhereUniqueInput
    update: XOR<TreeBuilderExampleUpdateWithoutParentInput, TreeBuilderExampleUncheckedUpdateWithoutParentInput>
    create: XOR<TreeBuilderExampleCreateWithoutParentInput, TreeBuilderExampleUncheckedCreateWithoutParentInput>
  }

  export type TreeBuilderExampleUpdateWithWhereUniqueWithoutParentInput = {
    where: TreeBuilderExampleWhereUniqueInput
    data: XOR<TreeBuilderExampleUpdateWithoutParentInput, TreeBuilderExampleUncheckedUpdateWithoutParentInput>
  }

  export type TreeBuilderExampleUpdateManyWithWhereWithoutParentInput = {
    where: TreeBuilderExampleScalarWhereInput
    data: XOR<TreeBuilderExampleUpdateManyMutationInput, TreeBuilderExampleUncheckedUpdateManyWithoutParentInput>
  }

  export type CustomerDeliveryAddressesCreateWithoutDelivery_notesInput = {
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    status?: StatusCreateNestedOneWithoutCustomers_delivery_addressesInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesUncheckedCreateWithoutDelivery_notesInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    status_id?: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutCustomer_addressInput
  }

  export type CustomerDeliveryAddressesCreateOrConnectWithoutDelivery_notesInput = {
    where: CustomerDeliveryAddressesWhereUniqueInput
    create: XOR<CustomerDeliveryAddressesCreateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedCreateWithoutDelivery_notesInput>
  }

  export type UserCreateWithoutDelivery_notesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutDelivery_notesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutDelivery_notesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutDelivery_notesInput, UserUncheckedCreateWithoutDelivery_notesInput>
  }

  export type StatusCreateWithoutDelivery_notesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDelivery_notesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDelivery_notesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDelivery_notesInput, StatusUncheckedCreateWithoutDelivery_notesInput>
  }

  export type DeliveryNoteStatusCreateWithoutDelivery_notesInput = {
    uuid?: string
    name: string
    code: string
    company_id: number
    status?: StatusCreateNestedOneWithoutDelivery_note_statusInput
  }

  export type DeliveryNoteStatusUncheckedCreateWithoutDelivery_notesInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    status_id?: number
    company_id: number
  }

  export type DeliveryNoteStatusCreateOrConnectWithoutDelivery_notesInput = {
    where: DeliveryNoteStatusWhereUniqueInput
    create: XOR<DeliveryNoteStatusCreateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedCreateWithoutDelivery_notesInput>
  }

  export type DeliveryNoteLineItemsCreateWithoutDelivery_noteInput = {
    uuid?: string
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutDelivery_note_line_itemsInput
  }

  export type DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput = {
    id?: number
    uuid?: string
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNoteLineItemsCreateOrConnectWithoutDelivery_noteInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    create: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput>
  }

  export type DeliveryNoteLineItemsCreateManyDelivery_noteInputEnvelope = {
    data: DeliveryNoteLineItemsCreateManyDelivery_noteInput | DeliveryNoteLineItemsCreateManyDelivery_noteInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentDeliveryNotesCreateWithoutDelivery_noteInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_location: ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateOrConnectWithoutDelivery_noteInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    create: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput>
  }

  export type ShipmentDeliveryNotesCreateManyDelivery_noteInputEnvelope = {
    data: ShipmentDeliveryNotesCreateManyDelivery_noteInput | ShipmentDeliveryNotesCreateManyDelivery_noteInput[]
    skipDuplicates?: boolean
  }

  export type CustomerDeliveryAddressesUpsertWithoutDelivery_notesInput = {
    update: XOR<CustomerDeliveryAddressesUpdateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedUpdateWithoutDelivery_notesInput>
    create: XOR<CustomerDeliveryAddressesCreateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedCreateWithoutDelivery_notesInput>
    where?: CustomerDeliveryAddressesWhereInput
  }

  export type CustomerDeliveryAddressesUpdateToOneWithWhereWithoutDelivery_notesInput = {
    where?: CustomerDeliveryAddressesWhereInput
    data: XOR<CustomerDeliveryAddressesUpdateWithoutDelivery_notesInput, CustomerDeliveryAddressesUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type CustomerDeliveryAddressesUpdateWithoutDelivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutCustomers_delivery_addressesNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutCustomer_addressNestedInput
  }

  export type CustomerDeliveryAddressesUncheckedUpdateWithoutDelivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressNestedInput
  }

  export type UserUpsertWithoutDelivery_notesInput = {
    update: XOR<UserUpdateWithoutDelivery_notesInput, UserUncheckedUpdateWithoutDelivery_notesInput>
    create: XOR<UserCreateWithoutDelivery_notesInput, UserUncheckedCreateWithoutDelivery_notesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutDelivery_notesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutDelivery_notesInput, UserUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type UserUpdateWithoutDelivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDelivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusUpsertWithoutDelivery_notesInput = {
    update: XOR<StatusUpdateWithoutDelivery_notesInput, StatusUncheckedUpdateWithoutDelivery_notesInput>
    create: XOR<StatusCreateWithoutDelivery_notesInput, StatusUncheckedCreateWithoutDelivery_notesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDelivery_notesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDelivery_notesInput, StatusUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type StatusUpdateWithoutDelivery_notesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDelivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type DeliveryNoteStatusUpsertWithoutDelivery_notesInput = {
    update: XOR<DeliveryNoteStatusUpdateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedUpdateWithoutDelivery_notesInput>
    create: XOR<DeliveryNoteStatusCreateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedCreateWithoutDelivery_notesInput>
    where?: DeliveryNoteStatusWhereInput
  }

  export type DeliveryNoteStatusUpdateToOneWithWhereWithoutDelivery_notesInput = {
    where?: DeliveryNoteStatusWhereInput
    data: XOR<DeliveryNoteStatusUpdateWithoutDelivery_notesInput, DeliveryNoteStatusUncheckedUpdateWithoutDelivery_notesInput>
  }

  export type DeliveryNoteStatusUpdateWithoutDelivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutDelivery_note_statusNestedInput
  }

  export type DeliveryNoteStatusUncheckedUpdateWithoutDelivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DeliveryNoteLineItemsUpsertWithWhereUniqueWithoutDelivery_noteInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    update: XOR<DeliveryNoteLineItemsUpdateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedUpdateWithoutDelivery_noteInput>
    create: XOR<DeliveryNoteLineItemsCreateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedCreateWithoutDelivery_noteInput>
  }

  export type DeliveryNoteLineItemsUpdateWithWhereUniqueWithoutDelivery_noteInput = {
    where: DeliveryNoteLineItemsWhereUniqueInput
    data: XOR<DeliveryNoteLineItemsUpdateWithoutDelivery_noteInput, DeliveryNoteLineItemsUncheckedUpdateWithoutDelivery_noteInput>
  }

  export type DeliveryNoteLineItemsUpdateManyWithWhereWithoutDelivery_noteInput = {
    where: DeliveryNoteLineItemsScalarWhereInput
    data: XOR<DeliveryNoteLineItemsUpdateManyMutationInput, DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteInput>
  }

  export type ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutDelivery_noteInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    update: XOR<ShipmentDeliveryNotesUpdateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedUpdateWithoutDelivery_noteInput>
    create: XOR<ShipmentDeliveryNotesCreateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedCreateWithoutDelivery_noteInput>
  }

  export type ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutDelivery_noteInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    data: XOR<ShipmentDeliveryNotesUpdateWithoutDelivery_noteInput, ShipmentDeliveryNotesUncheckedUpdateWithoutDelivery_noteInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithWhereWithoutDelivery_noteInput = {
    where: ShipmentDeliveryNotesScalarWhereInput
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteInput>
  }

  export type StatusCreateWithoutDelivery_note_statusInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDelivery_note_statusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDelivery_note_statusInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDelivery_note_statusInput, StatusUncheckedCreateWithoutDelivery_note_statusInput>
  }

  export type DeliveryNotesCreateWithoutDn_statusInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutDn_statusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutDn_statusInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput>
  }

  export type DeliveryNotesCreateManyDn_statusInputEnvelope = {
    data: DeliveryNotesCreateManyDn_statusInput | DeliveryNotesCreateManyDn_statusInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutDelivery_note_statusInput = {
    update: XOR<StatusUpdateWithoutDelivery_note_statusInput, StatusUncheckedUpdateWithoutDelivery_note_statusInput>
    create: XOR<StatusCreateWithoutDelivery_note_statusInput, StatusUncheckedCreateWithoutDelivery_note_statusInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDelivery_note_statusInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDelivery_note_statusInput, StatusUncheckedUpdateWithoutDelivery_note_statusInput>
  }

  export type StatusUpdateWithoutDelivery_note_statusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDelivery_note_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type DeliveryNotesUpsertWithWhereUniqueWithoutDn_statusInput = {
    where: DeliveryNotesWhereUniqueInput
    update: XOR<DeliveryNotesUpdateWithoutDn_statusInput, DeliveryNotesUncheckedUpdateWithoutDn_statusInput>
    create: XOR<DeliveryNotesCreateWithoutDn_statusInput, DeliveryNotesUncheckedCreateWithoutDn_statusInput>
  }

  export type DeliveryNotesUpdateWithWhereUniqueWithoutDn_statusInput = {
    where: DeliveryNotesWhereUniqueInput
    data: XOR<DeliveryNotesUpdateWithoutDn_statusInput, DeliveryNotesUncheckedUpdateWithoutDn_statusInput>
  }

  export type DeliveryNotesUpdateManyWithWhereWithoutDn_statusInput = {
    where: DeliveryNotesScalarWhereInput
    data: XOR<DeliveryNotesUpdateManyMutationInput, DeliveryNotesUncheckedUpdateManyWithoutDn_statusInput>
  }

  export type DeliveryNotesCreateWithoutDelivery_note_line_itemsInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutDelivery_note_line_itemsInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutDelivery_note_line_itemsInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedCreateWithoutDelivery_note_line_itemsInput>
  }

  export type StatusCreateWithoutDelivery_note_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutDelivery_note_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutDelivery_note_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutDelivery_note_line_itemsInput, StatusUncheckedCreateWithoutDelivery_note_line_itemsInput>
  }

  export type DeliveryNotesUpsertWithoutDelivery_note_line_itemsInput = {
    update: XOR<DeliveryNotesUpdateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedUpdateWithoutDelivery_note_line_itemsInput>
    create: XOR<DeliveryNotesCreateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedCreateWithoutDelivery_note_line_itemsInput>
    where?: DeliveryNotesWhereInput
  }

  export type DeliveryNotesUpdateToOneWithWhereWithoutDelivery_note_line_itemsInput = {
    where?: DeliveryNotesWhereInput
    data: XOR<DeliveryNotesUpdateWithoutDelivery_note_line_itemsInput, DeliveryNotesUncheckedUpdateWithoutDelivery_note_line_itemsInput>
  }

  export type DeliveryNotesUpdateWithoutDelivery_note_line_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutDelivery_note_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type StatusUpsertWithoutDelivery_note_line_itemsInput = {
    update: XOR<StatusUpdateWithoutDelivery_note_line_itemsInput, StatusUncheckedUpdateWithoutDelivery_note_line_itemsInput>
    create: XOR<StatusCreateWithoutDelivery_note_line_itemsInput, StatusUncheckedCreateWithoutDelivery_note_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutDelivery_note_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutDelivery_note_line_itemsInput, StatusUncheckedUpdateWithoutDelivery_note_line_itemsInput>
  }

  export type StatusUpdateWithoutDelivery_note_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutDelivery_note_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutCustomers_delivery_addressesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutCustomers_delivery_addressesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutCustomers_delivery_addressesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutCustomers_delivery_addressesInput, StatusUncheckedCreateWithoutCustomers_delivery_addressesInput>
  }

  export type DeliveryNotesCreateWithoutCustomer_delivery_addressInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutCustomer_delivery_addressInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput>
  }

  export type DeliveryNotesCreateManyCustomer_delivery_addressInputEnvelope = {
    data: DeliveryNotesCreateManyCustomer_delivery_addressInput | DeliveryNotesCreateManyCustomer_delivery_addressInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsLocationCreateWithoutCustomer_addressInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput = {
    id?: number
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutCustomer_addressInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput>
  }

  export type ShipmentsLocationCreateManyCustomer_addressInputEnvelope = {
    data: ShipmentsLocationCreateManyCustomer_addressInput | ShipmentsLocationCreateManyCustomer_addressInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutCustomers_delivery_addressesInput = {
    update: XOR<StatusUpdateWithoutCustomers_delivery_addressesInput, StatusUncheckedUpdateWithoutCustomers_delivery_addressesInput>
    create: XOR<StatusCreateWithoutCustomers_delivery_addressesInput, StatusUncheckedCreateWithoutCustomers_delivery_addressesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutCustomers_delivery_addressesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutCustomers_delivery_addressesInput, StatusUncheckedUpdateWithoutCustomers_delivery_addressesInput>
  }

  export type StatusUpdateWithoutCustomers_delivery_addressesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutCustomers_delivery_addressesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type DeliveryNotesUpsertWithWhereUniqueWithoutCustomer_delivery_addressInput = {
    where: DeliveryNotesWhereUniqueInput
    update: XOR<DeliveryNotesUpdateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedUpdateWithoutCustomer_delivery_addressInput>
    create: XOR<DeliveryNotesCreateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedCreateWithoutCustomer_delivery_addressInput>
  }

  export type DeliveryNotesUpdateWithWhereUniqueWithoutCustomer_delivery_addressInput = {
    where: DeliveryNotesWhereUniqueInput
    data: XOR<DeliveryNotesUpdateWithoutCustomer_delivery_addressInput, DeliveryNotesUncheckedUpdateWithoutCustomer_delivery_addressInput>
  }

  export type DeliveryNotesUpdateManyWithWhereWithoutCustomer_delivery_addressInput = {
    where: DeliveryNotesScalarWhereInput
    data: XOR<DeliveryNotesUpdateManyMutationInput, DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressInput>
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutCustomer_addressInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutCustomer_addressInput, ShipmentsLocationUncheckedUpdateWithoutCustomer_addressInput>
    create: XOR<ShipmentsLocationCreateWithoutCustomer_addressInput, ShipmentsLocationUncheckedCreateWithoutCustomer_addressInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutCustomer_addressInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutCustomer_addressInput, ShipmentsLocationUncheckedUpdateWithoutCustomer_addressInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutCustomer_addressInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressInput>
  }

  export type StatusCreateWithoutShipmentsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipmentsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipmentsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipmentsInput, StatusUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentStatusCreateWithoutShipmentsInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    status?: StatusCreateNestedOneWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateWithoutShipmentsInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusCreateOrConnectWithoutShipmentsInput = {
    where: ShipmentStatusWhereUniqueInput
    create: XOR<ShipmentStatusCreateWithoutShipmentsInput, ShipmentStatusUncheckedCreateWithoutShipmentsInput>
  }

  export type VehiclesCreateWithoutShipmentsInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutShipmentsInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutShipmentsInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutShipmentsInput, VehiclesUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentCustomersCreateWithoutShipmentsInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipment_customersInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_customersInput
    customer: UserCreateNestedOneWithoutShipment_customersInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateWithoutShipmentsInput = {
    id?: number
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersCreateOrConnectWithoutShipmentsInput = {
    where: ShipmentCustomersWhereUniqueInput
    create: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentCustomersCreateManyShipmentsInputEnvelope = {
    data: ShipmentCustomersCreateManyShipmentsInput | ShipmentCustomersCreateManyShipmentsInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsLocationCreateWithoutShipmentsInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutShipmentsInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutShipmentsInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentsLocationCreateManyShipmentsInputEnvelope = {
    data: ShipmentsLocationCreateManyShipmentsInput | ShipmentsLocationCreateManyShipmentsInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentDeliveryNotesCreateWithoutShipmentsInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput
    status?: StatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_location: ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateOrConnectWithoutShipmentsInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentDeliveryNotesCreateManyShipmentsInputEnvelope = {
    data: ShipmentDeliveryNotesCreateManyShipmentsInput | ShipmentDeliveryNotesCreateManyShipmentsInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutShipmentInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutShipmentInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput>
  }

  export type VehicleGeofenceHistoryCreateManyShipmentInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyShipmentInput | VehicleGeofenceHistoryCreateManyShipmentInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutShipmentsInput = {
    update: XOR<StatusUpdateWithoutShipmentsInput, StatusUncheckedUpdateWithoutShipmentsInput>
    create: XOR<StatusCreateWithoutShipmentsInput, StatusUncheckedCreateWithoutShipmentsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipmentsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipmentsInput, StatusUncheckedUpdateWithoutShipmentsInput>
  }

  export type StatusUpdateWithoutShipmentsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentStatusUpsertWithoutShipmentsInput = {
    update: XOR<ShipmentStatusUpdateWithoutShipmentsInput, ShipmentStatusUncheckedUpdateWithoutShipmentsInput>
    create: XOR<ShipmentStatusCreateWithoutShipmentsInput, ShipmentStatusUncheckedCreateWithoutShipmentsInput>
    where?: ShipmentStatusWhereInput
  }

  export type ShipmentStatusUpdateToOneWithWhereWithoutShipmentsInput = {
    where?: ShipmentStatusWhereInput
    data: XOR<ShipmentStatusUpdateWithoutShipmentsInput, ShipmentStatusUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentStatusUpdateWithoutShipmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type VehiclesUpsertWithoutShipmentsInput = {
    update: XOR<VehiclesUpdateWithoutShipmentsInput, VehiclesUncheckedUpdateWithoutShipmentsInput>
    create: XOR<VehiclesCreateWithoutShipmentsInput, VehiclesUncheckedCreateWithoutShipmentsInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutShipmentsInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutShipmentsInput, VehiclesUncheckedUpdateWithoutShipmentsInput>
  }

  export type VehiclesUpdateWithoutShipmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type ShipmentCustomersUpsertWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentCustomersWhereUniqueInput
    update: XOR<ShipmentCustomersUpdateWithoutShipmentsInput, ShipmentCustomersUncheckedUpdateWithoutShipmentsInput>
    create: XOR<ShipmentCustomersCreateWithoutShipmentsInput, ShipmentCustomersUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentCustomersUpdateWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentCustomersWhereUniqueInput
    data: XOR<ShipmentCustomersUpdateWithoutShipmentsInput, ShipmentCustomersUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentCustomersUpdateManyWithWhereWithoutShipmentsInput = {
    where: ShipmentCustomersScalarWhereInput
    data: XOR<ShipmentCustomersUpdateManyMutationInput, ShipmentCustomersUncheckedUpdateManyWithoutShipmentsInput>
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutShipmentsInput, ShipmentsLocationUncheckedUpdateWithoutShipmentsInput>
    create: XOR<ShipmentsLocationCreateWithoutShipmentsInput, ShipmentsLocationUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutShipmentsInput, ShipmentsLocationUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutShipmentsInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutShipmentsInput>
  }

  export type ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    update: XOR<ShipmentDeliveryNotesUpdateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipmentsInput>
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipmentsInput>
  }

  export type ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipmentsInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    data: XOR<ShipmentDeliveryNotesUpdateWithoutShipmentsInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipmentsInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipmentsInput = {
    where: ShipmentDeliveryNotesScalarWhereInput
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsInput>
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutShipmentInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedUpdateWithoutShipmentInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedCreateWithoutShipmentInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutShipmentInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutShipmentInput, VehicleGeofenceHistoryUncheckedUpdateWithoutShipmentInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutShipmentInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentInput>
  }

  export type ShipmentsCreateWithoutShipment_customersInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutShipment_customersInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutShipment_customersInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutShipment_customersInput, ShipmentsUncheckedCreateWithoutShipment_customersInput>
  }

  export type StatusCreateWithoutShipment_customersInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_customersInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_customersInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_customersInput, StatusUncheckedCreateWithoutShipment_customersInput>
  }

  export type ShipmentStatusCreateWithoutShipment_customersInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    status?: StatusCreateNestedOneWithoutShipment_statusInput
    shipments?: ShipmentsCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateWithoutShipment_customersInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusCreateOrConnectWithoutShipment_customersInput = {
    where: ShipmentStatusWhereUniqueInput
    create: XOR<ShipmentStatusCreateWithoutShipment_customersInput, ShipmentStatusUncheckedCreateWithoutShipment_customersInput>
  }

  export type UserCreateWithoutShipment_customersInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutShipment_customersInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutShipment_customersInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutShipment_customersInput, UserUncheckedCreateWithoutShipment_customersInput>
  }

  export type ShipmentsLocationCreateWithoutShipment_customersInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutShipment_customersInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutShipment_customersInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput>
  }

  export type ShipmentsLocationCreateManyShipment_customersInputEnvelope = {
    data: ShipmentsLocationCreateManyShipment_customersInput | ShipmentsLocationCreateManyShipment_customersInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsUpsertWithoutShipment_customersInput = {
    update: XOR<ShipmentsUpdateWithoutShipment_customersInput, ShipmentsUncheckedUpdateWithoutShipment_customersInput>
    create: XOR<ShipmentsCreateWithoutShipment_customersInput, ShipmentsUncheckedCreateWithoutShipment_customersInput>
    where?: ShipmentsWhereInput
  }

  export type ShipmentsUpdateToOneWithWhereWithoutShipment_customersInput = {
    where?: ShipmentsWhereInput
    data: XOR<ShipmentsUpdateWithoutShipment_customersInput, ShipmentsUncheckedUpdateWithoutShipment_customersInput>
  }

  export type ShipmentsUpdateWithoutShipment_customersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type StatusUpsertWithoutShipment_customersInput = {
    update: XOR<StatusUpdateWithoutShipment_customersInput, StatusUncheckedUpdateWithoutShipment_customersInput>
    create: XOR<StatusCreateWithoutShipment_customersInput, StatusUncheckedCreateWithoutShipment_customersInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_customersInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_customersInput, StatusUncheckedUpdateWithoutShipment_customersInput>
  }

  export type StatusUpdateWithoutShipment_customersInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentStatusUpsertWithoutShipment_customersInput = {
    update: XOR<ShipmentStatusUpdateWithoutShipment_customersInput, ShipmentStatusUncheckedUpdateWithoutShipment_customersInput>
    create: XOR<ShipmentStatusCreateWithoutShipment_customersInput, ShipmentStatusUncheckedCreateWithoutShipment_customersInput>
    where?: ShipmentStatusWhereInput
  }

  export type ShipmentStatusUpdateToOneWithWhereWithoutShipment_customersInput = {
    where?: ShipmentStatusWhereInput
    data: XOR<ShipmentStatusUpdateWithoutShipment_customersInput, ShipmentStatusUncheckedUpdateWithoutShipment_customersInput>
  }

  export type ShipmentStatusUpdateWithoutShipment_customersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_statusNestedInput
    shipments?: ShipmentsUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type UserUpsertWithoutShipment_customersInput = {
    update: XOR<UserUpdateWithoutShipment_customersInput, UserUncheckedUpdateWithoutShipment_customersInput>
    create: XOR<UserCreateWithoutShipment_customersInput, UserUncheckedCreateWithoutShipment_customersInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutShipment_customersInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutShipment_customersInput, UserUncheckedUpdateWithoutShipment_customersInput>
  }

  export type UserUpdateWithoutShipment_customersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_customersInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutShipment_customersInput, ShipmentsLocationUncheckedUpdateWithoutShipment_customersInput>
    create: XOR<ShipmentsLocationCreateWithoutShipment_customersInput, ShipmentsLocationUncheckedCreateWithoutShipment_customersInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_customersInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutShipment_customersInput, ShipmentsLocationUncheckedUpdateWithoutShipment_customersInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutShipment_customersInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersInput>
  }

  export type CustomerDeliveryAddressesCreateWithoutShipment_locationInput = {
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    status?: StatusCreateNestedOneWithoutCustomers_delivery_addressesInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomer_delivery_addressInput
  }

  export type CustomerDeliveryAddressesUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    status_id?: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomer_delivery_addressInput
  }

  export type CustomerDeliveryAddressesCreateOrConnectWithoutShipment_locationInput = {
    where: CustomerDeliveryAddressesWhereUniqueInput
    create: XOR<CustomerDeliveryAddressesCreateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedCreateWithoutShipment_locationInput>
  }

  export type PodStatusCreateWithoutShipments_locationInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code: string
    status?: StatusCreateNestedOneWithoutPod_statusInput
  }

  export type PodStatusUncheckedCreateWithoutShipments_locationInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code: string
  }

  export type PodStatusCreateOrConnectWithoutShipments_locationInput = {
    where: PodStatusWhereUniqueInput
    create: XOR<PodStatusCreateWithoutShipments_locationInput, PodStatusUncheckedCreateWithoutShipments_locationInput>
  }

  export type StatusCreateWithoutShipment_locationInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_locationInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_locationInput, StatusUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentStatusCreateWithoutShipment_locationInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    status?: StatusCreateNestedOneWithoutShipment_statusInput
    shipments?: ShipmentsCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusCreateOrConnectWithoutShipment_locationInput = {
    where: ShipmentStatusWhereUniqueInput
    create: XOR<ShipmentStatusCreateWithoutShipment_locationInput, ShipmentStatusUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentCustomersCreateWithoutShipment_locationInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipments: ShipmentsCreateNestedOneWithoutShipment_customersInput
    status?: StatusCreateNestedOneWithoutShipment_customersInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_customersInput
    customer: UserCreateNestedOneWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentCustomersCreateOrConnectWithoutShipment_locationInput = {
    where: ShipmentCustomersWhereUniqueInput
    create: XOR<ShipmentCustomersCreateWithoutShipment_locationInput, ShipmentCustomersUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentsCreateWithoutShipment_locationInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutShipment_locationInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutShipment_locationInput, ShipmentsUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentDeliveryNotesCreateWithoutShipment_locationInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput
    status?: StatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateOrConnectWithoutShipment_locationInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentDeliveryNotesCreateManyShipment_locationInputEnvelope = {
    data: ShipmentDeliveryNotesCreateManyShipment_locationInput | ShipmentDeliveryNotesCreateManyShipment_locationInput[]
    skipDuplicates?: boolean
  }

  export type CustomerDeliveryAddressesUpsertWithoutShipment_locationInput = {
    update: XOR<CustomerDeliveryAddressesUpdateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<CustomerDeliveryAddressesCreateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedCreateWithoutShipment_locationInput>
    where?: CustomerDeliveryAddressesWhereInput
  }

  export type CustomerDeliveryAddressesUpdateToOneWithWhereWithoutShipment_locationInput = {
    where?: CustomerDeliveryAddressesWhereInput
    data: XOR<CustomerDeliveryAddressesUpdateWithoutShipment_locationInput, CustomerDeliveryAddressesUncheckedUpdateWithoutShipment_locationInput>
  }

  export type CustomerDeliveryAddressesUpdateWithoutShipment_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutCustomers_delivery_addressesNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomer_delivery_addressNestedInput
  }

  export type CustomerDeliveryAddressesUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressNestedInput
  }

  export type PodStatusUpsertWithoutShipments_locationInput = {
    update: XOR<PodStatusUpdateWithoutShipments_locationInput, PodStatusUncheckedUpdateWithoutShipments_locationInput>
    create: XOR<PodStatusCreateWithoutShipments_locationInput, PodStatusUncheckedCreateWithoutShipments_locationInput>
    where?: PodStatusWhereInput
  }

  export type PodStatusUpdateToOneWithWhereWithoutShipments_locationInput = {
    where?: PodStatusWhereInput
    data: XOR<PodStatusUpdateWithoutShipments_locationInput, PodStatusUncheckedUpdateWithoutShipments_locationInput>
  }

  export type PodStatusUpdateWithoutShipments_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
    status?: StatusUpdateOneRequiredWithoutPod_statusNestedInput
  }

  export type PodStatusUncheckedUpdateWithoutShipments_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
  }

  export type StatusUpsertWithoutShipment_locationInput = {
    update: XOR<StatusUpdateWithoutShipment_locationInput, StatusUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<StatusCreateWithoutShipment_locationInput, StatusUncheckedCreateWithoutShipment_locationInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_locationInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_locationInput, StatusUncheckedUpdateWithoutShipment_locationInput>
  }

  export type StatusUpdateWithoutShipment_locationInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentStatusUpsertWithoutShipment_locationInput = {
    update: XOR<ShipmentStatusUpdateWithoutShipment_locationInput, ShipmentStatusUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<ShipmentStatusCreateWithoutShipment_locationInput, ShipmentStatusUncheckedCreateWithoutShipment_locationInput>
    where?: ShipmentStatusWhereInput
  }

  export type ShipmentStatusUpdateToOneWithWhereWithoutShipment_locationInput = {
    where?: ShipmentStatusWhereInput
    data: XOR<ShipmentStatusUpdateWithoutShipment_locationInput, ShipmentStatusUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentStatusUpdateWithoutShipment_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_statusNestedInput
    shipments?: ShipmentsUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentCustomersUpsertWithoutShipment_locationInput = {
    update: XOR<ShipmentCustomersUpdateWithoutShipment_locationInput, ShipmentCustomersUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<ShipmentCustomersCreateWithoutShipment_locationInput, ShipmentCustomersUncheckedCreateWithoutShipment_locationInput>
    where?: ShipmentCustomersWhereInput
  }

  export type ShipmentCustomersUpdateToOneWithWhereWithoutShipment_locationInput = {
    where?: ShipmentCustomersWhereInput
    data: XOR<ShipmentCustomersUpdateWithoutShipment_locationInput, ShipmentCustomersUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentCustomersUpdateWithoutShipment_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput
    customer?: UserUpdateOneRequiredWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsUpsertWithoutShipment_locationInput = {
    update: XOR<ShipmentsUpdateWithoutShipment_locationInput, ShipmentsUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<ShipmentsCreateWithoutShipment_locationInput, ShipmentsUncheckedCreateWithoutShipment_locationInput>
    where?: ShipmentsWhereInput
  }

  export type ShipmentsUpdateToOneWithWhereWithoutShipment_locationInput = {
    where?: ShipmentsWhereInput
    data: XOR<ShipmentsUpdateWithoutShipment_locationInput, ShipmentsUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentsUpdateWithoutShipment_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_locationInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    update: XOR<ShipmentDeliveryNotesUpdateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_locationInput>
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_locationInput>
  }

  export type ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_locationInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    data: XOR<ShipmentDeliveryNotesUpdateWithoutShipment_locationInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_locationInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_locationInput = {
    where: ShipmentDeliveryNotesScalarWhereInput
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationInput>
  }

  export type DeliveryNotesCreateWithoutShipment_delivery_notesInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_delivery_address: CustomerDeliveryAddressesCreateNestedOneWithoutDelivery_notesInput
    customer: UserCreateNestedOneWithoutDelivery_notesInput
    status?: StatusCreateNestedOneWithoutDelivery_notesInput
    dn_status?: DeliveryNoteStatusCreateNestedOneWithoutDelivery_notesInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesUncheckedCreateWithoutShipment_delivery_notesInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutDelivery_noteInput
  }

  export type DeliveryNotesCreateOrConnectWithoutShipment_delivery_notesInput = {
    where: DeliveryNotesWhereUniqueInput
    create: XOR<DeliveryNotesCreateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedCreateWithoutShipment_delivery_notesInput>
  }

  export type StatusCreateWithoutShipment_delivery_notesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_delivery_notesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_delivery_notesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_delivery_notesInput, StatusUncheckedCreateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentStatusCreateWithoutShipment_delivery_notesInput = {
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
    status?: StatusCreateNestedOneWithoutShipment_statusInput
    shipments?: ShipmentsCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusUncheckedCreateWithoutShipment_delivery_notesInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    status_id?: number
    company_id: number
    status_color_code?: string | null
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipment_statusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_statusInput
  }

  export type ShipmentStatusCreateOrConnectWithoutShipment_delivery_notesInput = {
    where: ShipmentStatusWhereUniqueInput
    create: XOR<ShipmentStatusCreateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedCreateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsLocationCreateWithoutShipment_delivery_notesInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutShipment_delivery_notesInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentsLocationCreateOrConnectWithoutShipment_delivery_notesInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedCreateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsCreateWithoutShipment_delivery_notesInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutShipment_delivery_notesInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutShipment_delivery_notesInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutShipment_delivery_notesInput, ShipmentsUncheckedCreateWithoutShipment_delivery_notesInput>
  }

  export type DeliveryNotesUpsertWithoutShipment_delivery_notesInput = {
    update: XOR<DeliveryNotesUpdateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedUpdateWithoutShipment_delivery_notesInput>
    create: XOR<DeliveryNotesCreateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedCreateWithoutShipment_delivery_notesInput>
    where?: DeliveryNotesWhereInput
  }

  export type DeliveryNotesUpdateToOneWithWhereWithoutShipment_delivery_notesInput = {
    where?: DeliveryNotesWhereInput
    data: XOR<DeliveryNotesUpdateWithoutShipment_delivery_notesInput, DeliveryNotesUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type DeliveryNotesUpdateWithoutShipment_delivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutShipment_delivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type StatusUpsertWithoutShipment_delivery_notesInput = {
    update: XOR<StatusUpdateWithoutShipment_delivery_notesInput, StatusUncheckedUpdateWithoutShipment_delivery_notesInput>
    create: XOR<StatusCreateWithoutShipment_delivery_notesInput, StatusUncheckedCreateWithoutShipment_delivery_notesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_delivery_notesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_delivery_notesInput, StatusUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type StatusUpdateWithoutShipment_delivery_notesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_delivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentStatusUpsertWithoutShipment_delivery_notesInput = {
    update: XOR<ShipmentStatusUpdateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedUpdateWithoutShipment_delivery_notesInput>
    create: XOR<ShipmentStatusCreateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedCreateWithoutShipment_delivery_notesInput>
    where?: ShipmentStatusWhereInput
  }

  export type ShipmentStatusUpdateToOneWithWhereWithoutShipment_delivery_notesInput = {
    where?: ShipmentStatusWhereInput
    data: XOR<ShipmentStatusUpdateWithoutShipment_delivery_notesInput, ShipmentStatusUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentStatusUpdateWithoutShipment_delivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_statusNestedInput
    shipments?: ShipmentsUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateWithoutShipment_delivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentsLocationUpsertWithoutShipment_delivery_notesInput = {
    update: XOR<ShipmentsLocationUpdateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedUpdateWithoutShipment_delivery_notesInput>
    create: XOR<ShipmentsLocationCreateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedCreateWithoutShipment_delivery_notesInput>
    where?: ShipmentsLocationWhereInput
  }

  export type ShipmentsLocationUpdateToOneWithWhereWithoutShipment_delivery_notesInput = {
    where?: ShipmentsLocationWhereInput
    data: XOR<ShipmentsLocationUpdateWithoutShipment_delivery_notesInput, ShipmentsLocationUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsLocationUpdateWithoutShipment_delivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutShipment_delivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentsUpsertWithoutShipment_delivery_notesInput = {
    update: XOR<ShipmentsUpdateWithoutShipment_delivery_notesInput, ShipmentsUncheckedUpdateWithoutShipment_delivery_notesInput>
    create: XOR<ShipmentsCreateWithoutShipment_delivery_notesInput, ShipmentsUncheckedCreateWithoutShipment_delivery_notesInput>
    where?: ShipmentsWhereInput
  }

  export type ShipmentsUpdateToOneWithWhereWithoutShipment_delivery_notesInput = {
    where?: ShipmentsWhereInput
    data: XOR<ShipmentsUpdateWithoutShipment_delivery_notesInput, ShipmentsUncheckedUpdateWithoutShipment_delivery_notesInput>
  }

  export type ShipmentsUpdateWithoutShipment_delivery_notesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutShipment_delivery_notesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type StatusCreateWithoutVehiclesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutVehiclesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutVehiclesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutVehiclesInput, StatusUncheckedCreateWithoutVehiclesInput>
  }

  export type VehiclesGpsDataCreateWithoutVehicleInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    user?: UserCreateNestedOneWithoutVehicle_gps_dataInput
    status?: StatusCreateNestedOneWithoutVehicle_gps_dataInput
  }

  export type VehiclesGpsDataUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataCreateOrConnectWithoutVehicleInput = {
    where: VehiclesGpsDataWhereUniqueInput
    create: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput>
  }

  export type VehiclesGpsDataCreateManyVehicleInputEnvelope = {
    data: VehiclesGpsDataCreateManyVehicleInput | VehiclesGpsDataCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type VehiclesGpsDataLogCreateWithoutVehicleInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
    user?: UserCreateNestedOneWithoutVehicle_gps_data_logInput
  }

  export type VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogCreateOrConnectWithoutVehicleInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    create: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput>
  }

  export type VehiclesGpsDataLogCreateManyVehicleInputEnvelope = {
    data: VehiclesGpsDataLogCreateManyVehicleInput | VehiclesGpsDataLogCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type GeoFenceTrackingCreateWithoutVehicleInput = {
    uuid?: string
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    geofence: GeoFencesCreateNestedOneWithoutGeofence_trackingInput
    status?: StatusCreateNestedOneWithoutGeofence_trackingInput
  }

  export type GeoFenceTrackingUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type GeoFenceTrackingCreateOrConnectWithoutVehicleInput = {
    where: GeoFenceTrackingWhereUniqueInput
    create: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput>
  }

  export type GeoFenceTrackingCreateManyVehicleInputEnvelope = {
    data: GeoFenceTrackingCreateManyVehicleInput | GeoFenceTrackingCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type VehicleUserMappingCreateWithoutVehicleInput = {
    uuid?: string
    created_by?: number | null
    created_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehicle_user_mappingInput
    user: UserCreateNestedOneWithoutVehicle_user_mappingInput
  }

  export type VehicleUserMappingUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleUserMappingCreateOrConnectWithoutVehicleInput = {
    where: VehicleUserMappingWhereUniqueInput
    create: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleUserMappingCreateManyVehicleInputEnvelope = {
    data: VehicleUserMappingCreateManyVehicleInput | VehicleUserMappingCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutVehicleInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    geofence: GeoFencesCreateNestedOneWithoutVehicle_geofence_historyInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutVehicleInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleGeofenceHistoryCreateManyVehicleInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyVehicleInput | VehicleGeofenceHistoryCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsCreateWithoutVehicleInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutVehicleInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput>
  }

  export type ShipmentsCreateManyVehicleInputEnvelope = {
    data: ShipmentsCreateManyVehicleInput | ShipmentsCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type VehicleTripHistoriesCreateWithoutVehicleInput = {
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
    user?: UserCreateNestedOneWithoutVehicle_trip_historiesInput
    status?: StatusCreateNestedOneWithoutVehicle_trip_historiesInput
  }

  export type VehicleTripHistoriesUncheckedCreateWithoutVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehicleTripHistoriesCreateOrConnectWithoutVehicleInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    create: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleTripHistoriesCreateManyVehicleInputEnvelope = {
    data: VehicleTripHistoriesCreateManyVehicleInput | VehicleTripHistoriesCreateManyVehicleInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutVehiclesInput = {
    update: XOR<StatusUpdateWithoutVehiclesInput, StatusUncheckedUpdateWithoutVehiclesInput>
    create: XOR<StatusCreateWithoutVehiclesInput, StatusUncheckedCreateWithoutVehiclesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutVehiclesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutVehiclesInput, StatusUncheckedUpdateWithoutVehiclesInput>
  }

  export type StatusUpdateWithoutVehiclesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutVehiclesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type VehiclesGpsDataUpsertWithWhereUniqueWithoutVehicleInput = {
    where: VehiclesGpsDataWhereUniqueInput
    update: XOR<VehiclesGpsDataUpdateWithoutVehicleInput, VehiclesGpsDataUncheckedUpdateWithoutVehicleInput>
    create: XOR<VehiclesGpsDataCreateWithoutVehicleInput, VehiclesGpsDataUncheckedCreateWithoutVehicleInput>
  }

  export type VehiclesGpsDataUpdateWithWhereUniqueWithoutVehicleInput = {
    where: VehiclesGpsDataWhereUniqueInput
    data: XOR<VehiclesGpsDataUpdateWithoutVehicleInput, VehiclesGpsDataUncheckedUpdateWithoutVehicleInput>
  }

  export type VehiclesGpsDataUpdateManyWithWhereWithoutVehicleInput = {
    where: VehiclesGpsDataScalarWhereInput
    data: XOR<VehiclesGpsDataUpdateManyMutationInput, VehiclesGpsDataUncheckedUpdateManyWithoutVehicleInput>
  }

  export type VehiclesGpsDataLogUpsertWithWhereUniqueWithoutVehicleInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    update: XOR<VehiclesGpsDataLogUpdateWithoutVehicleInput, VehiclesGpsDataLogUncheckedUpdateWithoutVehicleInput>
    create: XOR<VehiclesGpsDataLogCreateWithoutVehicleInput, VehiclesGpsDataLogUncheckedCreateWithoutVehicleInput>
  }

  export type VehiclesGpsDataLogUpdateWithWhereUniqueWithoutVehicleInput = {
    where: VehiclesGpsDataLogWhereUniqueInput
    data: XOR<VehiclesGpsDataLogUpdateWithoutVehicleInput, VehiclesGpsDataLogUncheckedUpdateWithoutVehicleInput>
  }

  export type VehiclesGpsDataLogUpdateManyWithWhereWithoutVehicleInput = {
    where: VehiclesGpsDataLogScalarWhereInput
    data: XOR<VehiclesGpsDataLogUpdateManyMutationInput, VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleInput>
  }

  export type GeoFenceTrackingUpsertWithWhereUniqueWithoutVehicleInput = {
    where: GeoFenceTrackingWhereUniqueInput
    update: XOR<GeoFenceTrackingUpdateWithoutVehicleInput, GeoFenceTrackingUncheckedUpdateWithoutVehicleInput>
    create: XOR<GeoFenceTrackingCreateWithoutVehicleInput, GeoFenceTrackingUncheckedCreateWithoutVehicleInput>
  }

  export type GeoFenceTrackingUpdateWithWhereUniqueWithoutVehicleInput = {
    where: GeoFenceTrackingWhereUniqueInput
    data: XOR<GeoFenceTrackingUpdateWithoutVehicleInput, GeoFenceTrackingUncheckedUpdateWithoutVehicleInput>
  }

  export type GeoFenceTrackingUpdateManyWithWhereWithoutVehicleInput = {
    where: GeoFenceTrackingScalarWhereInput
    data: XOR<GeoFenceTrackingUpdateManyMutationInput, GeoFenceTrackingUncheckedUpdateManyWithoutVehicleInput>
  }

  export type VehicleUserMappingUpsertWithWhereUniqueWithoutVehicleInput = {
    where: VehicleUserMappingWhereUniqueInput
    update: XOR<VehicleUserMappingUpdateWithoutVehicleInput, VehicleUserMappingUncheckedUpdateWithoutVehicleInput>
    create: XOR<VehicleUserMappingCreateWithoutVehicleInput, VehicleUserMappingUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleUserMappingUpdateWithWhereUniqueWithoutVehicleInput = {
    where: VehicleUserMappingWhereUniqueInput
    data: XOR<VehicleUserMappingUpdateWithoutVehicleInput, VehicleUserMappingUncheckedUpdateWithoutVehicleInput>
  }

  export type VehicleUserMappingUpdateManyWithWhereWithoutVehicleInput = {
    where: VehicleUserMappingScalarWhereInput
    data: XOR<VehicleUserMappingUpdateManyMutationInput, VehicleUserMappingUncheckedUpdateManyWithoutVehicleInput>
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutVehicleInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedUpdateWithoutVehicleInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutVehicleInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutVehicleInput, VehicleGeofenceHistoryUncheckedUpdateWithoutVehicleInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutVehicleInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleInput>
  }

  export type ShipmentsUpsertWithWhereUniqueWithoutVehicleInput = {
    where: ShipmentsWhereUniqueInput
    update: XOR<ShipmentsUpdateWithoutVehicleInput, ShipmentsUncheckedUpdateWithoutVehicleInput>
    create: XOR<ShipmentsCreateWithoutVehicleInput, ShipmentsUncheckedCreateWithoutVehicleInput>
  }

  export type ShipmentsUpdateWithWhereUniqueWithoutVehicleInput = {
    where: ShipmentsWhereUniqueInput
    data: XOR<ShipmentsUpdateWithoutVehicleInput, ShipmentsUncheckedUpdateWithoutVehicleInput>
  }

  export type ShipmentsUpdateManyWithWhereWithoutVehicleInput = {
    where: ShipmentsScalarWhereInput
    data: XOR<ShipmentsUpdateManyMutationInput, ShipmentsUncheckedUpdateManyWithoutVehicleInput>
  }

  export type VehicleTripHistoriesUpsertWithWhereUniqueWithoutVehicleInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    update: XOR<VehicleTripHistoriesUpdateWithoutVehicleInput, VehicleTripHistoriesUncheckedUpdateWithoutVehicleInput>
    create: XOR<VehicleTripHistoriesCreateWithoutVehicleInput, VehicleTripHistoriesUncheckedCreateWithoutVehicleInput>
  }

  export type VehicleTripHistoriesUpdateWithWhereUniqueWithoutVehicleInput = {
    where: VehicleTripHistoriesWhereUniqueInput
    data: XOR<VehicleTripHistoriesUpdateWithoutVehicleInput, VehicleTripHistoriesUncheckedUpdateWithoutVehicleInput>
  }

  export type VehicleTripHistoriesUpdateManyWithWhereWithoutVehicleInput = {
    where: VehicleTripHistoriesScalarWhereInput
    data: XOR<VehicleTripHistoriesUpdateManyMutationInput, VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleInput>
  }

  export type StatusCreateWithoutVehicle_user_mappingInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutVehicle_user_mappingInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutVehicle_user_mappingInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutVehicle_user_mappingInput, StatusUncheckedCreateWithoutVehicle_user_mappingInput>
  }

  export type VehiclesCreateWithoutVehicle_user_mappingInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutVehicle_user_mappingInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutVehicle_user_mappingInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutVehicle_user_mappingInput, VehiclesUncheckedCreateWithoutVehicle_user_mappingInput>
  }

  export type UserCreateWithoutVehicle_user_mappingInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_user_mappingInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_user_mappingInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_user_mappingInput, UserUncheckedCreateWithoutVehicle_user_mappingInput>
  }

  export type StatusUpsertWithoutVehicle_user_mappingInput = {
    update: XOR<StatusUpdateWithoutVehicle_user_mappingInput, StatusUncheckedUpdateWithoutVehicle_user_mappingInput>
    create: XOR<StatusCreateWithoutVehicle_user_mappingInput, StatusUncheckedCreateWithoutVehicle_user_mappingInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutVehicle_user_mappingInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutVehicle_user_mappingInput, StatusUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type StatusUpdateWithoutVehicle_user_mappingInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutVehicle_user_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type VehiclesUpsertWithoutVehicle_user_mappingInput = {
    update: XOR<VehiclesUpdateWithoutVehicle_user_mappingInput, VehiclesUncheckedUpdateWithoutVehicle_user_mappingInput>
    create: XOR<VehiclesCreateWithoutVehicle_user_mappingInput, VehiclesUncheckedCreateWithoutVehicle_user_mappingInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutVehicle_user_mappingInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutVehicle_user_mappingInput, VehiclesUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type VehiclesUpdateWithoutVehicle_user_mappingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutVehicle_user_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type UserUpsertWithoutVehicle_user_mappingInput = {
    update: XOR<UserUpdateWithoutVehicle_user_mappingInput, UserUncheckedUpdateWithoutVehicle_user_mappingInput>
    create: XOR<UserCreateWithoutVehicle_user_mappingInput, UserUncheckedCreateWithoutVehicle_user_mappingInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_user_mappingInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_user_mappingInput, UserUncheckedUpdateWithoutVehicle_user_mappingInput>
  }

  export type UserUpdateWithoutVehicle_user_mappingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_user_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type VehiclesCreateWithoutVehicle_gps_dataInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutVehicle_gps_dataInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutVehicle_gps_dataInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutVehicle_gps_dataInput, VehiclesUncheckedCreateWithoutVehicle_gps_dataInput>
  }

  export type UserCreateWithoutVehicle_gps_dataInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_gps_dataInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_gps_dataInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_gps_dataInput, UserUncheckedCreateWithoutVehicle_gps_dataInput>
  }

  export type StatusCreateWithoutVehicle_gps_dataInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutVehicle_gps_dataInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutVehicle_gps_dataInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutVehicle_gps_dataInput, StatusUncheckedCreateWithoutVehicle_gps_dataInput>
  }

  export type VehiclesUpsertWithoutVehicle_gps_dataInput = {
    update: XOR<VehiclesUpdateWithoutVehicle_gps_dataInput, VehiclesUncheckedUpdateWithoutVehicle_gps_dataInput>
    create: XOR<VehiclesCreateWithoutVehicle_gps_dataInput, VehiclesUncheckedCreateWithoutVehicle_gps_dataInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutVehicle_gps_dataInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutVehicle_gps_dataInput, VehiclesUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type VehiclesUpdateWithoutVehicle_gps_dataInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutVehicle_gps_dataInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type UserUpsertWithoutVehicle_gps_dataInput = {
    update: XOR<UserUpdateWithoutVehicle_gps_dataInput, UserUncheckedUpdateWithoutVehicle_gps_dataInput>
    create: XOR<UserCreateWithoutVehicle_gps_dataInput, UserUncheckedCreateWithoutVehicle_gps_dataInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_gps_dataInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_gps_dataInput, UserUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type UserUpdateWithoutVehicle_gps_dataInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_gps_dataInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusUpsertWithoutVehicle_gps_dataInput = {
    update: XOR<StatusUpdateWithoutVehicle_gps_dataInput, StatusUncheckedUpdateWithoutVehicle_gps_dataInput>
    create: XOR<StatusCreateWithoutVehicle_gps_dataInput, StatusUncheckedCreateWithoutVehicle_gps_dataInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutVehicle_gps_dataInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutVehicle_gps_dataInput, StatusUncheckedUpdateWithoutVehicle_gps_dataInput>
  }

  export type StatusUpdateWithoutVehicle_gps_dataInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutVehicle_gps_dataInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type VehiclesCreateWithoutVehicle_gps_data_logInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutVehicle_gps_data_logInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutVehicle_gps_data_logInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutVehicle_gps_data_logInput, VehiclesUncheckedCreateWithoutVehicle_gps_data_logInput>
  }

  export type UserCreateWithoutVehicle_gps_data_logInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_gps_data_logInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_gps_data_logInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_gps_data_logInput, UserUncheckedCreateWithoutVehicle_gps_data_logInput>
  }

  export type VehiclesUpsertWithoutVehicle_gps_data_logInput = {
    update: XOR<VehiclesUpdateWithoutVehicle_gps_data_logInput, VehiclesUncheckedUpdateWithoutVehicle_gps_data_logInput>
    create: XOR<VehiclesCreateWithoutVehicle_gps_data_logInput, VehiclesUncheckedCreateWithoutVehicle_gps_data_logInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutVehicle_gps_data_logInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutVehicle_gps_data_logInput, VehiclesUncheckedUpdateWithoutVehicle_gps_data_logInput>
  }

  export type VehiclesUpdateWithoutVehicle_gps_data_logInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutVehicle_gps_data_logInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type UserUpsertWithoutVehicle_gps_data_logInput = {
    update: XOR<UserUpdateWithoutVehicle_gps_data_logInput, UserUncheckedUpdateWithoutVehicle_gps_data_logInput>
    create: XOR<UserCreateWithoutVehicle_gps_data_logInput, UserUncheckedCreateWithoutVehicle_gps_data_logInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_gps_data_logInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_gps_data_logInput, UserUncheckedUpdateWithoutVehicle_gps_data_logInput>
  }

  export type UserUpdateWithoutVehicle_gps_data_logInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_gps_data_logInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type VehiclesCreateWithoutVehicle_trip_historiesInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutVehicle_trip_historiesInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutVehicle_trip_historiesInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutVehicle_trip_historiesInput, VehiclesUncheckedCreateWithoutVehicle_trip_historiesInput>
  }

  export type UserCreateWithoutVehicle_trip_historiesInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_trip_historiesInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_trip_historiesInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_trip_historiesInput, UserUncheckedCreateWithoutVehicle_trip_historiesInput>
  }

  export type StatusCreateWithoutVehicle_trip_historiesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutVehicle_trip_historiesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutVehicle_trip_historiesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutVehicle_trip_historiesInput, StatusUncheckedCreateWithoutVehicle_trip_historiesInput>
  }

  export type VehiclesUpsertWithoutVehicle_trip_historiesInput = {
    update: XOR<VehiclesUpdateWithoutVehicle_trip_historiesInput, VehiclesUncheckedUpdateWithoutVehicle_trip_historiesInput>
    create: XOR<VehiclesCreateWithoutVehicle_trip_historiesInput, VehiclesUncheckedCreateWithoutVehicle_trip_historiesInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutVehicle_trip_historiesInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutVehicle_trip_historiesInput, VehiclesUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type VehiclesUpdateWithoutVehicle_trip_historiesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutVehicle_trip_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type UserUpsertWithoutVehicle_trip_historiesInput = {
    update: XOR<UserUpdateWithoutVehicle_trip_historiesInput, UserUncheckedUpdateWithoutVehicle_trip_historiesInput>
    create: XOR<UserCreateWithoutVehicle_trip_historiesInput, UserUncheckedCreateWithoutVehicle_trip_historiesInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_trip_historiesInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_trip_historiesInput, UserUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type UserUpdateWithoutVehicle_trip_historiesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_trip_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusUpsertWithoutVehicle_trip_historiesInput = {
    update: XOR<StatusUpdateWithoutVehicle_trip_historiesInput, StatusUncheckedUpdateWithoutVehicle_trip_historiesInput>
    create: XOR<StatusCreateWithoutVehicle_trip_historiesInput, StatusUncheckedCreateWithoutVehicle_trip_historiesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutVehicle_trip_historiesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutVehicle_trip_historiesInput, StatusUncheckedUpdateWithoutVehicle_trip_historiesInput>
  }

  export type StatusUpdateWithoutVehicle_trip_historiesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutVehicle_trip_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutGeofencesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutGeofencesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutGeofencesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutGeofencesInput, StatusUncheckedCreateWithoutGeofencesInput>
  }

  export type GeoFenceTrackingCreateWithoutGeofenceInput = {
    uuid?: string
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    vehicle: VehiclesCreateNestedOneWithoutGeo_fence_trackingInput
    status?: StatusCreateNestedOneWithoutGeofence_trackingInput
  }

  export type GeoFenceTrackingUncheckedCreateWithoutGeofenceInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type GeoFenceTrackingCreateOrConnectWithoutGeofenceInput = {
    where: GeoFenceTrackingWhereUniqueInput
    create: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput>
  }

  export type GeoFenceTrackingCreateManyGeofenceInputEnvelope = {
    data: GeoFenceTrackingCreateManyGeofenceInput | GeoFenceTrackingCreateManyGeofenceInput[]
    skipDuplicates?: boolean
  }

  export type CustomerGeoFenceMappingCreateWithoutGeofenceInput = {
    uuid?: string
    company_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
    status?: StatusCreateNestedOneWithoutCustomer_geofence_mappingInput
    user: UserCreateNestedOneWithoutCustomer_geofence_mappingInput
  }

  export type CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type CustomerGeoFenceMappingCreateOrConnectWithoutGeofenceInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    create: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput>
  }

  export type CustomerGeoFenceMappingCreateManyGeofenceInputEnvelope = {
    data: CustomerGeoFenceMappingCreateManyGeofenceInput | CustomerGeoFenceMappingCreateManyGeofenceInput[]
    skipDuplicates?: boolean
  }

  export type VehicleGeofenceHistoryCreateWithoutGeofenceInput = {
    uuid?: string
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
    vehicle: VehiclesCreateNestedOneWithoutVehicle_geofence_historyInput
    driver?: UserCreateNestedOneWithoutVehicle_geofence_history_driverInput
    customer: UserCreateNestedOneWithoutVehicle_geofence_history_customerInput
    shipment: ShipmentsCreateNestedOneWithoutVehicle_geofence_historyInput
    status?: StatusCreateNestedOneWithoutVehicle_geofence_historyInput
  }

  export type VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateOrConnectWithoutGeofenceInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    create: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput>
  }

  export type VehicleGeofenceHistoryCreateManyGeofenceInputEnvelope = {
    data: VehicleGeofenceHistoryCreateManyGeofenceInput | VehicleGeofenceHistoryCreateManyGeofenceInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutGeofencesInput = {
    update: XOR<StatusUpdateWithoutGeofencesInput, StatusUncheckedUpdateWithoutGeofencesInput>
    create: XOR<StatusCreateWithoutGeofencesInput, StatusUncheckedCreateWithoutGeofencesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutGeofencesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutGeofencesInput, StatusUncheckedUpdateWithoutGeofencesInput>
  }

  export type StatusUpdateWithoutGeofencesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutGeofencesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type GeoFenceTrackingUpsertWithWhereUniqueWithoutGeofenceInput = {
    where: GeoFenceTrackingWhereUniqueInput
    update: XOR<GeoFenceTrackingUpdateWithoutGeofenceInput, GeoFenceTrackingUncheckedUpdateWithoutGeofenceInput>
    create: XOR<GeoFenceTrackingCreateWithoutGeofenceInput, GeoFenceTrackingUncheckedCreateWithoutGeofenceInput>
  }

  export type GeoFenceTrackingUpdateWithWhereUniqueWithoutGeofenceInput = {
    where: GeoFenceTrackingWhereUniqueInput
    data: XOR<GeoFenceTrackingUpdateWithoutGeofenceInput, GeoFenceTrackingUncheckedUpdateWithoutGeofenceInput>
  }

  export type GeoFenceTrackingUpdateManyWithWhereWithoutGeofenceInput = {
    where: GeoFenceTrackingScalarWhereInput
    data: XOR<GeoFenceTrackingUpdateManyMutationInput, GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceInput>
  }

  export type CustomerGeoFenceMappingUpsertWithWhereUniqueWithoutGeofenceInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    update: XOR<CustomerGeoFenceMappingUpdateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedUpdateWithoutGeofenceInput>
    create: XOR<CustomerGeoFenceMappingCreateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedCreateWithoutGeofenceInput>
  }

  export type CustomerGeoFenceMappingUpdateWithWhereUniqueWithoutGeofenceInput = {
    where: CustomerGeoFenceMappingWhereUniqueInput
    data: XOR<CustomerGeoFenceMappingUpdateWithoutGeofenceInput, CustomerGeoFenceMappingUncheckedUpdateWithoutGeofenceInput>
  }

  export type CustomerGeoFenceMappingUpdateManyWithWhereWithoutGeofenceInput = {
    where: CustomerGeoFenceMappingScalarWhereInput
    data: XOR<CustomerGeoFenceMappingUpdateManyMutationInput, CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceInput>
  }

  export type VehicleGeofenceHistoryUpsertWithWhereUniqueWithoutGeofenceInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    update: XOR<VehicleGeofenceHistoryUpdateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedUpdateWithoutGeofenceInput>
    create: XOR<VehicleGeofenceHistoryCreateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedCreateWithoutGeofenceInput>
  }

  export type VehicleGeofenceHistoryUpdateWithWhereUniqueWithoutGeofenceInput = {
    where: VehicleGeofenceHistoryWhereUniqueInput
    data: XOR<VehicleGeofenceHistoryUpdateWithoutGeofenceInput, VehicleGeofenceHistoryUncheckedUpdateWithoutGeofenceInput>
  }

  export type VehicleGeofenceHistoryUpdateManyWithWhereWithoutGeofenceInput = {
    where: VehicleGeofenceHistoryScalarWhereInput
    data: XOR<VehicleGeofenceHistoryUpdateManyMutationInput, VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceInput>
  }

  export type VehiclesCreateWithoutGeo_fence_trackingInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutGeo_fence_trackingInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutGeo_fence_trackingInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutGeo_fence_trackingInput, VehiclesUncheckedCreateWithoutGeo_fence_trackingInput>
  }

  export type GeoFencesCreateWithoutGeofence_trackingInput = {
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutGeofencesInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUncheckedCreateWithoutGeofence_trackingInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesCreateOrConnectWithoutGeofence_trackingInput = {
    where: GeoFencesWhereUniqueInput
    create: XOR<GeoFencesCreateWithoutGeofence_trackingInput, GeoFencesUncheckedCreateWithoutGeofence_trackingInput>
  }

  export type StatusCreateWithoutGeofence_trackingInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutGeofence_trackingInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutGeofence_trackingInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutGeofence_trackingInput, StatusUncheckedCreateWithoutGeofence_trackingInput>
  }

  export type VehiclesUpsertWithoutGeo_fence_trackingInput = {
    update: XOR<VehiclesUpdateWithoutGeo_fence_trackingInput, VehiclesUncheckedUpdateWithoutGeo_fence_trackingInput>
    create: XOR<VehiclesCreateWithoutGeo_fence_trackingInput, VehiclesUncheckedCreateWithoutGeo_fence_trackingInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutGeo_fence_trackingInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutGeo_fence_trackingInput, VehiclesUncheckedUpdateWithoutGeo_fence_trackingInput>
  }

  export type VehiclesUpdateWithoutGeo_fence_trackingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutGeo_fence_trackingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type GeoFencesUpsertWithoutGeofence_trackingInput = {
    update: XOR<GeoFencesUpdateWithoutGeofence_trackingInput, GeoFencesUncheckedUpdateWithoutGeofence_trackingInput>
    create: XOR<GeoFencesCreateWithoutGeofence_trackingInput, GeoFencesUncheckedCreateWithoutGeofence_trackingInput>
    where?: GeoFencesWhereInput
  }

  export type GeoFencesUpdateToOneWithWhereWithoutGeofence_trackingInput = {
    where?: GeoFencesWhereInput
    data: XOR<GeoFencesUpdateWithoutGeofence_trackingInput, GeoFencesUncheckedUpdateWithoutGeofence_trackingInput>
  }

  export type GeoFencesUpdateWithoutGeofence_trackingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutGeofencesNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateWithoutGeofence_trackingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceNestedInput
  }

  export type StatusUpsertWithoutGeofence_trackingInput = {
    update: XOR<StatusUpdateWithoutGeofence_trackingInput, StatusUncheckedUpdateWithoutGeofence_trackingInput>
    create: XOR<StatusCreateWithoutGeofence_trackingInput, StatusUncheckedCreateWithoutGeofence_trackingInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutGeofence_trackingInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutGeofence_trackingInput, StatusUncheckedUpdateWithoutGeofence_trackingInput>
  }

  export type StatusUpdateWithoutGeofence_trackingInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutGeofence_trackingInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type VehiclesCreateWithoutVehicle_geofence_historyInput = {
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutVehiclesInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesUncheckedCreateWithoutVehicle_geofence_historyInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    status_id?: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutVehicleInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutVehicleInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutVehicleInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutVehicleInput
  }

  export type VehiclesCreateOrConnectWithoutVehicle_geofence_historyInput = {
    where: VehiclesWhereUniqueInput
    create: XOR<VehiclesCreateWithoutVehicle_geofence_historyInput, VehiclesUncheckedCreateWithoutVehicle_geofence_historyInput>
  }

  export type UserCreateWithoutVehicle_geofence_history_driverInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_geofence_history_driverInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_geofence_history_driverInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_geofence_history_driverInput, UserUncheckedCreateWithoutVehicle_geofence_history_driverInput>
  }

  export type UserCreateWithoutVehicle_geofence_history_customerInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutVehicle_geofence_history_customerInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutUserInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutVehicle_geofence_history_customerInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutVehicle_geofence_history_customerInput, UserUncheckedCreateWithoutVehicle_geofence_history_customerInput>
  }

  export type GeoFencesCreateWithoutVehicle_geofence_historyInput = {
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutGeofencesInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUncheckedCreateWithoutVehicle_geofence_historyInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutGeofenceInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesCreateOrConnectWithoutVehicle_geofence_historyInput = {
    where: GeoFencesWhereUniqueInput
    create: XOR<GeoFencesCreateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedCreateWithoutVehicle_geofence_historyInput>
  }

  export type ShipmentsCreateWithoutVehicle_geofence_historyInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
  }

  export type ShipmentsUncheckedCreateWithoutVehicle_geofence_historyInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
  }

  export type ShipmentsCreateOrConnectWithoutVehicle_geofence_historyInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedCreateWithoutVehicle_geofence_historyInput>
  }

  export type StatusCreateWithoutVehicle_geofence_historyInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutVehicle_geofence_historyInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutVehicle_geofence_historyInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutVehicle_geofence_historyInput, StatusUncheckedCreateWithoutVehicle_geofence_historyInput>
  }

  export type VehiclesUpsertWithoutVehicle_geofence_historyInput = {
    update: XOR<VehiclesUpdateWithoutVehicle_geofence_historyInput, VehiclesUncheckedUpdateWithoutVehicle_geofence_historyInput>
    create: XOR<VehiclesCreateWithoutVehicle_geofence_historyInput, VehiclesUncheckedCreateWithoutVehicle_geofence_historyInput>
    where?: VehiclesWhereInput
  }

  export type VehiclesUpdateToOneWithWhereWithoutVehicle_geofence_historyInput = {
    where?: VehiclesWhereInput
    data: XOR<VehiclesUpdateWithoutVehicle_geofence_historyInput, VehiclesUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type VehiclesUpdateWithoutVehicle_geofence_historyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehiclesNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutVehicle_geofence_historyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type UserUpsertWithoutVehicle_geofence_history_driverInput = {
    update: XOR<UserUpdateWithoutVehicle_geofence_history_driverInput, UserUncheckedUpdateWithoutVehicle_geofence_history_driverInput>
    create: XOR<UserCreateWithoutVehicle_geofence_history_driverInput, UserUncheckedCreateWithoutVehicle_geofence_history_driverInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_geofence_history_driverInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_geofence_history_driverInput, UserUncheckedUpdateWithoutVehicle_geofence_history_driverInput>
  }

  export type UserUpdateWithoutVehicle_geofence_history_driverInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_geofence_history_driverInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUpsertWithoutVehicle_geofence_history_customerInput = {
    update: XOR<UserUpdateWithoutVehicle_geofence_history_customerInput, UserUncheckedUpdateWithoutVehicle_geofence_history_customerInput>
    create: XOR<UserCreateWithoutVehicle_geofence_history_customerInput, UserUncheckedCreateWithoutVehicle_geofence_history_customerInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutVehicle_geofence_history_customerInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutVehicle_geofence_history_customerInput, UserUncheckedUpdateWithoutVehicle_geofence_history_customerInput>
  }

  export type UserUpdateWithoutVehicle_geofence_history_customerInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutVehicle_geofence_history_customerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type GeoFencesUpsertWithoutVehicle_geofence_historyInput = {
    update: XOR<GeoFencesUpdateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedUpdateWithoutVehicle_geofence_historyInput>
    create: XOR<GeoFencesCreateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedCreateWithoutVehicle_geofence_historyInput>
    where?: GeoFencesWhereInput
  }

  export type GeoFencesUpdateToOneWithWhereWithoutVehicle_geofence_historyInput = {
    where?: GeoFencesWhereInput
    data: XOR<GeoFencesUpdateWithoutVehicle_geofence_historyInput, GeoFencesUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type GeoFencesUpdateWithoutVehicle_geofence_historyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutGeofencesNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateWithoutVehicle_geofence_historyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceNestedInput
  }

  export type ShipmentsUpsertWithoutVehicle_geofence_historyInput = {
    update: XOR<ShipmentsUpdateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedUpdateWithoutVehicle_geofence_historyInput>
    create: XOR<ShipmentsCreateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedCreateWithoutVehicle_geofence_historyInput>
    where?: ShipmentsWhereInput
  }

  export type ShipmentsUpdateToOneWithWhereWithoutVehicle_geofence_historyInput = {
    where?: ShipmentsWhereInput
    data: XOR<ShipmentsUpdateWithoutVehicle_geofence_historyInput, ShipmentsUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type ShipmentsUpdateWithoutVehicle_geofence_historyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutVehicle_geofence_historyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
  }

  export type StatusUpsertWithoutVehicle_geofence_historyInput = {
    update: XOR<StatusUpdateWithoutVehicle_geofence_historyInput, StatusUncheckedUpdateWithoutVehicle_geofence_historyInput>
    create: XOR<StatusCreateWithoutVehicle_geofence_historyInput, StatusUncheckedCreateWithoutVehicle_geofence_historyInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutVehicle_geofence_historyInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutVehicle_geofence_historyInput, StatusUncheckedUpdateWithoutVehicle_geofence_historyInput>
  }

  export type StatusUpdateWithoutVehicle_geofence_historyInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutVehicle_geofence_historyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutCustomer_geofence_mappingInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutCustomer_geofence_mappingInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutCustomer_geofence_mappingInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutCustomer_geofence_mappingInput, StatusUncheckedCreateWithoutCustomer_geofence_mappingInput>
  }

  export type GeoFencesCreateWithoutCustomer_geofence_mappingInput = {
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutGeofencesInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesUncheckedCreateWithoutCustomer_geofence_mappingInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutGeofenceInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutGeofenceInput
  }

  export type GeoFencesCreateOrConnectWithoutCustomer_geofence_mappingInput = {
    where: GeoFencesWhereUniqueInput
    create: XOR<GeoFencesCreateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedCreateWithoutCustomer_geofence_mappingInput>
  }

  export type UserCreateWithoutCustomer_geofence_mappingInput = {
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    status?: StatusCreateNestedOneWithoutUsersInput
    user_detail?: UserDetailCreateNestedOneWithoutUserInput
    request_logs?: RequestLogCreateNestedManyWithoutUserInput
    roles?: UserRolesCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsCreateNestedManyWithoutUserInput
    otps?: OtpCreateNestedManyWithoutUserInput
    created?: UserCreateNestedOneWithoutCreated_usersInput
    updated?: UserCreateNestedOneWithoutUpdated_usersInput
    deleted?: UserCreateNestedOneWithoutDeleted_usersInput
    created_users?: UserCreateNestedManyWithoutCreatedInput
    updated_users?: UserCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailCreateNestedManyWithoutDeletedInput
    created_roles?: RoleCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageCreateNestedManyWithoutDeletedInput
    created_menus?: MenusCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesCreateNestedManyWithoutUserInput
    created_policy?: PoliciesCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogCreateNestedManyWithoutInitiatorInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutUserInput
  }

  export type UserUncheckedCreateWithoutCustomer_geofence_mappingInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
    user_detail?: UserDetailUncheckedCreateNestedOneWithoutUserInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutUserInput
    roles?: UserRolesUncheckedCreateNestedManyWithoutUserInput
    permissions?: UserPermissionsUncheckedCreateNestedManyWithoutUserInput
    otps?: OtpUncheckedCreateNestedManyWithoutUserInput
    created_users?: UserUncheckedCreateNestedManyWithoutCreatedInput
    updated_users?: UserUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_users?: UserUncheckedCreateNestedManyWithoutDeletedInput
    created_user_details?: UserDetailUncheckedCreateNestedManyWithoutCreatedInput
    updated_user_details?: UserDetailUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_user_details?: UserDetailUncheckedCreateNestedManyWithoutDeletedInput
    created_roles?: RoleUncheckedCreateNestedManyWithoutCreatedInput
    updated_roles?: RoleUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_roles?: RoleUncheckedCreateNestedManyWithoutDeletedInput
    created_languages?: LanguageUncheckedCreateNestedManyWithoutCreatedInput
    updated_languages?: LanguageUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_languages?: LanguageUncheckedCreateNestedManyWithoutDeletedInput
    created_menus?: MenusUncheckedCreateNestedManyWithoutCreatedInput
    updated_menus?: MenusUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menus?: MenusUncheckedCreateNestedManyWithoutDeletedInput
    created_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutCreatedInput
    updated_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_menu_items?: MenuItemsUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutCreatedInput
    created_notification_job?: NotificationJobUncheckedCreateNestedManyWithoutCreatedInput
    created_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutCreatedInput
    updated_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutDeletedInput
    created_departments?: DepartmentUncheckedCreateNestedManyWithoutCreatedInput
    head_departments?: DepartmentUncheckedCreateNestedManyWithoutDepartment_headInput
    updated_departments?: DepartmentUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_departments?: DepartmentUncheckedCreateNestedManyWithoutDeletedInput
    created_designations?: DesignationUncheckedCreateNestedManyWithoutCreatedInput
    updated_designations?: DesignationUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_designations?: DesignationUncheckedCreateNestedManyWithoutDeletedInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutUserInput
    created_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutCreated_category_typesInput
    updated_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutUpdated_category_typesInput
    deleted_category_types?: CategoryTypesUncheckedCreateNestedManyWithoutDeleted_category_typesInput
    created_categories?: CategoriesUncheckedCreateNestedManyWithoutCreated_categoriesInput
    updated_categories?: CategoriesUncheckedCreateNestedManyWithoutUpdated_categoriesInput
    deleted_categories?: CategoriesUncheckedCreateNestedManyWithoutDeleted_categoriesInput
    created_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutCreated_configurationsInput
    updated_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutUpdated_configurationsInput
    deleted_configurations?: ConfigurationsUncheckedCreateNestedManyWithoutDeleted_configurationsInput
    created_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutCreated_user_configurationsInput
    updated_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutUpdated_user_configurationsInput
    deleted_user_configurations?: UserConfigurationsUncheckedCreateNestedManyWithoutDeleted_user_configurationsInput
    created_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutCreatedInput
    updated_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_fin_years?: FinancialYearUncheckedCreateNestedManyWithoutDeletedInput
    created_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutCreatedInput
    updated_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutDeletedInput
    created_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutCreated_device_registrationInput
    updated_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUpdated_device_registrationInput
    deleted_device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutDeleted_device_registrationInput
    DeviceRegistration?: DeviceRegistrationUncheckedCreateNestedManyWithoutUserInput
    created_import_job?: ImportJobUncheckedCreateNestedManyWithoutCreatedInput
    updated_import_job?: ImportJobUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_import_job?: ImportJobUncheckedCreateNestedManyWithoutDeletedInput
    created_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutCreatedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutUpdatedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutDeletedInput
    user_policy?: UserPoliciesUncheckedCreateNestedManyWithoutUserInput
    created_policy?: PoliciesUncheckedCreateNestedManyWithoutCreated_policyInput
    updated_policy?: PoliciesUncheckedCreateNestedManyWithoutUpdated_policyInput
    deleted_policy?: PoliciesUncheckedCreateNestedManyWithoutDeleted_policyInput
    created_app_versions?: AppversionsUncheckedCreateNestedManyWithoutCreated_app_versionsInput
    updated_app_versions?: AppversionsUncheckedCreateNestedManyWithoutUpdated_app_versionsInput
    deleted_app_versions?: AppversionsUncheckedCreateNestedManyWithoutDeleted_app_versionsInput
    CreatedTheme?: ThemesUncheckedCreateNestedManyWithoutCreatedThemeInput
    UpdatedTheme?: ThemesUncheckedCreateNestedManyWithoutUpdatedThemeInput
    DeletedTheme?: ThemesUncheckedCreateNestedManyWithoutDeletedThemeInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutCreatedThemeLineItemsInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutUpdatedThemeLineItemsInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedCreateNestedManyWithoutDeletedThemeLineItemsInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutCreatedThemeAttributesInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutUpdatedThemeAttributesInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedCreateNestedManyWithoutDeletedThemeAttributesInput
    ChildProcessLog?: ChildProcessLogUncheckedCreateNestedManyWithoutInitiatorInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutUserInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutUserInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedCreateNestedManyWithoutUserInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutDriverInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutCustomerInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutCustomerInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutUserInput
    created_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutCreated_barcode_templatesInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutUpdated_barcode_templatesInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutDeleted_barcode_templatesInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutUserInput
  }

  export type UserCreateOrConnectWithoutCustomer_geofence_mappingInput = {
    where: UserWhereUniqueInput
    create: XOR<UserCreateWithoutCustomer_geofence_mappingInput, UserUncheckedCreateWithoutCustomer_geofence_mappingInput>
  }

  export type StatusUpsertWithoutCustomer_geofence_mappingInput = {
    update: XOR<StatusUpdateWithoutCustomer_geofence_mappingInput, StatusUncheckedUpdateWithoutCustomer_geofence_mappingInput>
    create: XOR<StatusCreateWithoutCustomer_geofence_mappingInput, StatusUncheckedCreateWithoutCustomer_geofence_mappingInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutCustomer_geofence_mappingInput, StatusUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type StatusUpdateWithoutCustomer_geofence_mappingInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutCustomer_geofence_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type GeoFencesUpsertWithoutCustomer_geofence_mappingInput = {
    update: XOR<GeoFencesUpdateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedUpdateWithoutCustomer_geofence_mappingInput>
    create: XOR<GeoFencesCreateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedCreateWithoutCustomer_geofence_mappingInput>
    where?: GeoFencesWhereInput
  }

  export type GeoFencesUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput = {
    where?: GeoFencesWhereInput
    data: XOR<GeoFencesUpdateWithoutCustomer_geofence_mappingInput, GeoFencesUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type GeoFencesUpdateWithoutCustomer_geofence_mappingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutGeofencesNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateWithoutCustomer_geofence_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceNestedInput
  }

  export type UserUpsertWithoutCustomer_geofence_mappingInput = {
    update: XOR<UserUpdateWithoutCustomer_geofence_mappingInput, UserUncheckedUpdateWithoutCustomer_geofence_mappingInput>
    create: XOR<UserCreateWithoutCustomer_geofence_mappingInput, UserUncheckedCreateWithoutCustomer_geofence_mappingInput>
    where?: UserWhereInput
  }

  export type UserUpdateToOneWithWhereWithoutCustomer_geofence_mappingInput = {
    where?: UserWhereInput
    data: XOR<UserUpdateWithoutCustomer_geofence_mappingInput, UserUncheckedUpdateWithoutCustomer_geofence_mappingInput>
  }

  export type UserUpdateWithoutCustomer_geofence_mappingInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCustomer_geofence_mappingInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type StatusCreateWithoutErp_logsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutErp_logsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutErp_logsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutErp_logsInput, StatusUncheckedCreateWithoutErp_logsInput>
  }

  export type ErpLogsLineItemsCreateWithoutErp_logsInput = {
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutErp_logs_line_itemsInput
  }

  export type ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ErpLogsLineItemsCreateOrConnectWithoutErp_logsInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    create: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput>
  }

  export type ErpLogsLineItemsCreateManyErp_logsInputEnvelope = {
    data: ErpLogsLineItemsCreateManyErp_logsInput | ErpLogsLineItemsCreateManyErp_logsInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutErp_logsInput = {
    update: XOR<StatusUpdateWithoutErp_logsInput, StatusUncheckedUpdateWithoutErp_logsInput>
    create: XOR<StatusCreateWithoutErp_logsInput, StatusUncheckedCreateWithoutErp_logsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutErp_logsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutErp_logsInput, StatusUncheckedUpdateWithoutErp_logsInput>
  }

  export type StatusUpdateWithoutErp_logsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutErp_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ErpLogsLineItemsUpsertWithWhereUniqueWithoutErp_logsInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    update: XOR<ErpLogsLineItemsUpdateWithoutErp_logsInput, ErpLogsLineItemsUncheckedUpdateWithoutErp_logsInput>
    create: XOR<ErpLogsLineItemsCreateWithoutErp_logsInput, ErpLogsLineItemsUncheckedCreateWithoutErp_logsInput>
  }

  export type ErpLogsLineItemsUpdateWithWhereUniqueWithoutErp_logsInput = {
    where: ErpLogsLineItemsWhereUniqueInput
    data: XOR<ErpLogsLineItemsUpdateWithoutErp_logsInput, ErpLogsLineItemsUncheckedUpdateWithoutErp_logsInput>
  }

  export type ErpLogsLineItemsUpdateManyWithWhereWithoutErp_logsInput = {
    where: ErpLogsLineItemsScalarWhereInput
    data: XOR<ErpLogsLineItemsUpdateManyMutationInput, ErpLogsLineItemsUncheckedUpdateManyWithoutErp_logsInput>
  }

  export type ErpLogsCreateWithoutErp_logs_line_itemsInput = {
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: $Enums.SyncData
    sync_number?: string | null
    status?: StatusCreateNestedOneWithoutErp_logsInput
  }

  export type ErpLogsUncheckedCreateWithoutErp_logs_line_itemsInput = {
    id?: number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    sync_status?: $Enums.SyncData
    sync_number?: string | null
  }

  export type ErpLogsCreateOrConnectWithoutErp_logs_line_itemsInput = {
    where: ErpLogsWhereUniqueInput
    create: XOR<ErpLogsCreateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedCreateWithoutErp_logs_line_itemsInput>
  }

  export type StatusCreateWithoutErp_logs_line_itemsInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutErp_logs_line_itemsInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutErp_logs_line_itemsInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutErp_logs_line_itemsInput, StatusUncheckedCreateWithoutErp_logs_line_itemsInput>
  }

  export type ErpLogsUpsertWithoutErp_logs_line_itemsInput = {
    update: XOR<ErpLogsUpdateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedUpdateWithoutErp_logs_line_itemsInput>
    create: XOR<ErpLogsCreateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedCreateWithoutErp_logs_line_itemsInput>
    where?: ErpLogsWhereInput
  }

  export type ErpLogsUpdateToOneWithWhereWithoutErp_logs_line_itemsInput = {
    where?: ErpLogsWhereInput
    data: XOR<ErpLogsUpdateWithoutErp_logs_line_itemsInput, ErpLogsUncheckedUpdateWithoutErp_logs_line_itemsInput>
  }

  export type ErpLogsUpdateWithoutErp_logs_line_itemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutErp_logsNestedInput
  }

  export type ErpLogsUncheckedUpdateWithoutErp_logs_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type StatusUpsertWithoutErp_logs_line_itemsInput = {
    update: XOR<StatusUpdateWithoutErp_logs_line_itemsInput, StatusUncheckedUpdateWithoutErp_logs_line_itemsInput>
    create: XOR<StatusCreateWithoutErp_logs_line_itemsInput, StatusUncheckedCreateWithoutErp_logs_line_itemsInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutErp_logs_line_itemsInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutErp_logs_line_itemsInput, StatusUncheckedUpdateWithoutErp_logs_line_itemsInput>
  }

  export type StatusUpdateWithoutErp_logs_line_itemsInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutErp_logs_line_itemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutTemp_session_dataInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutTemp_session_dataInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutTemp_session_dataInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutTemp_session_dataInput, StatusUncheckedCreateWithoutTemp_session_dataInput>
  }

  export type StatusUpsertWithoutTemp_session_dataInput = {
    update: XOR<StatusUpdateWithoutTemp_session_dataInput, StatusUncheckedUpdateWithoutTemp_session_dataInput>
    create: XOR<StatusCreateWithoutTemp_session_dataInput, StatusUncheckedCreateWithoutTemp_session_dataInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutTemp_session_dataInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutTemp_session_dataInput, StatusUncheckedUpdateWithoutTemp_session_dataInput>
  }

  export type StatusUpdateWithoutTemp_session_dataInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutTemp_session_dataInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutShipment_statusInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_statusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_statusInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_statusInput, StatusUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentsCreateWithoutShipment_statusInput = {
    uuid?: string
    shipment_number: string
    company_id: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    status?: StatusCreateNestedOneWithoutShipmentsInput
    vehicle: VehiclesCreateNestedOneWithoutShipmentsInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsUncheckedCreateWithoutShipment_statusInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipmentsInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipmentsInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutShipmentInput
  }

  export type ShipmentsCreateOrConnectWithoutShipment_statusInput = {
    where: ShipmentsWhereUniqueInput
    create: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentsCreateManyShipment_statusInputEnvelope = {
    data: ShipmentsCreateManyShipment_statusInput | ShipmentsCreateManyShipment_statusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentCustomersCreateWithoutShipment_statusInput = {
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipments: ShipmentsCreateNestedOneWithoutShipment_customersInput
    status?: StatusCreateNestedOneWithoutShipment_customersInput
    customer: UserCreateNestedOneWithoutShipment_customersInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersUncheckedCreateWithoutShipment_statusInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutShipment_customersInput
  }

  export type ShipmentCustomersCreateOrConnectWithoutShipment_statusInput = {
    where: ShipmentCustomersWhereUniqueInput
    create: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentCustomersCreateManyShipment_statusInputEnvelope = {
    data: ShipmentCustomersCreateManyShipment_statusInput | ShipmentCustomersCreateManyShipment_statusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentsLocationCreateWithoutShipment_statusInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    pod_status?: PodStatusCreateNestedOneWithoutShipments_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutShipment_statusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutShipment_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentsLocationCreateManyShipment_statusInputEnvelope = {
    data: ShipmentsLocationCreateManyShipment_statusInput | ShipmentsLocationCreateManyShipment_statusInput[]
    skipDuplicates?: boolean
  }

  export type ShipmentDeliveryNotesCreateWithoutShipment_statusInput = {
    uuid?: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    delivery_note: DeliveryNotesCreateNestedOneWithoutShipment_delivery_notesInput
    status?: StatusCreateNestedOneWithoutShipment_delivery_notesInput
    shipment_location: ShipmentsLocationCreateNestedOneWithoutShipment_delivery_notesInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_delivery_notesInput
  }

  export type ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateOrConnectWithoutShipment_statusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentDeliveryNotesCreateManyShipment_statusInputEnvelope = {
    data: ShipmentDeliveryNotesCreateManyShipment_statusInput | ShipmentDeliveryNotesCreateManyShipment_statusInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutShipment_statusInput = {
    update: XOR<StatusUpdateWithoutShipment_statusInput, StatusUncheckedUpdateWithoutShipment_statusInput>
    create: XOR<StatusCreateWithoutShipment_statusInput, StatusUncheckedCreateWithoutShipment_statusInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_statusInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_statusInput, StatusUncheckedUpdateWithoutShipment_statusInput>
  }

  export type StatusUpdateWithoutShipment_statusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentsUpsertWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentsWhereUniqueInput
    update: XOR<ShipmentsUpdateWithoutShipment_statusInput, ShipmentsUncheckedUpdateWithoutShipment_statusInput>
    create: XOR<ShipmentsCreateWithoutShipment_statusInput, ShipmentsUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentsUpdateWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentsWhereUniqueInput
    data: XOR<ShipmentsUpdateWithoutShipment_statusInput, ShipmentsUncheckedUpdateWithoutShipment_statusInput>
  }

  export type ShipmentsUpdateManyWithWhereWithoutShipment_statusInput = {
    where: ShipmentsScalarWhereInput
    data: XOR<ShipmentsUpdateManyMutationInput, ShipmentsUncheckedUpdateManyWithoutShipment_statusInput>
  }

  export type ShipmentCustomersUpsertWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentCustomersWhereUniqueInput
    update: XOR<ShipmentCustomersUpdateWithoutShipment_statusInput, ShipmentCustomersUncheckedUpdateWithoutShipment_statusInput>
    create: XOR<ShipmentCustomersCreateWithoutShipment_statusInput, ShipmentCustomersUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentCustomersUpdateWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentCustomersWhereUniqueInput
    data: XOR<ShipmentCustomersUpdateWithoutShipment_statusInput, ShipmentCustomersUncheckedUpdateWithoutShipment_statusInput>
  }

  export type ShipmentCustomersUpdateManyWithWhereWithoutShipment_statusInput = {
    where: ShipmentCustomersScalarWhereInput
    data: XOR<ShipmentCustomersUpdateManyMutationInput, ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusInput>
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutShipment_statusInput, ShipmentsLocationUncheckedUpdateWithoutShipment_statusInput>
    create: XOR<ShipmentsLocationCreateWithoutShipment_statusInput, ShipmentsLocationUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutShipment_statusInput, ShipmentsLocationUncheckedUpdateWithoutShipment_statusInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutShipment_statusInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusInput>
  }

  export type ShipmentDeliveryNotesUpsertWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    update: XOR<ShipmentDeliveryNotesUpdateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_statusInput>
    create: XOR<ShipmentDeliveryNotesCreateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedCreateWithoutShipment_statusInput>
  }

  export type ShipmentDeliveryNotesUpdateWithWhereUniqueWithoutShipment_statusInput = {
    where: ShipmentDeliveryNotesWhereUniqueInput
    data: XOR<ShipmentDeliveryNotesUpdateWithoutShipment_statusInput, ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_statusInput>
  }

  export type ShipmentDeliveryNotesUpdateManyWithWhereWithoutShipment_statusInput = {
    where: ShipmentDeliveryNotesScalarWhereInput
    data: XOR<ShipmentDeliveryNotesUpdateManyMutationInput, ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusInput>
  }

  export type StatusCreateWithoutShipment_status_historyInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_status_historyInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_status_historyInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_status_historyInput, StatusUncheckedCreateWithoutShipment_status_historyInput>
  }

  export type StatusUpsertWithoutShipment_status_historyInput = {
    update: XOR<StatusUpdateWithoutShipment_status_historyInput, StatusUncheckedUpdateWithoutShipment_status_historyInput>
    create: XOR<StatusCreateWithoutShipment_status_historyInput, StatusUncheckedCreateWithoutShipment_status_historyInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_status_historyInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_status_historyInput, StatusUncheckedUpdateWithoutShipment_status_historyInput>
  }

  export type StatusUpdateWithoutShipment_status_historyInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_status_historyInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutPod_statusInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutPod_statusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutPod_statusInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutPod_statusInput, StatusUncheckedCreateWithoutPod_statusInput>
  }

  export type ShipmentsLocationCreateWithoutPod_statusInput = {
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    shipment_location_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    customer_address: CustomerDeliveryAddressesCreateNestedOneWithoutShipment_locationInput
    status?: StatusCreateNestedOneWithoutShipment_locationInput
    shipment_status?: ShipmentStatusCreateNestedOneWithoutShipment_locationInput
    shipment_customers: ShipmentCustomersCreateNestedOneWithoutShipment_locationInput
    shipments: ShipmentsCreateNestedOneWithoutShipment_locationInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationUncheckedCreateWithoutPod_statusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutShipment_locationInput
  }

  export type ShipmentsLocationCreateOrConnectWithoutPod_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    create: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput>
  }

  export type ShipmentsLocationCreateManyPod_statusInputEnvelope = {
    data: ShipmentsLocationCreateManyPod_statusInput | ShipmentsLocationCreateManyPod_statusInput[]
    skipDuplicates?: boolean
  }

  export type StatusUpsertWithoutPod_statusInput = {
    update: XOR<StatusUpdateWithoutPod_statusInput, StatusUncheckedUpdateWithoutPod_statusInput>
    create: XOR<StatusCreateWithoutPod_statusInput, StatusUncheckedCreateWithoutPod_statusInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutPod_statusInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutPod_statusInput, StatusUncheckedUpdateWithoutPod_statusInput>
  }

  export type StatusUpdateWithoutPod_statusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutPod_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type ShipmentsLocationUpsertWithWhereUniqueWithoutPod_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    update: XOR<ShipmentsLocationUpdateWithoutPod_statusInput, ShipmentsLocationUncheckedUpdateWithoutPod_statusInput>
    create: XOR<ShipmentsLocationCreateWithoutPod_statusInput, ShipmentsLocationUncheckedCreateWithoutPod_statusInput>
  }

  export type ShipmentsLocationUpdateWithWhereUniqueWithoutPod_statusInput = {
    where: ShipmentsLocationWhereUniqueInput
    data: XOR<ShipmentsLocationUpdateWithoutPod_statusInput, ShipmentsLocationUncheckedUpdateWithoutPod_statusInput>
  }

  export type ShipmentsLocationUpdateManyWithWhereWithoutPod_statusInput = {
    where: ShipmentsLocationScalarWhereInput
    data: XOR<ShipmentsLocationUpdateManyMutationInput, ShipmentsLocationUncheckedUpdateManyWithoutPod_statusInput>
  }

  export type StatusCreateWithoutShipment_location_contact_info_historiesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_location_contact_info_historiesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_images?: ShipmentImagesUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_location_contact_info_historiesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedCreateWithoutShipment_location_contact_info_historiesInput>
  }

  export type StatusUpsertWithoutShipment_location_contact_info_historiesInput = {
    update: XOR<StatusUpdateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedUpdateWithoutShipment_location_contact_info_historiesInput>
    create: XOR<StatusCreateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedCreateWithoutShipment_location_contact_info_historiesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_location_contact_info_historiesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_location_contact_info_historiesInput, StatusUncheckedUpdateWithoutShipment_location_contact_info_historiesInput>
  }

  export type StatusUpdateWithoutShipment_location_contact_info_historiesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_location_contact_info_historiesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusCreateWithoutShipment_imagesInput = {
    name: string
    slug: string
    description?: string | null
    status?: StatusCreateNestedOneWithoutStatus_listInput
    status_list?: StatusCreateNestedManyWithoutStatusInput
    users?: UserCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogCreateNestedManyWithoutStatusInput
    permissions?: PermissionsCreateNestedManyWithoutStatusInput
    roles?: RoleCreateNestedManyWithoutStatusInput
    languages?: LanguageCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsCreateNestedManyWithoutStatusInput
    menus?: MenusCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesCreateNestedManyWithoutStatusInput
    designations?: DesignationCreateNestedManyWithoutStatusInput
    departments?: DepartmentCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationCreateNestedManyWithoutStatusInput
    import_job?: ImportJobCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemCreateNestedManyWithoutStatusInput
    policies?: PoliciesCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserCreateNestedManyWithoutStatusInput
    delegations?: DelegationCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesCreateNestedManyWithoutStatusInput
    themes?: ThemesCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationCreateNestedManyWithoutStatusInput
  }

  export type StatusUncheckedCreateWithoutShipment_imagesInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    status_id?: number | null
    status_list?: StatusUncheckedCreateNestedManyWithoutStatusInput
    users?: UserUncheckedCreateNestedManyWithoutStatusInput
    request_logs?: RequestLogUncheckedCreateNestedManyWithoutStatusInput
    permissions?: PermissionsUncheckedCreateNestedManyWithoutStatusInput
    roles?: RoleUncheckedCreateNestedManyWithoutStatusInput
    languages?: LanguageUncheckedCreateNestedManyWithoutStatusInput
    language_contents?: LanguageContentUncheckedCreateNestedManyWithoutStatusInput
    menuitems?: MenuItemsUncheckedCreateNestedManyWithoutStatusInput
    menus?: MenusUncheckedCreateNestedManyWithoutStatusInput
    master_grids?: MasterEntityUncheckedCreateNestedManyWithoutStatusInput
    master_grid_line_items?: MasterEntityLineItemUncheckedCreateNestedManyWithoutStatusInput
    field_types?: FieldTypeUncheckedCreateNestedManyWithoutStatusInput
    menu_types?: menuTypeUncheckedCreateNestedManyWithoutStatusInput
    notification_template_processes?: NotificationTemplateProcessUncheckedCreateNestedManyWithoutStatusInput
    notification_template_tags?: NotificationTemplateTagUncheckedCreateNestedManyWithoutStatusInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedCreateNestedManyWithoutStatusInput
    notification_templates?: NotificationTemplateUncheckedCreateNestedManyWithoutStatusInput
    notification_process_jobs?: NotificationProcessJobUncheckedCreateNestedManyWithoutStatusInput
    notification_job?: NotificationJobUncheckedCreateNestedManyWithoutStatusInput
    import_templates?: ImportTemplateUncheckedCreateNestedManyWithoutStatusInput
    import_template_line_items?: ImportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    import_template_queries?: ImportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    export_templates?: ExportTemplateUncheckedCreateNestedManyWithoutStatusInput
    export_template_line_items?: ExportTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    export_template_queries?: ExportTemplateQueriesUncheckedCreateNestedManyWithoutStatusInput
    designations?: DesignationUncheckedCreateNestedManyWithoutStatusInput
    departments?: DepartmentUncheckedCreateNestedManyWithoutStatusInput
    audit_logs?: AuditLogUncheckedCreateNestedManyWithoutStatusInput
    financial_years?: FinancialYearUncheckedCreateNestedManyWithoutStatusInput
    document_sequences?: DocumentSequenceUncheckedCreateNestedManyWithoutStatusInput
    file_upload_logs?: FileUploadLogUncheckedCreateNestedManyWithoutStatusInput
    device_registration?: DeviceRegistrationUncheckedCreateNestedManyWithoutStatusInput
    import_job?: ImportJobUncheckedCreateNestedManyWithoutStatusInput
    import_job_line_items?: ImportJobLineItemUncheckedCreateNestedManyWithoutStatusInput
    policies?: PoliciesUncheckedCreateNestedManyWithoutStatusInput
    app_versions?: AppversionsUncheckedCreateNestedManyWithoutStatusInput
    approval_workflows?: ApprovalWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedCreateNestedManyWithoutStatusInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job?: ApprovalProcessJobUncheckedCreateNestedManyWithoutStatusInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedCreateNestedManyWithoutStatusInput
    delegations?: DelegationUncheckedCreateNestedManyWithoutStatusInput
    about_lcp?: AboutLCPUncheckedCreateNestedManyWithoutStatusInput
    schema_chunks?: SchemaChunkUncheckedCreateNestedManyWithoutStatusInput
    openai_usage_logs?: OpenaiUsageLogUncheckedCreateNestedManyWithoutStatusInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedCreateNestedManyWithoutStatusInput
    query_execution_log?: QueryExecutionLogUncheckedCreateNestedManyWithoutStatusInput
    child_processes?: ChildProcessUncheckedCreateNestedManyWithoutStatusInput
    child_process_logs?: ChildProcessLogUncheckedCreateNestedManyWithoutStatusInput
    carousel_templates?: CarouselTemplateUncheckedCreateNestedManyWithoutStatusInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedCreateNestedManyWithoutStatusInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedCreateNestedManyWithoutStatusInput
    scheduled_jobs?: ScheduledJobUncheckedCreateNestedManyWithoutStatusInput
    app_categories?: CategoriesUncheckedCreateNestedManyWithoutStatusInput
    theme_attributes?: ThemeAttributesUncheckedCreateNestedManyWithoutStatusInput
    themes?: ThemesUncheckedCreateNestedManyWithoutStatusInput
    theme_line_items?: ThemeLineItemsUncheckedCreateNestedManyWithoutStatusInput
    barcodeTemplates?: BarcodeTemplatesUncheckedCreateNestedManyWithoutStatusInput
    user_login_histories?: UserLoginHistoryUncheckedCreateNestedManyWithoutStatusInput
    direct_import_details?: DirectImportDetailsUncheckedCreateNestedManyWithoutStatusInput
    delivery_notes?: DeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedCreateNestedManyWithoutStatusInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedCreateNestedManyWithoutStatusInput
    shipments?: ShipmentsUncheckedCreateNestedManyWithoutStatusInput
    shipment_customers?: ShipmentCustomersUncheckedCreateNestedManyWithoutStatusInput
    shipment_location?: ShipmentsLocationUncheckedCreateNestedManyWithoutStatusInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedCreateNestedManyWithoutStatusInput
    vehicles?: VehiclesUncheckedCreateNestedManyWithoutStatusInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedCreateNestedManyWithoutStatusInput
    geofences?: GeoFencesUncheckedCreateNestedManyWithoutStatusInput
    geofence_tracking?: GeoFenceTrackingUncheckedCreateNestedManyWithoutStatusInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedCreateNestedManyWithoutStatusInput
    delivery_note_status?: DeliveryNoteStatusUncheckedCreateNestedManyWithoutStatusInput
    erp_logs?: ErpLogsUncheckedCreateNestedManyWithoutStatusInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedCreateNestedManyWithoutStatusInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedCreateNestedManyWithoutStatusInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedCreateNestedManyWithoutStatusInput
    temp_session_data?: TempSessionDataUncheckedCreateNestedManyWithoutStatusInput
    shipment_status?: ShipmentStatusUncheckedCreateNestedManyWithoutStatusInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedCreateNestedManyWithoutStatusInput
    pod_status?: PodStatusUncheckedCreateNestedManyWithoutStatusInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedCreateNestedManyWithoutStatusInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedCreateNestedManyWithoutStatusInput
    tree_builder_examples?: TreeBuilderExampleUncheckedCreateNestedManyWithoutStatusInput
    user_search_configurations?: userSearchConfigurationUncheckedCreateNestedManyWithoutStatusInput
  }

  export type StatusCreateOrConnectWithoutShipment_imagesInput = {
    where: StatusWhereUniqueInput
    create: XOR<StatusCreateWithoutShipment_imagesInput, StatusUncheckedCreateWithoutShipment_imagesInput>
  }

  export type StatusUpsertWithoutShipment_imagesInput = {
    update: XOR<StatusUpdateWithoutShipment_imagesInput, StatusUncheckedUpdateWithoutShipment_imagesInput>
    create: XOR<StatusCreateWithoutShipment_imagesInput, StatusUncheckedCreateWithoutShipment_imagesInput>
    where?: StatusWhereInput
  }

  export type StatusUpdateToOneWithWhereWithoutShipment_imagesInput = {
    where?: StatusWhereInput
    data: XOR<StatusUpdateWithoutShipment_imagesInput, StatusUncheckedUpdateWithoutShipment_imagesInput>
  }

  export type StatusUpdateWithoutShipment_imagesInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneWithoutStatus_listNestedInput
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutShipment_imagesInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type RequestLogCreateManyUserInput = {
    id?: bigint | number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    status_id?: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type UserRolesCreateManyUserInput = {
    role_id: number
  }

  export type UserPermissionsCreateManyUserInput = {
    permission_id: number
  }

  export type OtpCreateManyUserInput = {
    id?: number
    otp: string
    type?: $Enums.OtpType
    notification_template_process_slug: string
    created_at?: Date | string
    verified_at?: Date | string | null
  }

  export type UserCreateManyCreatedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
  }

  export type UserCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
  }

  export type UserCreateManyDeletedInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    status_id?: number
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
  }

  export type UserDetailCreateManyCreatedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateManyUpdatedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailCreateManyDeletedInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type RoleCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RoleCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RoleCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsCreateManyCreatedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsCreateManyUpdatedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsCreateManyDeletedInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type NotificationTemplateCreateManyCreatedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
  }

  export type NotificationTemplateCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    deleted_by?: number | null
  }

  export type NotificationTemplateCreateManyDeletedInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
  }

  export type NotificationTemplateAssignmentCreateManyCreatedInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
  }

  export type NotificationProcessJobCreateManyCreatedInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    status_id?: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
  }

  export type NotificationJobCreateManyCreatedInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    status_id?: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type ImportTemplateCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportTemplateCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportTemplateCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ExportTemplateCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ExportTemplateCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ExportTemplateCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateManyCreatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateManyDepartment_headInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateManyDeletedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    department_head_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DesignationCreateManyCreatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DesignationCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DesignationCreateManyDeletedInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type AuditLogCreateManyUserInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    status_id?: number
    company_id?: number | null
    created_at?: Date | string
  }

  export type CategoryTypesCreateManyCreated_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoryTypesCreateManyUpdated_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoryTypesCreateManyDeleted_category_typesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    name: string
    description?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoriesCreateManyCreated_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoriesCreateManyUpdated_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoriesCreateManyDeleted_categoriesInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateManyCreated_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateManyUpdated_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsCreateManyDeleted_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateManyCreated_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateManyUpdated_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateManyDeleted_user_configurationsInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    category_id: string
    category_type_id?: string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type FinancialYearCreateManyCreatedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type FinancialYearCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type FinancialYearCreateManyDeletedInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateManyCreatedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateManyDeletedInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateManyCreated_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateManyUpdated_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateManyDeleted_device_registrationInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    user_id: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DeviceRegistrationCreateManyUserInput = {
    id?: number
    uuid?: string
    device_name: string
    device_unique_id: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobCreateManyCreatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobCreateManyDeletedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateManyCreatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateManyUpdatedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateManyDeletedInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type UserPoliciesCreateManyUserInput = {
    policy_id: number
  }

  export type PoliciesCreateManyCreated_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type PoliciesCreateManyUpdated_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type PoliciesCreateManyDeleted_policyInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type AppversionsCreateManyCreated_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateManyUpdated_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type AppversionsCreateManyDeleted_app_versionsInput = {
    id?: number
    uuid?: string
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type ThemesCreateManyCreatedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemesCreateManyUpdatedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemesCreateManyDeletedThemeInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateManyCreatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateManyUpdatedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateManyDeletedThemeLineItemsInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateManyCreatedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateManyUpdatedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateManyDeletedThemeAttributesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogCreateManyInitiatorInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CustomerGeoFenceMappingCreateManyUserInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    geofence_id: number
    order_no: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type VehicleUserMappingCreateManyUserInput = {
    id?: number
    uuid?: string
    status_id?: number
    vehicle_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type DeliveryNotesCreateManyCustomerInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type VehiclesGpsDataCreateManyUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogCreateManyUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehicleGeofenceHistoryCreateManyDriverInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateManyCustomerInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type ShipmentCustomersCreateManyCustomerInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type VehicleTripHistoriesCreateManyUserInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type BarcodeTemplatesCreateManyCreated_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateManyUpdated_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateManyDeleted_barcode_templatesInput = {
    id?: number
    uuid?: string
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type UserLoginHistoryCreateManyUserInput = {
    id?: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    status_id?: number
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type RequestLogUpdateWithoutUserInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRequest_logsNestedInput
  }

  export type RequestLogUncheckedUpdateWithoutUserInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RequestLogUncheckedUpdateManyWithoutUserInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserRolesUpdateWithoutUserInput = {
    role?: RoleUpdateOneRequiredWithoutUsersNestedInput
  }

  export type UserRolesUncheckedUpdateWithoutUserInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserRolesUncheckedUpdateManyWithoutUserInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsUpdateWithoutUserInput = {
    permission?: PermissionsUpdateOneRequiredWithoutUsersNestedInput
  }

  export type UserPermissionsUncheckedUpdateWithoutUserInput = {
    permission_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsUncheckedUpdateManyWithoutUserInput = {
    permission_id?: IntFieldUpdateOperationsInput | number
  }

  export type OtpUpdateWithoutUserInput = {
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OtpUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OtpUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    otp?: StringFieldUpdateOperationsInput | string
    type?: EnumOtpTypeFieldUpdateOperationsInput | $Enums.OtpType
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    verified_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type UserUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type UserUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutUsersNestedInput
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type UserDetailUpdateWithoutCreatedInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUpdateWithoutUpdatedInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUpdateWithoutDeletedInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type RoleUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type RoleUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RoleUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type RoleUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RoleUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutRolesNestedInput
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type RoleUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutLanguagesNestedInput
    translations?: LanguageContentUpdateManyWithoutLanguageNestedInput
    updated?: UserUpdateOneWithoutUpdated_languagesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_languagesNestedInput
  }

  export type LanguageUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput
  }

  export type LanguageUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutLanguagesNestedInput
    translations?: LanguageContentUpdateManyWithoutLanguageNestedInput
    created?: UserUpdateOneWithoutCreated_languagesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_languagesNestedInput
  }

  export type LanguageUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput
  }

  export type LanguageUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutLanguagesNestedInput
    translations?: LanguageContentUpdateManyWithoutLanguageNestedInput
    created?: UserUpdateOneWithoutCreated_languagesNestedInput
    updated?: UserUpdateOneWithoutUpdated_languagesNestedInput
  }

  export type LanguageUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput
  }

  export type LanguageUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenusUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutMenusNestedInput
    updated?: UserUpdateOneWithoutUpdated_menusNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menusNestedInput
  }

  export type MenusUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUncheckedUpdateManyWithoutMenusNestedInput
  }

  export type MenusUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenusUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutMenusNestedInput
    created?: UserUpdateOneWithoutCreated_menusNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menusNestedInput
  }

  export type MenusUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUncheckedUpdateManyWithoutMenusNestedInput
  }

  export type MenusUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenusUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutMenusNestedInput
    created?: UserUpdateOneWithoutCreated_menusNestedInput
    updated?: UserUpdateOneWithoutUpdated_menusNestedInput
  }

  export type MenusUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUncheckedUpdateManyWithoutMenusNestedInput
  }

  export type MenusUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsUpdateWithoutCreatedInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsUpdateWithoutUpdatedInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsUpdateWithoutDeletedInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationTemplateUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationTemplateUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationTemplateUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationTemplateAssignmentUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    notification_template?: NotificationTemplateUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    email_template_cc_bcc?: EmailTemplateCcBccUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationProcessJobUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutNotification_process_jobsNestedInput
  }

  export type NotificationProcessJobUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationProcessJobUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationJobUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_jobNestedInput
  }

  export type NotificationJobUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationJobUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_carousel_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_carousel_templatesNestedInput
    line_items?: CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_carousel_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_carousel_templatesNestedInput
    line_items?: CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutCarousel_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_carousel_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_carousel_templatesNestedInput
    line_items?: CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutExport_templatesNestedInput
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpdateWithoutDepartment_headInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutDepartment_headInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentUncheckedUpdateManyWithoutDepartment_headInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDepartmentsNestedInput
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DesignationUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDesignationsNestedInput
    users?: UserDetailUpdateManyWithoutDesignationNestedInput
    updated?: UserUpdateOneWithoutUpdated_designationsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_designationsNestedInput
  }

  export type DesignationUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDesignationNestedInput
  }

  export type DesignationUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DesignationUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDesignationsNestedInput
    users?: UserDetailUpdateManyWithoutDesignationNestedInput
    created?: UserUpdateOneWithoutCreated_designationsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_designationsNestedInput
  }

  export type DesignationUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDesignationNestedInput
  }

  export type DesignationUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DesignationUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDesignationsNestedInput
    users?: UserDetailUpdateManyWithoutDesignationNestedInput
    created?: UserUpdateOneWithoutCreated_designationsNestedInput
    updated?: UserUpdateOneWithoutUpdated_designationsNestedInput
  }

  export type DesignationUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDesignationNestedInput
  }

  export type DesignationUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AuditLogUpdateWithoutUserInput = {
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutAudit_logsNestedInput
  }

  export type AuditLogUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type AuditLogUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CategoryTypesUpdateWithoutCreated_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    updated_category_types?: UserUpdateOneWithoutUpdated_category_typesNestedInput
    deleted_category_types?: UserUpdateOneWithoutDeleted_category_typesNestedInput
    categories?: CategoriesUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateWithoutCreated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    categories?: CategoriesUncheckedUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoryTypesUpdateWithoutUpdated_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_category_types?: UserUpdateOneWithoutCreated_category_typesNestedInput
    deleted_category_types?: UserUpdateOneWithoutDeleted_category_typesNestedInput
    categories?: CategoriesUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateWithoutUpdated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    categories?: CategoriesUncheckedUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoryTypesUpdateWithoutDeleted_category_typesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_category_types?: UserUpdateOneWithoutCreated_category_typesNestedInput
    updated_category_types?: UserUpdateOneWithoutUpdated_category_typesNestedInput
    categories?: CategoriesUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateWithoutDeleted_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    categories?: CategoriesUncheckedUpdateManyWithoutCategory_typeNestedInput
  }

  export type CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesUpdateWithoutCreated_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutCreated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateManyWithoutCreated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesUpdateWithoutUpdated_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutUpdated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateManyWithoutUpdated_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesUpdateWithoutDeleted_categoriesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutDeleted_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateManyWithoutDeleted_categoriesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUpdateWithoutCreated_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutConfigurationsNestedInput
    updated_configurations?: UserUpdateOneWithoutUpdated_configurationsNestedInput
    deleted_configurations?: UserUpdateOneWithoutDeleted_configurationsNestedInput
  }

  export type ConfigurationsUncheckedUpdateWithoutCreated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUpdateWithoutUpdated_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutConfigurationsNestedInput
    created_configurations?: UserUpdateOneWithoutCreated_configurationsNestedInput
    deleted_configurations?: UserUpdateOneWithoutDeleted_configurationsNestedInput
  }

  export type ConfigurationsUncheckedUpdateWithoutUpdated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUpdateWithoutDeleted_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutConfigurationsNestedInput
    created_configurations?: UserUpdateOneWithoutCreated_configurationsNestedInput
    updated_configurations?: UserUpdateOneWithoutUpdated_configurationsNestedInput
  }

  export type ConfigurationsUncheckedUpdateWithoutDeleted_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUpdateWithoutCreated_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutUser_configurationsNestedInput
    updated_user_configurations?: UserUpdateOneWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserUpdateOneWithoutDeleted_user_configurationsNestedInput
  }

  export type UserConfigurationsUncheckedUpdateWithoutCreated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUpdateWithoutUpdated_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutUser_configurationsNestedInput
    created_user_configurations?: UserUpdateOneWithoutCreated_user_configurationsNestedInput
    deleted_user_configurations?: UserUpdateOneWithoutDeleted_user_configurationsNestedInput
  }

  export type UserConfigurationsUncheckedUpdateWithoutUpdated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUpdateWithoutDeleted_user_configurationsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category?: CategoriesUpdateOneWithoutUser_configurationsNestedInput
    created_user_configurations?: UserUpdateOneWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserUpdateOneWithoutUpdated_user_configurationsNestedInput
  }

  export type UserConfigurationsUncheckedUpdateWithoutDeleted_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    category_type_id?: NullableStringFieldUpdateOperationsInput | string | null
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FinancialYearUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput
    document_sequence?: DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput
    updated?: UserUpdateOneWithoutUpdated_fin_yearsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput
  }

  export type FinancialYearUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FinancialYearUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput
    document_sequence?: DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput
    created?: UserUpdateOneWithoutCreated_fin_yearsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput
  }

  export type FinancialYearUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FinancialYearUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutFinancial_yearsNestedInput
    document_sequence?: DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput
    created?: UserUpdateOneWithoutCreated_fin_yearsNestedInput
    updated?: UserUpdateOneWithoutUpdated_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput
  }

  export type FinancialYearUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput
    finanicial_year?: FinancialYearUpdateOneWithoutDocument_sequenceNestedInput
    updated?: UserUpdateOneWithoutUpdated_doc_sequencesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput
    finanicial_year?: FinancialYearUpdateOneWithoutDocument_sequenceNestedInput
    created?: UserUpdateOneWithoutCreated_doc_sequencesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput
    finanicial_year?: FinancialYearUpdateOneWithoutDocument_sequenceNestedInput
    created?: UserUpdateOneWithoutCreated_doc_sequencesNestedInput
    updated?: UserUpdateOneWithoutUpdated_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUpdateWithoutCreated_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDevice_registrationNestedInput
    updated_device_registration?: UserUpdateOneWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: UserUpdateOneWithoutDeleted_device_registrationNestedInput
    user?: UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateWithoutCreated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUpdateWithoutUpdated_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDevice_registrationNestedInput
    created_device_registration?: UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput
    deleted_device_registration?: UserUpdateOneWithoutDeleted_device_registrationNestedInput
    user?: UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateWithoutUpdated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUpdateWithoutDeleted_device_registrationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDevice_registrationNestedInput
    created_device_registration?: UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput
    updated_device_registration?: UserUpdateOneWithoutUpdated_device_registrationNestedInput
    user?: UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateWithoutDeleted_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDevice_registrationNestedInput
    created_device_registration?: UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput
    updated_device_registration?: UserUpdateOneWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: UserUpdateOneWithoutDeleted_device_registrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUpdateWithoutCreatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput
    import_template?: ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutCreatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUpdateWithoutUpdatedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput
    import_template?: ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput
    created?: UserUpdateOneWithoutCreated_direct_import_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutUpdatedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUpdateWithoutDeletedInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput
    import_template?: ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput
    created?: UserUpdateOneWithoutCreated_direct_import_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutDeletedInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserPoliciesUpdateWithoutUserInput = {
    policy?: PoliciesUpdateOneRequiredWithoutUser_policyNestedInput
  }

  export type UserPoliciesUncheckedUpdateWithoutUserInput = {
    policy_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPoliciesUncheckedUpdateManyWithoutUserInput = {
    policy_id?: IntFieldUpdateOperationsInput | number
  }

  export type PoliciesUpdateWithoutCreated_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutCreated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type PoliciesUncheckedUpdateManyWithoutCreated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PoliciesUpdateWithoutUpdated_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutUpdated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type PoliciesUncheckedUpdateManyWithoutUpdated_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PoliciesUpdateWithoutDeleted_policyInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutPoliciesNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutDeleted_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type PoliciesUncheckedUpdateManyWithoutDeleted_policyInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AppversionsUpdateWithoutCreated_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApp_versionsNestedInput
    updated_app_versions?: UserUpdateOneWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: UserUpdateOneWithoutDeleted_app_versionsNestedInput
  }

  export type AppversionsUncheckedUpdateWithoutCreated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUncheckedUpdateManyWithoutCreated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUpdateWithoutUpdated_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApp_versionsNestedInput
    created_app_versions?: UserUpdateOneRequiredWithoutCreated_app_versionsNestedInput
    deleted_app_versions?: UserUpdateOneWithoutDeleted_app_versionsNestedInput
  }

  export type AppversionsUncheckedUpdateWithoutUpdated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUpdateWithoutDeleted_app_versionsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutApp_versionsNestedInput
    created_app_versions?: UserUpdateOneRequiredWithoutCreated_app_versionsNestedInput
    updated_app_versions?: UserUpdateOneWithoutUpdated_app_versionsNestedInput
  }

  export type AppversionsUncheckedUpdateWithoutDeleted_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ThemesUpdateWithoutCreatedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutThemesNestedInput
    theme_attributes?: ThemeLineItemsUpdateManyWithoutThemesNestedInput
    UpdatedTheme?: UserUpdateOneWithoutUpdatedThemeNestedInput
    DeletedTheme?: UserUpdateOneWithoutDeletedThemeNestedInput
  }

  export type ThemesUncheckedUpdateWithoutCreatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput
  }

  export type ThemesUncheckedUpdateManyWithoutCreatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemesUpdateWithoutUpdatedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutThemesNestedInput
    theme_attributes?: ThemeLineItemsUpdateManyWithoutThemesNestedInput
    CreatedTheme?: UserUpdateOneWithoutCreatedThemeNestedInput
    DeletedTheme?: UserUpdateOneWithoutDeletedThemeNestedInput
  }

  export type ThemesUncheckedUpdateWithoutUpdatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput
  }

  export type ThemesUncheckedUpdateManyWithoutUpdatedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemesUpdateWithoutDeletedThemeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutThemesNestedInput
    theme_attributes?: ThemeLineItemsUpdateManyWithoutThemesNestedInput
    CreatedTheme?: UserUpdateOneWithoutCreatedThemeNestedInput
    UpdatedTheme?: UserUpdateOneWithoutUpdatedThemeNestedInput
  }

  export type ThemesUncheckedUpdateWithoutDeletedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput
  }

  export type ThemesUncheckedUpdateManyWithoutDeletedThemeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUpdateWithoutCreatedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput
    themes?: ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput
    UpdatedThemeLineItems?: UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: UserUpdateOneWithoutDeletedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateWithoutCreatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUpdateWithoutUpdatedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput
    themes?: ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeLineItems?: UserUpdateOneWithoutCreatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: UserUpdateOneWithoutDeletedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateWithoutUpdatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUpdateWithoutDeletedThemeLineItemsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput
    themes?: ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeLineItems?: UserUpdateOneWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateWithoutDeletedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUpdateWithoutCreatedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_attributesNestedInput
    UpdatedThemeAttributes?: UserUpdateOneWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: UserUpdateOneWithoutDeletedThemeAttributesNestedInput
  }

  export type ThemeAttributesUncheckedUpdateWithoutCreatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUpdateWithoutUpdatedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeAttributes?: UserUpdateOneWithoutCreatedThemeAttributesNestedInput
    DeletedThemeAttributes?: UserUpdateOneWithoutDeletedThemeAttributesNestedInput
  }

  export type ThemeAttributesUncheckedUpdateWithoutUpdatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUpdateWithoutDeletedThemeAttributesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeAttributes?: UserUpdateOneWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: UserUpdateOneWithoutUpdatedThemeAttributesNestedInput
  }

  export type ThemeAttributesUncheckedUpdateWithoutDeletedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUpdateWithoutInitiatorInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutChild_process_logsNestedInput
    child_process?: ChildProcessUpdateOneRequiredWithoutChild_process_logsNestedInput
  }

  export type ChildProcessLogUncheckedUpdateWithoutInitiatorInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutInitiatorInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CustomerGeoFenceMappingUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
  }

  export type CustomerGeoFenceMappingUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleUserMappingUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
  }

  export type VehicleUserMappingUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNotesUpdateWithoutCustomerInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type VehiclesGpsDataUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
  }

  export type VehiclesGpsDataUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_gps_data_logNestedInput
  }

  export type VehiclesGpsDataLogUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleGeofenceHistoryUpdateWithoutDriverInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutDriverInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUpdateWithoutCustomerInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ShipmentCustomersUpdateWithoutCustomerInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutCustomerInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleTripHistoriesUpdateWithoutUserInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
  }

  export type VehicleTripHistoriesUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type BarcodeTemplatesUpdateWithoutCreated_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutBarcodeTemplatesNestedInput
    updated_barcode_templates?: UserUpdateOneWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: UserUpdateOneWithoutDeleted_barcode_templatesNestedInput
  }

  export type BarcodeTemplatesUncheckedUpdateWithoutCreated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUpdateWithoutUpdated_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutBarcodeTemplatesNestedInput
    created_barcode_templates?: UserUpdateOneRequiredWithoutCreated_barcode_templatesNestedInput
    deleted_barcode_templates?: UserUpdateOneWithoutDeleted_barcode_templatesNestedInput
  }

  export type BarcodeTemplatesUncheckedUpdateWithoutUpdated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUpdateWithoutDeleted_barcode_templatesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutBarcodeTemplatesNestedInput
    created_barcode_templates?: UserUpdateOneRequiredWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: UserUpdateOneWithoutUpdated_barcode_templatesNestedInput
  }

  export type BarcodeTemplatesUncheckedUpdateWithoutDeleted_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserLoginHistoryUpdateWithoutUserInput = {
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
    status?: StatusUpdateOneRequiredWithoutUser_login_historiesNestedInput
  }

  export type UserLoginHistoryUncheckedUpdateWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    status_id?: IntFieldUpdateOperationsInput | number
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserLoginHistoryUncheckedUpdateManyWithoutUserInput = {
    id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    status_id?: IntFieldUpdateOperationsInput | number
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailCreateManyDesignationInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    department_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailUpdateWithoutDesignationInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    department?: DepartmentUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutDesignationInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyWithoutDesignationInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    department_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailCreateManyDepartmentInput = {
    id?: number
    user_id: number
    code: string
    first_name: string
    last_name?: string | null
    designation_id?: number | null
    profile_pic?: string | null
    dob?: Date | string | null
    country_code?: string | null
    phone_number?: string | null
    gender?: $Enums.Gender
    user_time_zone?: string | null
    address?: string | null
    culture?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    resident_id?: string | null
    passport_number?: string | null
  }

  export type UserDetailUpdateWithoutDepartmentInput = {
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
    designation?: DesignationUpdateOneWithoutUsersNestedInput
    user?: UserUpdateOneRequiredWithoutUser_detailNestedInput
    created?: UserUpdateOneWithoutCreated_user_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_user_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_user_detailsNestedInput
  }

  export type UserDetailUncheckedUpdateWithoutDepartmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserDetailUncheckedUpdateManyWithoutDepartmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    code?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    last_name?: NullableStringFieldUpdateOperationsInput | string | null
    designation_id?: NullableIntFieldUpdateOperationsInput | number | null
    profile_pic?: NullableStringFieldUpdateOperationsInput | string | null
    dob?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    country_code?: NullableStringFieldUpdateOperationsInput | string | null
    phone_number?: NullableStringFieldUpdateOperationsInput | string | null
    gender?: EnumGenderFieldUpdateOperationsInput | $Enums.Gender
    user_time_zone?: NullableStringFieldUpdateOperationsInput | string | null
    address?: NullableStringFieldUpdateOperationsInput | string | null
    culture?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    resident_id?: NullableStringFieldUpdateOperationsInput | string | null
    passport_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DocumentSequenceCreateManyFinanicial_yearInput = {
    id?: number
    uuid?: string
    module_name: string
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    status_id?: number
    code_format?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceUpdateWithoutFinanicial_yearInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDocument_sequencesNestedInput
    created?: UserUpdateOneWithoutCreated_doc_sequencesNestedInput
    updated?: UserUpdateOneWithoutUpdated_doc_sequencesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateWithoutFinanicial_yearInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RolePermissionsCreateManyPermissionInput = {
    role_id: number
  }

  export type UserPermissionsCreateManyPermissionInput = {
    user_id: number
  }

  export type MenuItemsCreateManyPermissionInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type RolePermissionsUpdateWithoutPermissionInput = {
    role?: RoleUpdateOneRequiredWithoutPermissionsNestedInput
  }

  export type RolePermissionsUncheckedUpdateWithoutPermissionInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePermissionsUncheckedUpdateManyWithoutPermissionInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsUpdateWithoutPermissionInput = {
    user?: UserUpdateOneRequiredWithoutPermissionsNestedInput
  }

  export type UserPermissionsUncheckedUpdateWithoutPermissionInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPermissionsUncheckedUpdateManyWithoutPermissionInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type MenuItemsUpdateWithoutPermissionInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutPermissionInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutPermissionInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RolePermissionsCreateManyRoleInput = {
    permission_id: number
  }

  export type UserRolesCreateManyRoleInput = {
    user_id: number
  }

  export type RolePoliciesCreateManyRoleInput = {
    policy_id: number
  }

  export type RolePermissionsUpdateWithoutRoleInput = {
    permission?: PermissionsUpdateOneRequiredWithoutRolesNestedInput
  }

  export type RolePermissionsUncheckedUpdateWithoutRoleInput = {
    permission_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePermissionsUncheckedUpdateManyWithoutRoleInput = {
    permission_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserRolesUpdateWithoutRoleInput = {
    user?: UserUpdateOneRequiredWithoutRolesNestedInput
  }

  export type UserRolesUncheckedUpdateWithoutRoleInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserRolesUncheckedUpdateManyWithoutRoleInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesUpdateWithoutRoleInput = {
    policy?: PoliciesUpdateOneRequiredWithoutRole_policyNestedInput
  }

  export type RolePoliciesUncheckedUpdateWithoutRoleInput = {
    policy_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesUncheckedUpdateManyWithoutRoleInput = {
    policy_id?: IntFieldUpdateOperationsInput | number
  }

  export type LanguageContentCreateManyLanguageInput = {
    id?: number
    key_content: string
    values: string
    status_id?: number
    created_at?: Date | string
  }

  export type LanguageContentUpdateWithoutLanguageInput = {
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutLanguage_contentsNestedInput
  }

  export type LanguageContentUncheckedUpdateWithoutLanguageInput = {
    id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type LanguageContentUncheckedUpdateManyWithoutLanguageInput = {
    id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MenuItemsCreateManyMenusInput = {
    id?: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsUpdateWithoutMenusInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutMenusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutMenusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenuItemsCreateManyParentInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenuItemsUpdateWithoutParentInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutParentInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutParentInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityCreateManyAssociated_entityInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    status_id?: number
    created_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type PermissionsCreateManyEntityInput = {
    id?: number
    name: string
    slug: string
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemCreateManyMaster_gridInput = {
    id?: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    created_at?: Date | string
  }

  export type MenuItemsCreateManyEntityInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MasterEntityUpdateWithoutAssociated_entityInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    status?: StatusUpdateOneRequiredWithoutMaster_gridsNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutAssociated_entityInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateManyWithoutAssociated_entityInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PermissionsUpdateWithoutEntityInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutPermissionsNestedInput
    roles?: RolePermissionsUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateWithoutEntityInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    roles?: RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateManyWithoutEntityInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemUpdateWithoutMaster_gridInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutMaster_grid_line_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutMaster_grid_lineitemNestedInput
  }

  export type MasterEntityLineItemUncheckedUpdateWithoutMaster_gridInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MenuItemsUpdateWithoutEntityInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutMenuitemsNestedInput
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutEntityInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutEntityInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityLineItemCreateManyField_typeInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    link_type?: string
    link_action?: string | null
    link_mode?: string
    status_id?: number
    created_at?: Date | string
  }

  export type ImportTemplateLineItemCreateManyField_typeInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemCreateManyField_typeInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    status_id?: number
    created_at?: Date | string
  }

  export type MasterEntityLineItemUpdateWithoutField_typeInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutMaster_grid_line_itemsNestedInput
    master_grid?: MasterEntityUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type MasterEntityLineItemUncheckedUpdateWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemUpdateWithoutField_typeInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutImport_template_line_itemsNestedInput
    import_template?: ImportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type ImportTemplateLineItemUncheckedUpdateWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemUpdateWithoutField_typeInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutExport_template_line_itemsNestedInput
    export_template?: ExportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type ExportTemplateLineItemUncheckedUpdateWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationTemplateProcessTagsMappingCreateManyNotification_template_processInput = {
    notification_template_tag_id: number
  }

  export type NotificationTemplateCreateManyNotification_template_processInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_type?: $Enums.NotificationType
    status_id?: number
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
  }

  export type NotificationTemplateAssignmentCreateManyNotification_template_processInput = {
    id?: number
    uuid?: string
    template_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by: number
  }

  export type NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_processInput = {
    notification_template_tag?: NotificationTemplateTagUpdateOneRequiredWithoutNotification_template_groupsNestedInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_processInput = {
    notification_template_tag_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processInput = {
    notification_template_tag_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateUpdateWithoutNotification_template_processInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutNotification_template_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationTemplateAssignmentUpdateWithoutNotification_template_processInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    notification_template?: NotificationTemplateUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    created?: UserUpdateOneRequiredWithoutCreated_notification_template_assignmentsNestedInput
    email_template_cc_bcc?: EmailTemplateCcBccUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_template_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    template_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateProcessTagsMappingCreateManyNotification_template_tagInput = {
    notification_template_process_id: number
  }

  export type NotificationTemplateProcessTagsMappingUpdateWithoutNotification_template_tagInput = {
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_groupsNestedInput
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateWithoutNotification_template_tagInput = {
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_tagInput = {
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateAssignmentCreateManyNotification_templateInput = {
    id?: number
    uuid?: string
    notification_template_process_id: number
    recipient_type?: $Enums.RecipientType
    notification_to?: string | null
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by: number
  }

  export type ApprovalWorkflowAssignmentCreateManyApprove_mailInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateManyApprove_whatsappInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateManyReject_mailInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentCreateManyReject_whatsappInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
  }

  export type NotificationTemplateAssignmentUpdateWithoutNotification_templateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_template_assignmentsNestedInput
    created?: UserUpdateOneRequiredWithoutCreated_notification_template_assignmentsNestedInput
    email_template_cc_bcc?: EmailTemplateCcBccUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateWithoutNotification_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    email_template_cc_bcc?: EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentNestedInput
  }

  export type NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutApprove_mailInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_mailInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutApprove_whatsappInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutApprove_whatsappInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutReject_mailInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_mailInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutReject_whatsappInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutReject_whatsappInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type EmailTemplateCcBccCreateManyEmail_template_assignmentInput = {
    id?: number
    uuid?: string
    send_type?: $Enums.sendMailType
    recipient_type?: $Enums.RecipientType
    email_to?: string | null
    company_id: number
    created_at?: Date | string
    created_by: number
  }

  export type EmailTemplateCcBccUpdateWithoutEmail_template_assignmentInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type EmailTemplateCcBccUncheckedUpdateWithoutEmail_template_assignmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type EmailTemplateCcBccUncheckedUpdateManyWithoutEmail_template_assignmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    send_type?: EnumsendMailTypeFieldUpdateOperationsInput | $Enums.sendMailType
    recipient_type?: EnumRecipientTypeFieldUpdateOperationsInput | $Enums.RecipientType
    email_to?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
  }

  export type CarouselTemplateLineItemCreateManyCarousel_templateInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type CarouselTemplateLineItemUpdateWithoutCarousel_templateInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutCarousel_template_line_itemsNestedInput
  }

  export type CarouselTemplateLineItemUncheckedUpdateWithoutCarousel_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemCreateManyImport_templateInput = {
    id?: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesCreateManyImport_templateInput = {
    id?: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type ImportJobCreateManyImport_templateInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DirectImportDetailsCreateManyImport_templateInput = {
    id?: number
    uuid?: string
    file_path?: string | null
    file_name?: string | null
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportTemplateLineItemUpdateWithoutImport_templateInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutImport_template_line_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutImportTemplateLineItemNestedInput
  }

  export type ImportTemplateLineItemUncheckedUpdateWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesUpdateWithoutImport_templateInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutImport_template_queriesNestedInput
  }

  export type ImportTemplateQueriesUncheckedUpdateWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportJobUpdateWithoutImport_templateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_jobNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateManyWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUpdateWithoutImport_templateInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDirect_import_detailsNestedInput
    created?: UserUpdateOneWithoutCreated_direct_import_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutImport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemCreateManyImport_jobInput = {
    id?: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    status_id?: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type ImportJobLineItemUpdateWithoutImport_jobInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutImport_job_line_itemsNestedInput
  }

  export type ImportJobLineItemUncheckedUpdateWithoutImport_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemUncheckedUpdateManyWithoutImport_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateLineItemCreateManyExport_templateInput = {
    id?: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesCreateManyExport_templateInput = {
    id?: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    status_id?: number
    created_at?: Date | string
  }

  export type ExportTemplateLineItemUpdateWithoutExport_templateInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutExport_template_line_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutExportTemplateLineItemNestedInput
  }

  export type ExportTemplateLineItemUncheckedUpdateWithoutExport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesUpdateWithoutExport_templateInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutExport_template_queriesNestedInput
  }

  export type ExportTemplateQueriesUncheckedUpdateWithoutExport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateInput = {
    id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type StatusCreateManyStatusInput = {
    id?: number
    name: string
    slug: string
    description?: string | null
  }

  export type ShipmentImagesCreateManyStatusInput = {
    id?: number
    uuid?: string | null
    shipment_id?: number | null
    shipment_location_uid?: string | null
    image_name?: string | null
    image_format?: string | null
    image_path?: string | null
    image_type?: string | null
    created_by?: number | null
    created_at?: Date | string | null
    company_id?: number | null
  }

  export type UserCreateManyStatusInput = {
    id?: number
    uuid?: string
    username: string
    email: string
    email_verified?: boolean
    password?: string | null
    role?: $Enums.UserRole
    process_status?: $Enums.ProcessStatus
    is_drafted?: boolean
    reason?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    last_login?: Date | string | null
    last_login_device?: string | null
    allow_login_web?: number
    allow_login_mobile?: number
  }

  export type RequestLogCreateManyStatusInput = {
    id?: bigint | number
    uuid?: string
    user_id?: number | null
    req_method?: string | null
    req_url?: string | null
    req_body?: string | null
    res_status?: boolean
    res_code?: number
    res_message?: string | null
    req_response?: string | null
    req_headers?: string | null
    req_ip?: string | null
    req_device?: string | null
    company_id: number
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type PermissionsCreateManyStatusInput = {
    id?: number
    name: string
    slug: string
    entity_id?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type RoleCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    name_in_english?: string | null
    flag?: string | null
    code?: string | null
    rtl?: boolean
    description: string
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type LanguageContentCreateManyStatusInput = {
    id?: number
    language_id?: number
    key_content: string
    values: string
    company_id: number
    created_at?: Date | string
  }

  export type MenuItemsCreateManyStatusInput = {
    id?: number
    menu_id: number
    name: string
    target?: string | null
    parent_id?: number | null
    permission_id?: number | null
    entity_id?: number | null
    link_type?: number | null
    order_no?: Decimal | DecimalJsLike | number | string
    menu_img?: string | null
    short_cut_keys?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MenusCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug?: string | null
    description?: string | null
    menu_type: number
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MasterEntityCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    entity_name: string
    entity_type: string
    report_type?: $Enums.ReportType
    primary_table?: string | null
    is_admin_module?: boolean
    draft_mode?: boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: string | null
    header_entity_id?: string | null
    footer_entity_id?: string | null
    export_template_id?: number | null
    export_template_file_name?: string | null
    dashboard_wizard_group_id?: number | null
    dashboard_wizard_type?: string | null
    dashboard_wizard_rows?: number | null
    dashboard_wizard_columns?: number | null
    dashboard_wizard_order_no?: Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: string | null
    reload_timeout?: number | null
    company_id: number
    created_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type MasterEntityLineItemCreateManyStatusInput = {
    id?: number
    master_grid_id: number
    field_name: string
    display_name: string
    field_html_content?: string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: Decimal | DecimalJsLike | number | string
    is_grid_column?: boolean
    is_searchable?: boolean
    clause_type?: $Enums.ClauseType
    is_sortable?: boolean
    field_type_id: number
    link_type?: string
    link_action?: string | null
    link_mode?: string
    company_id: number
    created_at?: Date | string
  }

  export type FieldTypeCreateManyStatusInput = {
    id?: number
    field_type: string
    company_id: number
    created_at?: Date | string
  }

  export type menuTypeCreateManyStatusInput = {
    id?: number
    name?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type NotificationTemplateProcessCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    query_information?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
  }

  export type NotificationTemplateTagCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    company_id: number
  }

  export type NotificationTemplateRecipientTagCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    notification_type?: $Enums.NotificationType
    description?: string | null
    query_information?: string | null
    company_id: number
  }

  export type NotificationTemplateCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    email_subject?: string | null
    message?: string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: string | null
    category?: string | null
    language?: string | null
    email_body?: string | null
    notification_template_process_id: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
    updated_at?: Date | string
    updated_by?: number | null
    deleted_at?: Date | string | null
    deleted_by?: number | null
    company_id: number
  }

  export type NotificationProcessJobCreateManyStatusInput = {
    id?: number
    uuid?: string
    notification_template_process_slug: string
    unique_id: string
    user_id: number
    prefill_data?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    company_id: number
    notification_type?: $Enums.NotificationType
    created_at?: Date | string
    created_by?: number | null
  }

  export type NotificationJobCreateManyStatusInput = {
    id?: number
    uuid?: string
    process_slug: string
    notification_to?: string | null
    notification_subject?: string | null
    notification_content?: string | null
    attachments_path?: string | null
    attachments_name?: string | null
    notification_cc?: string | null
    notification_bcc?: string | null
    notification_type_id: string
    notification_status_id: string
    notification_type?: $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: string | null
    company_id: number
    parent_id?: number
    no_of_attempts?: number
    created_at?: Date | string
    updated_at?: Date | string
    created_by?: number | null
    sent_at?: Date | string | null
    read_at?: Date | string | null
  }

  export type ImportTemplateCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    ignore_error_rows?: boolean
    is_admin_module?: boolean
    is_send_mail?: boolean
    email_process_slug?: string | null
    job_type?: string | null
    batch_process_count?: number | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportTemplateLineItemCreateManyStatusInput = {
    id?: number
    import_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    width?: number | null
    default_value?: string | null
    check_reg_exp?: string | null
    is_nullable?: boolean
    is_unique?: boolean
    is_foreign?: boolean
    unique_query?: string | null
    foreign_query?: string | null
    is_enum?: boolean
    is_multiple?: boolean
    enum_values?: string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: string | null
    foreign_column?: string | null
    foreign_can_create?: boolean
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    company_id: number
    created_at?: Date | string
  }

  export type ImportTemplateQueriesCreateManyStatusInput = {
    id?: number
    import_template_id: number
    query_string?: string | null
    query_name: string
    allow_multiple?: boolean
    is_individual?: boolean
    before_lineitems?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    max_row_count?: number
    header_row?: number
    data_start_row?: number
    data_end_row?: number
    data_filepath?: string | null
    template_type?: $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ExportTemplateLineItemCreateManyStatusInput = {
    id?: number
    export_template_id: number
    field_name: string
    display_name: string
    field_table: string
    order_no?: Decimal | DecimalJsLike | number | string
    default_value?: string | null
    column_name?: string | null
    is_individual?: boolean
    individual_column?: string | null
    field_type_id?: number | null
    company_id: number
    created_at?: Date | string
  }

  export type ExportTemplateQueriesCreateManyStatusInput = {
    id?: number
    export_template_id: number
    query_string?: string | null
    query_name: string
    query_procedure?: string
    is_individual?: boolean
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type DesignationCreateManyStatusInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DepartmentCreateManyStatusInput = {
    id?: number
    uuid?: string
    code: string
    name: string
    description?: string | null
    department_head_id?: number | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type AuditLogCreateManyStatusInput = {
    id?: number
    operation_type: string
    table_name: string
    field_name: string
    old_value?: string | null
    new_value?: string | null
    entity_id: number
    user_id?: number | null
    company_id?: number | null
    created_at?: Date | string
  }

  export type FinancialYearCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    is_freezed?: boolean
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type DocumentSequenceCreateManyStatusInput = {
    id?: number
    uuid?: string
    module_name: string
    financial_year_id?: number | null
    current_sequence_no?: number
    start_sequence_no?: number
    end_sequence_no?: number
    sequence_length?: number
    code_format?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type FileUploadLogCreateManyStatusInput = {
    id?: number
    uuid?: string
    doc_name?: string | null
    org_name?: string | null
    extension?: string | null
    description?: string | null
    company_id: number
    created_at?: Date | string
  }

  export type DeviceRegistrationCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    device_name: string
    device_unique_id: string
    user_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobCreateManyStatusInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    name: string
    description?: string | null
    sequence_number?: string | null
    ignore_error_rows?: boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: number
    completed_rows?: number
    error_rows?: number
    batch_process_count?: number | null
    job_status?: string | null
    last_processed_row_id?: number | null
    file_path?: string | null
    file_name?: string | null
    validation_started_at?: Date | string | null
    validation_completed_at?: Date | string | null
    processing_started_at?: Date | string | null
    processing_completed_at?: Date | string | null
    expected_completion_time?: Date | string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ImportJobLineItemCreateManyStatusInput = {
    id?: number
    import_job_id: number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: string | null
    company_id: number
    created_at?: Date | string
    validated_at?: Date | string | null
    processed_at?: Date | string | null
  }

  export type PoliciesCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    slug: string
    name: string
    description: string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AppversionsCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    type: string
    version_type: string
    version: string
    description: string
    is_frontend_changed?: boolean
    is_backend_changed?: boolean
    is_database_changed?: boolean
    developed_by?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    app_url?: string | null
  }

  export type ApprovalWorkflowCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    slug: string
    query_information?: string | null
    url?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalProcessJobWorkflowCreateManyStatusInput = {
    id?: number
    approval_workflow_assignment_id: number
    approval_process_job_id: string
    approval_workflow_slug: string
    approval_process_job_name?: string | null
    approval_process_job_description?: string | null
    approve_query_information?: ApprovalProcessJobWorkflowCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowCreatereject_query_informationInput | string[]
    primary_table?: string | null
    sequence_no: string
    unique_id?: number | null
    user_id?: number | null
    screen_id: string
    prefill_data?: string | null
    url?: string | null
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    review_status?: $Enums.ApprovalStatus
    reviewed_by?: number | null
    reason?: string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
    company_id: number
    created_at?: Date | string
    assigned_at?: Date | string | null
    processed_at?: Date | string | null
    deleted_by?: number | null
    deleted_at?: Date | string | null
    details?: string | null
  }

  export type ApprovalWorkflowApproverTagCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name?: string | null
    description?: string | null
    query_information?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ApprovalWorkflowAssignmentCreateManyStatusInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalProcessJobCreateManyStatusInput = {
    id?: number
    uuid?: string
    approval_workflow_slug: string
    sequence_no: string
    description?: string | null
    primary_table?: string | null
    unique_id?: number | null
    screen_id: string
    user_id?: number | null
    prefill_data?: string | null
    details?: string | null
    company_id: number
  }

  export type ApprovalProcessJobWorkflowUserCreateManyStatusInput = {
    id?: number
    uuid?: string
    approval_process_job_workflow_id: number
    user_id?: number | null
    company_id: number
  }

  export type DelegationCreateManyStatusInput = {
    id?: number
    uuid?: string
    user_id: number
    delegated_user_id: number
    reason?: string | null
    start_date: Date | string
    end_date: Date | string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type AboutLCPCreateManyStatusInput = {
    id?: number
    uuid?: string
    type?: $Enums.aboutType
    name: string
    description?: string | null
    order_no?: Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: string | null
    documentation_pdf?: string | null
    documentation_word?: string | null
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type SchemaChunkCreateManyStatusInput = {
    id?: number
    uuid?: string
    table_name: string
    chunk: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    company_id: number
  }

  export type OpenaiUsageLogCreateManyStatusInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    prompt: string
    generated_sql: string
    prompt_tokens: number
    completion_tokens: number
    total_tokens: number
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type EmbeddingVectorLogsCreateManyStatusInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    cost: Decimal | DecimalJsLike | number | string
    company_id: number
    table_name: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type QueryExecutionLogCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    query: string
    created_at?: Date | string
    created_by: number
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    downloadables?: string | null
    command: string
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogCreateManyStatusInput = {
    id?: number
    uuid?: string
    child_process_id: number
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    slug: string
    description?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CarouselTemplateLineItemCreateManyStatusInput = {
    id?: number
    carousel_template_id: number
    name: string
    slug: string
    description?: string | null
    image_url?: string | null
    video_url?: string | null
    clickable_link?: string | null
    order_no?: Decimal | DecimalJsLike | number | string
    company_id: number
    created_at?: Date | string
  }

  export type ScheduledJobLogsCreateManyStatusInput = {
    id?: number
    uuid?: string
    scheduled_job_id: number
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
  }

  export type ScheduledJobCreateManyStatusInput = {
    id?: number
    uuid?: string
    timing?: string
    cron_url?: string | null
    concat_base_url?: boolean
    downloadables?: string | null
    description?: string | null
    created_at?: Date | string
    company_id?: number
  }

  export type CategoriesCreateManyStatusInput = {
    id?: number
    uuid?: string
    category_type_id: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeAttributesCreateManyStatusInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemesCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    description?: string | null
    reference_images?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsCreateManyStatusInput = {
    id?: number
    uuid?: string
    theme_id: number
    attribute: string
    value?: string | null
    description?: string | null
    company_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type BarcodeTemplatesCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    prefix: string
    label_start: string
    label_end: string
    name: string
    page_width: number
    page_height: number
    zpl_code: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type UserLoginHistoryCreateManyStatusInput = {
    id?: number
    user_id: number
    session_id?: string | null
    login_time?: Date | string
    logout_time?: Date | string | null
    ip_address?: string | null
    user_agent?: string | null
    login_status?: $Enums.LoginStatus
    failure_reason?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
    company_id: number
    device_id?: string | null
  }

  export type DirectImportDetailsCreateManyStatusInput = {
    id?: number
    uuid?: string
    import_template_id?: number | null
    file_path?: string | null
    file_name?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNotesCreateManyStatusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type DeliveryNoteLineItemsCreateManyStatusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type CustomerDeliveryAddressesCreateManyStatusInput = {
    id?: number
    uuid?: string
    delivery_address_code: string
    company_id: number
    billing_address?: string | null
    shipping_address?: string | null
    delivery_location: string
    customer_contact_no?: string | null
    delivery_address_lat_long?: string | null
  }

  export type ShipmentsCreateManyStatusInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    shipment_status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
  }

  export type ShipmentCustomersCreateManyStatusInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentsLocationCreateManyStatusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentDeliveryNotesCreateManyStatusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type VehiclesCreateManyStatusInput = {
    id?: number
    uuid?: string
    vehicle_plate_number: string
    vehicle_register_number: string
    company_id: number
    is_assigned?: boolean
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type VehiclesGpsDataCreateManyStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type GeoFencesCreateManyStatusInput = {
    id?: number
    uuid?: string
    zone_name: string
    zone_type?: $Enums.ZoneType
    radius?: string | null
    category?: $Enums.GeoCategory
    latitude_coords?: number | null
    longitude_coords?: number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type GeoFenceTrackingCreateManyStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
  }

  export type CustomerGeoFenceMappingCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    geofence_id: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type DeliveryNoteStatusCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
  }

  export type ErpLogsCreateManyStatusInput = {
    id?: number
    uuid?: string
    req_method?: string | null
    req_url?: string | null
    req_body: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: $Enums.SyncData
    sync_number?: string | null
  }

  export type ErpLogsLineItemsCreateManyStatusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    erp_logs_id: number
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type VehicleUserMappingCreateManyStatusInput = {
    id?: number
    uuid?: string
    company_id: number
    vehicle_id: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleGeofenceHistoryCreateManyStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type TempSessionDataCreateManyStatusInput = {
    id?: number
    uuid?: string
    session_id: string
    delivery_note_number: string
    first_name: string
    delivery_location: string
    reference_number: string
    date_of_issue: Date | string
    company_id: number
    customer_delivery_id: number
    delivery_note_id: number
    customer_id: number
    created_by?: number | null
    created_at?: Date | string
  }

  export type ShipmentStatusCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code?: string | null
  }

  export type ShipmentStatusHistoryCreateManyStatusInput = {
    id?: number
    uuid?: string
    ref_id: number
    table_name: $Enums.ETables
    from_state: number
    to_state: number
    changed_by: number
    changed_at?: Date | string
    company_id: number
  }

  export type PodStatusCreateManyStatusInput = {
    id?: number
    uuid?: string
    slug: string
    name: string
    company_id: number
    status_color_code: string
  }

  export type VehicleTripHistoriesCreateManyStatusInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type ShipmentLocationContactInfoHistoryCreateManyStatusInput = {
    id?: number
    uuid?: string
    from_customer_delivery_contact_name?: string | null
    to_customer_delivery_contact_name?: string | null
    from_customer_delivery_contact_email?: string | null
    to_customer_delivery_contact_email?: string | null
    from_customer_delivery_contact_number?: string | null
    to_customer_delivery_contact_number?: string | null
    created_by?: number | null
    created_at?: Date | string
    company_id: number
    shipment_id?: number | null
    shipment_location_uid?: string | null
  }

  export type TreeBuilderExampleCreateManyStatusInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    company_id: number
    parent_id?: number | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type userSearchConfigurationCreateManyStatusInput = {
    id?: number
    uuid?: string
    user_id: number
    entity_slug: string
    view_name: string
    is_default?: boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type StatusUpdateWithoutStatusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_list?: StatusUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUpdateManyWithoutStatusNestedInput
    users?: UserUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUpdateManyWithoutStatusNestedInput
    roles?: RoleUpdateManyWithoutStatusNestedInput
    languages?: LanguageUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUpdateManyWithoutStatusNestedInput
    menus?: MenusUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUpdateManyWithoutStatusNestedInput
    designations?: DesignationUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUpdateManyWithoutStatusNestedInput
    themes?: ThemesUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_list?: StatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_images?: ShipmentImagesUncheckedUpdateManyWithoutStatusNestedInput
    users?: UserUncheckedUpdateManyWithoutStatusNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutStatusNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutStatusNestedInput
    roles?: RoleUncheckedUpdateManyWithoutStatusNestedInput
    languages?: LanguageUncheckedUpdateManyWithoutStatusNestedInput
    language_contents?: LanguageContentUncheckedUpdateManyWithoutStatusNestedInput
    menuitems?: MenuItemsUncheckedUpdateManyWithoutStatusNestedInput
    menus?: MenusUncheckedUpdateManyWithoutStatusNestedInput
    master_grids?: MasterEntityUncheckedUpdateManyWithoutStatusNestedInput
    master_grid_line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutStatusNestedInput
    field_types?: FieldTypeUncheckedUpdateManyWithoutStatusNestedInput
    menu_types?: menuTypeUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_processes?: NotificationTemplateProcessUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_tags?: NotificationTemplateTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_template_receiver_tags?: NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutStatusNestedInput
    notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    notification_job?: NotificationJobUncheckedUpdateManyWithoutStatusNestedInput
    import_templates?: ImportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    import_template_line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    import_template_queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    export_templates?: ExportTemplateUncheckedUpdateManyWithoutStatusNestedInput
    export_template_line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    export_template_queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutStatusNestedInput
    designations?: DesignationUncheckedUpdateManyWithoutStatusNestedInput
    departments?: DepartmentUncheckedUpdateManyWithoutStatusNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutStatusNestedInput
    financial_years?: FinancialYearUncheckedUpdateManyWithoutStatusNestedInput
    document_sequences?: DocumentSequenceUncheckedUpdateManyWithoutStatusNestedInput
    file_upload_logs?: FileUploadLogUncheckedUpdateManyWithoutStatusNestedInput
    device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutStatusNestedInput
    import_job?: ImportJobUncheckedUpdateManyWithoutStatusNestedInput
    import_job_line_items?: ImportJobLineItemUncheckedUpdateManyWithoutStatusNestedInput
    policies?: PoliciesUncheckedUpdateManyWithoutStatusNestedInput
    app_versions?: AppversionsUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflows?: ApprovalWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflows?: ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_approver_tags?: ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusNestedInput
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job?: ApprovalProcessJobUncheckedUpdateManyWithoutStatusNestedInput
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusNestedInput
    delegations?: DelegationUncheckedUpdateManyWithoutStatusNestedInput
    about_lcp?: AboutLCPUncheckedUpdateManyWithoutStatusNestedInput
    schema_chunks?: SchemaChunkUncheckedUpdateManyWithoutStatusNestedInput
    openai_usage_logs?: OpenaiUsageLogUncheckedUpdateManyWithoutStatusNestedInput
    embedding_vector_logs?: EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusNestedInput
    query_execution_log?: QueryExecutionLogUncheckedUpdateManyWithoutStatusNestedInput
    child_processes?: ChildProcessUncheckedUpdateManyWithoutStatusNestedInput
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutStatusNestedInput
    carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutStatusNestedInput
    carousel_template_line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutStatusNestedInput
    scheduled_jobs?: ScheduledJobUncheckedUpdateManyWithoutStatusNestedInput
    app_categories?: CategoriesUncheckedUpdateManyWithoutStatusNestedInput
    theme_attributes?: ThemeAttributesUncheckedUpdateManyWithoutStatusNestedInput
    themes?: ThemesUncheckedUpdateManyWithoutStatusNestedInput
    theme_line_items?: ThemeLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    barcodeTemplates?: BarcodeTemplatesUncheckedUpdateManyWithoutStatusNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutStatusNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutStatusNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    customers_delivery_addresses?: CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutStatusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutStatusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusNestedInput
    vehicles?: VehiclesUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutStatusNestedInput
    geofences?: GeoFencesUncheckedUpdateManyWithoutStatusNestedInput
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutStatusNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusNestedInput
    delivery_note_status?: DeliveryNoteStatusUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs?: ErpLogsUncheckedUpdateManyWithoutStatusNestedInput
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusNestedInput
    temp_session_data?: TempSessionDataUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status?: ShipmentStatusUncheckedUpdateManyWithoutStatusNestedInput
    shipment_status_history?: ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusNestedInput
    pod_status?: PodStatusUncheckedUpdateManyWithoutStatusNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutStatusNestedInput
    shipment_location_contact_info_histories?: ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusNestedInput
    tree_builder_examples?: TreeBuilderExampleUncheckedUpdateManyWithoutStatusNestedInput
    user_search_configurations?: userSearchConfigurationUncheckedUpdateManyWithoutStatusNestedInput
  }

  export type StatusUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentImagesUpdateWithoutStatusInput = {
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ShipmentImagesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ShipmentImagesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    image_name?: NullableStringFieldUpdateOperationsInput | string | null
    image_format?: NullableStringFieldUpdateOperationsInput | string | null
    image_path?: NullableStringFieldUpdateOperationsInput | string | null
    image_type?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type UserUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUpdateManyWithoutUserNestedInput
    roles?: UserRolesUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUpdateManyWithoutUserNestedInput
    otps?: OtpUpdateManyWithoutUserNestedInput
    created?: UserUpdateOneWithoutCreated_usersNestedInput
    updated?: UserUpdateOneWithoutUpdated_usersNestedInput
    deleted?: UserUpdateOneWithoutDeleted_usersNestedInput
    created_users?: UserUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
    user_detail?: UserDetailUncheckedUpdateOneWithoutUserNestedInput
    request_logs?: RequestLogUncheckedUpdateManyWithoutUserNestedInput
    roles?: UserRolesUncheckedUpdateManyWithoutUserNestedInput
    permissions?: UserPermissionsUncheckedUpdateManyWithoutUserNestedInput
    otps?: OtpUncheckedUpdateManyWithoutUserNestedInput
    created_users?: UserUncheckedUpdateManyWithoutCreatedNestedInput
    updated_users?: UserUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_users?: UserUncheckedUpdateManyWithoutDeletedNestedInput
    created_user_details?: UserDetailUncheckedUpdateManyWithoutCreatedNestedInput
    updated_user_details?: UserDetailUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_user_details?: UserDetailUncheckedUpdateManyWithoutDeletedNestedInput
    created_roles?: RoleUncheckedUpdateManyWithoutCreatedNestedInput
    updated_roles?: RoleUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_roles?: RoleUncheckedUpdateManyWithoutDeletedNestedInput
    created_languages?: LanguageUncheckedUpdateManyWithoutCreatedNestedInput
    updated_languages?: LanguageUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_languages?: LanguageUncheckedUpdateManyWithoutDeletedNestedInput
    created_menus?: MenusUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menus?: MenusUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menus?: MenusUncheckedUpdateManyWithoutDeletedNestedInput
    created_menu_items?: MenuItemsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_menu_items?: MenuItemsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_menu_items?: MenuItemsUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_process_jobs?: NotificationProcessJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_notification_job?: NotificationJobUncheckedUpdateManyWithoutCreatedNestedInput
    created_import_templates?: ImportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_templates?: ImportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_templates?: ImportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_carousel_templates?: CarouselTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_export_templates?: ExportTemplateUncheckedUpdateManyWithoutCreatedNestedInput
    updated_export_templates?: ExportTemplateUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_export_templates?: ExportTemplateUncheckedUpdateManyWithoutDeletedNestedInput
    created_departments?: DepartmentUncheckedUpdateManyWithoutCreatedNestedInput
    head_departments?: DepartmentUncheckedUpdateManyWithoutDepartment_headNestedInput
    updated_departments?: DepartmentUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_departments?: DepartmentUncheckedUpdateManyWithoutDeletedNestedInput
    created_designations?: DesignationUncheckedUpdateManyWithoutCreatedNestedInput
    updated_designations?: DesignationUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_designations?: DesignationUncheckedUpdateManyWithoutDeletedNestedInput
    audit_logs?: AuditLogUncheckedUpdateManyWithoutUserNestedInput
    created_category_types?: CategoryTypesUncheckedUpdateManyWithoutCreated_category_typesNestedInput
    updated_category_types?: CategoryTypesUncheckedUpdateManyWithoutUpdated_category_typesNestedInput
    deleted_category_types?: CategoryTypesUncheckedUpdateManyWithoutDeleted_category_typesNestedInput
    created_categories?: CategoriesUncheckedUpdateManyWithoutCreated_categoriesNestedInput
    updated_categories?: CategoriesUncheckedUpdateManyWithoutUpdated_categoriesNestedInput
    deleted_categories?: CategoriesUncheckedUpdateManyWithoutDeleted_categoriesNestedInput
    created_configurations?: ConfigurationsUncheckedUpdateManyWithoutCreated_configurationsNestedInput
    updated_configurations?: ConfigurationsUncheckedUpdateManyWithoutUpdated_configurationsNestedInput
    deleted_configurations?: ConfigurationsUncheckedUpdateManyWithoutDeleted_configurationsNestedInput
    created_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutDeleted_user_configurationsNestedInput
    created_fin_years?: FinancialYearUncheckedUpdateManyWithoutCreatedNestedInput
    updated_fin_years?: FinancialYearUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_fin_years?: FinancialYearUncheckedUpdateManyWithoutDeletedNestedInput
    created_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutCreatedNestedInput
    updated_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_doc_sequences?: DocumentSequenceUncheckedUpdateManyWithoutDeletedNestedInput
    created_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutCreated_device_registrationNestedInput
    updated_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: DeviceRegistrationUncheckedUpdateManyWithoutDeleted_device_registrationNestedInput
    DeviceRegistration?: DeviceRegistrationUncheckedUpdateManyWithoutUserNestedInput
    created_import_job?: ImportJobUncheckedUpdateManyWithoutCreatedNestedInput
    updated_import_job?: ImportJobUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_import_job?: ImportJobUncheckedUpdateManyWithoutDeletedNestedInput
    created_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutCreatedNestedInput
    updated_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutUpdatedNestedInput
    deleted_direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutDeletedNestedInput
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutUserNestedInput
    created_policy?: PoliciesUncheckedUpdateManyWithoutCreated_policyNestedInput
    updated_policy?: PoliciesUncheckedUpdateManyWithoutUpdated_policyNestedInput
    deleted_policy?: PoliciesUncheckedUpdateManyWithoutDeleted_policyNestedInput
    created_app_versions?: AppversionsUncheckedUpdateManyWithoutCreated_app_versionsNestedInput
    updated_app_versions?: AppversionsUncheckedUpdateManyWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: AppversionsUncheckedUpdateManyWithoutDeleted_app_versionsNestedInput
    CreatedTheme?: ThemesUncheckedUpdateManyWithoutCreatedThemeNestedInput
    UpdatedTheme?: ThemesUncheckedUpdateManyWithoutUpdatedThemeNestedInput
    DeletedTheme?: ThemesUncheckedUpdateManyWithoutDeletedThemeNestedInput
    CreatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: ThemeLineItemsUncheckedUpdateManyWithoutDeletedThemeLineItemsNestedInput
    CreatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: ThemeAttributesUncheckedUpdateManyWithoutDeletedThemeAttributesNestedInput
    ChildProcessLog?: ChildProcessLogUncheckedUpdateManyWithoutInitiatorNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutUserNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutUserNestedInput
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutUserNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutUserNestedInput
    vehicle_geofence_history_driver?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutDriverNestedInput
    vehicle_geofence_history_customer?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutCustomerNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutCustomerNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutUserNestedInput
    created_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: BarcodeTemplatesUncheckedUpdateManyWithoutDeleted_barcode_templatesNestedInput
    user_login_histories?: UserLoginHistoryUncheckedUpdateManyWithoutUserNestedInput
  }

  export type UserUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    username?: StringFieldUpdateOperationsInput | string
    email?: StringFieldUpdateOperationsInput | string
    email_verified?: BoolFieldUpdateOperationsInput | boolean
    password?: NullableStringFieldUpdateOperationsInput | string | null
    role?: EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
    process_status?: EnumProcessStatusFieldUpdateOperationsInput | $Enums.ProcessStatus
    is_drafted?: BoolFieldUpdateOperationsInput | boolean
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    last_login_device?: NullableStringFieldUpdateOperationsInput | string | null
    allow_login_web?: IntFieldUpdateOperationsInput | number
    allow_login_mobile?: IntFieldUpdateOperationsInput | number
  }

  export type RequestLogUpdateWithoutStatusInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user?: UserUpdateOneWithoutRequest_logsNestedInput
  }

  export type RequestLogUncheckedUpdateWithoutStatusInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type RequestLogUncheckedUpdateManyWithoutStatusInput = {
    id?: BigIntFieldUpdateOperationsInput | bigint | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: NullableStringFieldUpdateOperationsInput | string | null
    res_status?: BoolFieldUpdateOperationsInput | boolean
    res_code?: IntFieldUpdateOperationsInput | number
    res_message?: NullableStringFieldUpdateOperationsInput | string | null
    req_response?: NullableStringFieldUpdateOperationsInput | string | null
    req_headers?: NullableStringFieldUpdateOperationsInput | string | null
    req_ip?: NullableStringFieldUpdateOperationsInput | string | null
    req_device?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PermissionsUpdateWithoutStatusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    entity?: MasterEntityUpdateOneWithoutPermissionsNestedInput
    roles?: RolePermissionsUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    roles?: RolePermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    users?: UserPermissionsUncheckedUpdateManyWithoutPermissionNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutPermissionNestedInput
  }

  export type PermissionsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type RoleUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUpdateManyWithoutRoleNestedInput
    users?: UserRolesUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutRoleNestedInput
    created?: UserUpdateOneWithoutCreated_rolesNestedInput
    updated?: UserUpdateOneWithoutUpdated_rolesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_rolesNestedInput
  }

  export type RoleUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    permissions?: RolePermissionsUncheckedUpdateManyWithoutRoleNestedInput
    users?: UserRolesUncheckedUpdateManyWithoutRoleNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutRoleNestedInput
  }

  export type RoleUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUpdateManyWithoutLanguageNestedInput
    created?: UserUpdateOneWithoutCreated_languagesNestedInput
    updated?: UserUpdateOneWithoutUpdated_languagesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_languagesNestedInput
  }

  export type LanguageUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    translations?: LanguageContentUncheckedUpdateManyWithoutLanguageNestedInput
  }

  export type LanguageUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    name_in_english?: NullableStringFieldUpdateOperationsInput | string | null
    flag?: NullableStringFieldUpdateOperationsInput | string | null
    code?: NullableStringFieldUpdateOperationsInput | string | null
    rtl?: BoolFieldUpdateOperationsInput | boolean
    description?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type LanguageContentUpdateWithoutStatusInput = {
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    language?: LanguageUpdateOneWithoutTranslationsNestedInput
  }

  export type LanguageContentUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    language_id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type LanguageContentUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    language_id?: IntFieldUpdateOperationsInput | number
    key_content?: StringFieldUpdateOperationsInput | string
    values?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MenuItemsUpdateWithoutStatusInput = {
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menus?: MenusUpdateOneWithoutMenuitemsNestedInput
    entity?: MasterEntityUpdateOneWithoutMenusNestedInput
    permission?: PermissionsUpdateOneWithoutMenusNestedInput
    parent?: MenuItemsUpdateOneWithoutChildrenNestedInput
    children?: MenuItemsUpdateManyWithoutParentNestedInput
    created?: UserUpdateOneWithoutCreated_menu_itemsNestedInput
    updated?: UserUpdateOneWithoutUpdated_menu_itemsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menu_itemsNestedInput
  }

  export type MenuItemsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MenuItemsUncheckedUpdateManyWithoutParentNestedInput
  }

  export type MenuItemsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    menu_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    target?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    permission_id?: NullableIntFieldUpdateOperationsInput | number | null
    entity_id?: NullableIntFieldUpdateOperationsInput | number | null
    link_type?: NullableIntFieldUpdateOperationsInput | number | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    menu_img?: NullableStringFieldUpdateOperationsInput | string | null
    short_cut_keys?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MenusUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUpdateManyWithoutMenusNestedInput
    created?: UserUpdateOneWithoutCreated_menusNestedInput
    updated?: UserUpdateOneWithoutUpdated_menusNestedInput
    deleted?: UserUpdateOneWithoutDeleted_menusNestedInput
  }

  export type MenusUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    menuitems?: MenuItemsUncheckedUpdateManyWithoutMenusNestedInput
  }

  export type MenusUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    menu_type?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    associated_entity?: MasterEntityUpdateOneWithoutChildrenNestedInput
    children?: MasterEntityUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: MasterEntityUncheckedUpdateManyWithoutAssociated_entityNestedInput
    permissions?: PermissionsUncheckedUpdateManyWithoutEntityNestedInput
    line_items?: MasterEntityLineItemUncheckedUpdateManyWithoutMaster_gridNestedInput
    menus?: MenuItemsUncheckedUpdateManyWithoutEntityNestedInput
  }

  export type MasterEntityUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    entity_name?: StringFieldUpdateOperationsInput | string
    entity_type?: StringFieldUpdateOperationsInput | string
    report_type?: EnumReportTypeFieldUpdateOperationsInput | $Enums.ReportType
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    draft_mode?: BoolFieldUpdateOperationsInput | boolean
    associated_tables?: NullableJsonNullValueInput | InputJsonValue
    associated_entity_name?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableJsonNullValueInput | InputJsonValue
    form_information?: NullableJsonNullValueInput | InputJsonValue
    report_information?: NullableJsonNullValueInput | InputJsonValue
    add_query_information?: NullableJsonNullValueInput | InputJsonValue
    edit_query_information?: NullableJsonNullValueInput | InputJsonValue
    preset_query_information?: NullableJsonNullValueInput | InputJsonValue
    static_page_content?: NullableStringFieldUpdateOperationsInput | string | null
    header_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    footer_entity_id?: NullableStringFieldUpdateOperationsInput | string | null
    export_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    export_template_file_name?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_group_id?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_type?: NullableStringFieldUpdateOperationsInput | string | null
    dashboard_wizard_rows?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_columns?: NullableIntFieldUpdateOperationsInput | number | null
    dashboard_wizard_order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    dashboard_wizard_options?: NullableJsonNullValueInput | InputJsonValue
    dashboard_grid?: NullableStringFieldUpdateOperationsInput | string | null
    reload_timeout?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type MasterEntityLineItemUpdateWithoutStatusInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid?: MasterEntityUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutMaster_grid_lineitemNestedInput
  }

  export type MasterEntityLineItemUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type MasterEntityLineItemUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    master_grid_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_html_content?: NullableStringFieldUpdateOperationsInput | string | null
    enum_values?: NullableJsonNullValueInput | InputJsonValue
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    is_grid_column?: BoolFieldUpdateOperationsInput | boolean
    is_searchable?: BoolFieldUpdateOperationsInput | boolean
    clause_type?: EnumClauseTypeFieldUpdateOperationsInput | $Enums.ClauseType
    is_sortable?: BoolFieldUpdateOperationsInput | boolean
    field_type_id?: IntFieldUpdateOperationsInput | number
    link_type?: StringFieldUpdateOperationsInput | string
    link_action?: NullableStringFieldUpdateOperationsInput | string | null
    link_mode?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FieldTypeUpdateWithoutStatusInput = {
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid_lineitem?: MasterEntityLineItemUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    master_grid_lineitem?: MasterEntityLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    importTemplateLineItem?: ImportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
    exportTemplateLineItem?: ExportTemplateLineItemUncheckedUpdateManyWithoutField_typeNestedInput
  }

  export type FieldTypeUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    field_type?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeUpdateWithoutStatusInput = {
    name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type menuTypeUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type NotificationTemplateProcessUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_templates?: NotificationTemplateUncheckedUpdateManyWithoutNotification_template_processNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_template_processNestedInput
  }

  export type NotificationTemplateProcessUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
  }

  export type NotificationTemplateTagUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_groups?: NotificationTemplateProcessTagsMappingUpdateManyWithoutNotification_template_tagNestedInput
  }

  export type NotificationTemplateTagUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_groups?: NotificationTemplateProcessTagsMappingUncheckedUpdateManyWithoutNotification_template_tagNestedInput
  }

  export type NotificationTemplateTagUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateRecipientTagUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationTemplateUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    notification_template_process?: NotificationTemplateProcessUpdateOneRequiredWithoutNotification_templatesNestedInput
    notification_template_assignments?: NotificationTemplateAssignmentUpdateManyWithoutNotification_templateNestedInput
    created?: UserUpdateOneWithoutCreated_notification_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_notification_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_notification_templatesNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_template_assignments?: NotificationTemplateAssignmentUncheckedUpdateManyWithoutNotification_templateNestedInput
    approval_workflow_assignments_approve?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_mailNestedInput
    approval_workflow_assignments_approve_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApprove_whatsappNestedInput
    approval_workflow_assignments_reject?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_mailNestedInput
    approval_workflow_assignments_reject_wa?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutReject_whatsappNestedInput
  }

  export type NotificationTemplateUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    email_subject?: NullableStringFieldUpdateOperationsInput | string | null
    message?: NullableStringFieldUpdateOperationsInput | string | null
    components?: NullableJsonNullValueInput | InputJsonValue
    parameter_format?: NullableStringFieldUpdateOperationsInput | string | null
    category?: NullableStringFieldUpdateOperationsInput | string | null
    language?: NullableStringFieldUpdateOperationsInput | string | null
    email_body?: NullableStringFieldUpdateOperationsInput | string | null
    notification_template_process_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type NotificationProcessJobUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created?: UserUpdateOneWithoutCreated_notification_process_jobsNestedInput
  }

  export type NotificationProcessJobUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationProcessJobUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    notification_template_process_slug?: StringFieldUpdateOperationsInput | string
    unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type NotificationJobUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created?: UserUpdateOneWithoutCreated_notification_jobNestedInput
  }

  export type NotificationJobUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type NotificationJobUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_slug?: StringFieldUpdateOperationsInput | string
    notification_to?: NullableStringFieldUpdateOperationsInput | string | null
    notification_subject?: NullableStringFieldUpdateOperationsInput | string | null
    notification_content?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_path?: NullableStringFieldUpdateOperationsInput | string | null
    attachments_name?: NullableStringFieldUpdateOperationsInput | string | null
    notification_cc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_bcc?: NullableStringFieldUpdateOperationsInput | string | null
    notification_type_id?: StringFieldUpdateOperationsInput | string
    notification_status_id?: StringFieldUpdateOperationsInput | string
    notification_type?: EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType
    whatsapp_notification_data?: NullableJsonNullValueInput | InputJsonValue
    last_attempt_message?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    parent_id?: IntFieldUpdateOperationsInput | number
    no_of_attempts?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    sent_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created?: UserUpdateOneWithoutCreated_import_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_templatesNestedInput
    line_items?: ImportTemplateLineItemUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportTemplateLineItemUncheckedUpdateManyWithoutImport_templateNestedInput
    queries?: ImportTemplateQueriesUncheckedUpdateManyWithoutImport_templateNestedInput
    import_jobs?: ImportJobUncheckedUpdateManyWithoutImport_templateNestedInput
    direct_import_details?: DirectImportDetailsUncheckedUpdateManyWithoutImport_templateNestedInput
  }

  export type ImportTemplateUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    is_admin_module?: BoolFieldUpdateOperationsInput | boolean
    is_send_mail?: BoolFieldUpdateOperationsInput | boolean
    email_process_slug?: NullableStringFieldUpdateOperationsInput | string | null
    job_type?: NullableStringFieldUpdateOperationsInput | string | null
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportTemplateLineItemUpdateWithoutStatusInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    import_template?: ImportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutImportTemplateLineItemNestedInput
  }

  export type ImportTemplateLineItemUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateLineItemUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    width?: NullableIntFieldUpdateOperationsInput | number | null
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    check_reg_exp?: NullableStringFieldUpdateOperationsInput | string | null
    is_nullable?: BoolFieldUpdateOperationsInput | boolean
    is_unique?: BoolFieldUpdateOperationsInput | boolean
    is_foreign?: BoolFieldUpdateOperationsInput | boolean
    unique_query?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_query?: NullableStringFieldUpdateOperationsInput | string | null
    is_enum?: BoolFieldUpdateOperationsInput | boolean
    is_multiple?: BoolFieldUpdateOperationsInput | boolean
    enum_values?: NullableStringFieldUpdateOperationsInput | string | null
    expression_rules?: NullableJsonNullValueInput | InputJsonValue
    query_rules?: NullableJsonNullValueInput | InputJsonValue
    foreign_table?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_column?: NullableStringFieldUpdateOperationsInput | string | null
    foreign_can_create?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesUpdateWithoutStatusInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    import_template?: ImportTemplateUpdateOneRequiredWithoutQueriesNestedInput
  }

  export type ImportTemplateQueriesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ImportTemplateQueriesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    allow_multiple?: BoolFieldUpdateOperationsInput | boolean
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    before_lineitems?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created?: UserUpdateOneWithoutCreated_export_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_export_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_export_templatesNestedInput
    line_items?: ExportTemplateLineItemUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ExportTemplateLineItemUncheckedUpdateManyWithoutExport_templateNestedInput
    queries?: ExportTemplateQueriesUncheckedUpdateManyWithoutExport_templateNestedInput
  }

  export type ExportTemplateUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    max_row_count?: IntFieldUpdateOperationsInput | number
    header_row?: IntFieldUpdateOperationsInput | number
    data_start_row?: IntFieldUpdateOperationsInput | number
    data_end_row?: IntFieldUpdateOperationsInput | number
    data_filepath?: NullableStringFieldUpdateOperationsInput | string | null
    template_type?: EnumTemplateTypeFieldUpdateOperationsInput | $Enums.TemplateType
    pdf_configurations?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ExportTemplateLineItemUpdateWithoutStatusInput = {
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    export_template?: ExportTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
    field_type?: FieldTypeUpdateOneWithoutExportTemplateLineItemNestedInput
  }

  export type ExportTemplateLineItemUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateLineItemUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    field_name?: StringFieldUpdateOperationsInput | string
    display_name?: StringFieldUpdateOperationsInput | string
    field_table?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    default_value?: NullableStringFieldUpdateOperationsInput | string | null
    column_name?: NullableStringFieldUpdateOperationsInput | string | null
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    individual_column?: NullableStringFieldUpdateOperationsInput | string | null
    field_type_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesUpdateWithoutStatusInput = {
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    export_template?: ExportTemplateUpdateOneRequiredWithoutQueriesNestedInput
  }

  export type ExportTemplateQueriesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ExportTemplateQueriesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    export_template_id?: IntFieldUpdateOperationsInput | number
    query_string?: NullableStringFieldUpdateOperationsInput | string | null
    query_name?: StringFieldUpdateOperationsInput | string
    query_procedure?: StringFieldUpdateOperationsInput | string
    is_individual?: BoolFieldUpdateOperationsInput | boolean
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type DesignationUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUpdateManyWithoutDesignationNestedInput
    created?: UserUpdateOneWithoutCreated_designationsNestedInput
    updated?: UserUpdateOneWithoutUpdated_designationsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_designationsNestedInput
  }

  export type DesignationUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDesignationNestedInput
  }

  export type DesignationUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DepartmentUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUpdateManyWithoutDepartmentNestedInput
    department_head?: UserUpdateOneWithoutHead_departmentsNestedInput
    created?: UserUpdateOneWithoutCreated_departmentsNestedInput
    updated?: UserUpdateOneWithoutUpdated_departmentsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_departmentsNestedInput
  }

  export type DepartmentUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    users?: UserDetailUncheckedUpdateManyWithoutDepartmentNestedInput
  }

  export type DepartmentUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    department_head_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AuditLogUpdateWithoutStatusInput = {
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    user?: UserUpdateOneWithoutAudit_logsNestedInput
  }

  export type AuditLogUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type AuditLogUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    operation_type?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    field_name?: StringFieldUpdateOperationsInput | string
    old_value?: NullableStringFieldUpdateOperationsInput | string | null
    new_value?: NullableStringFieldUpdateOperationsInput | string | null
    entity_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FinancialYearUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUpdateManyWithoutFinanicial_yearNestedInput
    created?: UserUpdateOneWithoutCreated_fin_yearsNestedInput
    updated?: UserUpdateOneWithoutUpdated_fin_yearsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_fin_yearsNestedInput
  }

  export type FinancialYearUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    document_sequence?: DocumentSequenceUncheckedUpdateManyWithoutFinanicial_yearNestedInput
  }

  export type FinancialYearUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    is_freezed?: BoolFieldUpdateOperationsInput | boolean
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    finanicial_year?: FinancialYearUpdateOneWithoutDocument_sequenceNestedInput
    created?: UserUpdateOneWithoutCreated_doc_sequencesNestedInput
    updated?: UserUpdateOneWithoutUpdated_doc_sequencesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_doc_sequencesNestedInput
  }

  export type DocumentSequenceUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DocumentSequenceUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    module_name?: StringFieldUpdateOperationsInput | string
    financial_year_id?: NullableIntFieldUpdateOperationsInput | number | null
    current_sequence_no?: IntFieldUpdateOperationsInput | number
    start_sequence_no?: IntFieldUpdateOperationsInput | number
    end_sequence_no?: IntFieldUpdateOperationsInput | number
    sequence_length?: IntFieldUpdateOperationsInput | number
    code_format?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type FileUploadLogUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FileUploadLogUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type FileUploadLogUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    doc_name?: NullableStringFieldUpdateOperationsInput | string | null
    org_name?: NullableStringFieldUpdateOperationsInput | string | null
    extension?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type DeviceRegistrationUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_device_registration?: UserUpdateOneRequiredWithoutCreated_device_registrationNestedInput
    updated_device_registration?: UserUpdateOneWithoutUpdated_device_registrationNestedInput
    deleted_device_registration?: UserUpdateOneWithoutDeleted_device_registrationNestedInput
    user?: UserUpdateOneRequiredWithoutDeviceRegistrationNestedInput
  }

  export type DeviceRegistrationUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeviceRegistrationUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    device_name?: StringFieldUpdateOperationsInput | string
    device_unique_id?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    import_template?: ImportTemplateUpdateOneWithoutImport_jobsNestedInput
    created?: UserUpdateOneWithoutCreated_import_jobNestedInput
    updated?: UserUpdateOneWithoutUpdated_import_jobNestedInput
    deleted?: UserUpdateOneWithoutDeleted_import_jobNestedInput
    line_items?: ImportJobLineItemUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: ImportJobLineItemUncheckedUpdateManyWithoutImport_jobNestedInput
  }

  export type ImportJobUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_number?: NullableStringFieldUpdateOperationsInput | string | null
    ignore_error_rows?: BoolFieldUpdateOperationsInput | boolean
    header_details?: NullableJsonNullValueInput | InputJsonValue
    table_config?: NullableJsonNullValueInput | InputJsonValue
    total_rows?: IntFieldUpdateOperationsInput | number
    completed_rows?: IntFieldUpdateOperationsInput | number
    error_rows?: IntFieldUpdateOperationsInput | number
    batch_process_count?: NullableIntFieldUpdateOperationsInput | number | null
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    last_processed_row_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    validation_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    validation_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processing_completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    expected_completion_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemUpdateWithoutStatusInput = {
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    import_job?: ImportJobUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type ImportJobLineItemUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_job_id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ImportJobLineItemUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    import_job_id?: IntFieldUpdateOperationsInput | number
    row_object?: NullableJsonNullValueInput | InputJsonValue
    job_status?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    validated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type PoliciesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUpdateManyWithoutPolicyNestedInput
    created_policy?: UserUpdateOneRequiredWithoutCreated_policyNestedInput
    updated_policy?: UserUpdateOneWithoutUpdated_policyNestedInput
    deleted_policy?: UserUpdateOneWithoutDeleted_policyNestedInput
  }

  export type PoliciesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user_policy?: UserPoliciesUncheckedUpdateManyWithoutPolicyNestedInput
    role_policy?: RolePoliciesUncheckedUpdateManyWithoutPolicyNestedInput
  }

  export type PoliciesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    query_information?: NullableJsonNullValueInput | InputJsonValue
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AppversionsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
    created_app_versions?: UserUpdateOneRequiredWithoutCreated_app_versionsNestedInput
    updated_app_versions?: UserUpdateOneWithoutUpdated_app_versionsNestedInput
    deleted_app_versions?: UserUpdateOneWithoutDeleted_app_versionsNestedInput
  }

  export type AppversionsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type AppversionsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    type?: StringFieldUpdateOperationsInput | string
    version_type?: StringFieldUpdateOperationsInput | string
    version?: StringFieldUpdateOperationsInput | string
    description?: StringFieldUpdateOperationsInput | string
    is_frontend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_backend_changed?: BoolFieldUpdateOperationsInput | boolean
    is_database_changed?: BoolFieldUpdateOperationsInput | boolean
    developed_by?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    app_url?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ApprovalWorkflowUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUpdateManyWithoutApproval_workflowNestedInput
  }

  export type ApprovalWorkflowUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow_assignments?: ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApproval_workflowNestedInput
  }

  export type ApprovalWorkflowUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    slug?: StringFieldUpdateOperationsInput | string
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalProcessJobWorkflowUpdateWithoutStatusInput = {
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUpdateManyWithoutApproval_process_job_workflowNestedInput
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_workflow_users?: ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutApproval_process_job_workflowNestedInput
  }

  export type ApprovalProcessJobWorkflowUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    approval_workflow_assignment_id?: IntFieldUpdateOperationsInput | number
    approval_process_job_id?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approval_process_job_name?: NullableStringFieldUpdateOperationsInput | string | null
    approval_process_job_description?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalProcessJobWorkflowUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalProcessJobWorkflowUpdatereject_query_informationInput | string[]
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    sequence_no?: StringFieldUpdateOperationsInput | string
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    url?: NullableStringFieldUpdateOperationsInput | string | null
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    review_status?: EnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus
    reviewed_by?: NullableIntFieldUpdateOperationsInput | number | null
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ApprovalWorkflowApproverTagUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowApproverTagUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowApproverTagUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    query_information?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approval_workflow?: ApprovalWorkflowUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalProcessJobUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_workflow_slug?: StringFieldUpdateOperationsInput | string
    sequence_no?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    primary_table?: NullableStringFieldUpdateOperationsInput | string | null
    unique_id?: NullableIntFieldUpdateOperationsInput | number | null
    screen_id?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prefill_data?: NullableStringFieldUpdateOperationsInput | string | null
    details?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobWorkflowUserUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    approval_process_job_workflow?: ApprovalProcessJobWorkflowUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_process_job_workflow_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approval_process_job_workflow_id?: IntFieldUpdateOperationsInput | number
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type DelegationUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DelegationUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DelegationUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    delegated_user_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    start_date?: DateTimeFieldUpdateOperationsInput | Date | string
    end_date?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AboutLCPUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AboutLCPUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type AboutLCPUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    type?: EnumaboutTypeFieldUpdateOperationsInput | $Enums.aboutType
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null
    documentation_video_url?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_pdf?: NullableStringFieldUpdateOperationsInput | string | null
    documentation_word?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type SchemaChunkUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type SchemaChunkUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type SchemaChunkUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    table_name?: StringFieldUpdateOperationsInput | string
    chunk?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type OpenaiUsageLogUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OpenaiUsageLogUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type OpenaiUsageLogUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    prompt?: StringFieldUpdateOperationsInput | string
    generated_sql?: StringFieldUpdateOperationsInput | string
    prompt_tokens?: IntFieldUpdateOperationsInput | number
    completion_tokens?: IntFieldUpdateOperationsInput | number
    total_tokens?: IntFieldUpdateOperationsInput | number
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type EmbeddingVectorLogsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type EmbeddingVectorLogsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type EmbeddingVectorLogsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    cost?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    table_name?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type QueryExecutionLogUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    query?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    created_by?: IntFieldUpdateOperationsInput | number
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    child_process_logs?: ChildProcessLogUpdateManyWithoutChild_processNestedInput
  }

  export type ChildProcessUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    child_process_logs?: ChildProcessLogUncheckedUpdateManyWithoutChild_processNestedInput
  }

  export type ChildProcessUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    command?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    child_process?: ChildProcessUpdateOneRequiredWithoutChild_process_logsNestedInput
    initiator?: UserUpdateOneRequiredWithoutChildProcessLogNestedInput
  }

  export type ChildProcessLogUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    child_process_id?: IntFieldUpdateOperationsInput | number
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created?: UserUpdateOneWithoutCreated_carousel_templatesNestedInput
    updated?: UserUpdateOneWithoutUpdated_carousel_templatesNestedInput
    deleted?: UserUpdateOneWithoutDeleted_carousel_templatesNestedInput
    line_items?: CarouselTemplateLineItemUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    line_items?: CarouselTemplateLineItemUncheckedUpdateManyWithoutCarousel_templateNestedInput
  }

  export type CarouselTemplateUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CarouselTemplateLineItemUpdateWithoutStatusInput = {
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    carousel_template?: CarouselTemplateUpdateOneRequiredWithoutLine_itemsNestedInput
  }

  export type CarouselTemplateLineItemUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    carousel_template_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CarouselTemplateLineItemUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    carousel_template_id?: IntFieldUpdateOperationsInput | number
    name?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    image_url?: NullableStringFieldUpdateOperationsInput | string | null
    video_url?: NullableStringFieldUpdateOperationsInput | string | null
    clickable_link?: NullableStringFieldUpdateOperationsInput | string | null
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ScheduledJobLogsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    scheduled_job?: ScheduledJobUpdateOneRequiredWithoutScheduled_job_logsNestedInput
  }

  export type ScheduledJobLogsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    scheduled_job_id?: IntFieldUpdateOperationsInput | number
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    scheduled_job_id?: IntFieldUpdateOperationsInput | number
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    scheduled_job_logs?: ScheduledJobLogsUpdateManyWithoutScheduled_jobNestedInput
  }

  export type ScheduledJobUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    scheduled_job_logs?: ScheduledJobLogsUncheckedUpdateManyWithoutScheduled_jobNestedInput
  }

  export type ScheduledJobUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    timing?: StringFieldUpdateOperationsInput | string
    cron_url?: NullableStringFieldUpdateOperationsInput | string | null
    concat_base_url?: BoolFieldUpdateOperationsInput | boolean
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type CategoriesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    category_type?: CategoryTypesUpdateOneRequiredWithoutCategoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_type_id?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    CreatedThemeAttributes?: UserUpdateOneWithoutCreatedThemeAttributesNestedInput
    UpdatedThemeAttributes?: UserUpdateOneWithoutUpdatedThemeAttributesNestedInput
    DeletedThemeAttributes?: UserUpdateOneWithoutDeletedThemeAttributesNestedInput
  }

  export type ThemeAttributesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeAttributesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUpdateManyWithoutThemesNestedInput
    CreatedTheme?: UserUpdateOneWithoutCreatedThemeNestedInput
    UpdatedTheme?: UserUpdateOneWithoutUpdatedThemeNestedInput
    DeletedTheme?: UserUpdateOneWithoutDeletedThemeNestedInput
  }

  export type ThemesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    theme_attributes?: ThemeLineItemsUncheckedUpdateManyWithoutThemesNestedInput
  }

  export type ThemesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    reference_images?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    themes?: ThemesUpdateOneRequiredWithoutTheme_attributesNestedInput
    CreatedThemeLineItems?: UserUpdateOneWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: UserUpdateOneWithoutDeletedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    theme_id?: IntFieldUpdateOperationsInput | number
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_barcode_templates?: UserUpdateOneRequiredWithoutCreated_barcode_templatesNestedInput
    updated_barcode_templates?: UserUpdateOneWithoutUpdated_barcode_templatesNestedInput
    deleted_barcode_templates?: UserUpdateOneWithoutDeleted_barcode_templatesNestedInput
  }

  export type BarcodeTemplatesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type BarcodeTemplatesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    prefix?: StringFieldUpdateOperationsInput | string
    label_start?: StringFieldUpdateOperationsInput | string
    label_end?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    page_width?: IntFieldUpdateOperationsInput | number
    page_height?: IntFieldUpdateOperationsInput | number
    zpl_code?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserLoginHistoryUpdateWithoutStatusInput = {
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
    user?: UserUpdateOneRequiredWithoutUser_login_historiesNestedInput
  }

  export type UserLoginHistoryUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type UserLoginHistoryUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    session_id?: NullableStringFieldUpdateOperationsInput | string | null
    login_time?: DateTimeFieldUpdateOperationsInput | Date | string
    logout_time?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    ip_address?: NullableStringFieldUpdateOperationsInput | string | null
    user_agent?: NullableStringFieldUpdateOperationsInput | string | null
    login_status?: EnumLoginStatusFieldUpdateOperationsInput | $Enums.LoginStatus
    failure_reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    device_id?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DirectImportDetailsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    import_template?: ImportTemplateUpdateOneWithoutDirect_import_detailsNestedInput
    created?: UserUpdateOneWithoutCreated_direct_import_detailsNestedInput
    updated?: UserUpdateOneWithoutUpdated_direct_import_detailsNestedInput
    deleted?: UserUpdateOneWithoutDeleted_direct_import_detailsNestedInput
  }

  export type DirectImportDetailsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DirectImportDetailsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    import_template_id?: NullableIntFieldUpdateOperationsInput | number | null
    file_path?: NullableStringFieldUpdateOperationsInput | string | null
    file_name?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNotesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DeliveryNoteLineItemsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput
  }

  export type DeliveryNoteLineItemsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNoteLineItemsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CustomerDeliveryAddressesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_notes?: DeliveryNotesUpdateManyWithoutCustomer_delivery_addressNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutCustomer_addressNestedInput
  }

  export type CustomerDeliveryAddressesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressNestedInput
  }

  export type CustomerDeliveryAddressesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_address_code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    billing_address?: NullableStringFieldUpdateOperationsInput | string | null
    shipping_address?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_location?: StringFieldUpdateOperationsInput | string
    customer_contact_no?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_address_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentCustomersUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput
    customer?: UserUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsLocationUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentDeliveryNotesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_location?: ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle_gps_data?: VehiclesGpsDataUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_gps_data_log?: VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleNestedInput
    geo_fence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_user_mapping?: VehicleUserMappingUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleNestedInput
    shipments?: ShipmentsUncheckedUpdateManyWithoutVehicleNestedInput
    vehicle_trip_histories?: VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleNestedInput
  }

  export type VehiclesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_plate_number?: StringFieldUpdateOperationsInput | string
    vehicle_register_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    is_assigned?: BoolFieldUpdateOperationsInput | boolean
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
    user?: UserUpdateOneWithoutVehicle_gps_dataNestedInput
  }

  export type VehiclesGpsDataUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type GeoFencesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    geofence_tracking?: GeoFenceTrackingUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    geofence_tracking?: GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceNestedInput
    customer_geofence_mapping?: CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceNestedInput
  }

  export type GeoFencesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    zone_name?: StringFieldUpdateOperationsInput | string
    zone_type?: EnumZoneTypeFieldUpdateOperationsInput | $Enums.ZoneType
    radius?: NullableStringFieldUpdateOperationsInput | string | null
    category?: EnumGeoCategoryFieldUpdateOperationsInput | $Enums.GeoCategory
    latitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude_coords?: NullableFloatFieldUpdateOperationsInput | number | null
    paths?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type GeoFenceTrackingUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    vehicle?: VehiclesUpdateOneRequiredWithoutGeo_fence_trackingNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutGeofence_trackingNestedInput
  }

  export type GeoFenceTrackingUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type CustomerGeoFenceMappingUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    geofence?: GeoFencesUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
  }

  export type CustomerGeoFenceMappingUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type DeliveryNoteStatusUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    delivery_notes?: DeliveryNotesUpdateManyWithoutDn_statusNestedInput
  }

  export type DeliveryNoteStatusUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    delivery_notes?: DeliveryNotesUncheckedUpdateManyWithoutDn_statusNestedInput
  }

  export type DeliveryNoteStatusUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ErpLogsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
    erp_logs_line_items?: ErpLogsLineItemsUpdateManyWithoutErp_logsNestedInput
  }

  export type ErpLogsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
    erp_logs_line_items?: ErpLogsLineItemsUncheckedUpdateManyWithoutErp_logsNestedInput
  }

  export type ErpLogsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    req_method?: NullableStringFieldUpdateOperationsInput | string | null
    req_url?: NullableStringFieldUpdateOperationsInput | string | null
    req_body?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    response_object?: NullableJsonNullValueInput | InputJsonValue
    sync_status?: EnumSyncDataFieldUpdateOperationsInput | $Enums.SyncData
    sync_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ErpLogsLineItemsUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    erp_logs?: ErpLogsUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput
  }

  export type ErpLogsLineItemsUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    erp_logs_id?: IntFieldUpdateOperationsInput | number
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ErpLogsLineItemsUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    erp_logs_id?: IntFieldUpdateOperationsInput | number
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
  }

  export type VehicleUserMappingUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    vehicle_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleGeofenceHistoryUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type TempSessionDataUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type TempSessionDataUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type TempSessionDataUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    session_id?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    first_name?: StringFieldUpdateOperationsInput | string
    delivery_location?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    customer_delivery_id?: IntFieldUpdateOperationsInput | number
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ShipmentStatusUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
    shipments?: ShipmentsUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusNestedInput
  }

  export type ShipmentStatusUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentStatusHistoryUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ShipmentStatusHistoryUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type ShipmentStatusHistoryUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    ref_id?: IntFieldUpdateOperationsInput | number
    table_name?: EnumETablesFieldUpdateOperationsInput | $Enums.ETables
    from_state?: IntFieldUpdateOperationsInput | number
    to_state?: IntFieldUpdateOperationsInput | number
    changed_by?: IntFieldUpdateOperationsInput | number
    changed_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
  }

  export type PodStatusUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
    shipments_location?: ShipmentsLocationUpdateManyWithoutPod_statusNestedInput
  }

  export type PodStatusUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
    shipments_location?: ShipmentsLocationUncheckedUpdateManyWithoutPod_statusNestedInput
  }

  export type PodStatusUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    slug?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_color_code?: StringFieldUpdateOperationsInput | string
  }

  export type VehicleTripHistoriesUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
    user?: UserUpdateOneWithoutVehicle_trip_historiesNestedInput
  }

  export type VehicleTripHistoriesUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ShipmentLocationContactInfoHistoryUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentLocationContactInfoHistoryUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentLocationContactInfoHistoryUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    from_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    from_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    to_customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type TreeBuilderExampleUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    parent?: TreeBuilderExampleUpdateOneWithoutChildrenNestedInput
    children?: TreeBuilderExampleUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: TreeBuilderExampleUncheckedUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    parent_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationUpdateWithoutStatusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationUncheckedUpdateWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type userSearchConfigurationUncheckedUpdateManyWithoutStatusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: IntFieldUpdateOperationsInput | number
    entity_slug?: StringFieldUpdateOperationsInput | string
    view_name?: StringFieldUpdateOperationsInput | string
    is_default?: BoolFieldUpdateOperationsInput | boolean
    search_values?: NullableJsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type CategoriesCreateManyCategory_typeInput = {
    id?: number
    uuid?: string
    category_id: string
    parent_id?: string | null
    name: string
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type CategoriesUpdateWithoutCategory_typeInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApp_categoriesNestedInput
    created_categories?: UserUpdateOneWithoutCreated_categoriesNestedInput
    updated_categories?: UserUpdateOneWithoutUpdated_categoriesNestedInput
    deleted_categories?: UserUpdateOneWithoutDeleted_categoriesNestedInput
    configurations?: ConfigurationsUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateWithoutCategory_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    configurations?: ConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
    user_configurations?: UserConfigurationsUncheckedUpdateManyWithoutCategoryNestedInput
  }

  export type CategoriesUncheckedUpdateManyWithoutCategory_typeInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    category_id?: StringFieldUpdateOperationsInput | string
    parent_id?: NullableStringFieldUpdateOperationsInput | string | null
    name?: StringFieldUpdateOperationsInput | string
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsCreateManyCategoryInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type UserConfigurationsCreateManyCategoryInput = {
    id?: number
    uuid?: string
    order_no?: Decimal | DecimalJsLike | number | string
    config_key: string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: string | null
    config_value_type: string
    config_field_type: string
    display_config?: boolean
    config_value?: string | null
    user_id: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string | null
    deleted_at?: Date | string | null
  }

  export type ConfigurationsUpdateWithoutCategoryInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_configurations?: UserUpdateOneWithoutCreated_configurationsNestedInput
    updated_configurations?: UserUpdateOneWithoutUpdated_configurationsNestedInput
    deleted_configurations?: UserUpdateOneWithoutDeleted_configurationsNestedInput
  }

  export type ConfigurationsUncheckedUpdateWithoutCategoryInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ConfigurationsUncheckedUpdateManyWithoutCategoryInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUpdateWithoutCategoryInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_user_configurations?: UserUpdateOneWithoutCreated_user_configurationsNestedInput
    updated_user_configurations?: UserUpdateOneWithoutUpdated_user_configurationsNestedInput
    deleted_user_configurations?: UserUpdateOneWithoutDeleted_user_configurationsNestedInput
  }

  export type UserConfigurationsUncheckedUpdateWithoutCategoryInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserConfigurationsUncheckedUpdateManyWithoutCategoryInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    config_key?: StringFieldUpdateOperationsInput | string
    config_select_json?: NullableJsonNullValueInput | InputJsonValue
    config_file_value?: NullableStringFieldUpdateOperationsInput | string | null
    config_value_type?: StringFieldUpdateOperationsInput | string
    config_field_type?: StringFieldUpdateOperationsInput | string
    display_config?: BoolFieldUpdateOperationsInput | boolean
    config_value?: NullableStringFieldUpdateOperationsInput | string | null
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type UserPoliciesCreateManyPolicyInput = {
    user_id: number
  }

  export type RolePoliciesCreateManyPolicyInput = {
    role_id: number
  }

  export type UserPoliciesUpdateWithoutPolicyInput = {
    user?: UserUpdateOneRequiredWithoutUser_policyNestedInput
  }

  export type UserPoliciesUncheckedUpdateWithoutPolicyInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type UserPoliciesUncheckedUpdateManyWithoutPolicyInput = {
    user_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesUpdateWithoutPolicyInput = {
    role?: RoleUpdateOneRequiredWithoutRole_policyNestedInput
  }

  export type RolePoliciesUncheckedUpdateWithoutPolicyInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type RolePoliciesUncheckedUpdateManyWithoutPolicyInput = {
    role_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsCreateManyScheduled_jobInput = {
    id?: number
    uuid?: string
    executed_statement?: string | null
    schedule_status?: string | null
    downloadables?: string | null
    response?: string | null
    created_at?: Date | string
    company_id?: number
    status_id?: number
  }

  export type ScheduledJobLogsUpdateWithoutScheduled_jobInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status?: StatusUpdateOneRequiredWithoutScheduled_job_logsNestedInput
  }

  export type ScheduledJobLogsUncheckedUpdateWithoutScheduled_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ScheduledJobLogsUncheckedUpdateManyWithoutScheduled_jobInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    executed_statement?: NullableStringFieldUpdateOperationsInput | string | null
    schedule_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    response?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalWorkflowAssignmentCreateManyApproval_workflowInput = {
    id?: number
    uuid?: string
    approver_order_no?: Decimal | DecimalJsLike | number | string
    approver_type?: $Enums.ApproverType
    approver?: string | null
    approve_query_information?: ApprovalWorkflowAssignmentCreateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentCreatereject_query_informationInput | string[]
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    approve_mail_id?: number | null
    reject_mail_id?: number | null
    approve_whatsapp_id?: number | null
    reject_whatsapp_id?: number | null
  }

  export type ApprovalWorkflowAssignmentUpdateWithoutApproval_workflowInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutApproval_workflow_assignmentsNestedInput
    approve_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approveNestedInput
    reject_mail?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_rejectNestedInput
    approve_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_approve_waNestedInput
    reject_whatsapp?: NotificationTemplateUpdateOneWithoutApproval_workflow_assignments_reject_waNestedInput
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateWithoutApproval_workflowInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalWorkflowAssignmentUncheckedUpdateManyWithoutApproval_workflowInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    approver_order_no?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    approver_type?: EnumApproverTypeFieldUpdateOperationsInput | $Enums.ApproverType
    approver?: NullableStringFieldUpdateOperationsInput | string | null
    approve_query_information?: ApprovalWorkflowAssignmentUpdateapprove_query_informationInput | string[]
    reject_query_information?: ApprovalWorkflowAssignmentUpdatereject_query_informationInput | string[]
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    approve_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_mail_id?: NullableIntFieldUpdateOperationsInput | number | null
    approve_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
    reject_whatsapp_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type ApprovalProcessJobWorkflowUserCreateManyApproval_process_job_workflowInput = {
    id?: number
    uuid?: string
    user_id?: number | null
    status_id?: number
  }

  export type ApprovalProcessJobWorkflowUserUpdateWithoutApproval_process_job_workflowInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status?: StatusUpdateOneRequiredWithoutApproval_process_job_workflow_usersNestedInput
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateWithoutApproval_process_job_workflowInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ApprovalProcessJobWorkflowUserUncheckedUpdateManyWithoutApproval_process_job_workflowInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    user_id?: NullableIntFieldUpdateOperationsInput | number | null
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type ChildProcessLogCreateManyChild_processInput = {
    id?: number
    uuid?: string
    process_status?: string | null
    downloadables?: string | null
    output: string
    initiated_by: number
    status_id?: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ChildProcessLogUpdateWithoutChild_processInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutChild_process_logsNestedInput
    initiator?: UserUpdateOneRequiredWithoutChildProcessLogNestedInput
  }

  export type ChildProcessLogUncheckedUpdateWithoutChild_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ChildProcessLogUncheckedUpdateManyWithoutChild_processInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    process_status?: NullableStringFieldUpdateOperationsInput | string | null
    downloadables?: NullableStringFieldUpdateOperationsInput | string | null
    output?: StringFieldUpdateOperationsInput | string
    initiated_by?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsCreateManyThemesInput = {
    id?: number
    uuid?: string
    attribute: string
    value?: string | null
    description?: string | null
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ThemeLineItemsUpdateWithoutThemesInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTheme_line_itemsNestedInput
    CreatedThemeLineItems?: UserUpdateOneWithoutCreatedThemeLineItemsNestedInput
    UpdatedThemeLineItems?: UserUpdateOneWithoutUpdatedThemeLineItemsNestedInput
    DeletedThemeLineItems?: UserUpdateOneWithoutDeletedThemeLineItemsNestedInput
  }

  export type ThemeLineItemsUncheckedUpdateWithoutThemesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ThemeLineItemsUncheckedUpdateManyWithoutThemesInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    attribute?: StringFieldUpdateOperationsInput | string
    value?: NullableStringFieldUpdateOperationsInput | string | null
    description?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type TreeBuilderExampleCreateManyParentInput = {
    id?: number
    uuid?: string
    name: string
    code: string
    status_id?: number
    created_by?: number | null
    updated_by?: number | null
    deleted_by?: number | null
    created_at?: Date | string
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type TreeBuilderExampleUpdateWithoutParentInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutTree_builder_examplesNestedInput
    children?: TreeBuilderExampleUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateWithoutParentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    children?: TreeBuilderExampleUncheckedUpdateManyWithoutParentNestedInput
  }

  export type TreeBuilderExampleUncheckedUpdateManyWithoutParentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    name?: StringFieldUpdateOperationsInput | string
    code?: StringFieldUpdateOperationsInput | string
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNoteLineItemsCreateManyDelivery_noteInput = {
    id?: number
    uuid?: string
    length?: Decimal | DecimalJsLike | number | string
    quantity: number
    weight: number
    item_description?: string | null
    slip_no: string
    section_number: string
    item_code: string
    remarks?: string | null
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesCreateManyDelivery_noteInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type DeliveryNoteLineItemsUpdateWithoutDelivery_noteInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutDelivery_note_line_itemsNestedInput
  }

  export type DeliveryNoteLineItemsUncheckedUpdateWithoutDelivery_noteInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    length?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
    quantity?: IntFieldUpdateOperationsInput | number
    weight?: IntFieldUpdateOperationsInput | number
    item_description?: NullableStringFieldUpdateOperationsInput | string | null
    slip_no?: StringFieldUpdateOperationsInput | string
    section_number?: StringFieldUpdateOperationsInput | string
    item_code?: StringFieldUpdateOperationsInput | string
    remarks?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUpdateWithoutDelivery_noteInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_location?: ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateWithoutDelivery_noteInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type DeliveryNotesCreateManyDn_statusInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_delivery_address_id: number
    customer_id: number
    status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type DeliveryNotesUpdateWithoutDn_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutDelivery_notesNestedInput
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutDn_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutDn_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_delivery_address_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type DeliveryNotesCreateManyCustomer_delivery_addressInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    supply_agreement?: string | null
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    customer_id: number
    status_id?: number
    dn_status_id?: number
    company_id: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_info?: string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentsLocationCreateManyCustomer_addressInput = {
    id?: number
    uuid?: string
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type DeliveryNotesUpdateWithoutCustomer_delivery_addressInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer?: UserUpdateOneRequiredWithoutDelivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    dn_status?: DeliveryNoteStatusUpdateOneRequiredWithoutDelivery_notesNestedInput
    delivery_note_line_items?: DeliveryNoteLineItemsUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateWithoutCustomer_delivery_addressInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    delivery_note_line_items?: DeliveryNoteLineItemsUncheckedUpdateManyWithoutDelivery_noteNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutDelivery_noteNestedInput
  }

  export type DeliveryNotesUncheckedUpdateManyWithoutCustomer_delivery_addressInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    supply_agreement?: NullableStringFieldUpdateOperationsInput | string | null
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    dn_status_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_info?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentsLocationUpdateWithoutCustomer_addressInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutCustomer_addressInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutCustomer_addressInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentCustomersCreateManyShipmentsInput = {
    id?: number
    uuid?: string
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentsLocationCreateManyShipmentsInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentDeliveryNotesCreateManyShipmentsInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type VehicleGeofenceHistoryCreateManyShipmentInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type ShipmentCustomersUpdateWithoutShipmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_customersNestedInput
    customer?: UserUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsLocationUpdateWithoutShipmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentDeliveryNotesUpdateWithoutShipmentsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_location?: ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleGeofenceHistoryUpdateWithoutShipmentInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutShipmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ShipmentsLocationCreateManyShipment_customersInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentsLocationUpdateWithoutShipment_customersInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentDeliveryNotesCreateManyShipment_locationInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentDeliveryNotesUpdateWithoutShipment_locationInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataCreateManyVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type VehiclesGpsDataLogCreateManyVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_id?: number | null
    process_status_id?: number | null
    processed_at?: Date | string | null
  }

  export type GeoFenceTrackingCreateManyVehicleInput = {
    id?: number
    uuid?: string
    geofence_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type VehicleUserMappingCreateManyVehicleInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    user_id: number
    created_by?: number | null
    created_at?: Date | string | null
  }

  export type VehicleGeofenceHistoryCreateManyVehicleInput = {
    id?: number
    uuid?: string
    driver_id?: number | null
    customer_id: number
    geofence_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type ShipmentsCreateManyVehicleInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    shipment_status_id?: number
    reason?: string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
  }

  export type VehicleTripHistoriesCreateManyVehicleInput = {
    id?: number
    uuid?: string
    latitude?: number | null
    longitude?: number | null
    gps_timestamp: Date | string
    unique_gps_data_id: string
    driver_id?: number | null
    created_at?: Date | string
    company_id: number
    status_id?: number
    shipment_location_uid?: string | null
    trip_type?: string | null
    shipment_id?: number | null
  }

  export type VehiclesGpsDataUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user?: UserUpdateOneWithoutVehicle_gps_dataNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_gps_dataNestedInput
  }

  export type VehiclesGpsDataUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    user?: UserUpdateOneWithoutVehicle_gps_data_logNestedInput
  }

  export type VehiclesGpsDataLogUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehiclesGpsDataLogUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    process_status_id?: NullableIntFieldUpdateOperationsInput | number | null
    processed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type GeoFenceTrackingUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    geofence?: GeoFencesUpdateOneRequiredWithoutGeofence_trackingNestedInput
    status?: StatusUpdateOneRequiredWithoutGeofence_trackingNestedInput
  }

  export type GeoFenceTrackingUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    geofence_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type VehicleUserMappingUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutVehicle_user_mappingNestedInput
  }

  export type VehicleUserMappingUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleUserMappingUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    user_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleGeofenceHistoryUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    geofence?: GeoFencesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    geofence_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ShipmentsUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type VehicleTripHistoriesUpdateWithoutVehicleInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
    user?: UserUpdateOneWithoutVehicle_trip_historiesNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_trip_historiesNestedInput
  }

  export type VehicleTripHistoriesUncheckedUpdateWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type VehicleTripHistoriesUncheckedUpdateManyWithoutVehicleInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    gps_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    unique_gps_data_id?: StringFieldUpdateOperationsInput | string
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: NullableStringFieldUpdateOperationsInput | string | null
    trip_type?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_id?: NullableIntFieldUpdateOperationsInput | number | null
  }

  export type GeoFenceTrackingCreateManyGeofenceInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    activity_type?: $Enums.GeoTracActivity
    activity_at: Date | string
    company_id: number
    status_id?: number
  }

  export type CustomerGeoFenceMappingCreateManyGeofenceInput = {
    id?: number
    uuid?: string
    company_id: number
    status_id?: number
    order_no: number
    customer_id: number
    description?: string | null
    created_by?: number | null
    created_at?: Date | string
  }

  export type VehicleGeofenceHistoryCreateManyGeofenceInput = {
    id?: number
    uuid?: string
    vehicle_id: number
    driver_id?: number | null
    customer_id: number
    event_type: $Enums.GeoFenceEventType
    event_timestamp: Date | string
    shipment_id: number
    company_id: number
    status_id?: number
    latitude?: number | null
    longitude?: number | null
    created_at?: Date | string
  }

  export type GeoFenceTrackingUpdateWithoutGeofenceInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    vehicle?: VehiclesUpdateOneRequiredWithoutGeo_fence_trackingNestedInput
    status?: StatusUpdateOneRequiredWithoutGeofence_trackingNestedInput
  }

  export type GeoFenceTrackingUncheckedUpdateWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type GeoFenceTrackingUncheckedUpdateManyWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    activity_type?: EnumGeoTracActivityFieldUpdateOperationsInput | $Enums.GeoTracActivity
    activity_at?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
  }

  export type CustomerGeoFenceMappingUpdateWithoutGeofenceInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    status?: StatusUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
    user?: UserUpdateOneRequiredWithoutCustomer_geofence_mappingNestedInput
  }

  export type CustomerGeoFenceMappingUncheckedUpdateWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type CustomerGeoFenceMappingUncheckedUpdateManyWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    order_no?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    description?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUpdateWithoutGeofenceInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    company_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    vehicle?: VehiclesUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    driver?: UserUpdateOneWithoutVehicle_geofence_history_driverNestedInput
    customer?: UserUpdateOneRequiredWithoutVehicle_geofence_history_customerNestedInput
    shipment?: ShipmentsUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
    status?: StatusUpdateOneRequiredWithoutVehicle_geofence_historyNestedInput
  }

  export type VehicleGeofenceHistoryUncheckedUpdateWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type VehicleGeofenceHistoryUncheckedUpdateManyWithoutGeofenceInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    vehicle_id?: IntFieldUpdateOperationsInput | number
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    customer_id?: IntFieldUpdateOperationsInput | number
    event_type?: EnumGeoFenceEventTypeFieldUpdateOperationsInput | $Enums.GeoFenceEventType
    event_timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    latitude?: NullableFloatFieldUpdateOperationsInput | number | null
    longitude?: NullableFloatFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
  }

  export type ErpLogsLineItemsCreateManyErp_logsInput = {
    id?: number
    uuid?: string
    delivery_note_number: string
    date_of_issue: Date | string
    customer_order_number: string
    reference_number: string
    shipment_type?: string | null
    line_item_sync_status?: $Enums.LineItemSyncStatus | null
    supply_agreement: string
    purchase_reference?: string | null
    alloy?: string | null
    temper?: string | null
    color?: string | null
    aluminium_profiles?: string | null
    number_of_boxes?: number | null
    number_of_bundles?: number | null
    line_item: JsonNullValueInput | InputJsonValue
    company_id: number
    status_id?: number
    created_by?: number | null
    created_at?: Date | string
    updated_by?: number | null
    deleted_by?: number | null
    updated_at?: Date | string
    deleted_at?: Date | string | null
  }

  export type ErpLogsLineItemsUpdateWithoutErp_logsInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutErp_logs_line_itemsNestedInput
  }

  export type ErpLogsLineItemsUncheckedUpdateWithoutErp_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ErpLogsLineItemsUncheckedUpdateManyWithoutErp_logsInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_number?: StringFieldUpdateOperationsInput | string
    date_of_issue?: DateTimeFieldUpdateOperationsInput | Date | string
    customer_order_number?: StringFieldUpdateOperationsInput | string
    reference_number?: StringFieldUpdateOperationsInput | string
    shipment_type?: NullableStringFieldUpdateOperationsInput | string | null
    line_item_sync_status?: NullableEnumLineItemSyncStatusFieldUpdateOperationsInput | $Enums.LineItemSyncStatus | null
    supply_agreement?: StringFieldUpdateOperationsInput | string
    purchase_reference?: NullableStringFieldUpdateOperationsInput | string | null
    alloy?: NullableStringFieldUpdateOperationsInput | string | null
    temper?: NullableStringFieldUpdateOperationsInput | string | null
    color?: NullableStringFieldUpdateOperationsInput | string | null
    aluminium_profiles?: NullableStringFieldUpdateOperationsInput | string | null
    number_of_boxes?: NullableIntFieldUpdateOperationsInput | number | null
    number_of_bundles?: NullableIntFieldUpdateOperationsInput | number | null
    line_item?: JsonNullValueInput | InputJsonValue
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    created_by?: NullableIntFieldUpdateOperationsInput | number | null
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsCreateManyShipment_statusInput = {
    id?: number
    uuid?: string
    shipment_number: string
    company_id: number
    status_id?: number
    reason?: string | null
    vehicle_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    driver_id?: number | null
    mobile_build_version?: string | null
    shipment_delivered_at?: Date | string | null
  }

  export type ShipmentCustomersCreateManyShipment_statusInput = {
    id?: number
    uuid?: string
    shipment_id: number
    shipment_customer_uid: string
    company_id: number
    status_id?: number
    customer_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentsLocationCreateManyShipment_statusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    pod_status_id?: number
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentDeliveryNotesCreateManyShipment_statusInput = {
    id?: number
    uuid?: string
    delivery_note_id: number
    company_id: number
    status_id?: number
    shipment_location_uid: string
    shipment_id: number
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
  }

  export type ShipmentsUpdateWithoutShipment_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    status?: StatusUpdateOneRequiredWithoutShipmentsNestedInput
    vehicle?: VehiclesUpdateOneRequiredWithoutShipmentsNestedInput
    shipment_customers?: ShipmentCustomersUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_customers?: ShipmentCustomersUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipmentsNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipmentsNestedInput
    vehicle_geofence_history?: VehicleGeofenceHistoryUncheckedUpdateManyWithoutShipmentNestedInput
  }

  export type ShipmentsUncheckedUpdateManyWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_number?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    reason?: NullableStringFieldUpdateOperationsInput | string | null
    vehicle_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    driver_id?: NullableIntFieldUpdateOperationsInput | number | null
    mobile_build_version?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivered_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentCustomersUpdateWithoutShipment_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_customersNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_customersNestedInput
    customer?: UserUpdateOneRequiredWithoutShipment_customersNestedInput
    shipment_location?: ShipmentsLocationUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    shipment_location?: ShipmentsLocationUncheckedUpdateManyWithoutShipment_customersNestedInput
  }

  export type ShipmentCustomersUncheckedUpdateManyWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    customer_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsLocationUpdateWithoutShipment_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    pod_status?: PodStatusUpdateOneWithoutShipments_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    pod_status_id?: IntFieldUpdateOperationsInput | number
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }

  export type ShipmentDeliveryNotesUpdateWithoutShipment_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    delivery_note?: DeliveryNotesUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipment_location?: ShipmentsLocationUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_delivery_notesNestedInput
  }

  export type ShipmentDeliveryNotesUncheckedUpdateWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    delivery_note_id?: IntFieldUpdateOperationsInput | number
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  }

  export type ShipmentsLocationCreateManyPod_statusInput = {
    id?: number
    uuid?: string
    customer_address_id: number
    otp_status?: $Enums.OtpStatus | null
    otp_number?: string | null
    pod_images?: string | null
    customer_signature?: string | null
    loaded_images?: string | null
    shipment_location_lat_long?: string | null
    company_id: number
    status_id?: number
    shipment_status_id?: number
    shipment_location_uid: string
    shipment_customer_uid: string
    shipment_id: number
    pod_at?: Date | string | null
    loaded_at?: Date | string | null
    latest_otp_generated_at?: Date | string | null
    created_by: number
    created_at?: Date | string
    updated_by?: number | null
    updated_at?: Date | string
    deleted_by?: number | null
    deleted_at?: Date | string | null
    customer_delivery_contact_name?: string | null
    customer_delivery_contact_email?: string | null
    customer_delivery_contact_number?: string | null
  }

  export type ShipmentsLocationUpdateWithoutPod_statusInput = {
    uuid?: StringFieldUpdateOperationsInput | string
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    customer_address?: CustomerDeliveryAddressesUpdateOneRequiredWithoutShipment_locationNestedInput
    status?: StatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_status?: ShipmentStatusUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_customers?: ShipmentCustomersUpdateOneRequiredWithoutShipment_locationNestedInput
    shipments?: ShipmentsUpdateOneRequiredWithoutShipment_locationNestedInput
    shipment_delivery_notes?: ShipmentDeliveryNotesUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateWithoutPod_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_delivery_notes?: ShipmentDeliveryNotesUncheckedUpdateManyWithoutShipment_locationNestedInput
  }

  export type ShipmentsLocationUncheckedUpdateManyWithoutPod_statusInput = {
    id?: IntFieldUpdateOperationsInput | number
    uuid?: StringFieldUpdateOperationsInput | string
    customer_address_id?: IntFieldUpdateOperationsInput | number
    otp_status?: NullableEnumOtpStatusFieldUpdateOperationsInput | $Enums.OtpStatus | null
    otp_number?: NullableStringFieldUpdateOperationsInput | string | null
    pod_images?: NullableStringFieldUpdateOperationsInput | string | null
    customer_signature?: NullableStringFieldUpdateOperationsInput | string | null
    loaded_images?: NullableStringFieldUpdateOperationsInput | string | null
    shipment_location_lat_long?: NullableStringFieldUpdateOperationsInput | string | null
    company_id?: IntFieldUpdateOperationsInput | number
    status_id?: IntFieldUpdateOperationsInput | number
    shipment_status_id?: IntFieldUpdateOperationsInput | number
    shipment_location_uid?: StringFieldUpdateOperationsInput | string
    shipment_customer_uid?: StringFieldUpdateOperationsInput | string
    shipment_id?: IntFieldUpdateOperationsInput | number
    pod_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    loaded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    latest_otp_generated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    created_by?: IntFieldUpdateOperationsInput | number
    created_at?: DateTimeFieldUpdateOperationsInput | Date | string
    updated_by?: NullableIntFieldUpdateOperationsInput | number | null
    updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
    deleted_by?: NullableIntFieldUpdateOperationsInput | number | null
    deleted_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
    customer_delivery_contact_name?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_email?: NullableStringFieldUpdateOperationsInput | string | null
    customer_delivery_contact_number?: NullableStringFieldUpdateOperationsInput | string | null
  }



  /**
   * Aliases for legacy arg types
   */
    /**
     * @deprecated Use UserCountOutputTypeDefaultArgs instead
     */
    export type UserCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DesignationCountOutputTypeDefaultArgs instead
     */
    export type DesignationCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DesignationCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DepartmentCountOutputTypeDefaultArgs instead
     */
    export type DepartmentCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DepartmentCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use FinancialYearCountOutputTypeDefaultArgs instead
     */
    export type FinancialYearCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = FinancialYearCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PermissionsCountOutputTypeDefaultArgs instead
     */
    export type PermissionsCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PermissionsCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use RoleCountOutputTypeDefaultArgs instead
     */
    export type RoleCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use LanguageCountOutputTypeDefaultArgs instead
     */
    export type LanguageCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LanguageCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MenusCountOutputTypeDefaultArgs instead
     */
    export type MenusCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MenusCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MenuItemsCountOutputTypeDefaultArgs instead
     */
    export type MenuItemsCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MenuItemsCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MasterEntityCountOutputTypeDefaultArgs instead
     */
    export type MasterEntityCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MasterEntityCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use FieldTypeCountOutputTypeDefaultArgs instead
     */
    export type FieldTypeCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = FieldTypeCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateProcessCountOutputTypeDefaultArgs instead
     */
    export type NotificationTemplateProcessCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateProcessCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateTagCountOutputTypeDefaultArgs instead
     */
    export type NotificationTemplateTagCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateTagCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateCountOutputTypeDefaultArgs instead
     */
    export type NotificationTemplateCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateAssignmentCountOutputTypeDefaultArgs instead
     */
    export type NotificationTemplateAssignmentCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateAssignmentCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CarouselTemplateCountOutputTypeDefaultArgs instead
     */
    export type CarouselTemplateCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CarouselTemplateCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportTemplateCountOutputTypeDefaultArgs instead
     */
    export type ImportTemplateCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportTemplateCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportJobCountOutputTypeDefaultArgs instead
     */
    export type ImportJobCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportJobCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ExportTemplateCountOutputTypeDefaultArgs instead
     */
    export type ExportTemplateCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ExportTemplateCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use StatusCountOutputTypeDefaultArgs instead
     */
    export type StatusCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = StatusCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CategoryTypesCountOutputTypeDefaultArgs instead
     */
    export type CategoryTypesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CategoryTypesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CategoriesCountOutputTypeDefaultArgs instead
     */
    export type CategoriesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CategoriesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PoliciesCountOutputTypeDefaultArgs instead
     */
    export type PoliciesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PoliciesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ScheduledJobCountOutputTypeDefaultArgs instead
     */
    export type ScheduledJobCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ScheduledJobCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalWorkflowCountOutputTypeDefaultArgs instead
     */
    export type ApprovalWorkflowCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalWorkflowCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalProcessJobWorkflowCountOutputTypeDefaultArgs instead
     */
    export type ApprovalProcessJobWorkflowCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalProcessJobWorkflowCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ChildProcessCountOutputTypeDefaultArgs instead
     */
    export type ChildProcessCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ChildProcessCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ThemesCountOutputTypeDefaultArgs instead
     */
    export type ThemesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ThemesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use TreeBuilderExampleCountOutputTypeDefaultArgs instead
     */
    export type TreeBuilderExampleCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TreeBuilderExampleCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeliveryNotesCountOutputTypeDefaultArgs instead
     */
    export type DeliveryNotesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeliveryNotesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeliveryNoteStatusCountOutputTypeDefaultArgs instead
     */
    export type DeliveryNoteStatusCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeliveryNoteStatusCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CustomerDeliveryAddressesCountOutputTypeDefaultArgs instead
     */
    export type CustomerDeliveryAddressesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CustomerDeliveryAddressesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentsCountOutputTypeDefaultArgs instead
     */
    export type ShipmentsCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentsCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentCustomersCountOutputTypeDefaultArgs instead
     */
    export type ShipmentCustomersCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentCustomersCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentsLocationCountOutputTypeDefaultArgs instead
     */
    export type ShipmentsLocationCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentsLocationCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehiclesCountOutputTypeDefaultArgs instead
     */
    export type VehiclesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehiclesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use GeoFencesCountOutputTypeDefaultArgs instead
     */
    export type GeoFencesCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = GeoFencesCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ErpLogsCountOutputTypeDefaultArgs instead
     */
    export type ErpLogsCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ErpLogsCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentStatusCountOutputTypeDefaultArgs instead
     */
    export type ShipmentStatusCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentStatusCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PodStatusCountOutputTypeDefaultArgs instead
     */
    export type PodStatusCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PodStatusCountOutputTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserDefaultArgs instead
     */
    export type UserArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserDetailDefaultArgs instead
     */
    export type UserDetailArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserDetailDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DesignationDefaultArgs instead
     */
    export type DesignationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DesignationDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DepartmentDefaultArgs instead
     */
    export type DepartmentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DepartmentDefaultArgs<ExtArgs>
    /**
     * @deprecated Use RequestLogDefaultArgs instead
     */
    export type RequestLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RequestLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use FinancialYearDefaultArgs instead
     */
    export type FinancialYearArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = FinancialYearDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DocumentSequenceDefaultArgs instead
     */
    export type DocumentSequenceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DocumentSequenceDefaultArgs<ExtArgs>
    /**
     * @deprecated Use AuditLogDefaultArgs instead
     */
    export type AuditLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AuditLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PermissionsDefaultArgs instead
     */
    export type PermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PermissionsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use RoleDefaultArgs instead
     */
    export type RoleArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleDefaultArgs<ExtArgs>
    /**
     * @deprecated Use RolePermissionsDefaultArgs instead
     */
    export type RolePermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RolePermissionsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserRolesDefaultArgs instead
     */
    export type UserRolesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserRolesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserPermissionsDefaultArgs instead
     */
    export type UserPermissionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserPermissionsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use OtpDefaultArgs instead
     */
    export type OtpArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OtpDefaultArgs<ExtArgs>
    /**
     * @deprecated Use LanguageDefaultArgs instead
     */
    export type LanguageArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LanguageDefaultArgs<ExtArgs>
    /**
     * @deprecated Use LanguageContentDefaultArgs instead
     */
    export type LanguageContentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LanguageContentDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MenusDefaultArgs instead
     */
    export type MenusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MenusDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MenuItemsDefaultArgs instead
     */
    export type MenuItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MenuItemsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ActionTypeDefaultArgs instead
     */
    export type ActionTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ActionTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use EntityTypeDefaultArgs instead
     */
    export type EntityTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EntityTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use WizardGroupDefaultArgs instead
     */
    export type WizardGroupArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = WizardGroupDefaultArgs<ExtArgs>
    /**
     * @deprecated Use WizardTypeDefaultArgs instead
     */
    export type WizardTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = WizardTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use AboutLCPDefaultArgs instead
     */
    export type AboutLCPArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AboutLCPDefaultArgs<ExtArgs>
    /**
     * @deprecated Use userSearchConfigurationDefaultArgs instead
     */
    export type userSearchConfigurationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = userSearchConfigurationDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MasterEntityDefaultArgs instead
     */
    export type MasterEntityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MasterEntityDefaultArgs<ExtArgs>
    /**
     * @deprecated Use MasterEntityLineItemDefaultArgs instead
     */
    export type MasterEntityLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MasterEntityLineItemDefaultArgs<ExtArgs>
    /**
     * @deprecated Use FieldTypeDefaultArgs instead
     */
    export type FieldTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = FieldTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use menuTypeDefaultArgs instead
     */
    export type menuTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = menuTypeDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateProcessDefaultArgs instead
     */
    export type NotificationTemplateProcessArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateProcessDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateTagDefaultArgs instead
     */
    export type NotificationTemplateTagArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateTagDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateRecipientTagDefaultArgs instead
     */
    export type NotificationTemplateRecipientTagArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateRecipientTagDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateProcessTagsMappingDefaultArgs instead
     */
    export type NotificationTemplateProcessTagsMappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateProcessTagsMappingDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateDefaultArgs instead
     */
    export type NotificationTemplateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationTemplateAssignmentDefaultArgs instead
     */
    export type NotificationTemplateAssignmentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationTemplateAssignmentDefaultArgs<ExtArgs>
    /**
     * @deprecated Use EmailTemplateCcBccDefaultArgs instead
     */
    export type EmailTemplateCcBccArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EmailTemplateCcBccDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationProcessJobDefaultArgs instead
     */
    export type NotificationProcessJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationProcessJobDefaultArgs<ExtArgs>
    /**
     * @deprecated Use NotificationJobDefaultArgs instead
     */
    export type NotificationJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = NotificationJobDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CarouselTemplateDefaultArgs instead
     */
    export type CarouselTemplateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CarouselTemplateDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CarouselTemplateLineItemDefaultArgs instead
     */
    export type CarouselTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CarouselTemplateLineItemDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportTemplateDefaultArgs instead
     */
    export type ImportTemplateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportTemplateDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportTemplateLineItemDefaultArgs instead
     */
    export type ImportTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportTemplateLineItemDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportTemplateQueriesDefaultArgs instead
     */
    export type ImportTemplateQueriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportTemplateQueriesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DirectImportDetailsDefaultArgs instead
     */
    export type DirectImportDetailsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DirectImportDetailsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportJobDefaultArgs instead
     */
    export type ImportJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportJobDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ImportJobLineItemDefaultArgs instead
     */
    export type ImportJobLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImportJobLineItemDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ExportTemplateDefaultArgs instead
     */
    export type ExportTemplateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ExportTemplateDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ExportTemplateLineItemDefaultArgs instead
     */
    export type ExportTemplateLineItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ExportTemplateLineItemDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ExportTemplateQueriesDefaultArgs instead
     */
    export type ExportTemplateQueriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ExportTemplateQueriesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use StatusDefaultArgs instead
     */
    export type StatusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = StatusDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CategoryTypesDefaultArgs instead
     */
    export type CategoryTypesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CategoryTypesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CategoriesDefaultArgs instead
     */
    export type CategoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CategoriesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ConfigurationsDefaultArgs instead
     */
    export type ConfigurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ConfigurationsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserConfigurationsDefaultArgs instead
     */
    export type UserConfigurationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserConfigurationsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use FileUploadLogDefaultArgs instead
     */
    export type FileUploadLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = FileUploadLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DataTransferQueriesDefaultArgs instead
     */
    export type DataTransferQueriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DataTransferQueriesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeviceRegistrationDefaultArgs instead
     */
    export type DeviceRegistrationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeviceRegistrationDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PoliciesDefaultArgs instead
     */
    export type PoliciesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PoliciesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserPoliciesDefaultArgs instead
     */
    export type UserPoliciesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserPoliciesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use RolePoliciesDefaultArgs instead
     */
    export type RolePoliciesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RolePoliciesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use AppversionsDefaultArgs instead
     */
    export type AppversionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AppversionsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ScheduledJobDefaultArgs instead
     */
    export type ScheduledJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ScheduledJobDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ScheduledJobLogsDefaultArgs instead
     */
    export type ScheduledJobLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ScheduledJobLogsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalWorkflowDefaultArgs instead
     */
    export type ApprovalWorkflowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalWorkflowDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalWorkflowApproverTagDefaultArgs instead
     */
    export type ApprovalWorkflowApproverTagArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalWorkflowApproverTagDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalWorkflowAssignmentDefaultArgs instead
     */
    export type ApprovalWorkflowAssignmentArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalWorkflowAssignmentDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalProcessJobDefaultArgs instead
     */
    export type ApprovalProcessJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalProcessJobDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalProcessJobWorkflowDefaultArgs instead
     */
    export type ApprovalProcessJobWorkflowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalProcessJobWorkflowDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ApprovalProcessJobWorkflowUserDefaultArgs instead
     */
    export type ApprovalProcessJobWorkflowUserArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApprovalProcessJobWorkflowUserDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DelegationDefaultArgs instead
     */
    export type DelegationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DelegationDefaultArgs<ExtArgs>
    /**
     * @deprecated Use SchemaChunkDefaultArgs instead
     */
    export type SchemaChunkArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SchemaChunkDefaultArgs<ExtArgs>
    /**
     * @deprecated Use EmbeddingVectorLogsDefaultArgs instead
     */
    export type EmbeddingVectorLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EmbeddingVectorLogsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use OpenaiUsageLogDefaultArgs instead
     */
    export type OpenaiUsageLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OpenaiUsageLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use QueryExecutionLogDefaultArgs instead
     */
    export type QueryExecutionLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = QueryExecutionLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ChildProcessDefaultArgs instead
     */
    export type ChildProcessArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ChildProcessDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ChildProcessLogDefaultArgs instead
     */
    export type ChildProcessLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ChildProcessLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ThemesDefaultArgs instead
     */
    export type ThemesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ThemesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ThemeLineItemsDefaultArgs instead
     */
    export type ThemeLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ThemeLineItemsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ThemeAttributesDefaultArgs instead
     */
    export type ThemeAttributesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ThemeAttributesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use BarcodeTemplatesDefaultArgs instead
     */
    export type BarcodeTemplatesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BarcodeTemplatesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use UserLoginHistoryDefaultArgs instead
     */
    export type UserLoginHistoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserLoginHistoryDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PhoneCountryCodesDefaultArgs instead
     */
    export type PhoneCountryCodesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PhoneCountryCodesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use TreeBuilderExampleDefaultArgs instead
     */
    export type TreeBuilderExampleArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TreeBuilderExampleDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeliveryNotesDefaultArgs instead
     */
    export type DeliveryNotesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeliveryNotesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeliveryNoteStatusDefaultArgs instead
     */
    export type DeliveryNoteStatusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeliveryNoteStatusDefaultArgs<ExtArgs>
    /**
     * @deprecated Use DeliveryNoteLineItemsDefaultArgs instead
     */
    export type DeliveryNoteLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeliveryNoteLineItemsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CustomerDeliveryAddressesDefaultArgs instead
     */
    export type CustomerDeliveryAddressesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CustomerDeliveryAddressesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentsDefaultArgs instead
     */
    export type ShipmentsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentCustomersDefaultArgs instead
     */
    export type ShipmentCustomersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentCustomersDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentsLocationDefaultArgs instead
     */
    export type ShipmentsLocationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentsLocationDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentDeliveryNotesDefaultArgs instead
     */
    export type ShipmentDeliveryNotesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentDeliveryNotesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehiclesDefaultArgs instead
     */
    export type VehiclesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehiclesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehicleUserMappingDefaultArgs instead
     */
    export type VehicleUserMappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehicleUserMappingDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehiclesGpsDataDefaultArgs instead
     */
    export type VehiclesGpsDataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehiclesGpsDataDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehiclesGpsDataLogDefaultArgs instead
     */
    export type VehiclesGpsDataLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehiclesGpsDataLogDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehicleTripHistoriesDefaultArgs instead
     */
    export type VehicleTripHistoriesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehicleTripHistoriesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use GeoFencesDefaultArgs instead
     */
    export type GeoFencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = GeoFencesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use GeoFenceTrackingDefaultArgs instead
     */
    export type GeoFenceTrackingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = GeoFenceTrackingDefaultArgs<ExtArgs>
    /**
     * @deprecated Use VehicleGeofenceHistoryDefaultArgs instead
     */
    export type VehicleGeofenceHistoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = VehicleGeofenceHistoryDefaultArgs<ExtArgs>
    /**
     * @deprecated Use CustomerGeoFenceMappingDefaultArgs instead
     */
    export type CustomerGeoFenceMappingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CustomerGeoFenceMappingDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ErpLogsDefaultArgs instead
     */
    export type ErpLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ErpLogsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ErpLogsLineItemsDefaultArgs instead
     */
    export type ErpLogsLineItemsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ErpLogsLineItemsDefaultArgs<ExtArgs>
    /**
     * @deprecated Use TempSessionDataDefaultArgs instead
     */
    export type TempSessionDataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TempSessionDataDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentStatusDefaultArgs instead
     */
    export type ShipmentStatusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentStatusDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentStatusHistoryDefaultArgs instead
     */
    export type ShipmentStatusHistoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentStatusHistoryDefaultArgs<ExtArgs>
    /**
     * @deprecated Use PodStatusDefaultArgs instead
     */
    export type PodStatusArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PodStatusDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentLocationContactInfoHistoryDefaultArgs instead
     */
    export type ShipmentLocationContactInfoHistoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentLocationContactInfoHistoryDefaultArgs<ExtArgs>
    /**
     * @deprecated Use ShipmentImagesDefaultArgs instead
     */
    export type ShipmentImagesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShipmentImagesDefaultArgs<ExtArgs>
    /**
     * @deprecated Use sms_test_requestsDefaultArgs instead
     */
    export type sms_test_requestsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = sms_test_requestsDefaultArgs<ExtArgs>

  /**
   * Batch Payload for updateMany & deleteMany & createMany
   */

  export type BatchPayload = {
    count: number
  }

  /**
   * DMMF
   */
  export const dmmf: runtime.BaseDMMF
}